]>
Commit | Line | Data |
---|---|---|
1 | #***************************************************************************** | |
2 | # * | |
3 | # Make file for VMS * | |
4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * | |
5 | # Date : 3 January 2008 * | |
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 __WXX11__ | |
17 | CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
18 | /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) | |
19 | CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ | |
20 | /name=(as_is,short) | |
21 | .else | |
22 | CXX_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 | bitmap.obj,\ | |
35 | brush.obj,\ | |
36 | glcanvas.obj,\ | |
37 | palette.obj,\ | |
38 | pen.obj,\ | |
39 | region.obj,\ | |
40 | utilsx.obj | |
41 | ||
42 | OBJECTS_X11=app.obj,dc.obj,\ | |
43 | dcclient.obj,\ | |
44 | dcmemory.obj,\ | |
45 | dcscreen.obj,\ | |
46 | evtloop.obj,\ | |
47 | font.obj,\ | |
48 | minifram.obj,\ | |
49 | nanox.obj,\ | |
50 | popupwin.obj,\ | |
51 | reparent.obj,\ | |
52 | settings.obj,\ | |
53 | toplevel.obj,\ | |
54 | utils.obj,\ | |
55 | window.obj,\ | |
56 | colour.obj,\ | |
57 | cursor.obj,\ | |
58 | data.obj,\ | |
59 | dataobj.obj,\ | |
60 | clipbrd.obj | |
61 | ||
62 | ||
63 | SOURCES = \ | |
64 | app.cpp,\ | |
65 | bitmap.cpp,\ | |
66 | brush.cpp,\ | |
67 | glcanvas.cpp,\ | |
68 | pen.cpp,\ | |
69 | region.cpp,\ | |
70 | utilsx.cpp,\ | |
71 | dc.cpp,\ | |
72 | dcclient.cpp,\ | |
73 | dcmemory.cpp,\ | |
74 | dcscreen.cpp,\ | |
75 | evtloop.cpp,\ | |
76 | font.cpp,\ | |
77 | minifram.cpp,\ | |
78 | nanox.c,\ | |
79 | palette.cpp,\ | |
80 | popupwin.cpp,\ | |
81 | reparent.cpp,\ | |
82 | settings.cpp,\ | |
83 | toplevel.cpp,\ | |
84 | utils.cpp,\ | |
85 | window.cpp,\ | |
86 | colour.cpp,\ | |
87 | cursor.cpp,\ | |
88 | data.cpp,\ | |
89 | dataobj.cpp,\ | |
90 | clipbrd.cpp | |
91 | ||
92 | all : $(SOURCES) | |
93 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
94 | .ifdef __WXMOTIF__ | |
95 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
96 | .else | |
97 | .ifdef __WXX11__ | |
98 | library [--.lib]libwx_x11_univ.olb $(OBJECTS) | |
99 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS_X11) | |
100 | library [--.lib]libwx_x11_univ.olb $(OBJECTS_X11) | |
101 | .endif | |
102 | .endif | |
103 | ||
104 | $(OBJECTS) : [--.include.wx]setup.h | |
105 | $(OBJECTS_X11) : [--.include.wx]setup.h | |
106 | ||
107 | bitmap.obj : bitmap.cpp | |
108 | brush.obj : brush.cpp | |
109 | glcanvas.obj : glcanvas.cpp | |
110 | pen.obj : pen.cpp | |
111 | region.obj : region.cpp | |
112 | utilsx.obj : utilsx.cpp | |
113 | dc.obj : dc.cpp | |
114 | dcclient.obj : dcclient.cpp | |
115 | dcmemory.obj : dcmemory.cpp | |
116 | dcscreen.obj : dcscreen.cpp | |
117 | evtloop.obj : evtloop.cpp | |
118 | font.obj : font.cpp | |
119 | minifram.obj : minifram.cpp | |
120 | nanox.obj : nanox.c | |
121 | palette.obj : palette.cpp | |
122 | popupwin.obj : popupwin.cpp | |
123 | reparent.obj : reparent.cpp | |
124 | settings.obj : settings.cpp | |
125 | toplevel.obj : toplevel.cpp | |
126 | utils.obj : utils.cpp | |
127 | window.obj : window.cpp | |
128 | colour.obj : colour.cpp | |
129 | app.obj : app.cpp | |
130 | cursor.obj : cursor.cpp | |
131 | data.obj : data.cpp | |
132 | dataobj.obj : dataobj.cpp | |
133 | clipbrd.obj : clipbrd.cpp |