28211239c2244e4c269455206543bf118775e0b5
[openafs.git] / src / comerr / test / Makefile.in
1 srcdir=@srcdir@
2 include @TOP_OBJDIR@/src/config/Makefile.config
3 INSTALL = @INSTALL@
4 INSTALL_DATA = @INSTALL_DATA@
5 INSTALL_PROGRAM = @INSTALL_PROGRAM@
6 INSTALL_SCRIPT = @INSTALL_SCRIPT@
7
8
9
10 INCDIRS=-I${TOP_INCDIR} -I..
11 LDIRS=-L${TOP_LIBDIR} -L${DESTDIR}/lib/afs -L..
12
13 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} -lcom_err ${XCFLAGS} ${ARCHFLAGS}
14
15 all: test
16
17 install: 
18
19 #
20 # Build targets
21 #
22 test:   test.o test1.o test2.o 
23         $(CC)  ${CFLAGS} -o test test.o test1.o test2.o 
24
25 test.o: test1.h test2.h
26 test1.o : test1.c
27 test1.c : test1.et
28 test2.o : test2.c
29 test2.c : test2.et
30
31 #
32 # Misc targets
33 #
34 clean:
35         $(RM) -f *~ \#* *.bak \
36                 *.otl *.aux *.toc *.PS *.dvi *.x9700 *.ps \
37                 *.cp *.fn *.ky *.log *.pg *.tp *.vr \
38                 *.o *.a libcom_err.a \
39                 com_err.o compile_et \
40                 et.ar TAGS y.tab.c lex.yy.c error_table.c \
41                 et_lex.lex.c \
42                 test1.h test1.c test2.h test2.c test \
43                 eddep makedep core
44
45 dest: 
46