home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / extensions / test / Imakefile next >
Encoding:
Makefile  |  1991-08-22  |  969 b   |  41 lines

  1. XCOMM $XConsortium: Imakefile,v 1.22 91/08/22 12:26:06 rws Exp $
  2.  
  3. #if BuildXInputLib
  4. #define IHaveSubdirs
  5. #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
  6.       SUBDIRS = xinput
  7. #endif
  8.  
  9.     DEFINES = ExtensionDefines
  10. IMAKE_DEFINES = $(DEFINES)
  11.   SHAPESRCS = shapetest.c
  12.   SHAPEOBJS = shapetest.o
  13. #if HasShm
  14.     SHMSRCS = shmtest.c
  15.     SHMOBJS = shmtest.o
  16. #endif
  17.    MBUFSRCS = xmbufinfo.c
  18.    MBUFOBJS = xmbufinfo.o
  19.    INCLUDES = -I../include
  20.        SRCS = $(SHAPESRCS) $(SHMSRCS) $(MBUFSRCS)
  21.        OBJS = $(SHAPEOBJS) $(SHMOBJS) $(MBUFOBJS)
  22.  
  23. #if HasShm
  24. all:: shapetest shmtest xmbufinfo
  25. #else
  26. all:: shapetest xmbufinfo
  27. #endif
  28.  
  29. NormalProgramTarget(xmbufinfo,$(MBUFOBJS),$(DEPXLIB),$(XLIB),NullParameter)
  30. NormalProgramTarget(shapetest,$(SHAPEOBJS),$(DEPXLIB),$(XLIB),NullParameter)
  31. #if HasShm
  32. NormalProgramTarget(shmtest,$(SHMOBJS),$(DEPXLIB),$(XLIB),NullParameter)
  33. #endif
  34.  
  35. DependTarget()
  36.  
  37. #ifdef IHaveSubdirs
  38. MakeSubdirs($(SUBDIRS))
  39. DependSubdirs($(SUBDIRS))
  40. #endif
  41.