diff options
Diffstat (limited to 'ldap/clients/dsgw/userhtml/Makefile')
| -rw-r--r-- | ldap/clients/dsgw/userhtml/Makefile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/ldap/clients/dsgw/userhtml/Makefile b/ldap/clients/dsgw/userhtml/Makefile new file mode 100644 index 00000000..6cc32c6f --- /dev/null +++ b/ldap/clients/dsgw/userhtml/Makefile @@ -0,0 +1,60 @@ +# +# PROPRIETARY/CONFIDENTIAL. Use of this product is subject to +# license terms. Copyright © 2001 Sun Microsystems, Inc. +# Some preexisting portions Copyright © 2001 Netscape Communications Corp. +# All rights reserved. +# +# +# Gmakefile for Directory Server Gateway html files. +# + +LDAP_SRC = ../../.. +MCOM_ROOT = ../../../../.. + +NOSTDSTRIP=true # don't let nsconfig.mak define target strip +NOSTDCLEAN=true # don't let nsconfig.mak define target clean +NOSTDDEPEND=true # don't let nsconfig.mak define target depend + +include $(MCOM_ROOT)/ldapserver/nsconfig.mk +include $(LDAP_SRC)/nsldap.mk + +include ../dsgw_include.mk + +HTML= $(wildcard *.html) + +ifeq ($(BUILD_MODULE), HTTP_ADMIN) +HTMLDEST = $(OBJDIR)/user-forms/html +else +HTMLDEST = $(DSGW_HTML_RELDIR) +endif + +DEFINES += $(DEFS) + +CFLAGS += $(INCLUDES) $(DEFINES) $(ACFLAGS) + +BINS=$(addprefix $(HTMLDEST)/,$(HTML)) + +ifeq ($(BUILD_MODULE), HTTP_ADMIN) +all: $(HTMLDEST) $(BINS) + +$(HTMLDEST): + mkdir -p $(HTMLDEST) + +else +all: $(HTMLDEST) +endif + +clean: clean-manual clean-info + $(RM) $(BINS) + +$(HTMLDEST)/%.htm: %.htm + cp $< $(HTMLDEST)/$*.htm + +$(HTMLDEST)/%.html: %.html + cp $< $(HTMLDEST)/$*.html + +$(HTMLDEST)/%.gif: %.gif + cp $< $(HTMLDEST)/$*.gif + +strip: +depend: |
