# BuildSystemHeader added automatically
/**/# $Header: [Imakefile,v 1.1.1.2 91/09/18 15:05:44 afuller Exp ]$
#define IHaveSubdirs
#define PassCDebugFlags /**/

INSTALLFLAGS = $(INSTINCFLAGS)
SUBDIRS = bitmaps

HEADERS = DECkeysym.h \
	X.h \
	XWDFile.h \
	Xatom.h \
	Xmd.h \
	Xos.h \
	Xproto.h \
	Xprotostr.h \
	ap_keysym.h \
	copyright.h \
	keysym.h \
	keysymdef.h

/**/# these should be installed by their respective components, but for 
/**/# now just maintain copies in include. 
/**/#	descrip.h -- {X11,aux/src/img/{lib,src},clients/lib/dvr}
/**/#	Dwt* -- lib/dwt
/**/#	decwcursor.h, cursorfont.h -- fonts/include [done there]
/**/#	JUSkeysym.h - X11
/**/#	libdef.g -- aux/src/img/lib
/**/# missing ones have been made to install
DECHEADERS = descrip.h \
	JUSkeysym.h \
	DwtXlatArg.uil \
	DwtXlatText.uil \
	libdef.h
ONLYHEADER = libdef.h

all::

install includes:: $(DECHEADERS)

/**/# added to incorporate the headers from components, should be
/**/# installed by the components themselves.
LinkSourceFile(descrip.h,$(CLIENTSRC)/lib/dvr)
LinkSourceFile(DwtXlatArg.uil,$(LIBSRC)/dwt)
LinkSourceFile(DwtXlatText.uil,$(LIBSRC)/dwt)
LinkSourceFile(libdef.h,$(AUX)/src/img/lib)
	

BuildIncludes($(ONLYHEADER),.,.)

#if InstallOldHeaderFiles
XAWDUMMIES = \
	AsciiText.h \
	AsciiTextP.h \
	Box.h \
	BoxP.h \
	Cardinals.h \
	Clock.h \
	ClockP.h \
	Command.h \
	CommandP.h \
	Dialog.h \
	DialogP.h \
	Form.h \
	FormP.h \
	Grip.h \
	GripP.h \
	Label.h \
	LabelP.h \
	List.h \
	ListP.h \
	Load.h \
	LoadP.h \
	Logo.h \
	LogoP.h \
	Mailbox.h \
	MailboxP.h \
	Scroll.h \
	Simple.h \
	SimpleP.h \
	Text.h \
	TextP.h \
	TextSrcP.h \
	VPaned.h \
	Viewport.h \
	ViewportP.h

XMUDUMMIES = Xmu.h

includes::
	@echo "+ Adding backwards compatibility links for Xaw and Xmu headers."
	@-(list=`echo $(XAWDUMMIES) | sed -e 's/[^ ]*\///g'`; set -x; \
		$(RM) $$list; cd $(BUILDINCDIR); for i in $$list; do $(LN) Xaw/$$i .; done)
	@-(list=`echo $(XMUDUMMIES) | sed -e 's/[^ ]*\///g'`; set -x; \
		$(RM) $$list; cd $(BUILDINCDIR); for i in $$list; do $(LN) Xmu/$$i . ; done)
	@-(cd $(BUIlDINCDIR); set -x; \
		$(RM) XawMisc.h; $(LN) Xmu/Misc.h XawMisc.h)
#endif


InstallMultiple($(HEADERS),$(INCDIR))
InstallMultiple($(DECHEADERS),$(INCDIR))
MakeSubdirs($(SUBDIRS))

depend::

clean::
