/*
 * $Header: Imakefile,v 1.1 88/08/20 09:08:33 michael Exp $ Sony Corporation
 *
 * $Log:	Imakefile,v $
 * Revision 1.1  88/08/20  09:08:33  michael
 * Initial revision
 * 
 */

IMPORTS = \
	../lib/SBitmap.h \
	../lib/SBitmapP.h \
	../lib/SButton.h \
	../lib/SButtonP.h \
	../lib/SDialog.h \
	../lib/SDialogP.h \
	../lib/SImage.h \
	../lib/SImageP.h \
	../lib/SKanjiText.h \
	../lib/SKanjiTextP.h \
	../lib/SMenu.h \
	../lib/SMenuP.h \
	../lib/SPDMenu.h \
	../lib/SPDMenuP.h \
	../lib/SScreen.h \
	../lib/SScreenP.h \
	../lib/SScroll.h \
	../lib/SScrollP.h \
	../lib/SScrollText.h \
	../lib/SScrollTextP.h \
	../lib/SStringDefs.h \
	../lib/SText.h \
	../lib/STextP.h \
	../lib/SWindow.h \
	../lib/SWindowP.h

SUBDIRS = bitmaps

INSTALLFLAGS = $(INSTINCFLAGS)

all: $(IMPORTS)
	@-(list=`echo $(IMPORTS) | sed -e 's/[^ ]*\///g'`; set -x; $(RM) $$list)
	$(LN) $(IMPORTS) .

install::
	-mkdir $(INCDIR)

clean::
	@-(list=`echo $(IMPORTS) | sed -e 's/[^ ]*\///g'`; set -x; $(RM) $$list)

install::
	-cd $(INCDIR); mkdir $(SUBDIRS)
	@for i in $(SUBDIRS); do \
		( \
			set -x; \
			cd $$i ; \
			for f in * ; do \
			$(INSTALL) -c $(INSTALLFLAGS) $$f $(INCDIR)/$$i; \
			done; \
		); \
	done

depend:
	@echo "depend: skipping X11"
