Unix: Rework build system
[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 LDIRS=-L${TOP_LIBDIR} -L${DESTDIR}/lib/afs -L..
9
10 all: test
11
12 install: 
13
14 #
15 # Build targets
16 #
17 test:   test.o test1.o test2.o 
18         $(AFS_LDRULE) ${LDIRS} -lcom_err test.o test1.o test2.o 
19
20 test.o: test1.h test2.h
21 test1.o : test1.c
22 test1.c : test1.et
23 test2.o : test2.c
24 test2.c : test2.et
25
26 #
27 # Misc targets
28 #
29 clean:
30         $(RM) -f *~ \#* *.bak \
31                 *.otl *.aux *.toc *.PS *.dvi *.x9700 *.ps \
32                 *.cp *.fn *.ky *.log *.pg *.tp *.vr \
33                 *.o *.a libcom_err.a \
34                 com_err.o compile_et \
35                 et.ar TAGS y.tab.c lex.yy.c error_table.c \
36                 et_lex.lex.c \
37                 test1.h test1.c test2.h test2.c test \
38                 eddep makedep core
39
40 dest: 
41