f14ea10694
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.
17 lines
490 B
Makefile
17 lines
490 B
Makefile
# $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>
|