]> git.saurik.com Git - wxWidgets.git/blob - samples/widgets/descrip.mms
updated setup.h for OpenVMS
[wxWidgets.git] / samples / widgets / descrip.mms
1 #*****************************************************************************
2 # *
3 # Make file for VMS *
4 # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
5 # Date : 9 November 2011 *
6 # *
7 #*****************************************************************************
8 .first
9 define wx [--.include.wx]
10
11 .ifdef __WXMOTIF__
12 CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
13 /assume=(nostdnew,noglobal_array_new)
14 .else
15 .ifdef __WXGTK__
16 CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
17 /assume=(nostdnew,noglobal_array_new)
18 .else
19 .ifdef __WXGTK2__
20 CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\
21 /assume=(nostdnew,noglobal_array_new)
22 .else
23 .ifdef __WXX11__
24 CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
25 /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)
26 .else
27 CXX_DEFINE =
28 .endif
29 .endif
30 .endif
31 .endif
32
33 .suffixes : .cpp
34
35 .cpp.obj :
36 cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
37
38 all :
39 .ifdef __WXMOTIF__
40 $(MMS)$(MMSQUALIFIERS) widgets.exe
41 .else
42 .ifdef __WXGTK__
43 $(MMS)$(MMSQUALIFIERS) widgets_gtk.exe
44 .else
45 .ifdef __WXGTK2__
46 $(MMS)$(MMSQUALIFIERS) widgets_gtk2.exe
47 .else
48 .ifdef __WXX11__
49 $(MMS)$(MMSQUALIFIERS) widgets_x11.exe
50 .endif
51 .endif
52 .endif
53 .endif
54
55 OBJS=bmpcombobox.obj,button.obj,checkbox.obj,choice.obj,clrpicker.obj,\
56 combobox.obj,datepick.obj,dirctrl.obj,dirpicker.obj,editlbox.obj,\
57 filectrl.obj,filepicker.obj,fontpicker.obj,gauge.obj,hyperlnk.obj,\
58 itemcontainer.obj,listbox.obj,notebook.obj,odcombobox.obj,\
59 radiobox.obj,searchctrl.obj,slider.obj,spinbtn.obj,statbmp.obj,\
60 static.obj,textctrl.obj,toggle.obj,widgets.obj
61
62 .ifdef __WXMOTIF__
63 widgets.exe : $(OBJS)
64 cxxlink/exec=widgets.exe $(OBJS),[--.lib]vms/opt
65 .else
66 .ifdef __WXGTK__
67 widgets_gtk.exe : $(OBJS)
68 cxxlink/exec=widgets_gtk.exe $(OBJS),[--.lib]vms_gtk/opt
69 .else
70 .ifdef __WXGTK2__
71 widgets_gtk2.exe : $(OBJS)
72 cxxlink/exec=widgets_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt
73 .else
74 .ifdef __WXX11__
75 widgets_x11.exe : $(OBJS)
76 cxxlink/exec=widgets_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt
77 .endif
78 .endif
79 .endif
80 .endif
81
82 bmpcombobox.obj : bmpcombobox.cpp
83 button.obj : button.cpp
84 checkbox.obj : checkbox.cpp
85 choice.obj : choice.cpp
86 clrpicker.obj : clrpicker.cpp
87 combobox.obj : combobox.cpp
88 datepick.obj : datepick.cpp
89 dirctrl.obj : dirctrl.cpp
90 dirpicker.obj : dirpicker.cpp
91 editlbox.obj : editlbox.cpp
92 filectrl.obj : filectrl.cpp
93 filepicker.obj : filepicker.cpp
94 fontpicker.obj : fontpicker.cpp
95 gauge.obj : gauge.cpp
96 hyperlnk.obj : hyperlnk.cpp
97 itemcontainer.obj : itemcontainer.cpp
98 listbox.obj : listbox.cpp
99 notebook.obj : notebook.cpp
100 odcombobox.obj : odcombobox.cpp
101 radiobox.obj : radiobox.cpp
102 searchctrl.obj : searchctrl.cpp
103 slider.obj : slider.cpp
104 spinbtn.obj : spinbtn.cpp
105 statbmp.obj : statbmp.cpp
106 static.obj : static.cpp
107 textctrl.obj : textctrl.cpp
108 toggle.obj : toggle.cpp
109 widgets.obj : widgets.cpp
110 cxx $(CXXFLAGS)$(CXX_DEFINE)/object=widgets.obj widgets.cpp