]>
Commit | Line | Data |
---|---|---|
62edfd9e JJ |
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__ | |
4dff3400 JJ |
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) | |
62edfd9e | 15 | .else |
3fa056ab | 16 | .ifdef __WXGTK__ |
de5fadb4 JJ |
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 | |
14329e03 JJ |
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 | |
de5fadb4 | 26 | .endif |
3fa056ab | 27 | .else |
62edfd9e | 28 | CXX_DEFINE = |
14329e03 | 29 | CC_DEFINE = |
62edfd9e | 30 | .endif |
3fa056ab | 31 | .endif |
62edfd9e JJ |
32 | |
33 | .suffixes : .cpp | |
34 | ||
35 | .cpp.obj : | |
36 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
37 | .c.obj : | |
14329e03 | 38 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c |
62edfd9e | 39 | |
04272d58 | 40 | OBJECTS = baseunix.obj,\ |
62edfd9e | 41 | dialup.obj,\ |
f49676ee | 42 | dir.obj,\ |
62edfd9e JJ |
43 | fontenum.obj,\ |
44 | fontutil.obj,\ | |
45 | gsocket.obj,\ | |
f49676ee | 46 | mimetype.obj,\ |
62edfd9e | 47 | threadpsx.obj,\ |
130d96dc JJ |
48 | utilsunx.obj,\ |
49 | utilsx11.obj | |
62edfd9e | 50 | |
04272d58 | 51 | SOURCES = baseunix.cpp,\ |
62edfd9e | 52 | dialup.cpp,\ |
f49676ee | 53 | dir.cpp,\ |
62edfd9e JJ |
54 | fontenum.cpp,\ |
55 | fontutil.cpp,\ | |
56 | gsocket.c,\ | |
f49676ee | 57 | mimetype.cpp,\ |
62edfd9e | 58 | threadpsx.cpp,\ |
130d96dc JJ |
59 | utilsunx.cpp,\ |
60 | utilsx11.cpp | |
62edfd9e JJ |
61 | |
62 | all : $(SOURCES) | |
63 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
64 | .ifdef __WXMOTIF__ | |
65 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
3fa056ab JJ |
66 | .else |
67 | .ifdef __WXGTK__ | |
de5fadb4 JJ |
68 | .ifdef __WXUNIVERSAL__ |
69 | library [--.lib]libwx_gtk_univ.olb $(OBJECTS) | |
70 | .else | |
3fa056ab JJ |
71 | library [--.lib]libwx_gtk.olb $(OBJECTS) |
72 | .endif | |
62edfd9e | 73 | .endif |
de5fadb4 | 74 | .endif |
62edfd9e | 75 | |
04272d58 | 76 | baseunix.obj : baseunix.cpp |
62edfd9e | 77 | dialup.obj : dialup.cpp |
f49676ee | 78 | dir.obj : dir.cpp |
62edfd9e JJ |
79 | fontenum.obj : fontenum.cpp |
80 | fontutil.obj : fontutil.cpp | |
81 | gsocket.obj : gsocket.c | |
f49676ee | 82 | mimetype.obj : mimetype.cpp |
62edfd9e JJ |
83 | threadpsx.obj : threadpsx.cpp |
84 | utilsunx.obj : utilsunx.cpp | |
130d96dc | 85 | utilsx11.obj : utilsx11.cpp |