2
0

Imakefile 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. #ifndef HPArchitecture
  41. MakeSubdirs($(SUBDIRS))
  42. #endif
  43. all::
  44. DoUDB_SCRIPT3(configHelp,CDE-HELP-C,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  45. DoUDB_SCRIPT3(configHelpPrg,CDE-HELP-PRG,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  46. DoUDB_SCRIPT3(configDemos,CDE-DEMOS,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  47. DoUDB_SCRIPT3(configFonts,CDE-FONTS,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  48. DoUDB_SCRIPT3(configHelpRun,CDE-HELP-RUN,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  49. DoUDB_SCRIPT3(configIcons,CDE-ICONS,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  50. DoUDB_SCRIPT3(configInc,CDE-INC,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  51. DoUDB_SCRIPT3(configManDev,CDE-MAN-DEV,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  52. DoUDB_SCRIPT3(configMan,CDE-MAN,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  53. DoUDB_SCRIPT3(configMsgCat,CDE-MSG-C,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  54. DoUDB_SCRIPT3(configPrg,CDE-PRG,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  55. DoUDB_SCRIPT3(configShlibs,CDE-SHLIBS,$(UDB_TOOL),$(BUILD_UDB_TOOL))
  56. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  57. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  58. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
  59. CppSourceFile(configHelp,configHelp.src,$(LOCAL_CPP_DEFINES),)
  60. CppSourceFile(configHelpPrg,configHelpPrg.src,$(LOCAL_CPP_DEFINES),)
  61. CppSourceFile(configDemos,configDemos.src,$(LOCAL_CPP_DEFINES),)
  62. CppSourceFile(configFonts,configFonts.src,$(LOCAL_CPP_DEFINES),)
  63. CppSourceFile(configHelpRun,configHelpRun.src,$(LOCAL_CPP_DEFINES),)
  64. CppSourceFile(configIcons,configIcons.src,$(LOCAL_CPP_DEFINES),)
  65. CppSourceFile(configInc,configInc.src,$(LOCAL_CPP_DEFINES),)
  66. CppSourceFile(configMan,configMan.src,$(LOCAL_CPP_DEFINES),)
  67. CppSourceFile(configManDev,configManDev.src,$(LOCAL_CPP_DEFINES),)
  68. CppSourceFile(configMsgCat,configMsgCat.src,$(LOCAL_CPP_DEFINES),)
  69. CppSourceFile(configPrg,configPrg.src,$(LOCAL_CPP_DEFINES),)
  70. CppSourceFile(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
  71. configHelp:: configHelp.src
  72. chmod +x configHelp
  73. configHelpPrg:: configHelpPrg.src
  74. chmod +x configHelpPrg
  75. configDemos:: configDemos.src
  76. chmod +x configDemos
  77. configFonts:: configFonts.src
  78. chmod +x configFonts
  79. configHelpRun:: configHelpRun.src
  80. chmod +x configHelpRun
  81. configIcons:: configIcons.src
  82. chmod +x configIcons
  83. configInc:: configInc.src
  84. chmod +x configInc
  85. configMan:: configMan.src
  86. chmod +x configMan
  87. configManDev:: configManDev.src
  88. chmod +x configManDev
  89. configMsgCat:: configMsgCat.src
  90. chmod +x configMsgCat
  91. configPrg:: configPrg.src
  92. chmod +x configPrg
  93. configShlibs:: configShlibs.src
  94. chmod +x configShlibs
  95. clean::
  96. $(RM) *.lst *.list