tools/llvm: Do not build with symbols
[minix3.git] / external / bsd / kyua-testers / lib / libtester / Makefile
blobbc662fb1c5ffc072ef4438a04d53710814d1c0d5
1 # $NetBSD: Makefile,v 1.1 2013/02/19 06:04:42 jmmv Exp $
3 #NOLINT= # defined
5 .include <bsd.own.mk>
7 LIB= tester
8 LIBISPRIVATE= yes
10 SRCDIR= ${NETBSDSRCDIR}/external/bsd/kyua-testers/dist
11 .PATH: ${SRCDIR}
13 CPPFLAGS+= -DGDB=\"/usr/bin/gdb\"
14 CPPFLAGS+= -DKYUA_TMPDIR=\"/tmp\"
15 CPPFLAGS+= -I${.CURDIR} # For config.h and defs.h.
16 CPPFLAGS+= -I${SRCDIR} # For non-installed headers.
18 CPPFLAGS+= -DHAVE_CONFIG_H
20 WARNS?= 3
22 SRCS= cli.c
23 SRCS+= env.c
24 SRCS+= error.c
25 SRCS+= fs.c
26 SRCS+= result.c
27 SRCS+= run.c
28 SRCS+= stacktrace.c
29 SRCS+= text.c
31 .if ${MKSHARE} != "no"
32 FILES+= kyua-testers.pc
33 FILESDIR= /usr/lib/pkgconfig
35 realall: kyua-testers.pc
36 kyua-testers.pc: Makefile kyua-testers.pc.in
37 ${TOOL_SED} \
38 -e 's,__LIBEXECDIR__,/usr/libexec,g' \
39 -e 's,__VERSION__,0.1,g' \
40 <${SRCDIR}/kyua-testers.pc.in >kyua-testers.pc
41 CLEANFILES+= kyua-testers.pc
42 .endif
44 .include <bsd.files.mk>
45 .include <bsd.lib.mk>