8112f275f0c8c8b1859239ba3791a082d306edbf
[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 INSTALL = @INSTALL@
13 INSTALL_DATA = @INSTALL_DATA@
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@
15 INSTALL_SCRIPT = @INSTALL_SCRIPT@
16
17 INCDIRS= -I.. -I${DESTDIR}/include 
18 LIBS= ../liblwp.a
19
20 system noversion: test
21
22 test:           test.c liblwp.a
23                 ${CC} -p ${CFLAGS} test.c -o test ${LIBS}
24
25 testlwp.o       : testlwp.c
26                 ${CC} -c -p ${CFLAGS} testlwp.c ${LIBS}
27
28
29 selclient.o: selclient.c seltest.h
30
31 selclient: selclient.o selsubs.o ${LIBS}
32         $(AFS_LDRULE) selclient.o selsubs.o ${LIBS}
33
34 selserver.o: selserver.c seltest.h
35
36 selserver: selserver.o selsubs.o ${LIBS}
37         $(AFS_LDRULE) selserver.o selsubs.o ${LIBS}
38
39 selsubs.o: selsubs.c seltest.h
40
41 test_key: test_key.o
42         $(AFS_LDRULE) test_key.o ${LIBS} ${TOP_LIBDIR}/util.a
43
44 clean:
45         -$(RM) -f *.o *.a test test_key selclient selserver core