NetBSD/usr.bin/m4/Makefile
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00

20 lines
394 B
Makefile

# $NetBSD: Makefile,v 1.14 2009/04/14 22:15:22 lukem Exp $
#
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# -DEXTENDED
# if you want the paste & spaste macros.
WARNS?= 1 # XXX: -Wcast-qual -Wshadow issues
PROG= m4
CPPFLAGS+= -DEXTENDED -Dunix
SRCS= eval.c expr.c gnum4.c look.c main.c misc.c trace.c
.if (${HOSTPROG:U} == "")
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.endif
.include <bsd.prog.mk>