1 # $NetBSD: Makefile,v 1.6.6.1 2012/11/20 23:26:54 matt Exp $ 2 # 3 .include <bsd.own.mk> 4 5 ATFFILE= no 6 TESTSDIR= ${TESTSBASE}/lib/libcurses 7 TESTS_C+= slave 8 9 PROG= slave 10 NOMAN= "true" 11 #MAN= slave.7 12 SRCS= slave.c commands.c curses_commands.c 13 14 CPPFLAGS+= -g -I${.CURDIR} -I. -I${.CURDIR}/../director 15 LDADD+= -lcurses -lterminfo 16 .if ${HAVE_BINUTILS} == "219" 17 LDADD+= -Wl,--no-fatal-warnings 18 .endif 19 20 COPTS.curses_commands.c += -Wno-format-nonliteral 21 CWARNFLAGS.clang+= -Wno-format 22 23 .include <bsd.test.mk> 24