1998-09-17 04:14:20 -04:00
|
|
|
## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
|
|
|
|
|
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
1998-09-17 03:54:14 -04:00
|
|
|
##
|
|
|
|
|
## include Makefile.in for OpenLDAP
|
1998-09-16 23:57:35 -04:00
|
|
|
|
1998-09-18 02:03:19 -04:00
|
|
|
all-local: ldapconfig.h FORCE
|
|
|
|
|
|
|
|
|
|
install-local: FORCE
|
1998-09-16 23:57:35 -04:00
|
|
|
-$(MKDIR) -p $(includedir)
|
|
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 ldap.h $(includedir)
|
|
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 lber.h $(includedir)
|
1998-09-23 04:13:37 -04:00
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 ldap_cdefs.h $(includedir)
|
1998-09-16 23:57:35 -04:00
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 disptmpl.h $(includedir)
|
|
|
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 srchpref.h $(includedir)
|
|
|
|
|
|
1998-09-18 02:03:19 -04:00
|
|
|
clean-local: FORCE
|
1998-09-17 04:14:20 -04:00
|
|
|
$(RM) ldapconfig.h
|
|
|
|
|
|
1998-09-18 02:03:19 -04:00
|
|
|
veryclean-local: clean-local FORCE
|
1998-09-20 14:54:36 -04:00
|
|
|
$(RM) portable.h
|
1998-09-18 02:03:19 -04:00
|
|
|
|
|
|
|
|
depend-local: ldapconfig.h FORCE
|
1998-09-16 23:57:35 -04:00
|
|
|
|
1998-09-20 14:54:36 -04:00
|
|
|
ldapconfig.h: $(srcdir)/ldapconfig.h.edit Makefile
|
1998-09-17 00:49:44 -04:00
|
|
|
@$(RM) $@
|
1998-09-18 02:03:19 -04:00
|
|
|
@echo "Making ldapconfig.h"
|
1998-09-17 00:49:44 -04:00
|
|
|
@echo "/*" > $@; \
|
1998-09-18 02:03:19 -04:00
|
|
|
echo " * This file was automatically generated. Do not edit it." >> $@; \
|
|
|
|
|
echo " * Instead, edit the file ldapconfig.h.edit. See the LDAP" >> $@; \
|
|
|
|
|
echo " * INSTALL file for more information." >> $@; \
|
|
|
|
|
echo " */ " >> $@; \
|
|
|
|
|
echo "" >> $@; \
|
1998-09-17 00:49:44 -04:00
|
|
|
$(SED) \
|
|
|
|
|
-e 's;%SYSCONFDIR%;$(sysconfdir);' \
|
|
|
|
|
-e 's;%BINDIR%;$(bindir);' \
|
|
|
|
|
-e 's;%SBINDIR%;$(sbindir);' \
|
|
|
|
|
-e 's;%LIBEXECDIR%;$(libexecdir);' \
|
|
|
|
|
-e 's;%RUNDIR%;$(localstatedir);' \
|
|
|
|
|
-e 's;%EDITOR%;$(EDITOR);' \
|
|
|
|
|
-e 's;%FINGER%;$(FINGER);' \
|
|
|
|
|
-e 's;%SENDMAIL%;$(SENDMAIL);' \
|
1998-09-20 14:54:36 -04:00
|
|
|
$(srcdir)/ldapconfig.h.edit >> $@; \
|
1998-09-17 00:49:44 -04:00
|
|
|
$(CHMOD) 444 $@
|
|
|
|
|
|
1998-09-18 02:03:19 -04:00
|
|
|
all-common: all-local
|
1998-09-18 14:11:02 -04:00
|
|
|
install-common: all-common install-local
|
1998-09-18 02:03:19 -04:00
|
|
|
clean-common: clean-local
|
|
|
|
|
veryclean-common: veryclean-local
|
|
|
|
|
depend-common: depend-local
|