2006-05-12 05:54:57 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 2006/05/12 01:54:57 mrg Exp $
|
2002-09-18 17:31:52 +04:00
|
|
|
|
2004-05-23 06:24:50 +04:00
|
|
|
MKPRIVATELIB= yes
|
1997-10-16 11:36:12 +04:00
|
|
|
|
|
|
|
LIB= common
|
2003-04-20 04:17:22 +04:00
|
|
|
SRCS= cmp.c device.c dl.c file.c get.c log.c loop-bsd.c mopdef.c nma.c pf.c \
|
1997-10-16 11:36:12 +04:00
|
|
|
print.c put.c rc.c version.c
|
|
|
|
CLEANFILES= version.c
|
|
|
|
|
|
|
|
version.c: VERSION
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
1997-10-16 11:36:12 +04:00
|
|
|
rm -f version.c; \
|
|
|
|
sed 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
2006-05-12 05:54:57 +04:00
|
|
|
|
|
|
|
.if ${HAVE_GCC} == 4
|
|
|
|
COPTS.print.c+= -Wno-pointer-sign
|
|
|
|
.endif
|