Imakefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 RsArchitecture
  11. PLATFORM = aix
  12. #endif
  13. #ifdef SunArchitecture
  14. PLATFORM = sun
  15. .NO_PARALLEL:
  16. #endif
  17. all::
  18. configMin:: $(DATABASE_DIR)/CDE-MIN.udb
  19. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  20. $(DATABASE_DIR)/CDE-MIN.udb > CDE-MIN.lst
  21. ../build_udb_list CDE-MIN ../../../..
  22. configTT:: $(DATABASE_DIR)/CDE-TT.udb
  23. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  24. $(DATABASE_DIR)/CDE-TT.udb > CDE-TT.lst
  25. ../build_udb_list CDE-TT ../../../..
  26. configRun:: $(DATABASE_DIR)/CDE-RUN.udb
  27. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  28. $(DATABASE_DIR)/CDE-RUN.udb > CDE-RUN.lst
  29. ../build_udb_list CDE-RUN ../../../..
  30. configShlibs:: $(DATABASE_DIR)/CDE-SHLIBS.udb
  31. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  32. $(DATABASE_DIR)/CDE-SHLIBS.udb > CDE-SHLIBS.lst
  33. ../build_udb_list CDE-SHLIBS ../../../..
  34. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  35. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  36. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
  37. AllTarget(configShlibs configTT configRun configMin)
  38. CppScriptTarget(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
  39. CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
  40. CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
  41. CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)
  42. clean::
  43. $(RM) *.lst *.list