Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / lwp / test / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3 #
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
7
8 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.lwp
11
12
13 INCDIRS= -I.. -I${DESTDIR}/include
14 LIBS= ../liblwp.a
15
16 system noversion: test
17
18 test: test.c liblwp.a
19 ${CC} -p ${CFLAGS} test.c -o test ${LIBS}
20
21 testlwp.o : testlwp.c
22 ${CC} -c -p ${CFLAGS} testlwp.c ${LIBS}
23
24
25 selclient.o: selclient.c seltest.h
26
27 selclient: selclient.o selsubs.o ${LIBS}
28 $(AFS_LDRULE) selclient.o selsubs.o ${LIBS}
29
30 selserver.o: selserver.c seltest.h
31
32 selserver: selserver.o selsubs.o ${LIBS}
33 $(AFS_LDRULE) selserver.o selsubs.o ${LIBS}
34
35 selsubs.o: selsubs.c seltest.h
36
37 test_key: test_key.o
38 $(AFS_LDRULE) test_key.o ${LIBS} ${TOP_LIBDIR}/util.a
39
40 clean:
41 -$(RM) -f *.o *.a test test_key selclient selserver core