2002-03-17 18:53:58 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= ConfCmp
|
|
|
|
SRCS+= ConfCmp.c
|
|
|
|
SRCS+= subr_sbuf.c
|
2002-10-05 13:16:07 +00:00
|
|
|
|
|
|
|
.PATH: ../../../../sys/kern
|
|
|
|
|
2002-03-17 18:53:58 +00:00
|
|
|
NOOBJ= youbet
|
2002-04-24 20:33:04 +00:00
|
|
|
WARNS= 5
|
2002-03-17 18:53:58 +00:00
|
|
|
CFLAGS+= -g -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -static
|
|
|
|
# Uncomment for ElectricFence
|
|
|
|
#LDADD += -lefence -L/usr/local/lib
|
|
|
|
|
2002-10-05 13:16:07 +00:00
|
|
|
LDADD += -lbsdxml
|
2002-03-17 18:53:58 +00:00
|
|
|
|
|
|
|
NOMAN= yeah
|
|
|
|
CLEANFILES += _*
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
test: ${PROG}
|
|
|
|
rm -f _* *.core
|
2002-04-24 20:33:04 +00:00
|
|
|
./${PROG} a1.conf a1.conf
|
|
|
|
./${PROG} a1.conf a1a.conf
|
2002-03-17 18:53:58 +00:00
|
|
|
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
|
2002-04-24 20:33:04 +00:00
|
|
|
./${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
|
2002-03-17 19:16:14 +00:00
|
|
|
|