]>
Commit | Line | Data |
---|---|---|
0041d4b6 JJ |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
93d3dbd4 | 4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
a9638bb6 | 5 | # Date : 21 June 2010 * |
0041d4b6 JJ |
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 | |
1aebc200 | 20 | .else |
93d3dbd4 JJ |
21 | .ifdef __WXGTK2__ |
22 | CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ | |
23 | /assume=(nostdnew,noglobal_array_new) | |
24 | CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm | |
25 | .else | |
1aebc200 JJ |
26 | .ifdef __WXX11__ |
27 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
28 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) | |
29 | CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
30 | /name=(as_is,short) | |
0041d4b6 JJ |
31 | .else |
32 | CXX_DEFINE = | |
33 | CC_DEFINE = | |
34 | .endif | |
35 | .endif | |
1aebc200 | 36 | .endif |
93d3dbd4 | 37 | .endif |
0041d4b6 JJ |
38 | |
39 | .suffixes : .cpp | |
40 | ||
41 | .cpp.obj : | |
42 | cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp | |
43 | .c.obj : | |
44 | cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c | |
45 | ||
46 | OBJECTS = \ | |
47 | helpctrl.obj,helpdata.obj,helpfrm.obj,htmlcell.obj,htmlfilt.obj,\ | |
48 | htmlpars.obj,htmltag.obj,htmlwin.obj,htmprint.obj,m_dflist.obj,\ | |
49 | m_fonts.obj,m_hline.obj,m_image.obj,m_layout.obj,m_links.obj,\ | |
a9638bb6 JJ |
50 | m_list.obj,m_pre.obj,m_tables.obj,winpars.obj,chm.obj,m_style.obj,\ |
51 | styleparams.obj,m_span.obj | |
0041d4b6 JJ |
52 | |
53 | SOURCES = \ | |
54 | helpctrl.cpp,helpdata.cpp,helpfrm.cpp,htmlcell.cpp,htmlfilt.cpp,\ | |
55 | htmlpars.cpp,htmltag.cpp,htmlwin.cpp,htmprint.cpp,m_dflist.cpp,\ | |
56 | m_fonts.cpp,m_hline.cpp,m_image.cpp,m_layout.cpp,m_links.cpp,\ | |
a9638bb6 JJ |
57 | m_list.cpp,m_pre.cpp,m_tables.cpp,winpars.cpp,chm.cpp,m_style.cpp,\ |
58 | styleparams.cpp,m_span.cpp | |
0041d4b6 JJ |
59 | |
60 | all : $(SOURCES) | |
61 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
62 | .ifdef __WXMOTIF__ | |
63 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
64 | .else | |
65 | .ifdef __WXGTK__ | |
66 | library [--.lib]libwx_gtk.olb $(OBJECTS) | |
1aebc200 | 67 | .else |
93d3dbd4 JJ |
68 | .ifdef __WXGTK2__ |
69 | library [--.lib]libwx_gtk2.olb $(OBJECTS) | |
70 | .else | |
1aebc200 JJ |
71 | .ifdef __WXX11__ |
72 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
0041d4b6 JJ |
73 | .endif |
74 | .endif | |
de5fadb4 | 75 | .endif |
93d3dbd4 | 76 | .endif |
0041d4b6 JJ |
77 | |
78 | helpctrl.obj : helpctrl.cpp | |
79 | helpdata.obj : helpdata.cpp | |
80 | helpfrm.obj : helpfrm.cpp | |
81 | htmlcell.obj : htmlcell.cpp | |
82 | htmlfilt.obj : htmlfilt.cpp | |
83 | htmlpars.obj : htmlpars.cpp | |
84 | htmltag.obj : htmltag.cpp | |
85 | htmlwin.obj : htmlwin.cpp | |
86 | htmprint.obj : htmprint.cpp | |
87 | m_dflist.obj : m_dflist.cpp | |
88 | m_fonts.obj : m_fonts.cpp | |
89 | m_hline.obj : m_hline.cpp | |
90 | m_image.obj : m_image.cpp | |
91 | m_layout.obj : m_layout.cpp | |
92 | m_links.obj : m_links.cpp | |
93 | m_list.obj : m_list.cpp | |
0041d4b6 JJ |
94 | m_pre.obj : m_pre.cpp |
95 | m_tables.obj : m_tables.cpp | |
96 | winpars.obj : winpars.cpp | |
145c0c86 | 97 | cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn winpars.cpp |
1aebc200 | 98 | chm.obj : chm.cpp |
145c0c86 | 99 | m_style.obj : m_style.cpp |
a9638bb6 JJ |
100 | styleparams.obj : styleparams.cpp |
101 | m_span.obj : m_span.cpp |