build-system-specific-makefile-configuration-from-configure-20011031
[openafs.git] / src / dir / 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
11 INCDIRS= -I${DESTDIR}/include ${XINCLS}
12 LIBS = ${SRCDIR}/lib/afs/libdir.a ${SRCDIR}/lib/afs/util.a 
13 CFLAGS = ${OPTMZ} ${INCDIRS} ${XCFLAGS}
14
15 OBJS=test-salvage.o physio.o dtest.o
16
17 all:
18
19 install:        dtest 
20
21 clean:
22         $(RM) -f *.o *.a test dtest core
23
24 dtest:          dtest.o 
25         $(CC) $(LDFLAGS) -o dtest dtest.o $(LIBS)
26
27 dtest.o:        dtest.c 
28         $(CC) $(CFLAGS) -c dtest.c 
29
30 #test-salvage:          test-salvage.o  physio.o
31 #       $(CC) $(LDFLAGS) -o test-salvage test-salvage.o physio.o $(LIBS)
32 #
33 #test-salvage.o:        test-salvage.c  physio.c
34 #       $(CC) $(CFLAGS) -c test-salvage.c 
35 #
36 #physio.o:      physio.c 
37 #       $(CC) $(CFLAGS) -c physio.c