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
12 HELPER_SPLINT
=@HELPER_SPLINT@
13 ENABLE_PTHREADED_UBIK
=@ENABLE_PTHREADED_UBIK@
15 VLSERVER
=$(srcdir)/..
/vlserver
17 INCLS
=${TOP_INCDIR}/ubik.h \
19 ${TOP_INCDIR}/lock.h \
20 ${TOP_INCDIR}/rx
/rx.h \
21 ${TOP_INCDIR}/rx
/xdr.h \
22 ${TOP_INCDIR}/afs
/keys.h \
23 ${TOP_INCDIR}/afs
/cellconfig.h \
27 $(top_builddir
)/src
/ubik
/liboafs_ubik.la \
28 $(top_builddir
)/src
/sys
/liboafs_sys.la \
29 $(top_builddir
)/src
/rx
/liboafs_rx.la \
30 $(top_builddir
)/src
/rxstat
/liboafs_rxstat.la \
31 $(top_builddir
)/src
/rxkad
/liboafs_rxkad.la \
32 $(top_builddir
)/src
/lwp
/liboafs_lwpcompat.la \
33 $(top_builddir
)/src
/cmd
/liboafs_cmd.la \
34 $(top_builddir
)/src
/util
/liboafs_util.la \
35 $(top_builddir
)/src
/opr
/liboafs_opr.la
38 $(top_builddir
)/src
/rxstat
/liboafs_rxstat.la \
39 $(top_builddir
)/src
/audit
/liboafs_audit.la \
43 $(top_builddir
)/src
/vlserver
/liboafs_vldb.la \
47 vlserver vlclient vlserver cnvldb vldb_check vldbint.h
55 vldb_check
: vldb_check.o AFS_component_version_number.o
$(LIBS_client
)
56 $(LT_LDRULE_static
) vldb_check.o AFS_component_version_number.o \
57 $(LIBS_client
) $(LIB_hcrypto
) $(LIB_roken
) ${MT_LIBS}
59 vldb_check.o
: ${VLSERVER}/vldb_check.c
60 $(AFS_CCRULE
) $(VLSERVER
)/vldb_check.c
62 cnvldb
: cnvldb.o
$(LIBS_client
)
63 $(LT_LDRULE_static
) cnvldb.o \
64 $(LIBS_client
) $(LIB_hcrypto
) $(LIB_roken
) ${MT_LIBS}
66 cnvldb.o
: ${VLSERVER}/cnvldb.c
67 $(AFS_CCRULE
) $(VLSERVER
)/cnvldb.c
69 sascnvldb
: sascnvldb.o
$(LIBS_client
)
70 $(LT_LDRULE_static
) sascnvldb.o \
71 $(LIBS_client
) $(LIB_hcrypto
) $(LIB_roken
) ${MT_LIBS}
73 sascnvldb.o
: ${VLSERVER}/sascnvldb.c
74 $(AFS_CCRULE
) $(VLSERVER
)/sascnvldb.c
76 vlserver
: vlserver.o vlutils.o vlprocs.o vldbint.ss.o vldbint.xdr.o
$(LIBS_server
)
77 $(LT_LDRULE_static
) vlserver.o vlutils.o vlprocs.o vldbint.ss.o \
79 $(LIBS_server
) $(LIB_hcrypto
) $(LIB_roken
) ${MT_LIBS}
81 vlserver.o
: ${VLSERVER}/vlserver.c
${INCLS} AFS_component_version_number.o
82 $(AFS_CCRULE
) $(VLSERVER
)/vlserver.c
84 vlutils.o
: ${VLSERVER}/vlutils.c
${INCLS}
85 $(AFS_CCRULE
) $(VLSERVER
)/vlutils.c
87 vlprocs.o
: ${VLSERVER}/vlprocs.c
${INCLS}
88 $(AFS_CCRULE
) $(VLSERVER
)/vlprocs.c
90 vldbint.ss.o
: vldbint.ss.c
91 vldbint.xdr.o
: vldbint.xdr.c
94 vldbint.ss.c
: ${VLSERVER}/vldbint.xg
95 ${RXGEN} -A
-x
-S
-o
$@
${VLSERVER}/vldbint.xg
97 vldbint.xdr.c
: ${VLSERVER}/vldbint.xg
98 ${RXGEN} -A
-x
-c
-o
$@
${VLSERVER}/vldbint.xg
100 vldbint.h
: ${VLSERVER}/vldbint.xg
101 ${RXGEN} -A
-u
-x
-h
-o
$@
${VLSERVER}/vldbint.xg
103 vldbint.ss.c
: vldbint.h
104 vldbint.xdr.c
: vldbint.h
106 vlclient
: vlclient.o
$(LIBS_client
)
107 $(LT_LDRULE_static
) vlclient.o
$(LIBS_client
) \
108 $(LIB_roken
) ${MT_LIBS}
110 vlclient.o
: ${VLSERVER}/vlclient.c
111 $(AFS_CCRULE
) $(VLSERVER
)/vlclient.c
113 vl_errors.o
: vl_errors.c
115 vl_errors.c
: ${VLSERVER}/vl_errors.et
116 ${COMPILE_ET_C} -p
${VLSERVER} vl_errors
118 vlserver.h
: ${VLSERVER}/vl_errors.et
${VLSERVER}/vlserver.p.h
119 ${COMPILE_ET_H} -p
${VLSERVER} vl_errors
-h vlserver
121 cnvldb.o cnvldb.lo
: vlserver.h
122 vlclient.o vlclient.lo
: vlserver.h
123 vldb_check.o vldb_check.lo
: vlserver.h
124 vlprocs.o vlprocs.lo
: vlserver.h
125 vlserver.o vlserver.lo
: vlserver.h
126 vlutils.o vlutils.lo
: vlserver.h
130 install: vlserver cnvldb vldb_check
131 if
[ "x$(ENABLE_PTHREADED_UBIK)" = "xyes" ] ; then \
132 $(LT_INSTALL_PROGRAM
) vlserver \
133 ${DESTDIR}${afssrvlibexecdir}/vlserver
; \
134 $(LT_INSTALL_PROGRAM
) cnvldb \
135 ${DESTDIR}${afssrvsbindir}/vldb_convert
; \
136 $(LT_INSTALL_PROGRAM
) vldb_check \
137 ${DESTDIR}${afssrvsbindir}/vldb_check
; \
140 dest
: vlserver cnvldb vldb_check
141 if
[ "x$(ENABLE_PTHREADED_UBIK)" = "xyes" ] ; then \
142 $(LT_INSTALL_PROGRAM
) vlserver \
143 ${DEST}/root.server
/usr
/afs
/bin
/vlserver
; \
144 $(LT_INSTALL_PROGRAM
) cnvldb \
145 ${DEST}/etc
/vldb_convert
; \
146 $(LT_INSTALL_PROGRAM
) vldb_check \
147 ${DEST}/etc
/vldb_check
; \
153 include ..
/config
/Makefile.version
157 $(RM
) -f
*.o
*.a
*.otl
*.xdr.c
*.cs.c
*.ss.c core \
158 vlserver vlclient cnvldb vldbint.h vlserver.h vldb_check \
159 vl_errors.c AFS_component_version_number.c