]>
Commit | Line | Data |
---|---|---|
62edfd9e JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
93d3dbd4 | 4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
9b4fd94a | 5 | # Date : 8 April 2008 * |
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,\ | |
53 | gsocket.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 JJ |
63 | taskbarx11.obj,\ |
64 | timerunx.obj | |
62edfd9e | 65 | |
9b4fd94a | 66 | SOURCES = appunix.cpp,apptraits.cpp,\ |
62edfd9e | 67 | dialup.cpp,\ |
f49676ee | 68 | dir.cpp,\ |
088af589 | 69 | displayx11.cpp,\ |
9bea227d | 70 | dlunix.cpp,\ |
62edfd9e JJ |
71 | fontenum.cpp,\ |
72 | fontutil.cpp,\ | |
ac879065 | 73 | gsocket.cpp,\ |
f49676ee | 74 | mimetype.cpp,\ |
62edfd9e | 75 | threadpsx.cpp,\ |
130d96dc | 76 | utilsunx.cpp,\ |
1aebc200 JJ |
77 | utilsx11.cpp,\ |
78 | joystick.cpp,\ | |
79 | snglinst.cpp,\ | |
80 | sound.cpp,\ | |
81 | sound_sdl.cpp,\ | |
44f3342e | 82 | stdpaths.cpp,\ |
0f0223d3 JJ |
83 | taskbarx11.cpp,\ |
84 | timerunx.cpp | |
62edfd9e JJ |
85 | |
86 | all : $(SOURCES) | |
87 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
88 | .ifdef __WXMOTIF__ | |
89 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
3fa056ab JJ |
90 | .else |
91 | .ifdef __WXGTK__ | |
92 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
1aebc200 | 93 | .else |
93d3dbd4 JJ |
94 | .ifdef __WXGTK2__ |
95 | library [--.lib]libwx_gtk2.olb $(OBJECTS) | |
96 | .else | |
1aebc200 JJ |
97 | .ifdef __WXX11__ |
98 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
3fa056ab | 99 | .endif |
62edfd9e | 100 | .endif |
de5fadb4 | 101 | .endif |
93d3dbd4 | 102 | .endif |
62edfd9e | 103 | |
934960d1 | 104 | appunix.obj : appunix.cpp |
9b4fd94a | 105 | apptraits.obj : apptraits.cpp |
62edfd9e | 106 | dialup.obj : dialup.cpp |
f49676ee | 107 | dir.obj : dir.cpp |
9bea227d | 108 | dlunix.obj : dlunix.cpp |
62edfd9e JJ |
109 | fontenum.obj : fontenum.cpp |
110 | fontutil.obj : fontutil.cpp | |
ac879065 JJ |
111 | gsocket.obj : gsocket.cpp |
112 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn gsocket.cpp | |
f49676ee | 113 | mimetype.obj : mimetype.cpp |
62edfd9e JJ |
114 | threadpsx.obj : threadpsx.cpp |
115 | utilsunx.obj : utilsunx.cpp | |
130d96dc | 116 | utilsx11.obj : utilsx11.cpp |
1aebc200 JJ |
117 | joystick.obj : joystick.cpp |
118 | snglinst.obj : snglinst.cpp | |
119 | sound.obj : sound.cpp | |
120 | sound_sdl.obj : sound_sdl.cpp | |
44f3342e | 121 | stdpaths.obj : stdpaths.cpp |
1aebc200 | 122 | taskbarx11.obj : taskbarx11.cpp |
088af589 | 123 | displayx11.obj : displayx11.cpp |
0f0223d3 | 124 | timerunx.obj : timerunx.cpp |