]>
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 | taskbarx11.obj | |
55 | ||
56 | SOURCES = baseunix.cpp,\ | |
57 | dialup.cpp,\ | |
58 | dir.cpp,\ | |
59 | fontenum.cpp,\ | |
60 | fontutil.cpp,\ | |
61 | gsocket.c,\ | |
62 | mimetype.cpp,\ | |
63 | threadpsx.cpp,\ | |
64 | utilsunx.cpp,\ | |
65 | utilsx11.cpp,\ | |
66 | joystick.cpp,\ | |
67 | snglinst.cpp,\ | |
68 | sound.cpp,\ | |
69 | sound_sdl.cpp,\ | |
70 | taskbarx11.cpp | |
71 | ||
72 | all : $(SOURCES) | |
73 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
74 | .ifdef __WXMOTIF__ | |
75 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
76 | .else | |
77 | .ifdef __WXGTK__ | |
78 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
79 | .else | |
80 | .ifdef __WXX11__ | |
81 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
82 | .endif | |
83 | .endif | |
84 | .endif | |
85 | ||
86 | baseunix.obj : baseunix.cpp | |
87 | dialup.obj : dialup.cpp | |
88 | dir.obj : dir.cpp | |
89 | fontenum.obj : fontenum.cpp | |
90 | fontutil.obj : fontutil.cpp | |
91 | gsocket.obj : gsocket.c | |
92 | mimetype.obj : mimetype.cpp | |
93 | threadpsx.obj : threadpsx.cpp | |
94 | utilsunx.obj : utilsunx.cpp | |
95 | utilsx11.obj : utilsx11.cpp | |
96 | joystick.obj : joystick.cpp | |
97 | snglinst.obj : snglinst.cpp | |
98 | sound.obj : sound.cpp | |
99 | sound_sdl.obj : sound_sdl.cpp | |
100 | taskbarx11.obj : taskbarx11.cpp |