Zap some bad examples:

opt_foo.h:
	touch opt_foo.h
.. is unnecessary - kmod.mk does this for us.
This commit is contained in:
Peter Wemm 2001-02-04 08:23:14 +00:00
parent 7aef6a1e88
commit 205a48f7f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71985
17 changed files with 10 additions and 50 deletions

View File

@ -20,7 +20,6 @@ TDFX_OPTS= "\#define TDFX_LINUX"
#CFLAGS+= -DDEBUG
opt_tdfx.h:
touch opt_tdfx.h
echo $(TDFX_OPTS) >> opt_tdfx.h
echo $(TDFX_OPTS) > opt_tdfx.h
.include <bsd.kmod.mk>

View File

@ -42,9 +42,6 @@ SRCS+= device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica/Subsystem/Include
opt_acpi.h: Makefile
touch opt_acpi.h
opt_ddb.h: Makefile
echo '#define DDB 1' >opt_ddb.h

View File

@ -42,9 +42,6 @@ SRCS+= device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica/Subsystem/Include
opt_acpi.h: Makefile
touch opt_acpi.h
opt_ddb.h: Makefile
echo '#define DDB 1' >opt_ddb.h

View File

@ -5,7 +5,4 @@ KMOD = if_ar
SRCS = if_ar.c if_ar_pci.c
SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h
opt_netgraph.h:
touch opt_netgraph.h
.include <bsd.kmod.mk>

View File

@ -23,15 +23,13 @@ SRCS+= ppp_deflate.c zlib.c
CLEANFILES= ppp.h
opt_inet.h:
touch ${.TARGET}
.if ${PPP_INET} > 0
opt_inet.h:
echo "#define INET 1" >> ${.TARGET}
.endif
opt_ipx.h:
touch ${.TARGET}
.if ${PPP_IPX} > 0
opt_ipx.h:
echo "#define IPX ${PPP_IPX}" >> ${.TARGET}
.endif

View File

@ -20,15 +20,13 @@ CFLAGS+= -DNCPBURST
NOMAN=
opt_inet.h:
touch ${.TARGET}
.if ${NCP_INET} > 0
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.endif
opt_ipx.h:
touch ${.TARGET}
.if ${NCP_IPX} > 0
opt_ipx.h:
echo "#define IPX 1" > ${.TARGET}
.endif

View File

@ -10,9 +10,8 @@ SRCS= vnode_if.h \
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
opt_inet.h:
touch ${.TARGET}
.if ${NFS_INET} > 0
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.endif

View File

@ -10,9 +10,8 @@ SRCS= vnode_if.h \
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
opt_inet.h:
touch ${.TARGET}
.if ${NFS_INET} > 0
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.endif

View File

@ -10,9 +10,8 @@ SRCS= vnode_if.h \
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
opt_inet.h:
touch ${.TARGET}
.if ${NFS_INET} > 0
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.endif

View File

@ -8,7 +8,4 @@ SRCS= pccard.c pcic.c pccard_beep.c pccard_nbk.c pcic_p.c \
power_if.h card_if.h power_if.c card_if.c
NOMAN=
opt_pcic.h:
touch $@
.include <bsd.kmod.mk>

View File

@ -15,7 +15,4 @@ EXPORT_SYMS= _osf1
opt_compat.h:
echo "#define COMPAT_43 1" > ${.TARGET}
opt_osf1.h opt_simos.h opt_nfs.h:
touch ${.TARGET}
.include <bsd.kmod.mk>

View File

@ -8,9 +8,5 @@ KMOD= pecoff
SRCS= imgact_pecoff.c opt_pecoff.h vnode_if.h
CFLAGS+= -g -DDEBUG
#EXPORT_SYMS=_pecoff_mod
opt_pecoff.h: Makefile
touch opt_pecoff.h
.include <bsd.kmod.mk>

View File

@ -5,7 +5,4 @@ KMOD = if_sr
SRCS = if_sr.c if_sr_isa.c if_sr_pci.c
SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h
opt_netgraph.h:
touch opt_netgraph.h
.include <bsd.kmod.mk>

View File

@ -32,10 +32,9 @@ svr4_genassym.o: svr4_genassym.c svr4.h @ machine
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
opt_svr4.h:
touch opt_svr4.h
.if defined(DEBUG)
echo "#define DEBUG_SVR4 1" >> opt_svr4.h
opt_svr4.h:
echo "#define DEBUG_SVR4 1" > opt_svr4.h
.endif
.include <bsd.kmod.mk>

View File

@ -5,7 +5,4 @@
KMOD= sysvmsg
SRCS= sysv_msg.c opt_sysvipc.h
opt_sysvipc.h:
touch $@
.include <bsd.kmod.mk>

View File

@ -5,7 +5,4 @@
KMOD= sysvsem
SRCS= sysv_sem.c opt_sysvipc.h
opt_sysvipc.h:
touch $@
.include <bsd.kmod.mk>

View File

@ -6,7 +6,4 @@ KMOD= sysvshm
OPTS= opt_sysvipc.h opt_compat.h opt_rlimit.h
SRCS= sysv_shm.c $(OPTS)
$(OPTS):
touch $@
.include <bsd.kmod.mk>