Imakefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. XCOMM $XConsortium: Imakefile /main/7 1996/04/21 19:07:13 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. all::
  21. configMin:: $(DATABASE_DIR)/CDE-MIN.udb
  22. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  23. $(DATABASE_DIR)/CDE-MIN.udb > CDE-MIN.lst
  24. ../build_udb_list CDE-MIN ../../../..
  25. configTT:: $(DATABASE_DIR)/CDE-TT.udb
  26. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  27. $(DATABASE_DIR)/CDE-TT.udb > CDE-TT.lst
  28. ../build_udb_list CDE-TT ../../../..
  29. configRun:: $(DATABASE_DIR)/CDE-RUN.udb
  30. $(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
  31. $(DATABASE_DIR)/CDE-RUN.udb > CDE-RUN.lst
  32. ../build_udb_list CDE-RUN ../../../..
  33. LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
  34. -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
  35. -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) \
  36. -D_POWER
  37. AllTarget(configTT configMin configRun)
  38. CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
  39. CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)
  40. CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
  41. clean::
  42. $(RM) *.lst *.list