freebsd-dev/tools/regression/geom/ConfCmp/Makefile
Poul-Henning Kamp 5624b2d4d3 Use in-tree libbsdxml instead of ports based libexpat.
Sponsored by:	DARPA & NAI Labs.
2002-10-05 13:16:07 +00:00

35 lines
888 B
Makefile

# $FreeBSD$
PROG= ConfCmp
SRCS+= ConfCmp.c
SRCS+= subr_sbuf.c
.PATH: ../../../../sys/kern
NOOBJ= youbet
WARNS= 5
CFLAGS+= -g -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -static
# Uncomment for ElectricFence
#LDADD += -lefence -L/usr/local/lib
LDADD += -lbsdxml
NOMAN= yeah
CLEANFILES += _*
.include <bsd.prog.mk>
test: ${PROG}
rm -f _* *.core
./${PROG} a1.conf a1.conf
./${PROG} a1.conf a1a.conf
if ./${PROG} a1.conf a1b.conf > /dev/null 2>&1 ; then exit 1 ; fi
if ./${PROG} a1.conf a1c.conf > /dev/null 2>&1 ; then exit 1 ; fi
if ./${PROG} a1.conf a1d.conf > /dev/null 2>&1 ; then exit 1 ; fi
./${PROG} a2.conf a2.conf
./${PROG} a2.conf a2a.conf
if ./${PROG} a2.conf a2b.conf > /dev/null 2>&1 ; then exit 1 ; fi
if ./${PROG} a2.conf a2c.conf > /dev/null 2>&1 ; then exit 1 ; fi
if ./${PROG} a2.conf a2d.conf > /dev/null 2>&1 ; then exit 1 ; fi