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