make-des-test-buildable-20010430
[openafs.git] / src / des / test / Makefile
1
2 SRCDIR=DEST/
3 DESTDIR=DEST/
4 BACKDIR=../../../../PARENT/dest/
5 OPTIMIZE=-O
6 CC      = cc
7 #  Test programs
8 PROGS   = \
9         key_test \
10         testit \
11         verify
12
13 INCDIRS= -I${DESTDIR}include -I.. -I${BACKDIR}include
14 LDIRS= -L${DESTDIR}lib -L${DESTDIR}lib/afs -L.. -L${BACKDIR}lib -L${BACKDIR}lib/afs
15 utilib=${DESTDIR}lib/afs/util.a
16 LIBS= -ldes
17
18 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
19
20 all system test: $(PROGS)
21
22 clean:
23         rm -f *.o *.a testit verify key_test core
24
25 kinstall:
26         @echo No kernel source here.
27
28 testit: testit.o 
29         ${CC} ${CFLAGS} testit.o -o testit
30 verify: verify.o libdes.a
31         ${CC} ${CFLAGS} verify.o -o verify
32 key_test: key_test.o libdes.a
33         ${CC}  ${CFLAGS} key_test.o -o key_test
34