Annotation of embedaddon/libpdel/http/test/Makefile, revision 1.1.1.1
1.1 misho 1: # $Id: Makefile,v 1.6 2004/06/03 21:17:30 archie Exp $
2:
3: PROG= demo_server
4: SRCS+= main.c
5: NOMAN=
6:
7: CFLAGS+= -pthread
8: CFLAGS+= -I${PREFIX}/include
9:
10: clean_certs:
11: cd ${.CURDIR}/cert && ${MAKE} clean
12:
13: # SSL key and cert
14: ${PROG}: ${.CURDIR}/demo.key ${.CURDIR}/demo.crt
15:
16: ${.CURDIR}/demo.key ${.CURDIR}/demo.crt:
17: cd ${.CURDIR}/cert && ${MAKE}
18:
19: CLEANFILES+= ${.CURDIR}/demo.key ${.CURDIR}/demo.crt
20:
21: # Libraries
22:
23: LDADD+= -L${PREFIX}/lib -lpdel
24: DPADD+= ${PREFIX}/lib/libpdel.a
25:
26: LDADD+= -L${PREFIX}/lib -lexpat
27: DPADD+= ${PREFIX}/lib/libexpat.a
28:
29: LDADD+= -lcrypto
30: DPADD+= ${LIBCRYPTO}
31:
32: LDADD+= -lssl
33: DPADD+= ${LIBSSL}
34:
35: LDADD+= -lnetgraph
36: DPADD+= ${LIBNETGRAPH}
37:
38: LDADD+= -lradius
39: DPADD+= ${LIBRADIUS}
40:
41: .include "${.CURDIR}/../../Makefile.inc"
42: .include <bsd.prog.mk>
43:
44: clean cleandir: clean_certs
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>