d44a5ed1c1
Minix-specific changes were needed in msg_sys.def: * use minix_mmap()/minix_munmap() since mmap()/munmap() aren't defined on Minix. * use MAP_PRIVATE flag since MAP_SHARED isn't defined on Minix. Tested with usr.bin/menuc/testm. Change-Id: I1c463e7b0623036050adb6a9079c6747e1c1e084
23 lines
433 B
Makefile
23 lines
433 B
Makefile
# $NetBSD: Makefile,v 1.18 2009/10/29 14:37:56 christos Exp $
|
|
|
|
WARNS?= 1 # XXX -Wshadow -Wcast-qual issues
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= msgc
|
|
SRCS= msgmain.c msgparse.y msgscan.l msgdb.c util.c avl.c
|
|
.PATH: ${NETBSDSRCDIR}/usr.bin/menuc
|
|
CPPFLAGS+= -I. -I${.CURDIR}
|
|
YHEADER=
|
|
|
|
.if ${MKSHARE} != "no"
|
|
FILES= msg_sys.def
|
|
FILESDIR= /usr/share/misc
|
|
.endif
|
|
|
|
.ifndef HOSTPROG
|
|
LDADD+= -ll
|
|
DPADD+= ${LIBL}
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|