summaryrefslogtreecommitdiffstats
path: root/tools/regression/geom/Test/Makefile.inc
blob: 452efc5a6abc4c850e400a5555c16076091bcc2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $FreeBSD$

PROG =		testprg
NOMAN =		no
NOOBJ =		youbet
CFLAGS +=	-g -W -Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS +=	-Wpointer-arith -static -I/usr/src/sys
LDADD +=	-L../../GLib -lG
LDADD +=	-L/usr/local/lib -lexpat
DPADD +=	../../GLib/libG.a
CLEANFILES +=	_* *.core
WARNS=		2

foo:
	echo ${SRCS}
	echo ${OBJS}

ttest:	${PROG}
	./${PROG} -t 2>&1 | tee _test

tbtest:	${PROG}
	./${PROG} -t -b 2>&1 | tee _test

test:	${PROG}
	./${PROG}
.if exists(ref.conf)
	../../ConfCmp/ConfCmp _1.conf ref.conf
.endif
	echo "Passed ${.CURDIR}"

mkref:
	mv _1.conf ref.conf

gdb:
	gdb ${PROG} ${PROG}.core
OpenPOWER on IntegriCloud