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
9 include @TOP_OBJDIR@/src/config/Makefile.config
11 INCDIRS= -I.. -I${DESTDIR}/include
14 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${XCFLAGS}
16 system noversion: test
19 ${CC} -p ${CFLAGS} test.c -o test ${LIBS}
22 ${CC} -c -p ${CFLAGS} testlwp.c ${LIBS}
25 selclient.o: selclient.c seltest.h
26 ${CC} ${CFLAGS} -c -g selclient.c
28 selclient: selclient.o selsubs.o ${LIBS}
29 ${CC} ${CFLAGS} -g -o selclient selclient.o selsubs.o ${LIBS}
31 selserver.o: selserver.c seltest.h
32 ${CC} ${CFLAGS} -c -g selserver.c
34 selserver: selserver.o selsubs.o ${LIBS}
35 ${CC} ${CFLAGS} -g -o selserver selserver.o selsubs.o ${LIBS}
37 selsubs.o: selsubs.c seltest.h
38 ${CC} ${CFLAGS} -g -c selsubs.c
42 ${CC} ${CFLAGS} -g -o test_key test_key.o \
43 ../liblwp.a $(DESTDIR)/lib/afs/util.a
48 -$(RM) -f *.o *.a test testlwp selclient selserver core