]>
Commit | Line | Data |
---|---|---|
1 | #***************************************************************************** | |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 13 February 2006 * | |
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 | ||
65 | SOURCES = baseunix.cpp,\ | |
66 | dialup.cpp,\ | |
67 | dir.cpp,\ | |
68 | displayx11.cpp,\ | |
69 | dlunix.cpp,\ | |
70 | fontenum.cpp,\ | |
71 | fontutil.cpp,\ | |
72 | gsocket.cpp,\ | |
73 | mimetype.cpp,\ | |
74 | threadpsx.cpp,\ | |
75 | utilsunx.cpp,\ | |
76 | utilsx11.cpp,\ | |
77 | joystick.cpp,\ | |
78 | snglinst.cpp,\ | |
79 | sound.cpp,\ | |
80 | sound_sdl.cpp,\ | |
81 | stdpaths.cpp,\ | |
82 | taskbarx11.cpp | |
83 | ||
84 | all : $(SOURCES) | |
85 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
86 | .ifdef __WXMOTIF__ | |
87 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
88 | .else | |
89 | .ifdef __WXGTK__ | |
90 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
91 | .else | |
92 | .ifdef __WXGTK2__ | |
93 | library [--.lib]libwx_gtk2.olb $(OBJECTS) | |
94 | .else | |
95 | .ifdef __WXX11__ | |
96 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
97 | .endif | |
98 | .endif | |
99 | .endif | |
100 | .endif | |
101 | ||
102 | baseunix.obj : baseunix.cpp | |
103 | dialup.obj : dialup.cpp | |
104 | dir.obj : dir.cpp | |
105 | dlunix.obj : dlunix.cpp | |
106 | fontenum.obj : fontenum.cpp | |
107 | fontutil.obj : fontutil.cpp | |
108 | gsocket.obj : gsocket.cpp | |
109 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn gsocket.cpp | |
110 | mimetype.obj : mimetype.cpp | |
111 | threadpsx.obj : threadpsx.cpp | |
112 | utilsunx.obj : utilsunx.cpp | |
113 | utilsx11.obj : utilsx11.cpp | |
114 | joystick.obj : joystick.cpp | |
115 | snglinst.obj : snglinst.cpp | |
116 | sound.obj : sound.cpp | |
117 | sound_sdl.obj : sound_sdl.cpp | |
118 | stdpaths.obj : stdpaths.cpp | |
119 | taskbarx11.obj : taskbarx11.cpp | |
120 | displayx11.obj : displayx11.cpp |