Imakefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. XCOMM $XConsortium: Imakefile /main/2 1996/04/21 19:14:11 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. #ifdef USLArchitecture
  15. PLATFORM = usl
  16. #endif
  17. #ifdef UXPArchitecture
  18. PLATFORM = uxp
  19. #endif
  20. #ifdef AlphaArchitecture
  21. PLATFORM = dec
  22. #endif
  23. all::
  24. configMin:: $(DATABASE_DIR)/CDE-MIN.udb
  25. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  26. $(DATABASE_DIR)/CDE-MIN.udb > CDE-MIN.lst
  27. ../build_udb_list CDE-MIN ../../../..
  28. configTT:: $(DATABASE_DIR)/CDE-TT.udb
  29. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  30. $(DATABASE_DIR)/CDE-TT.udb > CDE-TT.lst
  31. ../build_udb_list CDE-TT ../../../..
  32. configRun:: $(DATABASE_DIR)/CDE-RUN.udb
  33. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  34. $(DATABASE_DIR)/CDE-RUN.udb > CDE-RUN.lst
  35. ../build_udb_list CDE-RUN ../../../..
  36. configShlibs:: $(DATABASE_DIR)/CDE-SHLIBS.udb
  37. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  38. $(DATABASE_DIR)/CDE-SHLIBS.udb > CDE-SHLIBS.lst
  39. ../build_udb_list CDE-SHLIBS ../../../..
  40. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  41. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  42. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
  43. AllTarget(configShlibs configTT configRun configMin)
  44. CppScriptTarget(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
  45. CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
  46. CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
  47. CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)
  48. clean::
  49. $(RM) *.lst *.list