Imakefile 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. XCOMM $TOG: Imakefile /main/13 1998/03/11 16:20:10 mgreess $
  2. #ifndef HPArchitecture
  3. # define IHaveSubdirs
  4. #endif
  5. #define PassCDebugFlags
  6. #ifdef SunArchitecture
  7. .NO_PARALLEL:
  8. #endif
  9. TOOL_DIR = ../dbTools
  10. DATABASE_DIR = ../../../databases
  11. BUILD_UDB_TOOL = $(SHELL) build_udb_list
  12. UDB_TOOL = $(KORNSHELL) $(TOOL_DIR)/udbToAny.ksh
  13. #ifdef HPArchitecture
  14. PLATFORM = hp-ux
  15. #endif
  16. #ifdef LinuxArchitecture
  17. PLATFORM = linux
  18. SUBDIRS = linux
  19. #endif
  20. #ifdef OpenBSDArchitecture
  21. PLATFORM = openbsd
  22. SUBDIRS = openbsd
  23. #endif
  24. #ifdef NetBSDArchitecture
  25. PLATFORM = netbsd
  26. SUBDIRS = netbsd
  27. #endif
  28. #ifdef FreeBSDArchitecture
  29. PLATFORM = freebsd
  30. SUBDIRS = freebsd
  31. #endif
  32. #ifdef RsArchitecture
  33. PLATFORM = aix
  34. SUBDIRS = ibm
  35. #endif
  36. #ifdef SunArchitecture
  37. PLATFORM = sun
  38. SUBDIRS = sun
  39. #endif
  40. #ifdef UXPArchitecture
  41. PLATFORM = uxp
  42. SUBDIRS = uxp
  43. #endif
  44. #ifdef USLArchitecture
  45. PLATFORM = usl
  46. SUBDIRS = usl
  47. #endif
  48. #ifdef AlphaArchitecture
  49. PLATFORM = dec
  50. SUBDIRS = dec
  51. #endif
  52. #ifndef HPArchitecture
  53. MakeSubdirs($(SUBDIRS))
  54. #endif
  55. all::
  56. DoUDB_SCRIPT3(configHelp,CDE-HELP-C,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  57. DoUDB_SCRIPT3(configHelpPrg,CDE-HELP-PRG,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  58. DoUDB_SCRIPT3(configDemos,CDE-DEMOS,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  59. DoUDB_SCRIPT3(configFonts,CDE-FONTS,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  60. DoUDB_SCRIPT3(configHelpRun,CDE-HELP-RUN,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  61. DoUDB_SCRIPT3(configIcons,CDE-ICONS,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  62. DoUDB_SCRIPT3(configInc,CDE-INC,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  63. DoUDB_SCRIPT3(configManDev,CDE-MAN-DEV,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  64. DoUDB_SCRIPT3(configMan,CDE-MAN,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  65. DoUDB_SCRIPT3(configMsgCat,CDE-MSG-C,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  66. DoUDB_SCRIPT3(configPrg,CDE-PRG,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  67. DoUDB_SCRIPT3(configShlibs,CDE-SHLIBS,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  68. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  69. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  70. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
  71. CppSourceFile(configHelp,configHelp.src,$(LOCAL_CPP_DEFINES),)
  72. CppSourceFile(configHelpPrg,configHelpPrg.src,$(LOCAL_CPP_DEFINES),)
  73. CppSourceFile(configDemos,configDemos.src,$(LOCAL_CPP_DEFINES),)
  74. CppSourceFile(configFonts,configFonts.src,$(LOCAL_CPP_DEFINES),)
  75. CppSourceFile(configHelpRun,configHelpRun.src,$(LOCAL_CPP_DEFINES),)
  76. CppSourceFile(configIcons,configIcons.src,$(LOCAL_CPP_DEFINES),)
  77. CppSourceFile(configInc,configInc.src,$(LOCAL_CPP_DEFINES),)
  78. CppSourceFile(configMan,configMan.src,$(LOCAL_CPP_DEFINES),)
  79. CppSourceFile(configManDev,configManDev.src,$(LOCAL_CPP_DEFINES),)
  80. CppSourceFile(configMsgCat,configMsgCat.src,$(LOCAL_CPP_DEFINES),)
  81. CppSourceFile(configPrg,configPrg.src,$(LOCAL_CPP_DEFINES),)
  82. CppSourceFile(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
  83. configHelp:: configHelp.src
  84. chmod +x configHelp
  85. configHelpPrg:: configHelpPrg.src
  86. chmod +x configHelpPrg
  87. configDemos:: configDemos.src
  88. chmod +x configDemos
  89. configFonts:: configFonts.src
  90. chmod +x configFonts
  91. configHelpRun:: configHelpRun.src
  92. chmod +x configHelpRun
  93. configIcons:: configIcons.src
  94. chmod +x configIcons
  95. configInc:: configInc.src
  96. chmod +x configInc
  97. configMan:: configMan.src
  98. chmod +x configMan
  99. configManDev:: configManDev.src
  100. chmod +x configManDev
  101. configMsgCat:: configMsgCat.src
  102. chmod +x configMsgCat
  103. configPrg:: configPrg.src
  104. chmod +x configPrg
  105. configShlibs:: configShlibs.src
  106. chmod +x configShlibs
  107. clean::
  108. $(RM) *.lst *.list