Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / modules / compat_svr4 / Makefile
blob75a99d5b76cc55ffc2d1d49aac40d02bb1313770
1 # $NetBSD: Makefile,v 1.2 2008/12/08 12:56:00 njoly Exp $
3 .include "../Makefile.inc"
4 .include "../Makefile.assym"
6 KMOD= compat_svr4
8 CPPFLAGS+= -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_SVR4
10 .PATH: ${S}/compat/svr4
12 SRCS+= svr4_errno.c svr4_exec.c svr4_fcntl.c svr4_filio.c
13 SRCS+= svr4_ioctl.c svr4_ipc.c svr4_lwp.c svr4_misc.c svr4_net.c
14 SRCS+= svr4_resource.c svr4_schedctl.c svr4_signal.c svr4_signo.c
15 SRCS+= svr4_socket.c svr4_sockio.c svr4_stat.c svr4_stream.c
16 SRCS+= svr4_syscalls.c svr4_sysent.c svr4_termios.c svr4_ttold.c
17 SRCS+= svr4_mod.c
19 .if ${MACHINE_ARCH} == "i386"
20 CPPFLAGS+= -DEXEC_ELF32
21 SRCS+= svr4_exec_elf32.c
22 .PATH: ${S}/arch/i386/i386
23 SRCS+= svr4_machdep.c svr4_syscall.c svr4_sigcode.S
24 CPPFLAGS.svr4_sigcode.S+= -D_LOCORE
25 .endif
27 .include <bsd.kmodule.mk>