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.lwp
13 LIBS
=${TOP_LIBDIR}/libbudb.a
${TOP_LIBDIR}/libbubasics.a \
14 ${TOP_LIBDIR}/libbutm.a
${TOP_LIBDIR}/libvolser.a \
15 ${TOP_LIBDIR}/libvldb.a
${TOP_LIBDIR}/vlib.a \
16 ${TOP_LIBDIR}/libkauth.a
${TOP_LIBDIR}/libubik.a \
17 ${TOP_LIBDIR}/libauth.a
${TOP_LIBDIR}/librxkad.a \
18 ${TOP_LIBDIR}/libsys.a \
19 ${TOP_LIBDIR}/librx.a
${TOP_LIBDIR}/libsys.a \
20 ${TOP_LIBDIR}/liblwp.a
${TOP_LIBDIR}/libcmd.a \
21 ${TOP_LIBDIR}/libafscom_err.a \
22 ${TOP_LIBDIR}/util.a \
23 $(TOP_LIBDIR
)/libopr.a \
24 ${TOP_LIBDIR}/libafsrfc3961.a \
25 ${TOP_LIBDIR}/libafshcrypto_lwp.a
27 all: ${TOP_LIBDIR}/libbxdb.a
${TOP_INCDIR}/afs
/bucoord_prototypes.h
${TOP_INCDIR}/afs
/bc.h backup
29 generated
: bucoord_errs.c bc.h
31 ${TOP_LIBDIR}/libbxdb.a
: libbxdb.a
34 ${TOP_INCDIR}/afs
/bucoord_prototypes.h
: bucoord_prototypes.h
37 ${TOP_INCDIR}/afs
/bc.h
: bc.h
40 libbxdb.a
: dsstub.o ubik_db_if.o status.o dlq.o bucoord_errs.o volstub.o AFS_component_version_number.o
42 $(AR
) crv
$@ dsstub.o ubik_db_if.o status.o dlq.o bucoord_errs.o volstub.o AFS_component_version_number.o
45 ttest
: ttest.o
${TOP_LIBDIR}/librx.a
${TOP_LIBDIR}/liblwp.a libbxdb.a
46 $(AFS_LDRULE
) ttest.o libbxdb.a
${TOP_LIBDIR}/libbubasics.a \
47 ${TOP_LIBDIR}/librx.a
${TOP_LIBDIR}/liblwp.a
49 ttest.o
: AFS_component_version_number.c
51 btest
: btest.o
${TOP_LIBDIR}/libbubasics.a
${TOP_LIBDIR}/librx.a
${TOP_LIBDIR}/liblwp.a
52 $(AFS_LDRULE
) btest.o
${TOP_LIBDIR}/libbubasics.a \
53 ${TOP_LIBDIR}/librx.a
${TOP_LIBDIR}/liblwp.a
55 btest.o
: AFS_component_version_number.c
57 BACKSRCS
= main.c config.c dsstub.c volstub.c commands.c server.c \
58 dsvs.c dump.c restore.c ubik_db_if.c \
59 dump_sched.c vol_sets.c tape_hosts.c \
60 bc_status.c status.c dlq.c
62 BACKOBJS
= main.o config.o dsstub.o volstub.o commands.o server.o \
63 dsvs.o dump.o restore.o ubik_db_if.o dump_sched.o vol_sets.o \
64 tape_hosts.o bucoord_errs.o bc_status.o status.o dlq.o
66 main.o
: AFS_component_version_number.c
68 $(BACKOBJS
): bc.h
${TOP_INCDIR}/afs
/butc.h
70 backup
: $(BACKOBJS
) ${LIBS}
71 $(AFS_LDRULE
) $(BACKOBJS
) ${LIBS} $(LIB_roken
) ${XLIBS}
73 bucoord_errs.c
: bucoord_errs.et
74 ${COMPILE_ET_C} -p
${srcdir} bucoord_errs
76 bc.h
: bucoord_errs.et bc.p.h
77 ${COMPILE_ET_H} -p
${srcdir} bucoord_errs
-h bc
100 CFLAGS_commands.o
=@CFLAGS_NOERROR@
106 install: libbxdb.a backup
107 ${INSTALL} -d
${DESTDIR}${libdir}/afs
108 ${INSTALL} -d
${DESTDIR}${sbindir}
109 ${INSTALL_DATA} libbxdb.a
${DESTDIR}${libdir}/afs
/libbxdb.a
110 ${INSTALL_PROGRAM} backup
${DESTDIR}${sbindir}/backup
112 dest
: libbxdb.a backup
113 ${INSTALL} -d
${DEST}/lib
/afs
114 ${INSTALL} -d
${DEST}/etc
115 ${INSTALL_DATA} libbxdb.a
${DEST}/lib
/afs
/libbxdb.a
116 ${INSTALL_PROGRAM} backup
${DEST}/etc
/backup
123 $(RM
) -f
*.o backup convert
*.ss.c
*.cs.c
*.xdr.c
*.a core btest ttest AFS_component_version_number.c bc.h bucoord_errs.c
125 include ..
/config
/Makefile.version