Makefile revision 92515
1# $FreeBSD: head/tools/regression/geom/ConfCmp/Makefile 92515 2002-03-17 19:16:14Z phk $ 2 3PROG= ConfCmp 4SRCS+= ConfCmp.c 5SRCS+= subr_sbuf.c 6VPATH+= /sys/kern 7NOOBJ= youbet 8WARNS= 2 9CFLAGS+= -g -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -static 10# Uncomment for ElectricFence 11#LDADD += -lefence -L/usr/local/lib 12 13# Stuff for XML 14LDADD += -L/usr/local/lib -lexpat 15CFLAGS += -I/usr/local/include/xml 16 17NOMAN= yeah 18CLEANFILES += _* 19 20.include <bsd.prog.mk> 21 22test: ${PROG} 23 rm -f _* *.core 24 ./${PROG} a1.conf a1a.conf 25 if ./${PROG} a1.conf a1b.conf > /dev/null 2>&1 ; then exit 1 ; fi 26 if ./${PROG} a1.conf a1c.conf > /dev/null 2>&1 ; then exit 1 ; fi 27 if ./${PROG} a1.conf a1d.conf > /dev/null 2>&1 ; then exit 1 ; fi 28 29ttest: ${PROG} 30 rm -f _* *.core 31 ./${PROG} a1.conf a1a.conf 32 ./${PROG} a1.conf a1b.conf 33 ./${PROG} a1.conf a1c.conf 34 ./${PROG} a1.conf a1d.conf 35