1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/emulators/rtc/files/Makefile
Kurt Jaeger 75ce806e1e emulators/rtc: update 2004.02.24.1 -> 2020.07.07.1
- submitter becomes maintainer
- Install kmod into /boot/modules instead of /usr/local
- Cleared out bits dating back to pre-devfs
- Removed #ifdef bits related to FreeBSD <= 4.X and FreeBSD <= 8.X
- Olegs fixes for FreeBSD 11.X and FreeBSD 12.X+
- Removed "USES= linux uidfix" - whilst this provides functionality
  that is "often" used by linux programs, that's not necessarily the
  case, and this module doesn't require any linux subsystem or
  kernel MOD to operate.
- Removed oldstyle rtc.sh - include pkg-message showing how to load
  from the rc.conf "kld_list" mechanism.
- Fixed typo in "test.c" -> /dec -> /dev
- Fixed path to "rtc.h" in "test.c"

PR:		233057
Submitted by:	Jamie Landeg-Jones <jamie@catflap.org>
2020-09-01 09:04:32 +00:00

39 lines
1.5 KiB
Makefile

# Copyright 2000 Vladimir N.Silyaev
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD$
#
SYS?= /sys
KMOD= rtc
SRCS= rtc.c rtc_linux.c vnode_if.h
INCLUDE= -I${.CURDIR} -I${SYS}
CFLAGS+= ${INCLUDE}
all: vnode_if.h
.include <bsd.kmod.mk>