Unix: Rework build system
[openafs.git] / src / cmd / test / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.lwp
11
12 INSTALL = @INSTALL@
13 INSTALL_DATA = @INSTALL_DATA@
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@
15 INSTALL_SCRIPT = @INSTALL_SCRIPT@
16
17 LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
18 LIBS=-lcmd -lcom_err -lafsutil
19
20 all: test
21 test tests: ctest dtest itest
22
23 itest: itest.o 
24         $(AFS_LDRULE) itest.o $(LDIRS) $(LIBS) 
25
26 ctest: ctest.o
27         $(AFS_LDRULE) ctest.o $(LDIRS) $(LIBS)
28
29 dtest: dtest.o
30         $(AFS_LDRULE) dtest.o $(LDIRS) $(LIBS)
31
32 system: test
33
34 clean:
35         $(RM) -f  *.a *.o ctest dtest itest core
36
37 install:
38 dest: