Annotation of embedaddon/libpdel/structs/test/Makefile, revision 1.1
1.1 ! misho 1: # $Id: Makefile,v 1.7 2004/06/03 21:17:30 archie Exp $
! 2:
! 3: PROG= structs_test
! 4: SRCS= main.c
! 5: NOMAN=
! 6:
! 7: CFLAGS+= -pthread
! 8: CFLAGS+= -I${PREFIX}/include
! 9:
! 10: # Libraries
! 11:
! 12: LDADD+= -L${PREFIX}/lib -lpdel
! 13: DPADD+= ${PREFIX}/lib/libpdel.a
! 14:
! 15: LDADD+= -L${PREFIX}/lib -lexpat
! 16: DPADD+= ${PREFIX}/lib/libexpat.a
! 17:
! 18: LDADD+= -lcrypto
! 19: DPADD+= ${LIBCRYPTO}
! 20:
! 21: LDADD+= -lpcap
! 22: DPADD+= ${LIBPCAP}
! 23:
! 24: LDADD+= -lssl
! 25: DPADD+= ${LIBSSL}
! 26:
! 27: LDADD+= -lnetgraph
! 28: DPADD+= ${LIBNETGRAPH}
! 29:
! 30: LDADD+= -lradius
! 31: DPADD+= ${LIBRADIUS}
! 32:
! 33: # test target
! 34: test:
! 35: ./structs_test -ncx < structs_test.xml > structs_test.nrm
! 36: ./structs_test -ecx < structs_test.xml > structs_test.bin
! 37: ./structs_test -dx < structs_test.bin | diff -u structs_test.nrm -
! 38: ./structs_test -tcx < structs_test.xml > structs_test.xmlrpc
! 39: ./structs_test -Tcx < structs_test.xmlrpc | diff -u structs_test.nrm -
! 40: ./structs_test -c < structs_test.xml
! 41:
! 42: CLEANFILES+= structs_test.bin structs_test.nrm structs_test.xmlrpc
! 43:
! 44: .include "${.CURDIR}/../../Makefile.inc"
! 45: .include <bsd.prog.mk>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>