Home | History | Annotate | Line # | Download | only in common
Makefile revision 1.14.4.1
      1  1.14.4.1    cherry #	$NetBSD: Makefile,v 1.14.4.1 2011/06/23 14:20:48 cherry Exp $
      2       1.5     lukem 
      3      1.11     lukem LIBISPRIVATE=	yes
      4       1.1     lukem 
      5       1.1     lukem LIB=	common
      6       1.6  christos SRCS=	cmp.c device.c dl.c file.c get.c log.c loop-bsd.c mopdef.c nma.c pf.c \
      7       1.1     lukem 	print.c put.c rc.c version.c
      8       1.1     lukem CLEANFILES= version.c
      9       1.1     lukem 
     10      1.14        he .include <bsd.own.mk>
     11      1.14        he 
     12      1.14        he .if ${MACHINE_CPU} == "mips"
     13      1.14        he CFLAGS+= -DNOAOUT
     14      1.14        he .endif
     15      1.14        he 
     16       1.1     lukem version.c: VERSION
     17       1.8     lukem 	${_MKTARGET_CREATE}
     18       1.1     lukem 	rm -f version.c; \
     19      1.13       apb 	${TOOL_SED} 's/.*/char version[] = "&";/' ${.ALLSRC} > version.c
     20       1.1     lukem 
     21       1.1     lukem .include <bsd.lib.mk>
     22      1.10       mrg 
     23  1.14.4.1    cherry .if defined(HAVE_GCC) || defined(HAVE_PCC)
     24      1.10       mrg COPTS.print.c+=	-Wno-pointer-sign
     25      1.10       mrg .endif
     26