]>
Commit | Line | Data |
---|---|---|
69c44812 MB |
1 | #***************************************************************************** |
2 | # * | |
3 | # Make file for VMS * | |
097b868b | 4 | # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * |
2395c7a1 | 5 | # Date : 3 January 2008 * |
69c44812 MB |
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 | |
1aebc200 JJ |
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 | |
69c44812 MB |
22 | CXX_DEFINE = |
23 | .endif | |
1aebc200 | 24 | .endif |
69c44812 MB |
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 = \ | |
aae0472b | 34 | bitmap.obj,\ |
69c44812 | 35 | brush.obj,\ |
05e770c4 | 36 | glcanvas.obj,\ |
2395c7a1 | 37 | palette.obj,\ |
aae0472b | 38 | pen.obj,\ |
a538c1c3 | 39 | region.obj,\ |
aae0472b | 40 | utilsx.obj |
69c44812 | 41 | |
a371f703 | 42 | OBJECTS_X11=app.obj,dc.obj,\ |
1aebc200 JJ |
43 | dcclient.obj,\ |
44 | dcmemory.obj,\ | |
45 | dcscreen.obj,\ | |
46 | evtloop.obj,\ | |
47 | font.obj,\ | |
1aebc200 JJ |
48 | minifram.obj,\ |
49 | nanox.obj,\ | |
1aebc200 JJ |
50 | popupwin.obj,\ |
51 | reparent.obj,\ | |
52 | settings.obj,\ | |
53 | toplevel.obj,\ | |
54 | utils.obj,\ | |
a371f703 JJ |
55 | window.obj,\ |
56 | colour.obj,\ | |
57 | cursor.obj,\ | |
58 | data.obj,\ | |
59 | dataobj.obj,\ | |
60 | clipbrd.obj | |
1aebc200 JJ |
61 | |
62 | ||
69c44812 | 63 | SOURCES = \ |
a371f703 | 64 | app.cpp,\ |
aae0472b | 65 | bitmap.cpp,\ |
69c44812 | 66 | brush.cpp,\ |
05e770c4 | 67 | glcanvas.cpp,\ |
aae0472b | 68 | pen.cpp,\ |
a538c1c3 | 69 | region.cpp,\ |
1aebc200 JJ |
70 | utilsx.cpp,\ |
71 | dc.cpp,\ | |
72 | dcclient.cpp,\ | |
73 | dcmemory.cpp,\ | |
74 | dcscreen.cpp,\ | |
75 | evtloop.cpp,\ | |
76 | font.cpp,\ | |
1aebc200 | 77 | minifram.cpp,\ |
a371f703 | 78 | nanox.c,\ |
1aebc200 JJ |
79 | palette.cpp,\ |
80 | popupwin.cpp,\ | |
81 | reparent.cpp,\ | |
82 | settings.cpp,\ | |
83 | toplevel.cpp,\ | |
84 | utils.cpp,\ | |
a371f703 JJ |
85 | window.cpp,\ |
86 | colour.cpp,\ | |
87 | cursor.cpp,\ | |
88 | data.cpp,\ | |
89 | dataobj.cpp,\ | |
90 | clipbrd.cpp | |
69c44812 MB |
91 | |
92 | all : $(SOURCES) | |
93 | $(MMS)$(MMSQUALIFIERS) $(OBJECTS) | |
94 | .ifdef __WXMOTIF__ | |
95 | library [--.lib]libwx_motif.olb $(OBJECTS) | |
1aebc200 JJ |
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 | |
69c44812 MB |
102 | .endif |
103 | ||
2395c7a1 JJ |
104 | $(OBJECTS) : [--.include.wx]setup.h |
105 | $(OBJECTS_X11) : [--.include.wx]setup.h | |
106 | ||
aae0472b | 107 | bitmap.obj : bitmap.cpp |
69c44812 | 108 | brush.obj : brush.cpp |
05e770c4 | 109 | glcanvas.obj : glcanvas.cpp |
69c44812 | 110 | pen.obj : pen.cpp |
dc3b0532 | 111 | region.obj : region.cpp |
aae0472b | 112 | utilsx.obj : utilsx.cpp |
1aebc200 JJ |
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 | |
1aebc200 | 119 | minifram.obj : minifram.cpp |
a371f703 | 120 | nanox.obj : nanox.c |
1aebc200 JJ |
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 | |
a371f703 JJ |
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 |