6
6
PROG_RPATH=$(KRB5_LIBDIR)
9
all:: kprop kpropd kproplog
11
11
CLIENTSRCS= $(srcdir)/kprop.c
12
12
CLIENTOBJS= kprop.o
14
SERVERSRCS= $(srcdir)/kpropd.c
17
SRCS= $(CLIENTSRCS) $(SERVERSRCS)
14
SERVERSRCS= $(srcdir)/kpropd.c $(srcdir)/kpropd_rpc.c
15
SERVEROBJS= kpropd.o kpropd_rpc.o
17
LOGSRCS= $(srcdir)/kproplog.c
20
SRCS= $(CLIENTSRCS) $(SERVERSRCS) $(LOGSRCS)
20
23
kprop: $(CLIENTOBJS) $(KRB5_BASE_DEPLIBS)
21
24
$(CC_LINK) -o kprop $(CLIENTOBJS) $(KRB5_BASE_LIBS) @LIBUTIL@
23
kpropd: $(SERVEROBJS) $(KRB5_BASE_DEPLIBS) $(APPUTILS_DEPLIB)
24
$(CC_LINK) -o kpropd $(SERVEROBJS) $(KRB5_BASE_LIBS) $(APPUTILS_LIB) @LIBUTIL@
26
kpropd: $(SERVEROBJS) $(KADMCLNT_DEPLIBS) $(KDB5_DEPLIB) $(KRB5_BASE_DEPLIBS) $(APPUTILS_DEPLIB)
27
$(CC_LINK) -o kpropd $(SERVEROBJS) $(KADMCLNT_LIBS) $(KDB5_LIB) $(KRB5_BASE_LIBS) $(APPUTILS_LIB) @LIBUTIL@
30
$(CC_LINK) -o kproplog $(LOGOBJS) $(KADMSRV_LIBS) $(KRB5_BASE_LIBS)
27
for f in kprop kpropd; do \
33
for f in kprop kpropd kproplog; do \
28
34
$(INSTALL_PROGRAM) $$f \
29
35
$(DESTDIR)$(SERVER_BINDIR)/`echo $$f|sed '$(transform)'`; \
30
36
$(INSTALL_DATA) $(srcdir)/$$f.M \
35
$(RM) $(CLIENTOBJS) $(SERVEROBJS)
41
$(RM) $(CLIENTOBJS) $(SERVEROBJS) $(LOGOBJS)
44
$(RM) kprop kpropd kproplog
40
# +++ Dependency line eater +++
42
# Makefile dependencies follow. This must be the last section in
43
# the Makefile.in file
45
$(OUTPRE)kprop.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
46
$(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
47
$(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h \
48
$(SRCTOP)/include/k5-int-pkinit.h $(SRCTOP)/include/k5-int.h \
49
$(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
50
$(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/krb5.h \
51
$(SRCTOP)/include/krb5/locate_plugin.h $(SRCTOP)/include/krb5/preauth_plugin.h \
52
$(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
54
$(OUTPRE)kpropd.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
55
$(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
56
$(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h \
57
$(SRCTOP)/include/k5-int-pkinit.h $(SRCTOP)/include/k5-int.h \
58
$(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
59
$(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/krb5.h \
60
$(SRCTOP)/include/krb5/locate_plugin.h $(SRCTOP)/include/krb5/preauth_plugin.h \
61
$(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
62
$(SRCTOP)/include/syslog.h kprop.h kpropd.c