]>
Commit | Line | Data |
---|---|---|
8c6a2d5c JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 23 March 2010 * | |
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) keyboard.exe | |
41 | .else | |
42 | .ifdef __WXGTK__ | |
43 | $(MMS)$(MMSQUALIFIERS) keyboard_gtk.exe | |
44 | .else | |
45 | .ifdef __WXGTK2__ | |
46 | $(MMS)$(MMSQUALIFIERS) keyboard_gtk2.exe | |
47 | .else | |
48 | .ifdef __WXX11__ | |
49 | $(MMS)$(MMSQUALIFIERS) keyboard_x11.exe | |
50 | .endif | |
51 | .endif | |
52 | .endif | |
53 | .endif | |
54 | ||
55 | .ifdef __WXMOTIF__ | |
56 | keyboard.exe : keyboard.obj | |
57 | cxxlink keyboard,[--.lib]vms/opt | |
58 | .else | |
59 | .ifdef __WXGTK__ | |
60 | keyboard_gtk.exe : keyboard.obj | |
61 | cxxlink/exec=keyboard_gtk.exe keyboard,[--.lib]vms_gtk/opt | |
62 | .else | |
63 | .ifdef __WXGTK2__ | |
64 | keyboard_gtk2.exe : keyboard.obj | |
65 | cxxlink/exec=keyboard_gtk2.exe keyboard,[--.lib]vms_gtk2/opt | |
66 | .else | |
67 | .ifdef __WXX11__ | |
68 | keyboard_x11.exe : keyboard.obj | |
69 | cxxlink/exec=keyboard_x11.exe keyboard,[--.lib]vms_x11_univ/opt | |
70 | .endif | |
71 | .endif | |
72 | .endif | |
73 | .endif | |
74 | ||
75 | keyboard.obj : keyboard.cpp |