]>
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 | dlunix.obj,\ | |
44 | fontenum.obj,\ | |
45 | fontutil.obj,\ | |
46 | gsocket.obj,\ | |
47 | mimetype.obj,\ | |
48 | threadpsx.obj,\ | |
49 | utilsunx.obj,\ | |
50 | utilsx11.obj,\ | |
51 | joystick.obj,\ | |
52 | snglinst.obj,\ | |
53 | sound.obj,\ | |
54 | sound_sdl.obj,\ | |
55 | stdpaths.obj,\ | |
56 | taskbarx11.obj | |
57 | ||
58 | SOURCES = baseunix.cpp,\ | |
59 | dialup.cpp,\ | |
60 | dir.cpp,\ | |
61 | dlunix.cpp,\ | |
62 | fontenum.cpp,\ | |
63 | fontutil.cpp,\ | |
64 | gsocket.cpp,\ | |
65 | mimetype.cpp,\ | |
66 | threadpsx.cpp,\ | |
67 | utilsunx.cpp,\ | |
68 | utilsx11.cpp,\ | |
69 | joystick.cpp,\ | |
70 | snglinst.cpp,\ | |
71 | sound.cpp,\ | |
72 | sound_sdl.cpp,\ | |
73 | stdpaths.cpp,\ | |
74 | taskbarx11.cpp | |
75 | ||
76 | all : $(SOURCES) | |
77 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
78 | .ifdef __WXMOTIF__ | |
79 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
80 | .else | |
81 | .ifdef __WXGTK__ | |
82 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
83 | .else | |
84 | .ifdef __WXX11__ | |
85 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
86 | .endif | |
87 | .endif | |
88 | .endif | |
89 | ||
90 | baseunix.obj : baseunix.cpp | |
91 | dialup.obj : dialup.cpp | |
92 | dir.obj : dir.cpp | |
93 | dlunix.obj : dlunix.cpp | |
94 | fontenum.obj : fontenum.cpp | |
95 | fontutil.obj : fontutil.cpp | |
96 | gsocket.obj : gsocket.cpp | |
97 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn gsocket.cpp | |
98 | mimetype.obj : mimetype.cpp | |
99 | threadpsx.obj : threadpsx.cpp | |
100 | utilsunx.obj : utilsunx.cpp | |
101 | utilsx11.obj : utilsx11.cpp | |
102 | joystick.obj : joystick.cpp | |
103 | snglinst.obj : snglinst.cpp | |
104 | sound.obj : sound.cpp | |
105 | sound_sdl.obj : sound_sdl.cpp | |
106 | stdpaths.obj : stdpaths.cpp | |
107 | taskbarx11.obj : taskbarx11.cpp |