aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux/Makefile
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>1995-06-25 17:32:43 +0000
committerSøren Schmidt <sos@FreeBSD.org>1995-06-25 17:32:43 +0000
commitc21dee177fdd039bd54a169d52bad2c66942d766 (patch)
treea104b48d590fdc08acc1a23e9f4430c22923749e /sys/modules/linux/Makefile
parent0f72d204e6f70d2f8aeaea290c70e1758420b245 (diff)
downloadsrc-c21dee177fdd039bd54a169d52bad2c66942d766.tar.gz
src-c21dee177fdd039bd54a169d52bad2c66942d766.zip
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.
Notes
Notes: svn path=/head/; revision=9313
Diffstat (limited to 'sys/modules/linux/Makefile')
-rw-r--r--sys/modules/linux/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
new file mode 100644
index 000000000000..11650c59e833
--- /dev/null
+++ b/sys/modules/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>