Imakefile 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 NetBSDArchitecture
  17. PLATFORM = netbsd
  18. #endif
  19. #ifdef RsArchitecture
  20. PLATFORM = aix
  21. #endif
  22. #ifdef SunArchitecture
  23. PLATFORM = sun
  24. .NO_PARALLEL:
  25. #endif
  26. #ifdef USLArchitecture
  27. PLATFORM = usl
  28. #endif
  29. #ifdef UXPArchitecture
  30. PLATFORM = uxp
  31. #endif
  32. UDBTOANY = $(KORNSHELL) $(TOOL_DIR)/udbToAny.ksh
  33. BUILD_UDB_LIST = $(SHELL) ../build_udb_list
  34. all::
  35. configMin:: $(DATABASE_DIR)/CDE-MIN.udb
  36. $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
  37. $(DATABASE_DIR)/CDE-MIN.udb > CDE-MIN.lst
  38. $(BUILD_UDB_LIST) CDE-MIN ../../../..
  39. configTT:: $(DATABASE_DIR)/CDE-TT.udb
  40. $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
  41. $(DATABASE_DIR)/CDE-TT.udb > CDE-TT.lst
  42. $(BUILD_UDB_LIST) CDE-TT ../../../..
  43. configRun:: $(DATABASE_DIR)/CDE-RUN.udb
  44. $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
  45. $(DATABASE_DIR)/CDE-RUN.udb > CDE-RUN.lst
  46. $(BUILD_UDB_LIST) CDE-RUN ../../../..
  47. configShlibs:: $(DATABASE_DIR)/CDE-SHLIBS.udb
  48. $(UDBTOANY) -toLst -ReleaseStream $(PLATFORM) \
  49. $(DATABASE_DIR)/CDE-SHLIBS.udb > CDE-SHLIBS.lst
  50. $(BUILD_UDB_LIST) CDE-SHLIBS ../../../..
  51. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  52. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  53. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
  54. AllTarget(configShlibs configTT configRun configMin)
  55. CppScriptTarget(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
  56. CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
  57. CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
  58. CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)
  59. clean::
  60. $(RM) *.lst *.list