NetBSD/sys/modules/sysv_ipc/Makefile
riastradh 2903f566e2 Reorganize SRCS lists for libcompat, compat.kmod, sysv_ipc.kmod.
- Share lists between the libcompat and module makefiles.
- Include some omitted entries in compat.kmod:
  . if_43.c
  . kern_sa_60.c
  . kern_time_30.c
  . rndpseudo_50.c
  . rtsock_14.c
  . rtsock_50.c
  . rtsock_70.c
  . uipc_syscalls_40.c
  . uipc_syscalls_50.c
- Exclude a (harmless) spurious entry in sysv_ipc.kmod on LP64 systems:
  . kern_ipc_10.c

Should fix broken ifconfig on modular current kernels.

ok pgoyette
2016-11-03 04:26:58 +00:00

23 lines
411 B
Makefile

# $NetBSD: Makefile,v 1.3 2016/11/03 04:26:58 riastradh Exp $
.include "../Makefile.inc"
.PATH: ${S}/kern
KMOD= sysv_ipc
CPPFLAGS+= -DSYSVSEM -DSYSVSHM -DSYSVMSG
SRCS+= sysv_ipc.c sysv_msg.c sysv_sem.c sysv_shm.c
.PATH: ${S}/compat/common
CPPFLAGS+= -DCOMPAT_10
CPPFLAGS+= -DCOMPAT_13
CPPFLAGS+= -DCOMPAT_14
CPPFLAGS+= -DCOMPAT_50
.include "../../compat/common/Makefile.sysv"
.include <bsd.kmodule.mk>