blob: d25f84d89b4eb7ebcb2fe779f239fbe9493658d4 (
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
36
37
|
# $FreeBSD$
PROG = testprg
NOMAN = no
NOOBJ = youbet
CFLAGS += -gstabs -static
CFLAGS += -I/usr/src/sys -I../..
CFLAGS += -DKERNELSIM -pthread
LDADD += -L../../GLib -lG
LDADD += -lbsdxml
LDADD += -lmd
DPADD += ../../GLib/libG.a
CLEANFILES += _* *.core
WARNS= 5
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
|