descrip.mms 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #*****************************************************************************
  2. # *
  3. # Make file for VMS *
  4. # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
  5. # Date : 6 October 2009 *
  6. # *
  7. #*****************************************************************************
  8. .first
  9. define wx [--.include.wx]
  10. .ifdef __WXMOTIF__
  11. CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
  12. /assume=(nostdnew,noglobal_array_new)/incl=([],[-])
  13. .else
  14. .ifdef __WXGTK__
  15. CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
  16. /assume=(nostdnew,noglobal_array_new)/incl=([],[-])
  17. .else
  18. .ifdef __WXGTK2__
  19. CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\
  20. /assume=(nostdnew,noglobal_array_new)/incl=([],[-])
  21. .else
  22. .ifdef __WXX11__
  23. CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
  24. /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
  25. .else
  26. CXX_DEFINE =
  27. .endif
  28. .endif
  29. .endif
  30. .endif
  31. .suffixes : .cpp
  32. .cpp.obj :
  33. cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
  34. all :
  35. .ifdef __WXMOTIF__
  36. $(MMS)$(MMSQUALIFIERS) console.exe
  37. .else
  38. .ifdef __WXGTK__
  39. $(MMS)$(MMSQUALIFIERS) console_gtk.exe
  40. .else
  41. .ifdef __WXGTK2__
  42. $(MMS)$(MMSQUALIFIERS) console_gtk2.exe
  43. .else
  44. .ifdef __WXX11__
  45. $(MMS)$(MMSQUALIFIERS) console_x11.exe
  46. .endif
  47. .endif
  48. .endif
  49. .endif
  50. OBJS=console.obj
  51. .ifdef __WXMOTIF__
  52. console.exe : $(OBJS)
  53. cxxlink $(OBJS),[--.lib]vms/opt
  54. .else
  55. .ifdef __WXGTK__
  56. console_gtk.exe : $(OBJS)
  57. cxxlink/exec=console_gtk.exe $(OBJS),[--.lib]vms_gtk/opt
  58. .else
  59. .ifdef __WXGTK2__
  60. console_gtk2.exe : $(OBJS)
  61. cxxlink/exec=console_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt
  62. .else
  63. .ifdef __WXX11__
  64. console_x11.exe : $(OBJS)
  65. cxxlink/exec=console_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt
  66. .endif
  67. .endif
  68. .endif
  69. .endif
  70. console.obj : console.cpp
  71. cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn console.cpp