summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-01 17:53:56 +0000
committerbde <bde@FreeBSD.org>1998-02-01 17:53:56 +0000
commitc9dfcc430a4693865e51588e8699d35e2621135d (patch)
treea508c3e6cc10e8d375f44e6edf24e3b9d8938318 /sys
parent88e9a981725144a84636aa162d99b03a6fb8f141 (diff)
downloadFreeBSD-src-c9dfcc430a4693865e51588e8699d35e2621135d.zip
FreeBSD-src-c9dfcc430a4693865e51588e8699d35e2621135d.tar.gz
Don't handle the `machine' symlink or related include paths here.
bsd.kmod.mk now handles it more generally.
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/atapi/Makefile12
-rw-r--r--sys/modules/linux/Makefile11
-rw-r--r--sys/modules/wcd/Makefile10
3 files changed, 8 insertions, 25 deletions
diff --git a/sys/modules/atapi/Makefile b/sys/modules/atapi/Makefile
index 941bb0a..aca410d 100644
--- a/sys/modules/atapi/Makefile
+++ b/sys/modules/atapi/Makefile
@@ -1,12 +1,11 @@
-# $Id: Makefile,v 1.8 1997/02/22 12:47:39 peter Exp $
+# $Id: Makefile,v 1.9 1997/08/07 13:23:31 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = atapi_mod
SRCS = atapi.c wdc.h opt_atapi.h #wcd.h
NOMAN =
-CFLAGS += -nostdinc -I. -DATAPI_MODULE
-CLEANFILES += $(KMOD) machine wdc.h wcd.h opt_atapi.h *.b
-LN = ln -f -s
+CFLAGS += -DATAPI_MODULE
+CLEANFILES += $(KMOD) wdc.h wcd.h opt_atapi.h *.b
EXPORT_SYMS = _atapi_mod _atapi_debug_ptr _atapi_intr_ptr \
_atapi_request_callback_ptr _atapi_request_immediate_ptr \
_atapi_request_wait_ptr _atapi_start_ptr
@@ -28,9 +27,4 @@ wcd.h:
opt_atapi.h:
echo "#define ATAPI 1"> opt_atapi.h
-.c.o:
- -@$(LN) ${.CURDIR}/../../sys/i386/include machine
- $(CC) $(CFLAGS) -c $<
- -@rm -f machine
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 656dda2..e5f786f 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.11 1997/02/22 12:48:23 peter Exp $
+# $Id: Makefile,v 1.12 1997/12/16 18:45:50 eivind Exp $
.PATH: ${.CURDIR}/../../sys/i386/linux
KMOD= linux_mod
@@ -9,9 +9,9 @@ SRCS= linux.c linux_file.c linux_ioctl.c linux_misc.c linux_signal.c \
OBJS= linux_locore.o
MAN8= linux.8
-CFLAGS+= -DLKM -I. -DCOMPAT_LINUX #-DDEBUG
+CFLAGS+= -DLKM -DCOMPAT_LINUX #-DDEBUG
EXPORT_SYMS=_linux_mod
-CLEANFILES+= vnode_if.h vnode_if.c linux_genassym.o linux_genassym machine \
+CLEANFILES+= vnode_if.h vnode_if.c linux_genassym.o linux_genassym \
linux_assym.h opt_compat.h
linux_assym.h: linux_genassym
@@ -27,14 +27,9 @@ linux_genassym.o: linux_genassym.c linux.h
linux_genassym: linux_genassym.o
${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET}
-machine:
- ln -fs ${.CURDIR}/../../sys/i386/include machine
-
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
-vnode_if.h: machine
-
afterinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/linux ${DESTDIR}/usr/bin
diff --git a/sys/modules/wcd/Makefile b/sys/modules/wcd/Makefile
index a6fb3f6..3fb578a 100644
--- a/sys/modules/wcd/Makefile
+++ b/sys/modules/wcd/Makefile
@@ -1,12 +1,11 @@
-# $Id: Makefile,v 1.8 1997/08/07 13:23:37 bde Exp $
+# $Id: Makefile,v 1.9 1998/01/24 02:21:53 eivind Exp $
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = wcd_mod
SRCS = wcd.c wdc.h wcd.h opt_atapi.h opt_devfs.h
NOMAN =
-CFLAGS += -nostdinc -I. -DWCD_MODULE
+CFLAGS += -DWCD_MODULE
CLEANFILES += $(KMOD) machine wdc.h wcd.h opt_atapi.h opt_devfs.h *.b
-LN = ln -f -s
load: ${PROG}
${MODLOAD} -u -e wcd $(PROG)
@@ -27,9 +26,4 @@ opt_atapi.h:
opt_devfs.h:
touch opt_devfs.h
-.c.o:
- -@$(LN) ${.CURDIR}/../../sys/i386/include machine
- $(CC) $(CFLAGS) -c $<
- -@rm -f machine
-
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud