98a875f42a645afd29d25454eb2ddc492757467c
[openafs.git] / src / comerr / test / Makefile.in
1 srcdir=@srcdir@
2 include @TOP_OBJDIR@/src/config/Makefile.config
3
4
5
6 INCDIRS=-I${TOP_INCDIR} -I..
7 LDIRS=-L${TOP_LIBDIR} -L${DESTDIR}/lib/afs -L..
8
9 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} -lcom_err ${XCFLAGS}
10
11 all: test
12
13 install: 
14
15 #
16 # Build targets
17 #
18 test:   test.o test1.o test2.o 
19         $(CC)  ${CFLAGS} -o test test.o test1.o test2.o 
20
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 #
28 # Misc targets
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 *.a 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
41 dest: 
42