XCOMM 
XCOMM *****************************************************************
XCOMM *                                                               *
XCOMM *    Copyright (c) Digital Equipment Corporation, 1991, 1994    *
XCOMM *                                                               *
XCOMM *   All Rights Reserved.  Unpublished rights  reserved  under   *
XCOMM *   the copyright laws of the United States.                    *
XCOMM *                                                               *
XCOMM *   The software contained on this media  is  proprietary  to   *
XCOMM *   and  embodies  the  confidential  technology  of  Digital   *
XCOMM *   Equipment Corporation.  Possession, use,  duplication  or   *
XCOMM *   dissemination of the software and media is authorized only  *
XCOMM *   pursuant to a valid written license from Digital Equipment  *
XCOMM *   Corporation.                                                *
XCOMM *                                                               *
XCOMM *   RESTRICTED RIGHTS LEGEND   Use, duplication, or disclosure  *
XCOMM *   by the U.S. Government is subject to restrictions  as  set  *
XCOMM *   forth in Subparagraph (c)(1)(ii)  of  DFARS  252.227-7013,  *
XCOMM *   or  in  FAR 52.227-19, as applicable.                       *
XCOMM *                                                               *
XCOMM *****************************************************************
XCOMM
XCOMM HISTORY
XCOMM 
XCOMM $XConsortium: Imakefile,v 1.26 92/01/25 16:33:13 rws Exp $
#if BuildPexClients || BuildPexExt
#define IHaveSubdirs
      PEXDIRS = PEX
#endif
#if BuildLGI
#define IHaveSubdirs
      GLDIRS = gl pex
#endif

#ifdef IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
#endif
#if BuildXTrapExt || BuildXTrapLib
      XTRAPHEADERS = xtrapddmi.h xtrapdi.h xtraplib.h xtraplibp.h xtrapproto.h
#else
      XTRAPHEADERS = 
#endif
#if BuildSMTExt || BuildSMTLib
      SMTHEADERS = smt.h smtstr.h
#else
      SMTHEADERS = 
#endif
#if BuildXieExt || BuildXieLib
      XIEHEADERS = XieAppl.h XieFloat.h XieLib.h XieProto.h XieUdpDef.h
#else
      XIEHEADERS = 
#endif

SUBDIRS = $(PEXDIRS) $(GLDIRS)

HEADERS = Xext.h multibuf.h shape.h XShm.h MITMisc.h XI.h XInput.h XIproto.h \
	  XTest.h xteststr.h xtestext1.h $(XTRAPHEADERS) $(SMTHEADERS)       \
	  xkmeproto_include.h multibufst.h
INSTALLFLAGS = $(INSTINCFLAGS)

all::

BuildIncludes($(HEADERS) $(XIEHEADERS),extensions,..)
InstallMultiple($(HEADERS),$(INCDIR)/extensions)

depend::

#ifdef IHaveSubdirs
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif
