]>
Commit | Line | Data |
---|---|---|
1 | #***************************************************************************** | |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * | |
5 | # Date : 10 November 1999 * | |
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 __WXX11__ | |
22 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
23 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) | |
24 | CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
25 | /name=(as_is,short) | |
26 | .else | |
27 | CXX_DEFINE = | |
28 | CC_DEFINE = | |
29 | .endif | |
30 | .endif | |
31 | .endif | |
32 | ||
33 | .suffixes : .cpp | |
34 | ||
35 | .cpp.obj : | |
36 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
37 | .c.obj : | |
38 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c | |
39 | ||
40 | OBJECTS = baseunix.obj,\ | |
41 | dialup.obj,\ | |
42 | dir.obj,\ | |
43 | fontenum.obj,\ | |
44 | fontutil.obj,\ | |
45 | gsocket.obj,\ | |
46 | mimetype.obj,\ | |
47 | threadpsx.obj,\ | |
48 | utilsunx.obj,\ | |
49 | utilsx11.obj,\ | |
50 | joystick.obj,\ | |
51 | snglinst.obj,\ | |
52 | sound.obj,\ | |
53 | sound_sdl.obj,\ | |
54 | stdpaths.obj,\ | |
55 | taskbarx11.obj | |
56 | ||
57 | SOURCES = baseunix.cpp,\ | |
58 | dialup.cpp,\ | |
59 | dir.cpp,\ | |
60 | fontenum.cpp,\ | |
61 | fontutil.cpp,\ | |
62 | gsocket.cpp,\ | |
63 | mimetype.cpp,\ | |
64 | threadpsx.cpp,\ | |
65 | utilsunx.cpp,\ | |
66 | utilsx11.cpp,\ | |
67 | joystick.cpp,\ | |
68 | snglinst.cpp,\ | |
69 | sound.cpp,\ | |
70 | sound_sdl.cpp,\ | |
71 | stdpaths.cpp,\ | |
72 | taskbarx11.cpp | |
73 | ||
74 | all : $(SOURCES) | |
75 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
76 | .ifdef __WXMOTIF__ | |
77 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
78 | .else | |
79 | .ifdef __WXGTK__ | |
80 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
81 | .else | |
82 | .ifdef __WXX11__ | |
83 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
84 | .endif | |
85 | .endif | |
86 | .endif | |
87 | ||
88 | baseunix.obj : baseunix.cpp | |
89 | dialup.obj : dialup.cpp | |
90 | dir.obj : dir.cpp | |
91 | fontenum.obj : fontenum.cpp | |
92 | fontutil.obj : fontutil.cpp | |
93 | gsocket.obj : gsocket.cpp | |
94 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn gsocket.cpp | |
95 | mimetype.obj : mimetype.cpp | |
96 | threadpsx.obj : threadpsx.cpp | |
97 | utilsunx.obj : utilsunx.cpp | |
98 | utilsx11.obj : utilsx11.cpp | |
99 | joystick.obj : joystick.cpp | |
100 | snglinst.obj : snglinst.cpp | |
101 | sound.obj : sound.cpp | |
102 | sound_sdl.obj : sound_sdl.cpp | |
103 | stdpaths.obj : stdpaths.cpp | |
104 | taskbarx11.obj : taskbarx11.cpp |