diff options
Diffstat (limited to 'ldap/include/Makefile.client')
-rw-r--r-- | ldap/include/Makefile.client | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/ldap/include/Makefile.client b/ldap/include/Makefile.client new file mode 100644 index 00000000..e2c7ffe4 --- /dev/null +++ b/ldap/include/Makefile.client @@ -0,0 +1,54 @@ +# +# BEGIN COPYRIGHT BLOCK +# Copyright 2001 Sun Microsystems, Inc. +# Portions copyright 1999, 2001-2003 Netscape Communications Corporation. +# All rights reserved. +# END COPYRIGHT BLOCK +# +DEPTH = ../../.. + +CHMOD = chmod +RM = rm -f +SED = sed + +HEADERS = \ + disptmpl.h \ + lber.h \ + ldap.h \ + srchpref.h \ + $(NULL) + +include $(DEPTH)/config/rules.mk + +GARBAGE += sdkver.h dirver.h + +ETCDIR = $(DIST)/etc +INCLUDEDIR = $(XPDIST)/public/ldap + +DIR_VERSION := 2.0 +DIRSDK_VERSION := 1.0 + +ifeq ($(OS_ARCH), WINNT) +# Is this correct? +DIRVER_PATH = $(DEPTH)/netsite/ldap/build +else +DIRVER_PATH = $(DIST)/bin +endif + +DIRVER_PROG = $(DIRVER_PATH)/dirver$(BIN_SUFFIX) + +########################################################################### + +all export:: sdkver.h dirver.h FORCE + $(INSTALL) $(INSTALLFLAGS) -m 644 $(HEADERS) $(INCLUDEDIR) + $(INSTALL) $(INSTALLFLAGS) -m 644 $(HEADERS) $(DIST)/include + +sdkver.h: $(DIRVER_PROG) + @$< $(DIRSDK_VERSION) UseSystemDate $@ + +dirver.h: $(DIRVER_PROG) + @$< $(DIR_VERSION) UseSystemDate $@ + +install:: export + +FORCE: |