mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
53da7b6cda
* all others: Added DESTDIR support
19 lines
486 B
Makefile
19 lines
486 B
Makefile
PROGRAMS= web_ldap
|
|
|
|
SRCS= web_ldap.c util.c
|
|
OBJS= web_ldap.o util.o
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XLIBS = -lldap -llber -llutil
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
|
|
|
web_ldap: ${OBJS} $(LDAP_LIBDEPEND)
|
|
$(LTLINK) -o $@ $(OBJS) $(LIBS)
|
|
|
|
install-local: $(PROGRAMS) FORCE
|
|
-$(MKDIR) $(DESTDIR)$(libexecdir)
|
|
$(LTINSTALL) $(INSTALLFLAGS) -m 755 web_ldap $(DESTDIR)$(libexecdir)
|
|
@echo ">> You must copy and edit web_ldap.cfg and web_ldap.html as needed. <<"
|