1# $FreeBSD: head/sys/modules/svr4/Makefile 84473 2001-10-04 14:13:16Z ru $
2
3MAINTAINER= newton@FreeBSD.org
4
5.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/svr4 ${.CURDIR}/../../compat/svr4
6KMOD= svr4
7SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h opt_vmpage.h \
8 vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c svr4_misc.c \
9 svr4_ioctl.c svr4_stat.c svr4_filio.c svr4_ttold.c svr4_termios.c \
--- 9 unchanged lines hidden (view full) ---
19.endif
20 sh @/kern/genassym.sh svr4_genassym.o > ${.TARGET}
21
22svr4_locore.o: svr4_locore.s svr4_assym.h
23 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
24 ${.IMPSRC} -o ${.TARGET}
25
26svr4_genassym.o: svr4_genassym.c svr4.h @ machine
27 ${CC} -c ${CFLAGS} ${.IMPSRC}
28
29opt_compat.h:
30 echo "#define COMPAT_43 1" > opt_compat.h
31
32.if defined(DEBUG)
33opt_svr4.h:
34 echo "#define DEBUG_SVR4 1" > opt_svr4.h
35.endif
36
37.include <bsd.kmod.mk>
2
3MAINTAINER= newton@FreeBSD.org
4
5.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/svr4 ${.CURDIR}/../../compat/svr4
6KMOD= svr4
7SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h opt_vmpage.h \
8 vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c svr4_misc.c \
9 svr4_ioctl.c svr4_stat.c svr4_filio.c svr4_ttold.c svr4_termios.c \
--- 9 unchanged lines hidden (view full) ---
19.endif
20 sh @/kern/genassym.sh svr4_genassym.o > ${.TARGET}
21
22svr4_locore.o: svr4_locore.s svr4_assym.h
23 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
24 ${.IMPSRC} -o ${.TARGET}
25
26svr4_genassym.o: svr4_genassym.c svr4.h @ machine
27 ${CC} -c ${CFLAGS} ${.IMPSRC}
28
29opt_compat.h:
30 echo "#define COMPAT_43 1" > opt_compat.h
31
32.if defined(DEBUG)
33opt_svr4.h:
34 echo "#define DEBUG_SVR4 1" > opt_svr4.h
35.endif
36
37.include <bsd.kmod.mk>