1 # Copyright 2000, International Business Machines Corporation and others.
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
9 include @TOP_OBJDIR@/src/config/Makefile.config
12 -I${TOP_OBJDIR}/src/config \
16 -I/usr/include ${XCFLAGS}
18 RPCINCLS=${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/rx/rx.h
20 INCLS=fsprobe.h ${RPCINCLS}
22 LIBS=${TOP_LIBDIR}/libvolser.a ${TOP_LIBDIR}/vlib.a ${TOP_LIBDIR}/libacl.a \
23 ${TOP_LIBDIR}/libsys.a ${TOP_LIBDIR}/libvldb.a \
24 ${TOP_LIBDIR}/libubik.a \
25 ${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/libsys.a \
26 ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libdes.a \
27 ${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/libkauth.a \
28 ${TOP_LIBDIR}/libaudit.a \
29 ${TOP_LIBDIR}/libafsint.a \
30 ${TOP_LIBDIR}/librx.a \
31 ${TOP_LIBDIR}/liblwp.a \
32 ${TOP_LIBDIR}/libsys.a \
35 all: ${TOP_INCDIR}/afs/fsprobe.h ${TOP_LIBDIR}/libfsprobe.a fsprobe_test
40 libfsprobe.a: fsprobe.o fsprobe_callback.o AFS_component_version_number.o
42 $(AR) crv $@ fsprobe.o fsprobe_callback.o AFS_component_version_number.o
45 fsprobe.o: fsprobe.c ${INCLS} AFS_component_version_number.c
47 fsprobe_callback.o: fsprobe_callback.c ${INCLS}
49 fsprobe_test: fsprobe_test.o libfsprobe.a ${LIBS}
50 ${CC} ${CFLAGS} -o fsprobe_test fsprobe_test.o libfsprobe.a \
56 install: ${DESTDIR}${includedir}/afs/fsprobe.h ${DESTDIR}${libdir}/afs/libfsprobe.a
58 ${DEST}/include/afs/fsprobe.h: fsprobe.h
61 ${DEST}/lib/afs/libfsprobe.a: libfsprobe.a
68 $(RM) -f *.o fsprobe_test libfsprobe.a core AFS_component_version_number.c
70 include ../config/Makefile.version
72 ${DESTDIR}${includedir}/afs/fsprobe.h: fsprobe.h
75 ${TOP_INCDIR}/afs/fsprobe.h: fsprobe.h
78 ${DESTDIR}${libdir}/afs/libfsprobe.a: libfsprobe.a
81 ${TOP_LIBDIR}/libfsprobe.a: libfsprobe.a
84 dest: ${DEST}/include/afs/fsprobe.h ${DEST}/lib/afs/libfsprobe.a