0959eec08e95b5718de776ba44ed19cc54e12538
[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 DESTDIR=@DESTDIR@
9 SRCDIR=@SRCDIR@
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
12
13 SHELL = /bin/sh
14
15 include ../../config/Makefile.${SYS_NAME}
16
17 KERNELDIR = ../libafs/
18 INSTALL = ${SRCDIR}/bin/install
19
20 INCDIRS= -I${DESTDIR}/include ${XINCLS}
21 LIBS = ${SRCDIR}/lib/afs/libdir.a ${SRCDIR}/lib/afs/util.a 
22 CFLAGS = ${OPTMZ} ${INCDIRS} ${XCFLAGS}
23
24 OBJS=test-salvage.o physio.o dtest.o
25
26 install:        dtest 
27
28 clean:
29         $(RM) -f *.o *.a test dtest core
30
31 dtest:          dtest.o 
32         $(CC) $(LDFLAGS) -o dtest dtest.o $(LIBS)
33
34 dtest.o:        dtest.c 
35         $(CC) $(CFLAGS) -c dtest.c 
36
37 #test-salvage:          test-salvage.o  physio.o
38 #       $(CC) $(LDFLAGS) -o test-salvage test-salvage.o physio.o $(LIBS)
39 #
40 #test-salvage.o:        test-salvage.c  physio.c
41 #       $(CC) $(CFLAGS) -c test-salvage.c 
42 #
43 #physio.o:      physio.c 
44 #       $(CC) $(CFLAGS) -c physio.c