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
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
13 include ../../config/Makefile.${SYS_NAME}
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
23 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${XCFLAGS}
25 install all system test: fulltest owntest idtest getinitparams
28 $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
30 $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
32 $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
33 getinitparams: getinitparams.o
34 $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
37 rm -f *.o fulltest owntest idtest getinitparams