]>
Commit | Line | Data |
---|---|---|
1 | #***************************************************************************** | |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 24 April 2007 * | |
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 | CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short) | |
15 | .else | |
16 | .ifdef __WXGTK__ | |
17 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
18 | /assume=(nostdnew,noglobal_array_new) | |
19 | CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm | |
20 | .else | |
21 | .ifdef __WXGTK2__ | |
22 | CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
23 | /assume=(nostdnew,noglobal_array_new) | |
24 | CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2)/float=ieee/name=(as_is,short)/ieee=denorm | |
25 | .else | |
26 | .ifdef __WXX11__ | |
27 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
28 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) | |
29 | CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
30 | /name=(as_is,short) | |
31 | .else | |
32 | CXX_DEFINE = | |
33 | CC_DEFINE = | |
34 | .endif | |
35 | .endif | |
36 | .endif | |
37 | .endif | |
38 | ||
39 | .suffixes : .cpp | |
40 | ||
41 | .cpp.obj : | |
42 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
43 | .c.obj : | |
44 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c | |
45 | ||
46 | OBJECTS = baseunix.obj,\ | |
47 | dialup.obj,\ | |
48 | dir.obj,\ | |
49 | displayx11.obj,\ | |
50 | dlunix.obj,\ | |
51 | fontenum.obj,\ | |
52 | fontutil.obj,\ | |
53 | gsocket.obj,\ | |
54 | mimetype.obj,\ | |
55 | threadpsx.obj,\ | |
56 | utilsunx.obj,\ | |
57 | utilsx11.obj,\ | |
58 | joystick.obj,\ | |
59 | snglinst.obj,\ | |
60 | sound.obj,\ | |
61 | sound_sdl.obj,\ | |
62 | stdpaths.obj,\ | |
63 | taskbarx11.obj,\ | |
64 | timerunx.obj | |
65 | ||
66 | SOURCES = baseunix.cpp,\ | |
67 | dialup.cpp,\ | |
68 | dir.cpp,\ | |
69 | displayx11.cpp,\ | |
70 | dlunix.cpp,\ | |
71 | fontenum.cpp,\ | |
72 | fontutil.cpp,\ | |
73 | gsocket.cpp,\ | |
74 | mimetype.cpp,\ | |
75 | threadpsx.cpp,\ | |
76 | utilsunx.cpp,\ | |
77 | utilsx11.cpp,\ | |
78 | joystick.cpp,\ | |
79 | snglinst.cpp,\ | |
80 | sound.cpp,\ | |
81 | sound_sdl.cpp,\ | |
82 | stdpaths.cpp,\ | |
83 | taskbarx11.cpp,\ | |
84 | timerunx.cpp | |
85 | ||
86 | all : $(SOURCES) | |
87 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
88 | .ifdef __WXMOTIF__ | |
89 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
90 | .else | |
91 | .ifdef __WXGTK__ | |
92 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
93 | .else | |
94 | .ifdef __WXGTK2__ | |
95 | library [--.lib]libwx_gtk2.olb $(OBJECTS) | |
96 | .else | |
97 | .ifdef __WXX11__ | |
98 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
99 | .endif | |
100 | .endif | |
101 | .endif | |
102 | .endif | |
103 | ||
104 | baseunix.obj : baseunix.cpp | |
105 | dialup.obj : dialup.cpp | |
106 | dir.obj : dir.cpp | |
107 | dlunix.obj : dlunix.cpp | |
108 | fontenum.obj : fontenum.cpp | |
109 | fontutil.obj : fontutil.cpp | |
110 | gsocket.obj : gsocket.cpp | |
111 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn gsocket.cpp | |
112 | mimetype.obj : mimetype.cpp | |
113 | threadpsx.obj : threadpsx.cpp | |
114 | utilsunx.obj : utilsunx.cpp | |
115 | utilsx11.obj : utilsx11.cpp | |
116 | joystick.obj : joystick.cpp | |
117 | snglinst.obj : snglinst.cpp | |
118 | sound.obj : sound.cpp | |
119 | sound_sdl.obj : sound_sdl.cpp | |
120 | stdpaths.obj : stdpaths.cpp | |
121 | taskbarx11.obj : taskbarx11.cpp | |
122 | displayx11.obj : displayx11.cpp | |
123 | timerunx.obj : timerunx.cpp |