home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / extensions / server / Imakefile next >
Encoding:
Makefile  |  1993-07-21  |  1.0 KB  |  44 lines

  1. XCOMM $XConsortium: Imakefile,v 5.15.1.1 92/09/09 15:32:22 rws Exp $
  2. #include <Server.tmpl>
  3.  
  4. #if BuildXInputExt || BuildPexExt || BuildPexClients
  5. #define IHaveSubdirs
  6. #endif
  7.  
  8. #if BuildXInputExt
  9.   XINPUTDIRS = xinput
  10. #endif
  11. #if BuildPexExt
  12.   PEXDIRS = PEX
  13. #else
  14. #if BuildPexClients
  15.   PEXDIRS = PEX/dipex/swap
  16. #endif
  17. #endif
  18. #if HasShm
  19.   SHMSRCS = shm.c
  20.   SHMOBJS = shm.o
  21. #endif
  22.        SRCS = shape.c $(SHMSRCS) multibuf.c mitmisc.c sleepuntil.c xtest.c xtest1di.c xtest1dd.c
  23.        OBJS = shape.o $(SHMOBJS) multibuf.o mitmisc.o sleepuntil.o xtest.o xtest1di.o xtest1dd.o
  24.    INCLUDES = -I../include -I$(INCLUDESRC) -I$(SERVERSRC)/include
  25.    LINTLIBS = ../../server/dix/llib-ldix.ln ../../server/os/4.2bsd/llib-los.ln
  26.         SUBDIRS = $(XINPUTDIRS) $(PEXDIRS)
  27.  
  28. NormalLibraryObjectRule()
  29. NormalLibraryTarget(ext,$(OBJS))
  30. LintLibraryTarget(ext,$(SRCS))
  31. NormalLintTarget($(SRCS))
  32.  
  33. DependTarget()
  34.  
  35. #ifdef IHaveSubdirs
  36. MakeSubdirs($(SUBDIRS))
  37. DependSubdirs($(SUBDIRS))
  38. #endif
  39.  
  40. #if HasSaberC
  41. saber_src:
  42.     /**/#load $(CFLAGS) $(SRCS)
  43. #endif
  44.