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