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
10 include @TOP_OBJDIR@/src/config/Makefile.pthread
11 include @TOP_OBJDIR@/src/config/Makefile.libtool
13 INCLS=fsprobe.h ${TOP_INCDIR}/rx/rx.h
16 $(top_builddir)/src/rxkad/liboafs_rxkad.la \
17 $(top_builddir)/src/fsint/liboafs_fsint.la \
18 $(top_builddir)/src/cmd/liboafs_cmd.la \
19 $(top_builddir)/src/util/liboafs_util.la \
20 $(top_builddir)/src/opr/liboafs_opr.la \
21 $(top_builddir)/src/volser/liboafs_volser.la
27 AFS_component_version_number.lo
31 ${TOP_INCDIR}/afs/fsprobe.h \
32 ${TOP_LIBDIR}/libfsprobe.a \
35 ${TOP_INCDIR}/afs/fsprobe.h: fsprobe.h
38 ${TOP_LIBDIR}/libfsprobe.a: libfsprobe.a
44 liboafs_fsprobe.la: liboafs_fsprobe.la.sym $(LT_objs) $(LT_deps)
45 $(LT_LDLIB_shlib) $(LT_objs) $(LT_deps) $(LT_libs)
47 libfsprobe.a: $(LT_objs)
48 $(LT_LDLIB_static) $(LT_objs)
50 # afscbint.ss.c is required for RXAFSCB_ExecuteRequest.
51 afscbint.h: $(top_builddir)/src/fsint/afscbint.h
54 afscbint.ss.c: $(top_builddir)/src/fsint/afscbint.ss.c
57 fsprobe.lo: fsprobe.c ${INCLS} AFS_component_version_number.c
58 fsprobe_callback.lo: fsprobe_callback.c ${INCLS}
59 afscbint.ss.lo: afscbint.ss.c afscbint.h
64 fsprobe_test: fsprobe_test.o libfsprobe.a $(LT_deps)
65 $(LT_LDRULE_static) fsprobe_test.o libfsprobe.a \
66 $(LT_deps) $(LIB_roken) ${XLIBS}
71 install: fsprobe.h libfsprobe.a
72 ${INSTALL} -d ${DESTDIR}${includedir}/afs
73 ${INSTALL} -d ${DESTDIR}${libdir}/afs
74 ${INSTALL_DATA} ${srcdir}/fsprobe.h ${DESTDIR}${includedir}/afs/fsprobe.h
75 ${INSTALL_DATA} libfsprobe.a ${DESTDIR}${libdir}/afs/libfsprobe.a
77 dest: fsprobe.h libfsprobe.a
78 ${INSTALL} -d ${DEST}/include/afs
79 ${INSTALL} -d ${DEST}/lib/afs
80 ${INSTALL_DATA} ${srcdir}/fsprobe.h ${DEST}/include/afs/fsprobe.h
81 ${INSTALL_DATA} libfsprobe.a ${DEST}/lib/afs/libfsprobe.a
88 $(RM) -f *.o afscbint.ss.c afscbint.h fsprobe_test libfsprobe.a \
89 core AFS_component_version_number.c
91 include ../config/Makefile.version