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 LT_objs
= usd_file.lo AFS_component_version_number.lo
14 LT_deps
= $(top_builddir
)/src
/opr
/liboafs_opr.la
16 all: liboafs_usd.la
${TOP_LIBDIR}/libusd.a
${TOP_INCDIR}/afs
/usd.h
18 ${TOP_LIBDIR}/libusd.a
: libusd.a
21 ${TOP_INCDIR}/afs
/usd.h
: usd.h
27 liboafs_usd.la
: liboafs_usd.la.sym
$(LT_objs
) $(LT_deps
)
28 $(LT_LDLIB_shlib
) $(LT_objs
) $(LT_deps
) $(LT_libs
)
31 $(LT_LDLIB_static
) $(LT_objs
)
36 # Installation targets
38 install: libusd.a usd.h
39 ${INSTALL} -d
${DESTDIR}${libdir}/afs
40 ${INSTALL} -d
${DESTDIR}${includedir}/afs
41 ${INSTALL_DATA} libusd.a
${DESTDIR}${libdir}/afs
/libusd.a
42 ${INSTALL_DATA} ${srcdir}/usd.h
${DESTDIR}${includedir}/afs
/usd.h
45 ${INSTALL} -d
${DEST}/lib
/afs
46 ${INSTALL} -d
${DEST}/include/afs
47 ${INSTALL_DATA} libusd.a
${DEST}/lib
/afs
/libusd.a
48 ${INSTALL_DATA} ${srcdir}/usd.h
${DEST}/include/afs
/usd.h
55 $(RM
) -f
*.o libusd.a core AFS_component_version_number.c
57 include ..
/config
/Makefile.version