summaryrefslogtreecommitdiffstats
path: root/lkm/linux/Makefile
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1995-06-25 17:32:43 +0000
committersos <sos@FreeBSD.org>1995-06-25 17:32:43 +0000
commitf14ea10694ed07a2d0627c9efa2b79c03b19639d (patch)
treea104b48d590fdc08acc1a23e9f4430c22923749e /lkm/linux/Makefile
parentc54e2295b7f2db09802e0bc1874072840e4d75f7 (diff)
downloadFreeBSD-src-f14ea10694ed07a2d0627c9efa2b79c03b19639d.zip
FreeBSD-src-f14ea10694ed07a2d0627c9efa2b79c03b19639d.tar.gz
First incarnation of our Linux emulator or rather compatibility code.
This first shot only incorporaties so much functionality that DOOM can run (the X version), signal handling is VERY weak, so is many other things. But it meets my milestone number one (you guessed it - running DOOM). Uses /compat/linux as prefix for loading shared libs, so it won't conflict with our own libs. Kernel must be compiled with "options COMPAT_LINUX" for this to work.
Diffstat (limited to 'lkm/linux/Makefile')
-rw-r--r--lkm/linux/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/lkm/linux/Makefile b/lkm/linux/Makefile
new file mode 100644
index 0000000..11650c5
--- /dev/null
+++ b/lkm/linux/Makefile
@@ -0,0 +1,16 @@
+# $Id$
+
+.PATH: ${.CURDIR}/../../sys/i386/linux
+KMOD= linux_mod
+SRCS= linux.c linux_file.c linux_ioctl.c linux_misc.c linux_signal.c \
+ linux_generic.c linux_ipc.c linux_socket.c linux_stats.c \
+ linux_dummy.c linux_sysent.c imgact_linux.c vnode_if.h
+NOMAN=
+CFLAGS+= -DLKM -I. -DCOMPAT_LINUX -DSYSVSHM #-DSYSVMSG -DSYSVSEM #-DDEBUG
+CLEANFILES+= vnode_if.h vnode_if.c
+
+afterinstall:
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${.CURDIR}/linux /usr/bin
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud