2 myfulldir=kadmin/testing/util
4 BUILDTOP=$(REL)..$(S)..$(S)..
5 LOCALINCLUDES = $(TCL_INCLUDES)
6 # Force Tcl headers to use stdarg.h, because krb5 does too, and if
7 # Tcl uses varargs.h it'll just mess things up.
10 PROG_LIBPATH=-L$(TOPLIBD) $(TCL_LIBPATH)
11 PROG_RPATH=$(KRB5_LIBDIR)$(TCL_RPATH)
13 SRCS = $(srcdir)/tcl_ovsec_kadm.c $(srcdir)/tcl_kadm5.c $(srcdir)/test.c
14 OBJS = tcl_ovsec_kadm.o tcl_kadm5.o test.o
16 CLNTPROG= ovsec_kadm_clnt_tcl
17 SRVPROG = ovsec_kadm_srv_tcl
25 @echo "+++ WARNING: Tcl not available. The kadm5 tests will not be run."
28 all-tcl:: $(CLNTPROG) $(SRVPROG)
30 $(SRVPROG): $(OBJS) $(KADMSRV_DEPLIBS) $(KRB5_BASE_DEPLIBS)
31 $(CC_LINK) -o $(SRVPROG) $(OBJS) $(TCL_MAYBE_RPATH) \
32 $(KADMSRV_LIBS) $(KRB5_BASE_LIBS) $(TCL_LIBS)
34 $(CLNTPROG): $(OBJS) $(KADMCLNT_DEPLIBS) $(KRB5_BASE_DEPLIBS)
35 $(CC_LINK) -o $(CLNTPROG) $(OBJS) $(TCL_MAYBE_RPATH) \
36 $(KADMCLNT_LIBS) $(KRB5_BASE_LIBS) $(TCL_LIBS)
38 bsddb_dump: bsddb_dump.o
39 $(CC_LINK) -o bsddb_dump bsddb_dump.o $(KADMSRV_LIBS)
42 $(RM) $(CLNTPROG) $(SRVPROG)
43 # +++ Dependency line eater +++
45 # Makefile dependencies follow. This must be the last section in
46 # the Makefile.in file
48 $(OUTPRE)tcl_ovsec_kadm.$(OBJEXT): tcl_ovsec_kadm.c \
49 $(BUILDTOP)/include/kadm5/admin.h $(BUILDTOP)/include/gssrpc/rpc.h \
50 $(BUILDTOP)/include/gssrpc/types.h $(BUILDTOP)/include/gssrpc/xdr.h \
51 $(BUILDTOP)/include/gssrpc/auth.h $(BUILDTOP)/include/gssrpc/clnt.h \
52 $(BUILDTOP)/include/gssrpc/rpc_msg.h $(BUILDTOP)/include/gssrpc/auth_unix.h \
53 $(BUILDTOP)/include/gssrpc/svc_auth.h $(BUILDTOP)/include/gssrpc/svc.h \
54 $(BUILDTOP)/include/krb5.h $(COM_ERR_DEPS) $(SRCTOP)/include/k5-int.h \
55 $(BUILDTOP)/include/krb5/osconf.h $(BUILDTOP)/include/krb5/autoconf.h \
56 $(SRCTOP)/include/k5-platform.h $(BUILDTOP)/include/profile.h \
57 $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
58 $(SRCTOP)/include/krb5/kdb.h $(BUILDTOP)/include/kadm5/kadm_err.h \
59 $(BUILDTOP)/include/kadm5/adb_err.h $(BUILDTOP)/include/kadm5/chpass_util_strings.h \
61 $(OUTPRE)tcl_kadm5.$(OBJEXT): tcl_kadm5.c $(BUILDTOP)/include/kadm5/admin.h \
62 $(BUILDTOP)/include/gssrpc/rpc.h $(BUILDTOP)/include/gssrpc/types.h \
63 $(BUILDTOP)/include/gssrpc/xdr.h $(BUILDTOP)/include/gssrpc/auth.h \
64 $(BUILDTOP)/include/gssrpc/clnt.h $(BUILDTOP)/include/gssrpc/rpc_msg.h \
65 $(BUILDTOP)/include/gssrpc/auth_unix.h $(BUILDTOP)/include/gssrpc/svc_auth.h \
66 $(BUILDTOP)/include/gssrpc/svc.h $(BUILDTOP)/include/krb5.h \
67 $(COM_ERR_DEPS) $(SRCTOP)/include/k5-int.h $(BUILDTOP)/include/krb5/osconf.h \
68 $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h \
69 $(BUILDTOP)/include/profile.h $(SRCTOP)/include/port-sockets.h \
70 $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/krb5/kdb.h \
71 $(BUILDTOP)/include/kadm5/kadm_err.h $(BUILDTOP)/include/kadm5/adb_err.h \
72 $(BUILDTOP)/include/kadm5/chpass_util_strings.h tcl_kadm5.h
73 $(OUTPRE)test.$(OBJEXT): test.c tcl_kadm5.h