1 # Makefile for XDR RPC test program
3 xdr_test: xdr_test.cpp securityd_data_saver.h
4 ### XXX ld64 is broken in Leopard, ca. 9A110 - ?
5 # g++ -F/usr/local/SecurityPieces/Frameworks \
6 -g -Wall -arch ppc -arch i386 -arch ppc64 \
8 -framework securityd_client \
9 -framework security_cdsa_utilities \
10 -framework security_utilities
12 g++ -F/usr/local/SecurityPieces/Frameworks \
13 -g -Wall -arch ppc -arch i386 \
15 -framework securityd_client \
16 -framework security_cdsa_utilities \
17 -framework security_utilities
19 # only needed when building a "save data" version of securityd
20 securityd_data_saver.o: securityd_data_saver.cpp securityd_data_saver.h
21 g++ -F/usr/local/SecurityPieces/Frameworks \
22 -g -Wall -arch ppc -arch i386 -c $<
24 # run all tests with minimally verbose output
27 @for F in TestData/* ; do ./xdr_test -v $${F} ; done
29 # run all tests silently (except for errors)
32 @for F in TestData/* ; do ./xdr_test $${F} ; done
36 /bin/rm -f xdr_test *.o