# BuildSystemHeader added automatically
/**/# $Header: [Imakefile,v 1.1 91/05/03 12:19:26 afuller Exp ]$
# $XConsortium: Imakefile,v 1.17 89/12/18 09:19:28 rws Exp $
    DEFINES = ExtensionDefines
IMAKE_DEFINES = $(DEFINES)
  SHAPESRCS = shapetest.c
  SHAPEOBJS = shapetest.o
#ifdef MITSHM
    SHMSRCS = shmtest.c
    SHMOBJS = shmtest.o
#else
    SHMSRCS = /* nothing */
    SHMOBJS = /* nothing */
#endif
#ifdef DPS
#define ExtensionSubdirs YES
#define	IHaveSubdirs
  DPSDIRS = dpstest
#else
  DPSDIRS = /* nothing */
#endif
   MBUFSRCS = xmbufinfo.c
   MBUFOBJS = xmbufinfo.o
   INCLUDES = -I$(TOP) -I$(INCLUDESRC) -I../include
       SRCS = $(SHAPESRCS) $(SHMSRCS) $(MBUFSRCS)
       OBJS = $(SHAPEOBJS) $(SHMOBJS) $(MBUFOBJS)
    SUBDIRS = $(DPSDIRS) $(XINPUTDIRS)

#ifdef MITSHM
all:: shapetest shmtest xmbufinfo
#else
all:: shapetest xmbufinfo
#endif

SingleProgramTarget(xmbufinfo,$(MBUFOBJS), $(XLIB), /**/)
SingleProgramTarget(shapetest,$(SHAPEOBJS),$(XLIB), /**/)
#ifdef MITSHM
SingleProgramTarget(shmtest,$(SHMOBJS),$(XLIB), /**/)
#endif
#ifdef ExtensionSubdirs
#ifndef PassCDebugFlags
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
#endif
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif

DependTarget()
