LKM-support for converting all file-system options to new-style options.

This commit is contained in:
Eivind Eklund 1998-01-24 02:21:53 +00:00
parent 50ce7ff499
commit 7f4ba71355
7 changed files with 42 additions and 21 deletions

View File

@ -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

View File

@ -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} \

View File

@ -1,12 +1,15 @@
# $Id$
# $Id: Makefile,v 1.6 1997/02/22 12:48:52 peter Exp $
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = qcam_mod
SRCS = qcam.c qcamio.c qcam.h
SRCS = qcam.c qcamio.c opt_devfs.h qcam.h
MAN8 = qcam.8
CFLAGS += -I. -DQCAM_MODULE
CLEANFILES += qcam.h
CLEANFILES += opt_devfs.h qcam.h
opt_devfs.h:
touch opt_devfs.h
qcam.h:
echo "#define NQCAM 1" > qcam.h

View File

@ -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 $<

View File

@ -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

View File

@ -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} \

View File

@ -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 $<