3 .PATH: ${.CURDIR}/../../${MACHINE_CPUARCH}/svr4 ${.CURDIR}/../../compat/svr4
5 SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h \
6 vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c \
7 svr4_misc.c svr4_ioctl.c svr4_stat.c svr4_filio.c \
8 svr4_termios.c svr4_stream.c svr4_socket.c svr4_sockio.c \
9 svr4_machdep.c svr4_resource.c svr4_ipc.c
11 EXPORT_SYMS= svr4_delete_socket
13 SRCS+= opt_ktrace.h opt_sysvipc.h
15 CLEANFILES= svr4_assym.h svr4_genassym.o
17 svr4_assym.h: svr4_genassym.o
18 sh ${SYSDIR}/kern/genassym.sh svr4_genassym.o > ${.TARGET}
20 svr4_locore.o: svr4_locore.s svr4_assym.h
21 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
22 ${.IMPSRC} -o ${.TARGET}
24 svr4_genassym.o: svr4_genassym.c svr4.h
25 ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}
27 .if !defined(KERNBUILDDIR) && defined(DEBUG)
29 echo "#define DEBUG_SVR4 1" > ${.TARGET}
32 .include <bsd.kmod.mk>