srcdir = @srcdir@
VPATH = @srcdir@

rootdir = $(srcdir)/..
@MCFG@@MCF@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

#
# Distribution variables
#

DISTICONS = Makefile.in $(ALLICONS)
ALLICONS =						\
	gnome-image-bmp.png				\
	gnome-image-generic.png				\
	gnome-image-gif.png				\
	gnome-image-ief.png				\
	gnome-image-jpeg.png				\
	gnome-image-pbm.png				\
	gnome-image-pgm.png				\
	gnome-image-png.png				\
	gnome-image-pnm.png				\
	gnome-image-ppm.png				\
	gnome-image-ras.png				\
	gnome-image-rgb.png				\
	gnome-image-tga.png				\
	gnome-image-tiff.png				\
	gnome-image-xbm.png				\
	gnome-image-xpm.png				\
	gnome-image-xwd.png				\
	gnome-library.png				\
	gnome-pack-deb.png				\
	gnome-pack-rpm.png				\
	gnome-video-mpeg.png				\
	gnome-video-quicktime.png			\
	gnome-video-x-msvideo.png			\
	gnome-text-html.png				\
	gnome-http-url.png				\
	gnome-image-generic.png				\
	gnome-application-encapsulated_postscript.png	\
	gnome-application-postscript.png		\
	gnome-application-x-c-header.png		\
	gnome-application-x-c-source.png		\
	gnome-application-x-cc-source.png		\
	gnome-package.png				\
	gnome-compressed.png				\
	gnome-core.png					\
	gnome-manpage.png				\
	gnome-objectfile.png				\
	gnome-textfile.png				\
	gnome-tex.png					\
	gnome-audio.png					\
	gnome-audio-basic.png				\
	gnome-audio-midi.png				\
	gnome-audio-ulaw.png				\
	gnome-audio-x-aiff.png				\
	gnome-audio-x-mod.png				\
	gnome-audio-x-mp3.png				\
	gnome-audio-x-pn-realaudio.png			\
	gnome-audio-x-voc.png				\
	gnome-audio-x-wav.png				\
	gnome-image-psd.png				\
	gnome-image-xcf.png

all:

install: @insticons@ Makefile

Makefile: Makefile.in ../config.status
	(cd ..; CONFIG_FILES=new_icons/Makefile CONFIG_HEADERS= ./config.status)


install_icons:
	for I in $(ALLICONS); \
	do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(icondir)/$$I; done

uninstall:
	for I in $(ALLICONS); \
	do $(RMF) $(DESTDIR)$(icondir)/$$I; done
	-rmdir $(DESTDIR)$(icondir)

check:
	@echo no tests are supplied.

TAGS:

cross:

clean:

realclean:

distclean:
	-$(RMF) $(srcdir)/*~ $(srcdir)/Makefile

distcopy:
	$(CP) $(DISTICONS) ../../mc-$(VERSION)/new_icons

depend dep:
