]>
Commit | Line | Data |
---|---|---|
66034aba JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 12 January 2009 * | |
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) baseclient.exe | |
41 | $(MMS)$(MMSQUALIFIERS) baseserver.exe | |
42 | $(MMS)$(MMSQUALIFIERS) client.exe | |
43 | $(MMS)$(MMSQUALIFIERS) server.exe | |
44 | .else | |
45 | .ifdef __WXGTK__ | |
46 | $(MMS)$(MMSQUALIFIERS) baseclient_gtk.exe | |
47 | $(MMS)$(MMSQUALIFIERS) baseserver_gtk.exe | |
48 | $(MMS)$(MMSQUALIFIERS) client_gtk.exe | |
49 | $(MMS)$(MMSQUALIFIERS) server_gtk.exe | |
50 | .else | |
51 | .ifdef __WXGTK2__ | |
52 | $(MMS)$(MMSQUALIFIERS) baseclient_gtk2.exe | |
53 | $(MMS)$(MMSQUALIFIERS) baseserver_gtk2.exe | |
54 | $(MMS)$(MMSQUALIFIERS) client_gtk2.exe | |
55 | $(MMS)$(MMSQUALIFIERS) server_gtk2.exe | |
56 | .else | |
57 | .ifdef __WXX11__ | |
58 | $(MMS)$(MMSQUALIFIERS) baseclient_x11.exe | |
59 | $(MMS)$(MMSQUALIFIERS) baseserver_x11.exe | |
60 | $(MMS)$(MMSQUALIFIERS) client_x11.exe | |
61 | $(MMS)$(MMSQUALIFIERS) server_x11.exe | |
62 | .endif | |
63 | .endif | |
64 | .endif | |
65 | .endif | |
66 | ||
67 | .ifdef __WXMOTIF__ | |
68 | baseclient.exe : baseclient.obj | |
69 | cxxlink baseclient,[--.lib]vms/opt | |
70 | baseserver.exe : baseserver.obj | |
71 | cxxlink baseserver,[--.lib]vms/opt | |
72 | client.exe : client.obj | |
73 | cxxlink client,[--.lib]vms/opt | |
74 | server.exe : server.obj | |
75 | cxxlink server,[--.lib]vms/opt | |
76 | .else | |
77 | .ifdef __WXGTK__ | |
78 | baseclient_gtk.exe : baseclient.obj | |
79 | cxxlink/exe=baseclient_gtk.exe baseclient,[--.lib]vms_gtk/opt | |
80 | baseserver_gtk.exe : baseserver.obj | |
81 | cxxlink/exe=baseserver_gtk.exe baseserver,[--.lib]vms_gtk/opt | |
82 | client_gtk.exe : client.obj | |
83 | cxxlink/exe=client_gtk client,[--.lib]vms_gtk/opt | |
84 | server_gtk.exe : server.obj | |
85 | cxxlink/exe=server_gtk.exe server,[--.lib]vms_gtk/opt | |
86 | .else | |
87 | .ifdef __WXGTK2__ | |
88 | baseclient_gtk2.exe : baseclient.obj | |
89 | cxxlink/exe=baseclient_gtk2.exe baseclient,[--.lib]vms_gtk2/opt | |
90 | baseserver_gtk2.exe : baseserver.obj | |
91 | cxxlink/exe=baseserver_gtk2.exe baseserver,[--.lib]vms_gtk2/opt | |
92 | client_gtk2.exe : client.obj | |
93 | cxxlink/exe=client_gtk2 client,[--.lib]vms_gtk2/opt | |
94 | server_gtk2.exe : server.obj | |
95 | cxxlink/exe=server_gtk2.exe server,[--.lib]vms_gtk2/opt | |
96 | .else | |
97 | .ifdef __WXX11__ | |
98 | baseclient_x11.exe : baseclient.obj | |
99 | cxxlink/exe=baseclient_x11.exe baseclient,[--.lib]vms_x11/opt | |
100 | baseserver_x11.exe : baseserver.obj | |
101 | cxxlink/exe=baseserver_x11.exe baseserver,[--.lib]vms_x11/opt | |
102 | client_x11.exe : client.obj | |
103 | cxxlink/exe=client_x11 client,[--.lib]vms_x11/opt | |
104 | server_x11.exe : server.obj | |
105 | cxxlink/exe=server_x11.exe server,[--.lib]vms_x11/opt | |
106 | .endif | |
107 | .endif | |
108 | .endif | |
109 | .endif | |
110 | ||
111 | baseclient.obj : baseclient.cpp | |
112 | baseserver.obj : baseserver.cpp | |
113 | client.obj : client.cpp | |
114 | server.obj : server.cpp |