]>
Commit | Line | Data |
---|---|---|
1 | #***************************************************************************** | |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 7 January 2011 * | |
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 = appunix.obj,apptraits.obj,\ | |
47 | dialup.obj,\ | |
48 | dir.obj,\ | |
49 | displayx11.obj,\ | |
50 | dlunix.obj,\ | |
51 | fontenum.obj,\ | |
52 | fontutil.obj,\ | |
53 | sockunix.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,evtloopunix.obj,fdiounix.obj,uiactionx11.obj,\ | |
65 | mediactrl.obj | |
66 | ||
67 | SOURCES = appunix.cpp,apptraits.cpp,\ | |
68 | dialup.cpp,\ | |
69 | dir.cpp,\ | |
70 | displayx11.cpp,\ | |
71 | dlunix.cpp,\ | |
72 | fontenum.cpp,\ | |
73 | fontutil.cpp,\ | |
74 | sockunix.cpp,\ | |
75 | mimetype.cpp,\ | |
76 | threadpsx.cpp,\ | |
77 | utilsunx.cpp,\ | |
78 | utilsx11.cpp,\ | |
79 | joystick.cpp,\ | |
80 | snglinst.cpp,\ | |
81 | sound.cpp,\ | |
82 | sound_sdl.cpp,\ | |
83 | stdpaths.cpp,\ | |
84 | taskbarx11.cpp,\ | |
85 | timerunx.cpp,evtloopunix.cpp,fdiounix.cpp,uiactionx11.cpp,\ | |
86 | mediactrl.cpp | |
87 | ||
88 | all : $(SOURCES) | |
89 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
90 | .ifdef __WXMOTIF__ | |
91 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
92 | .else | |
93 | .ifdef __WXGTK__ | |
94 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
95 | .else | |
96 | .ifdef __WXGTK2__ | |
97 | library [--.lib]libwx_gtk2.olb $(OBJECTS) | |
98 | .else | |
99 | .ifdef __WXX11__ | |
100 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
101 | .endif | |
102 | .endif | |
103 | .endif | |
104 | .endif | |
105 | ||
106 | $(OBJECTS) : [--.include.wx]setup.h | |
107 | ||
108 | appunix.obj : appunix.cpp | |
109 | apptraits.obj : apptraits.cpp | |
110 | dialup.obj : dialup.cpp | |
111 | dir.obj : dir.cpp | |
112 | dlunix.obj : dlunix.cpp | |
113 | fontenum.obj : fontenum.cpp | |
114 | fontutil.obj : fontutil.cpp | |
115 | sockunix.obj : sockunix.cpp | |
116 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn sockunix.cpp | |
117 | mimetype.obj : mimetype.cpp | |
118 | threadpsx.obj : threadpsx.cpp | |
119 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn threadpsx.cpp | |
120 | utilsunx.obj : utilsunx.cpp | |
121 | utilsx11.obj : utilsx11.cpp | |
122 | joystick.obj : joystick.cpp | |
123 | snglinst.obj : snglinst.cpp | |
124 | sound.obj : sound.cpp | |
125 | sound_sdl.obj : sound_sdl.cpp | |
126 | stdpaths.obj : stdpaths.cpp | |
127 | taskbarx11.obj : taskbarx11.cpp | |
128 | displayx11.obj : displayx11.cpp | |
129 | timerunx.obj : timerunx.cpp | |
130 | evtloopunix.obj : evtloopunix.cpp | |
131 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn evtloopunix.cpp | |
132 | fdiounix.obj : fdiounix.cpp | |
133 | uiactionx11.obj : uiactionx11.cpp | |
134 | mediactrl.obj : mediactrl.cpp |