]>
Commit | Line | Data |
---|---|---|
66034aba JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
cdd76cf1 | 5 | # Date : 17 June 2009 * |
66034aba JJ |
6 | # * |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | ||
11 | .ifdef __WXMOTIF__ | |
12 | CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ | |
cdd76cf1 | 13 | /assume=(nostdnew,noglobal_array_new)/warn=disable=(INTSIGNCHANGE) |
66034aba JJ |
14 | .else |
15 | .ifdef __WXGTK__ | |
16 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
cdd76cf1 | 17 | /assume=(nostdnew,noglobal_array_new)/warn=disable=(INTSIGNCHANGE) |
66034aba JJ |
18 | .else |
19 | .ifdef __WXGTK2__ | |
20 | CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
cdd76cf1 | 21 | /assume=(nostdnew,noglobal_array_new)/warn=disable=(INTSIGNCHANGE) |
66034aba JJ |
22 | .else |
23 | .ifdef __WXX11__ | |
24 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
cdd76cf1 JJ |
25 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)\ |
26 | /warn=disable=(INTSIGNCHANGE) | |
66034aba JJ |
27 | .else |
28 | CXX_DEFINE = | |
29 | .endif | |
30 | .endif | |
31 | .endif | |
32 | .endif | |
33 | ||
34 | .suffixes : .cpp | |
35 | ||
36 | .cpp.obj : | |
37 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
38 | ||
39 | all : | |
40 | .ifdef __WXMOTIF__ | |
41 | $(MMS)$(MMSQUALIFIERS) baseclient.exe | |
42 | $(MMS)$(MMSQUALIFIERS) baseserver.exe | |
43 | $(MMS)$(MMSQUALIFIERS) client.exe | |
44 | $(MMS)$(MMSQUALIFIERS) server.exe | |
45 | .else | |
46 | .ifdef __WXGTK__ | |
47 | $(MMS)$(MMSQUALIFIERS) baseclient_gtk.exe | |
48 | $(MMS)$(MMSQUALIFIERS) baseserver_gtk.exe | |
49 | $(MMS)$(MMSQUALIFIERS) client_gtk.exe | |
50 | $(MMS)$(MMSQUALIFIERS) server_gtk.exe | |
51 | .else | |
52 | .ifdef __WXGTK2__ | |
53 | $(MMS)$(MMSQUALIFIERS) baseclient_gtk2.exe | |
54 | $(MMS)$(MMSQUALIFIERS) baseserver_gtk2.exe | |
55 | $(MMS)$(MMSQUALIFIERS) client_gtk2.exe | |
56 | $(MMS)$(MMSQUALIFIERS) server_gtk2.exe | |
57 | .else | |
58 | .ifdef __WXX11__ | |
59 | $(MMS)$(MMSQUALIFIERS) baseclient_x11.exe | |
60 | $(MMS)$(MMSQUALIFIERS) baseserver_x11.exe | |
61 | $(MMS)$(MMSQUALIFIERS) client_x11.exe | |
62 | $(MMS)$(MMSQUALIFIERS) server_x11.exe | |
63 | .endif | |
64 | .endif | |
65 | .endif | |
66 | .endif | |
67 | ||
68 | .ifdef __WXMOTIF__ | |
69 | baseclient.exe : baseclient.obj | |
70 | cxxlink baseclient,[--.lib]vms/opt | |
71 | baseserver.exe : baseserver.obj | |
72 | cxxlink baseserver,[--.lib]vms/opt | |
73 | client.exe : client.obj | |
74 | cxxlink client,[--.lib]vms/opt | |
75 | server.exe : server.obj | |
76 | cxxlink server,[--.lib]vms/opt | |
77 | .else | |
78 | .ifdef __WXGTK__ | |
79 | baseclient_gtk.exe : baseclient.obj | |
80 | cxxlink/exe=baseclient_gtk.exe baseclient,[--.lib]vms_gtk/opt | |
81 | baseserver_gtk.exe : baseserver.obj | |
82 | cxxlink/exe=baseserver_gtk.exe baseserver,[--.lib]vms_gtk/opt | |
83 | client_gtk.exe : client.obj | |
84 | cxxlink/exe=client_gtk client,[--.lib]vms_gtk/opt | |
85 | server_gtk.exe : server.obj | |
86 | cxxlink/exe=server_gtk.exe server,[--.lib]vms_gtk/opt | |
87 | .else | |
88 | .ifdef __WXGTK2__ | |
89 | baseclient_gtk2.exe : baseclient.obj | |
90 | cxxlink/exe=baseclient_gtk2.exe baseclient,[--.lib]vms_gtk2/opt | |
91 | baseserver_gtk2.exe : baseserver.obj | |
92 | cxxlink/exe=baseserver_gtk2.exe baseserver,[--.lib]vms_gtk2/opt | |
93 | client_gtk2.exe : client.obj | |
94 | cxxlink/exe=client_gtk2 client,[--.lib]vms_gtk2/opt | |
95 | server_gtk2.exe : server.obj | |
96 | cxxlink/exe=server_gtk2.exe server,[--.lib]vms_gtk2/opt | |
97 | .else | |
98 | .ifdef __WXX11__ | |
99 | baseclient_x11.exe : baseclient.obj | |
100 | cxxlink/exe=baseclient_x11.exe baseclient,[--.lib]vms_x11/opt | |
101 | baseserver_x11.exe : baseserver.obj | |
102 | cxxlink/exe=baseserver_x11.exe baseserver,[--.lib]vms_x11/opt | |
103 | client_x11.exe : client.obj | |
104 | cxxlink/exe=client_x11 client,[--.lib]vms_x11/opt | |
105 | server_x11.exe : server.obj | |
106 | cxxlink/exe=server_x11.exe server,[--.lib]vms_x11/opt | |
107 | .endif | |
108 | .endif | |
109 | .endif | |
110 | .endif | |
111 | ||
112 | baseclient.obj : baseclient.cpp | |
113 | baseserver.obj : baseserver.cpp | |
114 | client.obj : client.cpp | |
115 | server.obj : server.cpp |