From c21dee177fdd039bd54a169d52bad2c66942d766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Sun, 25 Jun 1995 17:32:43 +0000 Subject: 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. --- sys/modules/linux/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys/modules/linux/Makefile (limited to 'sys/modules/linux/Makefile') 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 -- cgit v1.2.3