Imakefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. XCOMM $XConsortium: Imakefile /main/6 1996/04/21 19:07:26 drk $
  2. TOOL_DIR = ../../dbTools
  3. DATABASE_DIR = ../../../../databases
  4. #ifdef HPArchitecture
  5. PLATFORM = hp-ux
  6. #endif
  7. #ifdef RsArchitecture
  8. PLATFORM = aix
  9. #endif
  10. #ifdef SunArchitecture
  11. PLATFORM = sun
  12. .NO_PARALLEL:
  13. #endif
  14. all::
  15. configMin:: $(DATABASE_DIR)/CDE-MIN.udb
  16. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  17. $(DATABASE_DIR)/CDE-MIN.udb > CDE-MIN.lst
  18. ../build_udb_list CDE-MIN ../../../..
  19. configTT:: $(DATABASE_DIR)/CDE-TT.udb
  20. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  21. $(DATABASE_DIR)/CDE-TT.udb > CDE-TT.lst
  22. ../build_udb_list CDE-TT ../../../..
  23. configRun:: $(DATABASE_DIR)/CDE-RUN.udb
  24. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  25. $(DATABASE_DIR)/CDE-RUN.udb > CDE-RUN.lst
  26. ../build_udb_list CDE-RUN ../../../..
  27. configShlibs:: $(DATABASE_DIR)/CDE-SHLIBS.udb
  28. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  29. $(DATABASE_DIR)/CDE-SHLIBS.udb > CDE-SHLIBS.lst
  30. ../build_udb_list CDE-SHLIBS ../../../..
  31. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  32. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  33. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
  34. AllTarget(configShlibs configTT configRun configMin)
  35. CppScriptTarget(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
  36. CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
  37. CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
  38. CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)
  39. clean::
  40. $(RM) *.lst *.list