]> git.saurik.com Git - wxWidgets.git/blame - samples/xrc/descrip.mms
Exclude wxMSW-only code from wxUniversal build under Windows.
[wxWidgets.git] / samples / xrc / descrip.mms
CommitLineData
f97d9370
JJ
1#*****************************************************************************
2# *
3# Make file for VMS *
4# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
3e90629b 5# Date : 15 November 2010 *
f97d9370
JJ
6# *
7#*****************************************************************************
8.first
9 define wx [--.include.wx]
10
11.ifdef __WXMOTIF__
12CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
13 /assume=(nostdnew,noglobal_array_new)
14.else
15.ifdef __WXGTK__
16CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
17 /assume=(nostdnew,noglobal_array_new)
18.else
19.ifdef __WXGTK2__
20CXX_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__
24CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
25 /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)
26.else
27CXX_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
38all :
39.ifdef __WXMOTIF__
40 $(MMS)$(MMSQUALIFIERS) xrcdemo.exe
41.else
42.ifdef __WXGTK__
43 $(MMS)$(MMSQUALIFIERS) xrcdemo_gtk.exe
44.else
45.ifdef __WXGTK2__
46 $(MMS)$(MMSQUALIFIERS) xrcdemo_gtk2.exe
47.else
48.ifdef __WXX11__
49 $(MMS)$(MMSQUALIFIERS) xrcdemo_x11.exe
50.endif
51.endif
52.endif
53.endif
54
55.ifdef __WXMOTIF__
3e90629b
JJ
56xrcdemo.exe : xrcdemo.obj,custclas.obj,derivdlg.obj,myframe.obj,objrefdlg.obj
57 cxxlink xrcdemo,custclas.obj,derivdlg.obj,myframe.obj,objrefdlg.obj,\
58 [--.lib]vms/opt
f97d9370
JJ
59.else
60.ifdef __WXGTK__
3e90629b
JJ
61xrcdemo_gtk.exe : xrcdemo.obj,custclas.obj,derivdlg.obj,myframe.obj,\
62 objrefdlg.obj
f97d9370 63 cxxlink/exec=xrcdemo_gtk.exe xrcdemo,custclas.obj,derivdlg.obj,\
3e90629b 64 myframe.obj,objrefdlg.obj,[--.lib]vms_gtk/opt
f97d9370
JJ
65.else
66.ifdef __WXGTK2__
67xrcdemo_gtk2.exe : xrcdemo.obj,custclas.obj,derivdlg.obj,myframe.obj
68 cxxlink/exec=xrcdemo_gtk2.exe xrcdemo,custclas.obj,derivdlg.obj,\
69 myframe.obj,[--.lib]vms_gtk2/opt
70.else
71.ifdef __WXX11__
72xrcdemo_x11.exe : xrcdemo.obj,custclas.obj,derivdlg.obj,myframe.obj
73 cxxlink/exec=xrcdemo_x11.exe xrcdemo,custclas.obj,derivdlg.obj,\
74 myframe.obj,[--.lib]vms_x11_univ/opt
75.endif
76.endif
77.endif
78.endif
79
80xrcdemo.obj : xrcdemo.cpp
81custclas.obj : custclas.cpp
82derivdlg.obj : derivdlg.cpp
83myframe.obj : myframe.cpp
3e90629b 84objrefdlg.obj : objrefdlg.cpp