lukem 78effd319d Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00

20 lines
426 B
Makefile

# $NetBSD: Makefile,v 1.11 2008/05/03 14:48:32 lukem Exp $
LIBISPRIVATE= yes
LIB= common
SRCS= cmp.c device.c dl.c file.c get.c log.c loop-bsd.c mopdef.c nma.c pf.c \
print.c put.c rc.c version.c
CLEANFILES= version.c
version.c: VERSION
${_MKTARGET_CREATE}
rm -f version.c; \
sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c
.include <bsd.lib.mk>
.if ${HAVE_GCC} == 4
COPTS.print.c+= -Wno-pointer-sign
.endif