Imakefile 1.9 KB

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