Imakefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. XCOMM $TOG: Imakefile /main/1 1998/03/11 16:08:16 mgreess $
  2. TOOL_DIR = ../../dbTools
  3. DATABASE_DIR = ../../../../databases
  4. #ifdef HPArchitecture
  5. PLATFORM = hp-ux
  6. #endif
  7. #ifdef LinuxArchitecture
  8. PLATFORM = linux
  9. #endif
  10. #ifdef FreeBSDArchitecture
  11. PLATFORM = freebsd
  12. #endif
  13. #ifdef OpenBSDArchitecture
  14. PLATFORM = openbsd
  15. #endif
  16. #ifdef RsArchitecture
  17. PLATFORM = aix
  18. #endif
  19. #ifdef SunArchitecture
  20. PLATFORM = sun
  21. .NO_PARALLEL:
  22. #endif
  23. UDBTOANY = $(KORNSHELL) $(TOOL_DIR)/udbToAny.ksh
  24. BUILD_UDB_LIST = $(SHELL) ../build_udb_list
  25. all::
  26. DoUDB_SCRIPT4(configMin,CDE-MIN,$(UDBTOANY),$(BUILD_UDB_LIST))
  27. DoUDB_SCRIPT4(configTT,CDE-TT,$(UDBTOANY),$(BUILD_UDB_LIST))
  28. DoUDB_SCRIPT4(configRun,CDE-RUN,$(UDBTOANY),$(BUILD_UDB_LIST))
  29. DoUDB_SCRIPT4(configShlibs,CDE-SHLIBS,$(UDBTOANY),$(BUILD_UDB_LIST))
  30. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  31. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  32. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
  33. AllTarget(configShlibs configTT configRun configMin)
  34. CppScriptTarget(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
  35. CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
  36. CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
  37. CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)
  38. clean::
  39. $(RM) *.lst *.list