1999-09-09 06:52:19 +08:00
|
|
|
# $OpenLDAP$
|
1998-10-25 09:41:42 +08:00
|
|
|
##
|
|
|
|
## Makefile.in for slurpd
|
|
|
|
##
|
|
|
|
|
|
|
|
PROGRAMS = slurpd
|
1998-11-22 12:22:28 +08:00
|
|
|
XPROGRAMS = sslurpd
|
|
|
|
|
1998-11-22 14:24:59 +08:00
|
|
|
XSRCS = version.c
|
|
|
|
|
1998-11-05 09:56:41 +08:00
|
|
|
SRCS = admin.c args.c ch_malloc.c config.c \
|
1998-10-25 09:41:42 +08:00
|
|
|
fm.c globals.c ldap_op.c lock.c main.c re.c \
|
1999-01-28 12:34:55 +08:00
|
|
|
reject.c replica.c replog.c ri.c rq.c sanity.c st.c
|
1998-11-05 09:56:41 +08:00
|
|
|
OBJS = admin.o args.o ch_malloc.o config.o \
|
1998-10-25 09:41:42 +08:00
|
|
|
fm.o globals.o ldap_op.o lock.o main.o re.o \
|
1999-01-28 12:34:55 +08:00
|
|
|
reject.o replica.o replog.o ri.o rq.o sanity.o st.o
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
|
|
|
BUILD_OPT = "--enable-slurpd"
|
|
|
|
BUILD_SRV = @BUILD_SLURPD@
|
|
|
|
|
1999-01-08 01:29:39 +08:00
|
|
|
all-local-srv: slurpd
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1999-01-10 10:25:41 +08:00
|
|
|
# $(LTHREAD_LIBS) must be last!
|
1999-01-28 12:34:55 +08:00
|
|
|
XLIBS = -lldif -lldap_r -llber -llutil
|
1999-08-05 10:25:19 +08:00
|
|
|
XXLIBS = $(SLURPD_LIBS) $(SECURITY_LIBS) \
|
1999-07-31 11:23:26 +08:00
|
|
|
$(LDIF_LIBS) $(LUTIL_LIBS)
|
1999-01-14 09:31:43 +08:00
|
|
|
XXXLIBS = $(LTHREAD_LIBS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
|
|
|
slurpd: version.o
|
1998-11-22 12:22:28 +08:00
|
|
|
$(LTLINK) -o $@ $(OBJS) version.o $(LIBS)
|
|
|
|
|
|
|
|
sslurpd: version.o
|
|
|
|
$(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS)
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1999-01-10 10:25:41 +08:00
|
|
|
version.c: $(OBJS) $(LDAP_LIBDEPEND) $(LDAP_LIBTHREAD_DEPEND)
|
1999-04-28 13:40:17 +08:00
|
|
|
@-$(RM) $@
|
|
|
|
$(MKVERSION) slurpd > $@
|
1998-10-25 09:41:42 +08:00
|
|
|
|
1998-12-20 08:55:39 +08:00
|
|
|
install-local-srv: FORCE
|
1998-11-30 03:48:28 +08:00
|
|
|
@-$(MKDIR) $(libexecdir)
|
1998-11-22 12:22:28 +08:00
|
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 slurpd $(libexecdir)
|