blob: 0f99550fa6e04f1e96c20a6ab1a81bb3be5669f4 (
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
|
# $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
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
|