2 myfulldir=kadmin/dbutil
4 BUILDTOP=$(REL)..$(S)..
5 DEFINES = -DKDB4_DISABLE
7 LOCALINCLUDES = -I. @KRB4_INCLUDES@
8 PROG_LIBPATH=-L$(TOPLIBD) $(KRB4_LIBPATH)
9 PROG_RPATH=$(KRB5_LIBDIR)
10 KDB_DEP_LIB=$(DL_LIB) $(THREAD_LINKOPTS)
13 ###OBJS = kdb5_util.o dump.o dumpv4.o loadv4.o \
14 ### kdb5_create.o kadm5_create.o string_table.o kdb5_stash.o \
15 ### kdb5_destroy.o ovload.o import_err.o strtok.o
18 SRCS = kdb5_util.c kdb5_create.c kadm5_create.c string_table.c kdb5_destroy.c kdb5_stash.c import_err.c strtok.c dump.c ovload.c
20 OBJS = kdb5_util.o kdb5_create.o kadm5_create.o string_table.o kdb5_destroy.o kdb5_stash.o import_err.o strtok.o dump.o ovload.o
24 $(PROG): $(OBJS) $(KADMSRV_DEPLIBS) $(KRB4COMPAT_DEPLIBS)
25 $(CC_LINK) -o $(PROG) $(OBJS) $(KADMSRV_LIBS) $(KDB_DEP_LIB) $(KRB4COMPAT_LIBS)
27 import_err.c import_err.h: $(srcdir)/import_err.et
32 $(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(ADMIN_BINDIR)/$(PROG)
33 $(INSTALL_DATA) $(srcdir)/$(PROG).M ${DESTDIR}$(ADMIN_MANDIR)/$(PROG).8
36 $(RM) $(PROG) $(OBJS) import_err.c import_err.h
38 # +++ Dependency line eater +++
40 # Makefile dependencies follow. This must be the last section in
41 # the Makefile.in file
43 $(OUTPRE)kdb5_util.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
44 $(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssrpc/auth.h \
45 $(BUILDTOP)/include/gssrpc/auth_gss.h $(BUILDTOP)/include/gssrpc/auth_unix.h \
46 $(BUILDTOP)/include/gssrpc/clnt.h $(BUILDTOP)/include/gssrpc/rename.h \
47 $(BUILDTOP)/include/gssrpc/rpc.h $(BUILDTOP)/include/gssrpc/rpc_msg.h \
48 $(BUILDTOP)/include/gssrpc/svc.h $(BUILDTOP)/include/gssrpc/svc_auth.h \
49 $(BUILDTOP)/include/gssrpc/types.h $(BUILDTOP)/include/gssrpc/xdr.h \
50 $(BUILDTOP)/include/kadm5/admin.h $(BUILDTOP)/include/kadm5/chpass_util_strings.h \
51 $(BUILDTOP)/include/kadm5/kadm_err.h $(BUILDTOP)/include/krb5/krb5.h \
52 $(BUILDTOP)/include/osconf.h $(BUILDTOP)/include/profile.h \
53 $(COM_ERR_DEPS) $(SRCTOP)/include/adm_proto.h $(SRCTOP)/include/k5-err.h \
54 $(SRCTOP)/include/k5-int.h $(SRCTOP)/include/k5-platform.h \
55 $(SRCTOP)/include/k5-plugin.h $(SRCTOP)/include/k5-thread.h \
56 $(SRCTOP)/include/kdb.h $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
57 $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
58 kdb5_util.c kdb5_util.h
59 $(OUTPRE)kdb5_create.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
60 $(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssrpc/auth.h \
61 $(BUILDTOP)/include/gssrpc/auth_gss.h $(BUILDTOP)/include/gssrpc/auth_unix.h \
62 $(BUILDTOP)/include/gssrpc/clnt.h $(BUILDTOP)/include/gssrpc/rename.h \
63 $(BUILDTOP)/include/gssrpc/rpc.h $(BUILDTOP)/include/gssrpc/rpc_msg.h \
64 $(BUILDTOP)/include/gssrpc/svc.h $(BUILDTOP)/include/gssrpc/svc_auth.h \
65 $(BUILDTOP)/include/gssrpc/types.h $(BUILDTOP)/include/gssrpc/xdr.h \
66 $(BUILDTOP)/include/kadm5/admin.h $(BUILDTOP)/include/kadm5/admin_internal.h \
67 $(BUILDTOP)/include/kadm5/chpass_util_strings.h $(BUILDTOP)/include/kadm5/kadm_err.h \
68 $(BUILDTOP)/include/kadm5/server_internal.h $(BUILDTOP)/include/krb5/krb5.h \
69 $(BUILDTOP)/include/osconf.h $(BUILDTOP)/include/profile.h \
70 $(COM_ERR_DEPS) $(SRCTOP)/include/adm_proto.h $(SRCTOP)/include/k5-err.h \
71 $(SRCTOP)/include/k5-int.h $(SRCTOP)/include/k5-platform.h \
72 $(SRCTOP)/include/k5-plugin.h $(SRCTOP)/include/k5-thread.h \
73 $(SRCTOP)/include/kdb.h $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
74 $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
75 kdb5_create.c kdb5_util.h
76 $(OUTPRE)kadm5_create.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
77 $(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssrpc/auth.h \
78 $(BUILDTOP)/include/gssrpc/auth_gss.h $(BUILDTOP)/include/gssrpc/auth_unix.h \
79 $(BUILDTOP)/include/gssrpc/clnt.h $(BUILDTOP)/include/gssrpc/rename.h \
80 $(BUILDTOP)/include/gssrpc/rpc.h $(BUILDTOP)/include/gssrpc/rpc_msg.h \
81 $(BUILDTOP)/include/gssrpc/svc.h $(BUILDTOP)/include/gssrpc/svc_auth.h \
82 $(BUILDTOP)/include/gssrpc/types.h $(BUILDTOP)/include/gssrpc/xdr.h \
83 $(BUILDTOP)/include/kadm5/admin.h $(BUILDTOP)/include/kadm5/chpass_util_strings.h \
84 $(BUILDTOP)/include/kadm5/kadm_err.h $(BUILDTOP)/include/krb5/krb5.h \
85 $(BUILDTOP)/include/osconf.h $(BUILDTOP)/include/profile.h \
86 $(COM_ERR_DEPS) $(SRCTOP)/include/adm_proto.h $(SRCTOP)/include/k5-err.h \
87 $(SRCTOP)/include/k5-int.h $(SRCTOP)/include/k5-platform.h \
88 $(SRCTOP)/include/k5-plugin.h $(SRCTOP)/include/k5-thread.h \
89 $(SRCTOP)/include/kdb.h $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
90 $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
91 kadm5_create.c kdb5_util.h string_table.h
92 $(OUTPRE)string_table.$(OBJEXT): string_table.c
93 $(OUTPRE)kdb5_destroy.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
94 $(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssrpc/auth.h \
95 $(BUILDTOP)/include/gssrpc/auth_gss.h $(BUILDTOP)/include/gssrpc/auth_unix.h \
96 $(BUILDTOP)/include/gssrpc/clnt.h $(BUILDTOP)/include/gssrpc/rename.h \
97 $(BUILDTOP)/include/gssrpc/rpc.h $(BUILDTOP)/include/gssrpc/rpc_msg.h \
98 $(BUILDTOP)/include/gssrpc/svc.h $(BUILDTOP)/include/gssrpc/svc_auth.h \
99 $(BUILDTOP)/include/gssrpc/types.h $(BUILDTOP)/include/gssrpc/xdr.h \
100 $(BUILDTOP)/include/kadm5/admin.h $(BUILDTOP)/include/kadm5/chpass_util_strings.h \
101 $(BUILDTOP)/include/kadm5/kadm_err.h $(BUILDTOP)/include/krb5/krb5.h \
102 $(BUILDTOP)/include/osconf.h $(BUILDTOP)/include/profile.h \
103 $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h $(SRCTOP)/include/k5-int.h \
104 $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
105 $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
106 $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
107 $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
108 kdb5_destroy.c kdb5_util.h
109 $(OUTPRE)kdb5_stash.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
110 $(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssrpc/auth.h \
111 $(BUILDTOP)/include/gssrpc/auth_gss.h $(BUILDTOP)/include/gssrpc/auth_unix.h \
112 $(BUILDTOP)/include/gssrpc/clnt.h $(BUILDTOP)/include/gssrpc/rename.h \
113 $(BUILDTOP)/include/gssrpc/rpc.h $(BUILDTOP)/include/gssrpc/rpc_msg.h \
114 $(BUILDTOP)/include/gssrpc/svc.h $(BUILDTOP)/include/gssrpc/svc_auth.h \
115 $(BUILDTOP)/include/gssrpc/types.h $(BUILDTOP)/include/gssrpc/xdr.h \
116 $(BUILDTOP)/include/kadm5/admin.h $(BUILDTOP)/include/kadm5/chpass_util_strings.h \
117 $(BUILDTOP)/include/kadm5/kadm_err.h $(BUILDTOP)/include/krb5/krb5.h \
118 $(BUILDTOP)/include/osconf.h $(BUILDTOP)/include/profile.h \
119 $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h $(SRCTOP)/include/k5-int.h \
120 $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
121 $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
122 $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
123 $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
124 kdb5_stash.c kdb5_util.h
125 $(OUTPRE)import_err.$(OBJEXT): $(COM_ERR_DEPS) import_err.c
126 $(OUTPRE)strtok.$(OBJEXT): nstrtok.h strtok.c
127 $(OUTPRE)dump.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
128 $(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssrpc/auth.h \
129 $(BUILDTOP)/include/gssrpc/auth_gss.h $(BUILDTOP)/include/gssrpc/auth_unix.h \
130 $(BUILDTOP)/include/gssrpc/clnt.h $(BUILDTOP)/include/gssrpc/rename.h \
131 $(BUILDTOP)/include/gssrpc/rpc.h $(BUILDTOP)/include/gssrpc/rpc_msg.h \
132 $(BUILDTOP)/include/gssrpc/svc.h $(BUILDTOP)/include/gssrpc/svc_auth.h \
133 $(BUILDTOP)/include/gssrpc/types.h $(BUILDTOP)/include/gssrpc/xdr.h \
134 $(BUILDTOP)/include/kadm5/admin.h $(BUILDTOP)/include/kadm5/admin_internal.h \
135 $(BUILDTOP)/include/kadm5/chpass_util_strings.h $(BUILDTOP)/include/kadm5/kadm_err.h \
136 $(BUILDTOP)/include/kadm5/server_internal.h $(BUILDTOP)/include/krb5/krb5.h \
137 $(BUILDTOP)/include/osconf.h $(BUILDTOP)/include/profile.h \
138 $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h $(SRCTOP)/include/k5-int.h \
139 $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
140 $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
141 $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
142 $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
144 $(OUTPRE)ovload.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
145 $(BUILDTOP)/include/gssapi/gssapi.h $(BUILDTOP)/include/gssrpc/auth.h \
146 $(BUILDTOP)/include/gssrpc/auth_gss.h $(BUILDTOP)/include/gssrpc/auth_unix.h \
147 $(BUILDTOP)/include/gssrpc/clnt.h $(BUILDTOP)/include/gssrpc/rename.h \
148 $(BUILDTOP)/include/gssrpc/rpc.h $(BUILDTOP)/include/gssrpc/rpc_msg.h \
149 $(BUILDTOP)/include/gssrpc/svc.h $(BUILDTOP)/include/gssrpc/svc_auth.h \
150 $(BUILDTOP)/include/gssrpc/types.h $(BUILDTOP)/include/gssrpc/xdr.h \
151 $(BUILDTOP)/include/kadm5/admin.h $(BUILDTOP)/include/kadm5/admin_internal.h \
152 $(BUILDTOP)/include/kadm5/chpass_util_strings.h $(BUILDTOP)/include/kadm5/kadm_err.h \
153 $(BUILDTOP)/include/kadm5/server_internal.h $(BUILDTOP)/include/krb5/krb5.h \
154 $(BUILDTOP)/include/osconf.h $(BUILDTOP)/include/profile.h \
155 $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h $(SRCTOP)/include/k5-int.h \
156 $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
157 $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
158 $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
159 $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
160 import_err.h kdb5_util.h nstrtok.h ovload.c