Annotation of embedaddon/libpdel/structs/xmlrpc-test/Makefile, revision 1.1.1.1
1.1 misho 1: # $Id: Makefile,v 1.5 2004/06/03 21:17:30 archie Exp $
2:
3: PROG= xmlrpc_test
4: NOMAN=
5:
6: SRCS+= main.c
7: SRCS+= arrayOfStructsTest.c
8: SRCS+= countTheEntities.c
9: SRCS+= easyStructTest.c
10: SRCS+= echoStructTest.c
11: SRCS+= manyTypesTest.c
12: SRCS+= moderateSizeArrayCheck.c
13: SRCS+= nestedStructTest.c
14: SRCS+= simpleStructReturnTest.c
15:
16: SRCS+= uname.c
17: CLEANFILES+= uname.c
18:
19: uname.c: Makefile
20: ( HOST_OS=`uname -s`; HOST_ARCH=`uname -m`; \
21: echo '#include "xmlrpc_test.h"'; \
22: echo -n 'const char host_os[] = "'; \
23: echo -n $${HOST_OS}; \
24: echo '";'; \
25: echo -n 'const char host_arch[] = "'; \
26: echo -n $${HOST_ARCH}; \
27: echo '";' ) \
28: > ${.TARGET}
29:
30: CFLAGS+= -pthread
31: CFLAGS+= -I${PREFIX}/include
32:
33: # Libraries
34:
35: LDADD+= -L${PREFIX}/lib -lpdel
36: DPADD+= ${PREFIX}/lib/libpdel.a
37:
38: LDADD+= -L${PREFIX}/lib -lexpat
39: DPADD+= ${PREFIX}/lib/libexpat.a
40:
41: LDADD+= -lssl
42: DPADD+= ${LIBSSL}
43:
44: LDADD+= -lcrypto
45: DPADD+= ${LIBCRYPTO}
46:
47: LDADD+= -lnetgraph
48: DPADD+= ${LIBNETGRAPH}
49:
50: LDADD+= -lradius
51: DPADD+= ${LIBRADIUS}
52:
53: .include "${.CURDIR}/../../Makefile.inc"
54: .include <bsd.prog.mk>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>