descrip.mms 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #*****************************************************************************
  2. # *
  3. # Make file for VMS *
  4. # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
  5. # Date : 15 November 2010 *
  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)
  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)
  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)
  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)
  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) xrcdemo.exe
  37. .else
  38. .ifdef __WXGTK__
  39. $(MMS)$(MMSQUALIFIERS) xrcdemo_gtk.exe
  40. .else
  41. .ifdef __WXGTK2__
  42. $(MMS)$(MMSQUALIFIERS) xrcdemo_gtk2.exe
  43. .else
  44. .ifdef __WXX11__
  45. $(MMS)$(MMSQUALIFIERS) xrcdemo_x11.exe
  46. .endif
  47. .endif
  48. .endif
  49. .endif
  50. .ifdef __WXMOTIF__
  51. xrcdemo.exe : xrcdemo.obj,custclas.obj,derivdlg.obj,myframe.obj,objrefdlg.obj
  52. cxxlink xrcdemo,custclas.obj,derivdlg.obj,myframe.obj,objrefdlg.obj,\
  53. [--.lib]vms/opt
  54. .else
  55. .ifdef __WXGTK__
  56. xrcdemo_gtk.exe : xrcdemo.obj,custclas.obj,derivdlg.obj,myframe.obj,\
  57. objrefdlg.obj
  58. cxxlink/exec=xrcdemo_gtk.exe xrcdemo,custclas.obj,derivdlg.obj,\
  59. myframe.obj,objrefdlg.obj,[--.lib]vms_gtk/opt
  60. .else
  61. .ifdef __WXGTK2__
  62. xrcdemo_gtk2.exe : xrcdemo.obj,custclas.obj,derivdlg.obj,myframe.obj
  63. cxxlink/exec=xrcdemo_gtk2.exe xrcdemo,custclas.obj,derivdlg.obj,\
  64. myframe.obj,[--.lib]vms_gtk2/opt
  65. .else
  66. .ifdef __WXX11__
  67. xrcdemo_x11.exe : xrcdemo.obj,custclas.obj,derivdlg.obj,myframe.obj
  68. cxxlink/exec=xrcdemo_x11.exe xrcdemo,custclas.obj,derivdlg.obj,\
  69. myframe.obj,[--.lib]vms_x11_univ/opt
  70. .endif
  71. .endif
  72. .endif
  73. .endif
  74. xrcdemo.obj : xrcdemo.cpp
  75. custclas.obj : custclas.cpp
  76. derivdlg.obj : derivdlg.cpp
  77. myframe.obj : myframe.cpp
  78. objrefdlg.obj : objrefdlg.cpp