# BEGIN COPYRIGHT BLOCK
# Copyright (C) 2001 Sun Microsystems, Inc.  Used by permission.
# Copyright (C) 2005 Red Hat, Inc.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#

# END COPYRIGHT BLOCK
# The Admin Graphics


BUILD_ROOT = ../..

override BUILD_MODULE=HTTP_ADMIN

include $(BUILD_ROOT)/nsconfig.mk

ICONDEST=$(OBJDIR)/cgi/icons

NOSTDSTRIP=true
NOSTDDEPEND=true

ICONS = admin.gif b-open.gif netscape.gif custom.gif logging.gif server.gif \
        process.gif banner.gif serv_cf.gif serv_on.gif serv_off.gif \
        serv_unk.gif pref_on.gif pref_off.gif prefer.gif title.gif \
        back.gif apply.gif item_off.gif item_on.gif \
        clst_on.gif clst_off.gif cluster.gif user_on.gif user_off.gif \
        users.gif back.jpg forward.jpg exit.jpg contents.jpg index.jpg \
        access.gif acss_on.gif acss_off.gif secy_on.gif secy_off.gif encrypt.gif \
        back1.gif content1.gif exit1.gif forward1.gif index1.gif \
	keyscert.gif keyscert_on.gif \
	keyscert_off.gif report.gif rprt_off.gif rprt_on.gif \
	suite.gif greendot.gif togon.gif togoff.gif glob_on.gif \
	glob_off.gif othersrv.gif servsupt.gif suite2.gif title2.gif \
	back2.gif back3.gif

BINS=$(addprefix $(ICONDEST)/,$(ICONS))

include $(BUILD_ROOT)/webint.mk

all: $(ICONDEST) $(BINS)
#	+$(LANG_LOOP)

$(ICONDEST):
	mkdir -p $(ICONDEST)

strip:
depend:

$(ICONDEST)/%.gif: %.gif
	cp $< $(ICONDEST)/$*.gif

$(ICONDEST)/%.jpg: %.jpg
	cp $< $@
