XCOMM $TOG: Imakefile /main/93 1997/06/13 15:34:58 kaleb $




XCOMM $XFree86: xc/include/Imakefile,v 3.9.2.2 1999/07/17 01:32:45 dawes Exp $
#define IHaveSubdirs
#define PassCDebugFlags /**/

#if BuildFontServerOnly || BuildFontLibOnly
#undef IHaveSubdirs
#undef PassCDebugFlags
includes::
	@if [ -d $(BUILDINCDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(BUILDINCDIR)); fi
	@(set -x; cd $(BUILDINCDIR); \
	$(LN) ../../lib/xtrans/?*.h .; \
	$(LN) . X11; \
	$(LN) $(PROJECTROOT)/include/X11/?* .; \
	$(RM) Xos_r.h; \
	$(LN) ../../include/Xos_r.h .; \
	$(RM) fonts; \
	$(LN) ../../include/fonts .)
Makefiles::

#else
/* !BuildFontServerOnly && !BuildFontLibOnly */
SUBDIRS = bitmaps extensions fonts

#ifdef Win32Architecture
EXTRA_HEADERS = Xw32defs.h Xwinsock.h
#endif

HEADERS = DECkeysym.h \
	HPkeysym.h \
	Sunkeysym.h \
	X.h \
	XWDFile.h \
	Xalloca.h \
	Xatom.h \
	Xfuncproto.h \
	Xfuncs.h \
	Xmd.h \
	Xos.h \
	Xos_r.h \
	Xosdefs.h \
	Xpoll.h \
	Xproto.h \
	Xprotostr.h \
	Xthreads.h \
	ap_keysym.h \
	keysym.h \
	keysymdef.h \
	$(EXTRA_HEADERS)

all::

BuildIncludes($(HEADERS),X11,..)

#ifdef FreeBSDArchitecture
BuildIncludes(inetfixup.h,.,.)
#endif

InstallMultipleFlags($(HEADERS),$(INCDIR)/X11,$(INSTINCFLAGS))
MakeSubdirs($(SUBDIRS))

InstallLinkKitNonExecFile(X.h,$(LINKKITDIR)/include/X11)
InstallLinkKitNonExecFile(Xalloca.h,$(LINKKITDIR)/include/X11)
InstallLinkKitNonExecFile(Xfuncproto.h,$(LINKKITDIR)/include/X11)
InstallLinkKitNonExecFile(Xfuncs.h,$(LINKKITDIR)/include/X11)
InstallLinkKitNonExecFile(Xmd.h,$(LINKKITDIR)/include/X11)
InstallLinkKitNonExecFile(Xos.h,$(LINKKITDIR)/include/X11)
InstallLinkKitNonExecFile(Xosdefs.h,$(LINKKITDIR)/include/X11)
InstallLinkKitNonExecFile(Xproto.h,$(LINKKITDIR)/include/X11)
InstallLinkKitNonExecFile(Xprotostr.h,$(LINKKITDIR)/include/X11)
#endif /* !BuildFontServerOnly && !BuildFontLibOnly */

depend::

clean::
