1# $FreeBSD: head/sys/modules/linux/Makefile 55062 1999-12-23 19:59:47Z marcel $ |
2 3.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/linux 4 5MAINTAINER= marcel@FreeBSD.org 6 7KMOD= linux 8SRCS= linux_file.c linux_ioctl.c linux_misc.c linux_signal.c \ 9 linux_ipc.c linux_socket.c linux_stats.c linux_mib.c \ 10 linux_dummy.c linux_sysent.c linux_sysvec.c linux_util.c \ 11 imgact_linux.c opt_compat.h opt_linux.h opt_vmpage.h vnode_if.h 12OBJS= linux_locore.o 13MAN8= linux.8 14 15# CFLAGS+= -DDEBUG 16EXPORT_SYMS=_linux_mod |
17CLEANFILES= linux_assym.h linux_genassym.o |
18 |
19linux_assym.h: linux_genassym.o 20 genassym -o ${.TARGET} ${.ALLSRC} |
21 |
22linux_locore.o: linux_locore.s linux_assym.h 23 ${CC} -c -x assembler-with-cpp -DLOCORE -DKERNEL ${CFLAGS} \ 24 ${.IMPSRC} -o ${.TARGET} 25 26linux_genassym.o: linux_genassym.c linux.h @ machine 27 ${CC} -c ${CFLAGS} -UKERNEL ${.IMPSRC} 28 |
29opt_compat.h: 30 echo "#define COMPAT_43 1" > opt_compat.h 31 32afterinstall: 33 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 34 ${.CURDIR}/linux.sh ${DESTDIR}/usr/sbin/linux 35 36.include <bsd.kmod.mk> |