b3e40f7f6edcaee6a7f7cfee5a62553c634c9dcc
[openafs.git] / src / venus / test / Makefile
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 include ../../config/Makefile.${SYS_NAME}
9
10 # SRCDIR=DEST/
11 # DESTDIR=DEST/
12 OPTIMIZE=-O
13
14 INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}include -I..
15 LDIRS= -L${DESTDIR}lib -L${DESTDIR}lib/afs -L..
16 utilib=${DESTDIR}lib/afs/util.a
17 LIBS= -lsys -lubik -lvldb -lauth -lrxkad -ldes -lcom_err -lcmd -lrx -llwp ${utilib}
18
19 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${XCFLAGS}
20
21 install all system test:  fulltest owntest idtest getinitparams
22
23 fulltest: fulltest.o
24         $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
25 owntest: owntest.o
26         $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
27 idtest: idtest.o
28         $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
29 getinitparams: getinitparams.o
30         $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
31
32 clean:
33         rm -f *.o fulltest owntest idtest getinitparams
34