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
8 include ../../config/Makefile.${SYS_NAME}
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}
19 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${XCFLAGS}
21 install all system test: fulltest owntest idtest getinitparams
24 $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
26 $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
28 $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
29 getinitparams: getinitparams.o
30 $(CC) $(CFLAGS) -o $@ $@.o $(LDIRS) $(LIBS)
33 rm -f *.o fulltest owntest idtest getinitparams