Imakefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. XCOMM $XConsortium: Imakefile /main/9 1996/08/21 15:42:26 drk $
  2. XCOMM NodeMgr.o and PrintMgr.o need STYLE_SHEET_INCLUDES.
  3. DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES) $(STYLE_SHEET_INCLUDES)
  4. CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
  5. DEFINES=-DCDE_NEXT $(BYTE_ORDER_DEFINES)
  6. #ifdef DoLicenseManagement
  7. EXTRA_DEFINES=-DLICENSE_MANAGEMENT
  8. EXTRA_INCLUDES=$(LICENSE_L_INCLUDES)
  9. #endif
  10. #if defined(UseWideChars) && defined(SunArchitecture) && (OSMajorVersion == 4)
  11. WC_FLAGS=-I/VOB/olias/library/Xwchar/src
  12. #endif
  13. LFLAGS=-8 -s
  14. MAKEFILEDEPS=Classlist.mk
  15. LIBNAME=Managers
  16. NormalCplusplusObjectRule()
  17. INCLUDES=$(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES)
  18. #include "Classlist.mk"
  19. OBJS=$(SRCS:.C=.o)
  20. SpecialCPlusPlusObjectRule(NodeMgr.o,,$(LICENSE_F_INCLUDES) $(COMMON_CLASS_INCLUDES) $(STYLE_SHEET_INCLUDES) $(WC_FLAGS))
  21. SpecialCPlusPlusObjectRule(PrintMgr.o,,$(LICENSE_F_INCLUDES) $(COMMON_CLASS_INCLUDES) $(STYLE_SHEET_INCLUDES) $(WC_FLAGS))
  22. #if defined(UseWideChars) && defined(SunArchitecture) && (OSMajorVersion == 4)
  23. WC_OBJS=\
  24. HyphenMgr.o \
  25. MarkMgr.o \
  26. GraphicsMgr.o
  27. SpecialCPlusPlusObjectRule($(WC_OBJS),,$(WC_FLAGS))
  28. #endif
  29. make_libfiles($(LIBNAME), $(CLASSES))
  30. make_msgs($(LIBNAME), $(MSGS))
  31. #if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
  32. SimpleLibraryT($(LIBNAME), $(OBJS), $(LIBDIR))
  33. #elif defined(LinuxArchitecture) || defined(BSDArchitecture)
  34. SimpleLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
  35. #else
  36. SimpleLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
  37. XCOMM RealLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
  38. #endif
  39. DependTarget()