From 71161cca1452c50ca0ea535bae82c1df9c67663c Mon Sep 17 00:00:00 2001 From: eivind Date: Sat, 24 Jan 1998 02:21:53 +0000 Subject: LKM-support for converting all file-system options to new-style options. --- sys/modules/if_tun/Makefile | 9 ++++++--- sys/modules/joy/Makefile | 9 ++++++--- sys/modules/wcd/Makefile | 9 ++++++--- 3 files changed, 18 insertions(+), 9 deletions(-) (limited to 'sys/modules') diff --git a/sys/modules/if_tun/Makefile b/sys/modules/if_tun/Makefile index 14654e1..2fb5d96 100644 --- a/sys/modules/if_tun/Makefile +++ b/sys/modules/if_tun/Makefile @@ -1,8 +1,8 @@ -# $Id: Makefile,v 1.3 1997/02/22 12:48:10 peter Exp $ +# $Id: Makefile,v 1.4 1998/01/08 23:50:27 eivind Exp $ .PATH: ${.CURDIR}/../../sys/net KMOD= if_tun_mod -SRCS= if_tun.c bpfilter.h opt_inet.h tun.h +SRCS= if_tun.c bpfilter.h opt_devfs.h opt_inet.h tun.h NOMAN= PSEUDO_LKM= CFLAGS+= -I. @@ -11,11 +11,14 @@ NBPFILTER?= 0 NTUN?= 2 CFLAGS+= ${PROTOS} -CLEANFILES+= bpfilter.h opt_inet.h tun.h +CLEANFILES+= bpfilter.h opt_devfs.h opt_inet.h tun.h bpfilter.h: echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h +opt_devfs.h: + touch opt_devfs.h + opt_inet.h: echo "#define INET 1" > opt_inet.h diff --git a/sys/modules/joy/Makefile b/sys/modules/joy/Makefile index c466c60..38327a4 100644 --- a/sys/modules/joy/Makefile +++ b/sys/modules/joy/Makefile @@ -1,16 +1,19 @@ -# $Id$ +# $Id: Makefile,v 1.5 1997/02/22 12:48:16 peter Exp $ .PATH: ${.CURDIR}/../../sys/i386/isa KMOD = joy_mod -SRCS = joy.c joy.h +SRCS = joy.c joy.h opt_devfs.h MAN8 = joy.8 CFLAGS += -I. -DJOY_MODULE -CLEANFILES += joy.h +CLEANFILES += joy.h opt_devfs.h joy.h: echo "#define NJOY 1" > joy.h +opt_devfs.h: + touch opt_devfs.h + afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ diff --git a/sys/modules/wcd/Makefile b/sys/modules/wcd/Makefile index 3eabec0..a6fb3f6 100644 --- a/sys/modules/wcd/Makefile +++ b/sys/modules/wcd/Makefile @@ -1,11 +1,11 @@ -# $Id: Makefile,v 1.7 1997/02/22 12:49:29 peter Exp $ +# $Id: Makefile,v 1.8 1997/08/07 13:23:37 bde Exp $ .PATH: ${.CURDIR}/../../sys/i386/isa KMOD = wcd_mod -SRCS = wcd.c wdc.h wcd.h opt_atapi.h +SRCS = wcd.c wdc.h wcd.h opt_atapi.h opt_devfs.h NOMAN = CFLAGS += -nostdinc -I. -DWCD_MODULE -CLEANFILES += $(KMOD) machine wdc.h wcd.h opt_atapi.h *.b +CLEANFILES += $(KMOD) machine wdc.h wcd.h opt_atapi.h opt_devfs.h *.b LN = ln -f -s load: ${PROG} @@ -24,6 +24,9 @@ wcd.h: opt_atapi.h: echo "#define ATAPI 1"> opt_atapi.h +opt_devfs.h: + touch opt_devfs.h + .c.o: -@$(LN) ${.CURDIR}/../../sys/i386/include machine $(CC) $(CFLAGS) -c $< -- cgit v1.1