openldap/servers/slurpd/Makefile.in

56 lines
1.3 KiB
Makefile
Raw Normal View History

1999-09-09 06:52:19 +08:00
# $OpenLDAP$
2002-01-05 05:17:25 +08:00
## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
2000-05-13 10:47:56 +08:00
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
1998-10-25 09:41:42 +08:00
##
## Makefile.in for slurpd
##
UNIX_PRGS = slurpd
PROGRAMS = $(@PLAT@_PRGS)
XPROGRAMS = sslurpd
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 \
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 \
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@
all-local-srv: $(PROGRAMS)
1998-10-25 09:41:42 +08:00
# $(LTHREAD_LIBS) must be last!
XLIBS = $(SLURPD_L)
XXLIBS = $(SLURPD_LIBS) $(SECURITY_LIBS) \
$(LDIF_LIBS) $(LUTIL_LIBS)
XXXLIBS = $(LTHREAD_LIBS)
1998-10-25 09:41:42 +08:00
slurpd: version.o
$(LTLINK) -o $@ $(OBJS) version.o $(LIBS)
sslurpd: version.o
$(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS)
1998-10-25 09:41:42 +08:00
version.c: $(OBJS) $(SLURPD_L)
@-$(RM) $@
$(MKVERSION) slurpd > $@
1998-10-25 09:41:42 +08:00
install-local-srv: FORCE
-$(MKDIR) $(DESTDIR)$(libexecdir)
@-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-slurp
@( \
for prg in $(PROGRAMS); do \
$(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \
$(DESTDIR)$(libexecdir); \
done \
)