Cross Reference: Makefile
xref: /src/usr.sbin/mopd/common/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/mopd/common/
Makefile revision 1.15
1#	$NetBSD: Makefile,v 1.15 2011/06/20 07:44:03 mrg Exp $
2
3LIBISPRIVATE=	yes
4
5LIB=	common
6SRCS=	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
8CLEANFILES= version.c
9
10.include <bsd.own.mk>
11
12.if ${MACHINE_CPU} == "mips"
13CFLAGS+= -DNOAOUT
14.endif
15
16version.c: VERSION
17	${_MKTARGET_CREATE}
18	rm -f version.c; \
19	${TOOL_SED} 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c
20
21.include <bsd.lib.mk>
22
23.if defined(HAVE_GCC) || defined(HAVE_PCC)
24COPTS.print.c+=	-Wno-pointer-sign
25.endif
26

Indexes created Fri Dec 12 08:09:37 GMT 2025