summaryrefslogtreecommitdiffstats
path: root/sys/modules/svr4
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-01-09 13:11:19 +0000
committerbde <bde@FreeBSD.org>2000-01-09 13:11:19 +0000
commitd42b1f1b3900ecd82d59d642cd3599194ce8436d (patch)
tree1b5fda1bc41800d021bf8e0f9da8e18c45173afc /sys/modules/svr4
parent865f4213e654f7d18d65edf0759fdda6f76f87c2 (diff)
downloadFreeBSD-src-d42b1f1b3900ecd82d59d642cd3599194ce8436d.zip
FreeBSD-src-d42b1f1b3900ecd82d59d642cd3599194ce8436d.tar.gz
Cleaned up options handling:
- don't generate unusable headers or #defines. - removed duplicate opt_svr4.h in CLEANFILES. - removed bogus dependency of svr4.h on options headers.
Diffstat (limited to 'sys/modules/svr4')
-rw-r--r--sys/modules/svr4/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index fbd5a0d..e5b6232 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -2,20 +2,18 @@
.PATH: ${.CURDIR}/../../i386/svr4 ${.CURDIR}/../../svr4
KMOD= svr4
-SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_global.h opt_vmpage.h \
+SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h opt_vmpage.h \
vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c svr4_misc.c \
svr4_ioctl.c svr4_stat.c svr4_filio.c svr4_ttold.c svr4_termios.c \
svr4_stream.c svr4_socket.c svr4_sockio.c svr4_machdep.c \
- svr4_resource.c svr4_ipc.c opt_svr4.h
+ svr4_resource.c svr4_ipc.c
OBJS= svr4_locore.o
NOMAN=1
MAN8= svr4.8
MAINTAINER= newton@freebsd.org
EXPORT_SYMS=_svr4_mod
-CLEANFILES= svr4_assym.h svr4_genassym.o opt_svr4.h
-
-svr4.h: opt_global.h opt_svr4.h
+CLEANFILES= svr4_assym.h svr4_genassym.o
svr4_assym.h: svr4_genassym.o
genassym ${.ALLSRC} > ${.TARGET}
@@ -31,14 +29,11 @@ opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
opt_svr4.h:
- echo "#define COMPAT_SVR4 1" > opt_svr4.h
+ touch opt_svr4.h
.if defined(DEBUG)
echo "#define DEBUG_SVR4 1" >> opt_svr4.h
.endif
-opt_global.h:
- touch opt_global.h
-
afterinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/svr4.sh ${DESTDIR}/usr/sbin/svr4
OpenPOWER on IntegriCloud