summaryrefslogtreecommitdiffstats
path: root/ldap/clients/dsgw/html/Makefile
blob: 6fe5280b76fe5d91e55d0012f0312cd0bfd18f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#
# 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

HTMLDEST   = $(DSGW_HTML_RELDIR)

HTML= auth.html authroot.html authtitle.html csearchtitle.html \
	emptyFrame.html greeting.html index.html maintitle.html \
	newentrytitle.html searchtitle.html style.css \
	transparent.gif back1.gif content1.gif netscape.gif \
	country.gif exit1.gif forward1.gif group.gif index1.gif \
        left_bottom.gif left_on.gif right_off.gif \
        left_off.gif right_bottom.gif right_on.gif \
	organization.gif orgunit.gif person.gif clear.gif message.gif \
	alert.html alert.gif confirm.html confirm.gif orgicon.gif aim-online.gif

BINS=$(addprefix $(HTMLDEST)/,$(HTML))

ifeq ($(ARCH), WINNT)
CP2=cmd /c 'sh ../../../cm/nbsp2utf8.sh $< >'
else
CP2=sh ../../../cm/nbsp2utf8.sh $< >
endif

include $(MCOM_ROOT)/ldapserver/config/webint.mk

all: $(HTMLDEST) $(BINS) all-manual all-info

install: $(HTMLDEST) $(BINS) inst-manual inst-info

clean: 	clean-manual clean-info
	$(RM) $(BINS)

# gif files (and presumably other binary files) are copied, not filtered
$(HTMLDEST)/%.gif: %.gif
	@-$(RM) $@
	cp $< $@

# all other files are filtered
$(HTMLDEST)/%: %
	@-$(RM) $@
	$(CP2) $@

all-manual:	
	cd manual; $(MAKE) $(MFLAGS) all

all-info:	
	cd info; $(MAKE) $(MFLAGS) all

inst-manual:	
	cd manual; $(MAKE) $(MFLAGS) install

inst-info:	
	cd info; $(MAKE) $(MFLAGS) install 

clean-manual:	
	cd manual; $(MAKE) $(MFLAGS) clean

clean-info:	
	cd info; $(MAKE) $(MFLAGS) clean

strip:
depend: