1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
17 INCDIRS= -I.. -I${DESTDIR}/include
20 include ../../config/Makefile.${SYS_NAME}
22 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${XCFLAGS}
24 system noversion: test
27 ${CC} -p ${CFLAGS} test.c -o test ${LIBS}
30 ${CC} -c -p ${CFLAGS} testlwp.c ${LIBS}
33 selclient.o: selclient.c seltest.h
34 ${CC} ${CFLAGS} -c -g selclient.c
36 selclient: selclient.o selsubs.o ${LIBS}
37 ${CC} ${CFLAGS} -g -o selclient selclient.o selsubs.o ${LIBS}
39 selserver.o: selserver.c seltest.h
40 ${CC} ${CFLAGS} -c -g selserver.c
42 selserver: selserver.o selsubs.o ${LIBS}
43 ${CC} ${CFLAGS} -g -o selserver selserver.o selsubs.o ${LIBS}
45 selsubs.o: selsubs.c seltest.h
46 ${CC} ${CFLAGS} -g -c selsubs.c
50 ${CC} ${CFLAGS} -g -o test_key test_key.o \
51 ../liblwp.a $(DESTDIR)/lib/afs/util.a
56 -$(RM) -f *.o *.a test testlwp selclient selserver core