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
10 include @TOP_OBJDIR@
/src
/config
/Makefile.config
11 include @TOP_OBJDIR@
/src
/config
/Makefile.lwp
15 ${TOP_INCDIR}/lock.h \
16 ${TOP_INCDIR}/ubik.h \
18 ${TOP_INCDIR}/rx
/rx.h \
19 ${TOP_INCDIR}/rx
/xdr.h \
20 ${TOP_INCDIR}/rx
/rxkad.h \
21 ${TOP_INCDIR}/afs
/auth.h \
22 ${TOP_INCDIR}/afs
/cellconfig.h \
23 ${TOP_INCDIR}/afs
/com_err.h \
24 ${TOP_INCDIR}/afs
/bubasics.h \
25 ${TOP_INCDIR}/afs
/budb_client.h \
26 ${TOP_INCDIR}/afs
/budb_errs.h \
27 budb.h budb_client.h database.h
29 # library ordering defined by top level makefile
30 LIBS
=${TOP_LIBDIR}/libbubasics.a \
31 ${TOP_LIBDIR}/libaudit.a \
32 ${TOP_LIBDIR}/libprot.a \
33 ${TOP_LIBDIR}/libkauth.a \
34 ${TOP_LIBDIR}/libubik.a \
35 ${TOP_LIBDIR}/libauth.a \
36 ${TOP_LIBDIR}/librxkad.a \
37 ${TOP_LIBDIR}/libsys.a \
38 ${TOP_LIBDIR}/librx.a \
39 ${TOP_LIBDIR}/libsys.a \
40 ${TOP_LIBDIR}/liblwp.a \
41 ${TOP_LIBDIR}/libcmd.a \
42 ${TOP_LIBDIR}/libafscom_err.a \
43 ${TOP_LIBDIR}/util.a \
44 ${TOP_LIBDIR}/libopr.a \
45 ${TOP_LIBDIR}/libafsrfc3961.a \
46 ${TOP_LIBDIR}/libafshcrypto_lwp.a
48 COMMON_OBJS
= database.o db_alloc.o db_dump.o db_hash.o struct_ops.o ol_verify.o
50 SERVER_OBJS
= ${COMMON_OBJS} budb.ss.o budb.xdr.o dbs_dump.o db_lock.o db_text.o \
51 procs.o server.o budb_errs.o
53 all: ${TOP_LIBDIR}/libbudb.a
${TOP_INCDIR}/afs
/budb.h
${TOP_INCDIR}/afs
/budb_errs.h
${TOP_INCDIR}/afs
/budb_prototypes.h budb_server
56 budb_errs.c budb_errs.h \
57 budb.cs.c budb.ss.c budb.xdr.c budb.h
59 ${TOP_LIBDIR}/libbudb.a
: libbudb.a
62 ${TOP_INCDIR}/afs
/budb.h
: budb.h
65 ${TOP_INCDIR}/afs
/budb_errs.h
: budb_errs.h
66 ${INSTALL_DATA} budb_errs.h
$@
68 ${TOP_INCDIR}/afs
/budb_client.h
: budb_client.h
71 ${TOP_INCDIR}/afs
/budb_prototypes.h
: budb_prototypes.h
74 budb_errs.c
: budb_errs.et
75 ${COMPILE_ET_C} -p
${srcdir} budb_errs
77 budb_errs.h
: budb_errs.et
78 ${COMPILE_ET_H} -p
${srcdir} budb_errs
80 database.o
: budb_errs.h
81 db_alloc.o
: budb_errs.h
82 db_dump.o
: budb_errs.h
83 db_hash.o
: budb_errs.h
84 db_lock.o
: budb_errs.h
85 dbs_dump.o
: budb_errs.h
86 db_text.o
: budb_errs.h
87 ol_verify.o
: budb_errs.h
90 struct_ops.o
: budb_errs.h
92 database.o
: database.c budb_errs.h globals.h
${INCLS}
93 db_alloc.o
: db_alloc.c budb_errs.h
${INCLS}
94 dbs_dump.o
: dbs_dump.c budb_errs.h
${INCLS}
95 db_dump.o
: db_dump.c budb_errs.h
${INCLS}
96 db_lock.o
: db_lock.c budb_errs.h
${INCLS}
97 db_text.o
: db_text.c budb_errs.h
${INCLS}
98 db_hash.o
: db_hash.c budb_errs.h
${INCLS}
99 ol_verify.o
: ol_verify.c budb_errs.h
${INCLS}
100 procs.o
: procs.c budb_errs.h globals.h
${INCLS}
101 struct_ops.o
: budb_errs.h
${INCLS}
102 server.o
: server.c budb_errs.h
${INCLS} AFS_component_version_number.c
104 budb_server
: $(SERVER_OBJS
) ${LIBS} ${TOP_INCDIR}/afs
/budb_client.h
105 $(AFS_LDRULE
) $(SERVER_OBJS
) ${LIBS} $(LIB_roken
) ${XLIBS}
108 ${RXGEN} -A
-u
-C
-o
$@
${srcdir}/budb.rg
111 ${RXGEN} -A
-S
-o
$@
${srcdir}/budb.rg
114 ${RXGEN} -A
-c
-o
$@
${srcdir}/budb.rg
117 ${RXGEN} -A
-u
-h
-o
$@
${srcdir}/budb.rg
123 libbudb.a
: budb_errs.o budb.cs.o budb.xdr.o struct_ops.o AFS_component_version_number.o
125 $(AR
) crv
$@ budb_errs.o budb.cs.o budb.xdr.o struct_ops.o AFS_component_version_number.o
131 install: libbudb.a budb.h budb_errs.h budb_client.h budb_server
132 ${INSTALL} -d
${DESTDIR}${libdir}/afs
133 ${INSTALL} -d
${DESTDIR}${includedir}/afs
134 ${INSTALL} -d
${DESTDIR}${afssrvlibexecdir}
135 ${INSTALL_DATA} libbudb.a
${DESTDIR}${libdir}/afs
/libbudb.a
136 ${INSTALL_DATA} budb.h
${DESTDIR}${includedir}/afs
/budb.h
137 ${INSTALL_DATA} budb_errs.h
${DESTDIR}${includedir}/afs
/budb_errs.h
138 ${INSTALL_DATA} ${srcdir}/budb_client.h
${DESTDIR}${includedir}/afs
/budb_client.h
139 ${INSTALL_PROGRAM} budb_server
${DESTDIR}${afssrvlibexecdir}/buserver
141 dest
: libbudb.a budb.h budb_errs.h budb_client.h budb_server
142 ${INSTALL} -d
${DEST}/lib
/afs
143 ${INSTALL} -d
${DEST}/include/afs
144 ${INSTALL} -d
${DEST}/root.server
/usr
/afs
/bin
145 ${INSTALL_DATA} libbudb.a
${DEST}/lib
/afs
/libbudb.a
146 ${INSTALL_DATA} budb.h
${DEST}/include/afs
/budb.h
147 ${INSTALL_DATA} budb_errs.h
${DEST}/include/afs
/budb_errs.h
148 ${INSTALL_DATA} ${srcdir}/budb_client.h
${DEST}/include/afs
/budb_client.h
149 ${INSTALL_PROGRAM} budb_server
${DEST}/root.server
/usr
/afs
/bin
/buserver
155 $(RM
) -f
*.o
*~ budb_errs.
[ch
] budb.h
*.a
*.xdr.c \
156 *.ss.c
*.cs.c core budb_server AFS_component_version_number.c
158 include ..
/config
/Makefile.version