a04dd0c1236b9d5239ef68d90e3d90868ceaccb4
[openafs.git] / src / comerr / test / Makefile
1
2 SRCDIR=DEST/
3 DESTDIR=DEST/
4 BACKDIR=../../../../PARENT/dest/
5 OPTIMIZE=-O
6
7 INCDIRS= -I${DESTDIR}include -I.. -I${BACKDIR}include
8 LDIRS= -L${DESTDIR}lib -L${DESTDIR}lib/afs -L.. -L${BACKDIR}lib -L${BACKDIR}lib/afs
9 utilib=${DESTDIR}lib/afs/util.a
10 LIBS= -lcom_err
11
12 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
13
14 system: test 
15
16 clean:
17         rm -f *.o *.a test core
18
19 test:   test.o test1.o test2.o 
20         $(CC)  ${CFLAGS} -o test test.o test1.o test2.o 
21 test.o: test1.h test2.h
22 test1.o : test1.c
23 test1.c : test1.et
24 test2.o : test2.c
25 test2.c : test2.et
26
27 kinstall:
28         @echo No kernel source here.
29
30 clean:
31         rm -f *~ \#* *.bak \
32                 *.otl *.aux *.toc *.PS *.dvi *.x9700 *.ps \
33                 *.cp *.fn *.ky *.log *.pg *.tp *.vr \
34                 *.o libcom_err.a \
35                 com_err.o compile_et \
36                 et.ar TAGS y.tab.c lex.yy.c error_table.c \
37                 et_lex.lex.c \
38                 test1.h test1.c test2.h test2.c test \
39                 eddep makedep core
40