]>
Commit | Line | Data |
---|---|---|
7499ebbe JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
93d3dbd4 JJ |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
5 | # Date : 13 February 2006 * | |
7499ebbe JJ |
6 | # * |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | ||
11 | .ifdef __WXMOTIF__ | |
4dff3400 JJ |
12 | CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ |
13 | /assume=(nostdnew,noglobal_array_new) | |
7499ebbe | 14 | .else |
3fa056ab | 15 | .ifdef __WXGTK__ |
14329e03 JJ |
16 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ |
17 | /assume=(nostdnew,noglobal_array_new) | |
3fa056ab | 18 | .else |
93d3dbd4 JJ |
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 | |
1aebc200 JJ |
23 | .ifdef __WXX11__ |
24 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
25 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) | |
a371f703 | 26 | .else |
7499ebbe JJ |
27 | CXX_DEFINE = |
28 | .endif | |
3fa056ab | 29 | .endif |
1aebc200 | 30 | .endif |
93d3dbd4 | 31 | .endif |
7499ebbe JJ |
32 | |
33 | .suffixes : .cpp | |
34 | ||
35 | .cpp.obj : | |
36 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
37 | ||
38 | all : | |
3fa056ab | 39 | .ifdef __WXMOTIF__ |
7499ebbe | 40 | $(MMS)$(MMSQUALIFIERS) minimal.exe |
3fa056ab JJ |
41 | .else |
42 | .ifdef __WXGTK__ | |
43 | $(MMS)$(MMSQUALIFIERS) minimal_gtk.exe | |
1aebc200 | 44 | .else |
93d3dbd4 JJ |
45 | .ifdef __WXGTK2__ |
46 | $(MMS)$(MMSQUALIFIERS) minimal_gtk2.exe | |
47 | .else | |
1aebc200 JJ |
48 | .ifdef __WXX11__ |
49 | $(MMS)$(MMSQUALIFIERS) minimal_x11.exe | |
50 | .endif | |
3fa056ab JJ |
51 | .endif |
52 | .endif | |
93d3dbd4 | 53 | .endif |
7499ebbe | 54 | |
7499ebbe | 55 | .ifdef __WXMOTIF__ |
3fa056ab | 56 | minimal.exe : minimal.obj |
82a564fa | 57 | cxxlink minimal,[--.lib]vms/opt |
3fa056ab JJ |
58 | .else |
59 | .ifdef __WXGTK__ | |
60 | minimal_gtk.exe : minimal.obj | |
3fa056ab | 61 | cxxlink/exec=minimal_gtk.exe minimal,[--.lib]vms_gtk/opt |
1aebc200 | 62 | .else |
93d3dbd4 JJ |
63 | .ifdef __WXGTK2__ |
64 | minimal_gtk2.exe : minimal.obj | |
65 | cxxlink/exec=minimal_gtk2.exe minimal,[--.lib]vms_gtk2/opt | |
66 | .else | |
1aebc200 JJ |
67 | .ifdef __WXX11__ |
68 | minimal_x11.exe : minimal.obj | |
69 | cxxlink/exec=minimal_x11.exe minimal,[--.lib]vms_x11_univ/opt | |
70 | .endif | |
3fa056ab | 71 | .endif |
7499ebbe | 72 | .endif |
93d3dbd4 | 73 | .endif |
7499ebbe JJ |
74 | |
75 | minimal.obj : minimal.cpp |