]>
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 | CXX_DEFINE = | |
22 | CC_DEFINE = | |
23 | .endif | |
24 | .endif | |
25 | ||
26 | .suffixes : .cpp | |
27 | ||
28 | .cpp.obj : | |
29 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
30 | .c.obj : | |
31 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c | |
32 | ||
33 | OBJECTS = \ | |
34 | dialup.obj,\ | |
35 | dir.obj,\ | |
36 | fontenum.obj,\ | |
37 | fontutil.obj,\ | |
38 | gsocket.obj,\ | |
39 | mimetype.obj,\ | |
40 | threadpsx.obj,\ | |
41 | utilsunx.obj | |
42 | ||
43 | SOURCES = \ | |
44 | dialup.cpp,\ | |
45 | dir.cpp,\ | |
46 | fontenum.cpp,\ | |
47 | fontutil.cpp,\ | |
48 | gsocket.c,\ | |
49 | mimetype.cpp,\ | |
50 | threadpsx.cpp,\ | |
51 | utilsunx.cpp | |
52 | ||
53 | all : $(SOURCES) | |
54 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
55 | .ifdef __WXMOTIF__ | |
56 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
57 | .else | |
58 | .ifdef __WXGTK__ | |
59 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
60 | .endif | |
61 | .endif | |
62 | ||
63 | dialup.obj : dialup.cpp | |
64 | dir.obj : dir.cpp | |
65 | fontenum.obj : fontenum.cpp | |
66 | fontutil.obj : fontutil.cpp | |
67 | gsocket.obj : gsocket.c | |
68 | mimetype.obj : mimetype.cpp | |
69 | threadpsx.obj : threadpsx.cpp | |
70 | utilsunx.obj : utilsunx.cpp |