Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.sbin / mopd / common / Makefile
blobb4978e78f09b6f89776239fc9be99cc3fe90f5b6
1 # $NetBSD: Makefile,v 1.13 2008/10/25 22:27:39 apb Exp $
3 LIBISPRIVATE= yes
5 LIB= common
6 SRCS= cmp.c device.c dl.c file.c get.c log.c loop-bsd.c mopdef.c nma.c pf.c \
7 print.c put.c rc.c version.c
8 CLEANFILES= version.c
10 .include <bsd.own.mk>
12 .if ${MACHINE_CPU} == "mips"
13 CFLAGS+= -DNOAOUT
14 .endif
16 version.c: VERSION
17 ${_MKTARGET_CREATE}
18 rm -f version.c; \
19 ${TOOL_SED} 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c
21 .include <bsd.lib.mk>
23 .if defined(HAVE_GCC) && ${HAVE_GCC} == 4 || defined(HAVE_PCC)
24 COPTS.print.c+= -Wno-pointer-sign
25 .endif