]>
Commit | Line | Data |
---|---|---|
62edfd9e JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
93d3dbd4 | 4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
fd423a0f | 5 | # Date : 7 January 2011 * |
62edfd9e JJ |
6 | # * |
7 | #***************************************************************************** | |
8 | .first | |
9 | define wx [--.include.wx] | |
10 | ||
11 | .ifdef __WXMOTIF__ | |
4dff3400 JJ |
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) | |
62edfd9e | 15 | .else |
3fa056ab | 16 | .ifdef __WXGTK__ |
14329e03 JJ |
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 | |
1aebc200 | 20 | .else |
93d3dbd4 JJ |
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 | |
1aebc200 JJ |
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) | |
3fa056ab | 31 | .else |
62edfd9e | 32 | CXX_DEFINE = |
14329e03 | 33 | CC_DEFINE = |
62edfd9e | 34 | .endif |
3fa056ab | 35 | .endif |
1aebc200 | 36 | .endif |
93d3dbd4 | 37 | .endif |
62edfd9e JJ |
38 | |
39 | .suffixes : .cpp | |
40 | ||
41 | .cpp.obj : | |
42 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
43 | .c.obj : | |
14329e03 | 44 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c |
62edfd9e | 45 | |
9b4fd94a | 46 | OBJECTS = appunix.obj,apptraits.obj,\ |
62edfd9e | 47 | dialup.obj,\ |
f49676ee | 48 | dir.obj,\ |
088af589 | 49 | displayx11.obj,\ |
9bea227d | 50 | dlunix.obj,\ |
62edfd9e JJ |
51 | fontenum.obj,\ |
52 | fontutil.obj,\ | |
17dd542b | 53 | sockunix.obj,\ |
f49676ee | 54 | mimetype.obj,\ |
62edfd9e | 55 | threadpsx.obj,\ |
130d96dc | 56 | utilsunx.obj,\ |
1aebc200 JJ |
57 | utilsx11.obj,\ |
58 | joystick.obj,\ | |
59 | snglinst.obj,\ | |
60 | sound.obj,\ | |
61 | sound_sdl.obj,\ | |
44f3342e | 62 | stdpaths.obj,\ |
0f0223d3 | 63 | taskbarx11.obj,\ |
fd423a0f JJ |
64 | timerunx.obj,evtloopunix.obj,fdiounix.obj,uiactionx11.obj,\ |
65 | mediactrl.obj | |
62edfd9e | 66 | |
9b4fd94a | 67 | SOURCES = appunix.cpp,apptraits.cpp,\ |
62edfd9e | 68 | dialup.cpp,\ |
f49676ee | 69 | dir.cpp,\ |
088af589 | 70 | displayx11.cpp,\ |
9bea227d | 71 | dlunix.cpp,\ |
62edfd9e JJ |
72 | fontenum.cpp,\ |
73 | fontutil.cpp,\ | |
17dd542b | 74 | sockunix.cpp,\ |
f49676ee | 75 | mimetype.cpp,\ |
62edfd9e | 76 | threadpsx.cpp,\ |
130d96dc | 77 | utilsunx.cpp,\ |
1aebc200 JJ |
78 | utilsx11.cpp,\ |
79 | joystick.cpp,\ | |
80 | snglinst.cpp,\ | |
81 | sound.cpp,\ | |
82 | sound_sdl.cpp,\ | |
44f3342e | 83 | stdpaths.cpp,\ |
0f0223d3 | 84 | taskbarx11.cpp,\ |
fd423a0f JJ |
85 | timerunx.cpp,evtloopunix.cpp,fdiounix.cpp,uiactionx11.cpp,\ |
86 | mediactrl.cpp | |
62edfd9e JJ |
87 | |
88 | all : $(SOURCES) | |
89 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
90 | .ifdef __WXMOTIF__ | |
91 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
3fa056ab JJ |
92 | .else |
93 | .ifdef __WXGTK__ | |
94 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
1aebc200 | 95 | .else |
93d3dbd4 JJ |
96 | .ifdef __WXGTK2__ |
97 | library [--.lib]libwx_gtk2.olb $(OBJECTS) | |
98 | .else | |
1aebc200 JJ |
99 | .ifdef __WXX11__ |
100 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
3fa056ab | 101 | .endif |
62edfd9e | 102 | .endif |
de5fadb4 | 103 | .endif |
93d3dbd4 | 104 | .endif |
62edfd9e | 105 | |
c11b4853 JJ |
106 | $(OBJECTS) : [--.include.wx]setup.h |
107 | ||
934960d1 | 108 | appunix.obj : appunix.cpp |
9b4fd94a | 109 | apptraits.obj : apptraits.cpp |
62edfd9e | 110 | dialup.obj : dialup.cpp |
f49676ee | 111 | dir.obj : dir.cpp |
9bea227d | 112 | dlunix.obj : dlunix.cpp |
62edfd9e JJ |
113 | fontenum.obj : fontenum.cpp |
114 | fontutil.obj : fontutil.cpp | |
17dd542b JJ |
115 | sockunix.obj : sockunix.cpp |
116 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn sockunix.cpp | |
f49676ee | 117 | mimetype.obj : mimetype.cpp |
62edfd9e | 118 | threadpsx.obj : threadpsx.cpp |
882b808d | 119 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn threadpsx.cpp |
62edfd9e | 120 | utilsunx.obj : utilsunx.cpp |
130d96dc | 121 | utilsx11.obj : utilsx11.cpp |
1aebc200 JJ |
122 | joystick.obj : joystick.cpp |
123 | snglinst.obj : snglinst.cpp | |
124 | sound.obj : sound.cpp | |
125 | sound_sdl.obj : sound_sdl.cpp | |
44f3342e | 126 | stdpaths.obj : stdpaths.cpp |
1aebc200 | 127 | taskbarx11.obj : taskbarx11.cpp |
088af589 | 128 | displayx11.obj : displayx11.cpp |
0f0223d3 | 129 | timerunx.obj : timerunx.cpp |
2cb8531c | 130 | evtloopunix.obj : evtloopunix.cpp |
f96a610d | 131 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn evtloopunix.cpp |
7b8dd3cc | 132 | fdiounix.obj : fdiounix.cpp |
256e97fb | 133 | uiactionx11.obj : uiactionx11.cpp |
fd423a0f | 134 | mediactrl.obj : mediactrl.cpp |