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

  1. XCOMM $XConsortium: Imakefile,v 1.2.1.1 92/09/09 15:38:45 rws Exp $
  2. #ifndef NormalLibXTest
  3. #define NormalLibXTest YES
  4. #endif
  5. #define DoNormalLib NormalLibXTest
  6. #define DoSharedLib SharedLibXTest
  7. #define DoDebugLib DebugLibXTest
  8. #define DoProfileLib ProfileLibXTest
  9. #include <Library.tmpl>
  10.  
  11. #ifdef RsArchitecture
  12. REQUIREDLIBS = $(EXTENSIONSRC)/lib/libXext.a $(XLIBSRC)/libX11.a
  13. #endif
  14.  
  15. INCLUDES = -I$(TOP) -I$(XLIBSRC) -I../../include
  16.  
  17. SRCS = XTest.c
  18. OBJS = XTest.o
  19.  
  20. LINTLIBS = $(LINTXLIB)
  21.  
  22. LibraryObjectRule()
  23.  
  24. #if DoSharedLib
  25. #if DoNormalLib
  26. SharedLibraryTarget(Xtst,$(SOXTESTREV),$(OBJS),shared,..)
  27. #else
  28. SharedLibraryTarget(Xtst,$(SOXTESTREV),$(OBJS),.,.)
  29. #endif
  30. InstallSharedLibrary(Xtst,$(SOXTESTREV),$(USRLIBDIR))
  31. #endif
  32. #if DoNormalLib
  33. NormalLibraryTarget(Xtst,$(OBJS))
  34. InstallLibrary(Xtst,$(USRLIBDIR))
  35. #endif
  36. #if DoProfileLib
  37. ProfiledLibraryTarget(Xtst,$(OBJS))
  38. InstallLibrary(Xtst_p,$(USRLIBDIR))
  39. #endif
  40. #if DoDebugLib
  41. DebuggedLibraryTarget(Xtst,$(OBJS))
  42. #endif
  43.  
  44. LintLibraryTarget(Xtst,$(SRCS))
  45. InstallLintLibrary(Xtst,$(LINTLIBDIR))
  46.  
  47. DependTarget()
  48.  
  49. NormalLintTarget($(SRCS))
  50.