No empty .Rs/.Re
[netbsd-mini2440.git] / sys / modules / compat_linux / Makefile
blobe5878cce6eddb5828966b3d5fb55d7a994acefc5
1 # $NetBSD: Makefile,v 1.3 2008/12/08 12:56:00 njoly Exp $
3 .include "../Makefile.inc"
4 .include "../Makefile.assym"
6 KMOD= compat_linux
8 CPPFLAGS+= -DSYSVSHM -DSYSVSEM -DSYSVMSG -DCOMPAT_LINUX
10 .PATH: ${S}/compat/linux/common
11 SRCS= linux_blkio.c linux_cdrom.c linux_errno.c linux_exec.c
12 SRCS+= linux_fdio.c linux_file.c linux_hdio.c linux_ioctl.c
13 SRCS+= linux_ipc.c linux_misc.c linux_mtio.c linux_sched.c
14 SRCS+= linux_sg.c linux_signal.c linux_signo.c linux_socket.c
15 SRCS+= linux_sysctl.c linux_termios.c linux_time.c linux_mod.c
17 .if ${MACHINE_ARCH} == "i386"
18 CPPFLAGS+= -DEXEC_ELF32 -DEXEC_AOUT
19 .PATH: ${S}/arch/i386/i386
20 .PATH: ${S}/compat/linux/arch/i386
21 .PATH: ${S}/arch/x86/x86
22 SRCS+= linux_machdep.c linux_syscalls.c linux_sysent.c linux_commons.c
23 SRCS+= linux_ptrace.c linux_exec_machdep.c linux_exec_elf32.c
24 SRCS+= linux_exec_aout.c linux_sigcode.S linux_syscall.c linux_trap.c
25 SRCS+= linux_uselib.c
26 .endif
28 .if ${MACHINE_ARCH} == "x86_64"
29 CPPFLAGS+= -DEXEC_ELF64
30 .PATH: ${S}/compat/linux/arch/amd64
31 .PATH: ${S}/arch/amd64/amd64
32 .PATH: ${S}/arch/x86/x86
33 SRCS+= linux_machdep.c linux_syscalls.c linux_sysent.c linux_commons.c
34 SRCS+= linux_exec_machdep.c linux_exec_elf64.c
35 SRCS+= linux_sigcode.S linux_syscall.c linux_trap.c
36 .endif
38 .include <bsd.kmodule.mk>