openldap/servers/ldapd/Makefile.in

53 lines
1.2 KiB
Makefile
Raw Normal View History

1999-09-09 06:52:19 +08:00
# $OpenLDAP$
1998-10-25 09:41:42 +08:00
##
## Makefile.in for ldapd
##
PROGRAMS=ldapd
XPROGRAMS=sldapd
XSRCS = version.c
1998-11-05 09:56:41 +08:00
SRCS = main.c request.c bind.c result.c error.c \
1998-10-25 09:41:42 +08:00
search.c util.c compare.c message.c add.c delete.c modrdn.c modify.c \
abandon.c syntax.c association.c kerberos.c certificate.c
1998-11-05 09:56:41 +08:00
OBJS = main.o request.o bind.o result.o error.o \
1998-10-25 09:41:42 +08:00
search.o util.o compare.o message.o add.o delete.o modrdn.o modify.o \
abandon.o syntax.o association.o kerberos.o LDAP_tables.o \
certificate.o
LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries
BUILD_OPT = "--enable-ldapd"
BUILD_SRV = @BUILD_LDAPD@
all-local-srv: ldapd
XLIBS= -llber -llutil
XXLIBS= $(LDAPD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS)
1998-10-25 09:41:42 +08:00
ldapd: version.o
$(LTLINK) -o $@ $(OBJS) version.o $(LIBS)
1998-10-25 09:41:42 +08:00
sldapd: version.o
$(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS)
1998-10-25 09:41:42 +08:00
version.c: $(OBJS) $(LDAP_LIBLBER_DEPEND)
1998-10-25 09:41:42 +08:00
$(RM) $@
$(MKVERSION) ldapd > $@
1998-10-25 09:41:42 +08:00
request.o: LDAP-types.h
LDAP_tables.c: ldap.py
@if [ ! -z "$(PEPSY)" ]; then \
$(PEPSY) -A ldap.py; \
else \
touch LDAP_tables.c LDAP-types.h; \
fi
LDAP-types.h: LDAP_tables.c
install-local-srv: FORCE
-$(MKDIR) $(DESTDIR)$(libexecdir)
$(LTINSTALL) $(INSTALLFLAGS) -m 755 ldapd $(DESTDIR)$(libexecdir)