mirror of
https://github.com/dreamlayers/netbsd-mopd.git
synced 2026-01-18 17:07:03 +00:00
a variable that is used by in-tree Makefiles to control behaviour. (MKsomevar variables are generally intended to be controlled by the end-user)
20 lines
426 B
Makefile
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
|