]>
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 | .ifdef __WXUNIVERSAL__ | |
18 | CXX_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
19 | /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new) | |
20 | CC_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
21 | /name=(as_is,short)/ieee=denorm | |
22 | .else | |
23 | CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
24 | /assume=(nostdnew,noglobal_array_new) | |
25 | CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm | |
26 | .endif | |
27 | .else | |
28 | CXX_DEFINE = | |
29 | CC_DEFINE = | |
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 | ||
51 | SOURCES = baseunix.cpp,\ | |
52 | dialup.cpp,\ | |
53 | dir.cpp,\ | |
54 | fontenum.cpp,\ | |
55 | fontutil.cpp,\ | |
56 | gsocket.c,\ | |
57 | mimetype.cpp,\ | |
58 | threadpsx.cpp,\ | |
59 | utilsunx.cpp,\ | |
60 | utilsx11.cpp | |
61 | ||
62 | all : $(SOURCES) | |
63 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
64 | .ifdef __WXMOTIF__ | |
65 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
66 | .else | |
67 | .ifdef __WXGTK__ | |
68 | .ifdef __WXUNIVERSAL__ | |
69 | library [--.lib]libwx_gtk_univ.olb $(OBJECTS) | |
70 | .else | |
71 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
72 | .endif | |
73 | .endif | |
74 | .endif | |
75 | ||
76 | baseunix.obj : baseunix.cpp | |
77 | dialup.obj : dialup.cpp | |
78 | dir.obj : dir.cpp | |
79 | fontenum.obj : fontenum.cpp | |
80 | fontutil.obj : fontutil.cpp | |
81 | gsocket.obj : gsocket.c | |
82 | mimetype.obj : mimetype.cpp | |
83 | threadpsx.obj : threadpsx.cpp | |
84 | utilsunx.obj : utilsunx.cpp | |
85 | utilsx11.obj : utilsx11.cpp |