1 1.7 christos # $NetBSD: Makefile,v 1.7 2015/03/08 15:07:33 christos Exp $ 2 1.1 pooka # 3 1.1 pooka 4 1.1 pooka .PATH: ${.CURDIR}/../../../../compat/linux/common 5 1.1 pooka 6 1.1 pooka LIB= rumpkern_sys_linux 7 1.1 pooka 8 1.1 pooka SRCS= linux_blkio.c linux_cdrom.c linux_errno.c linux_fdio.c \ 9 1.1 pooka linux_file.c linux_hdio.c linux_ioctl.c linux_ipc.c linux_misc.c\ 10 1.1 pooka linux_mtio.c linux_signal.c linux_signo.c linux_socket.c \ 11 1.4 njoly linux_sysctl.c linux_termios.c linux_time.c linux_file64.c \ 12 1.4 njoly linux_pipe.c 13 1.1 pooka 14 1.6 pooka SRCS+= rump_linux_sysent.c linux_rump.c 15 1.6 pooka SRCS+= sys_linux_component.c 16 1.1 pooka 17 1.1 pooka # XXX 18 1.2 pooka CPPFLAGS+= -I${.CURDIR} -I${RUMPTOP}/librump/rumpkern 19 1.5 njoly CPPFLAGS+= -DINET6 20 1.1 pooka 21 1.1 pooka .include <bsd.lib.mk> 22 1.1 pooka .include <bsd.klinks.mk> 23 1.7 christos 24 1.7 christos SYS_P=rump_linux_sys 25 1.7 christos SYS_MKSYSCALLS=${.CURDIR}/../../../../kern/makesyscalls.sh 26 1.7 christos SYS_DST=${SYS_P}calls.c ${SYS_P}ent.c ${SYS_P}callargs.h ${SYS_P}call.h: 27 1.7 christos SYS_SRC=${SYS_MKSYSCALLS} syscalls.conf syscalls.master 28 1.7 christos 29 1.7 christos ${SYS_DST}: ${SYS_SRC} 30 1.7 christos ${HOST_SH} ${.ALLSRC} 31