]> git.saurik.com Git - wxWidgets.git/blob - src/unix/descrip.mms
compilation fix for wxStrlcpy use in STL Unicode build
[wxWidgets.git] / src / unix / descrip.mms
1 #*****************************************************************************
2 # *
3 # Make file for VMS *
4 # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
5 # Date : 10 September 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 __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 .ifdef __WXGTK2__
22 CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2)/float=ieee/name=(as_is,short)/ieee=denorm\
23 /assume=(nostdnew,noglobal_array_new)
24 CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2)/float=ieee/name=(as_is,short)/ieee=denorm
25 .else
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)
31 .else
32 CXX_DEFINE =
33 CC_DEFINE =
34 .endif
35 .endif
36 .endif
37 .endif
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 = appunix.obj,apptraits.obj,\
47 dialup.obj,\
48 dir.obj,\
49 displayx11.obj,\
50 dlunix.obj,\
51 fontenum.obj,\
52 fontutil.obj,\
53 gsocket.obj,\
54 mimetype.obj,\
55 threadpsx.obj,\
56 utilsunx.obj,\
57 utilsx11.obj,\
58 joystick.obj,\
59 snglinst.obj,\
60 sound.obj,\
61 sound_sdl.obj,\
62 stdpaths.obj,\
63 taskbarx11.obj,\
64 timerunx.obj,evtloopunix.obj
65
66 SOURCES = appunix.cpp,apptraits.cpp,\
67 dialup.cpp,\
68 dir.cpp,\
69 displayx11.cpp,\
70 dlunix.cpp,\
71 fontenum.cpp,\
72 fontutil.cpp,\
73 gsocket.cpp,\
74 mimetype.cpp,\
75 threadpsx.cpp,\
76 utilsunx.cpp,\
77 utilsx11.cpp,\
78 joystick.cpp,\
79 snglinst.cpp,\
80 sound.cpp,\
81 sound_sdl.cpp,\
82 stdpaths.cpp,\
83 taskbarx11.cpp,\
84 timerunx.cpp,evtloopunix.cpp
85
86 all : $(SOURCES)
87 $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
88 .ifdef __WXMOTIF__
89 library [--.lib]libwx_motif.olb $(OBJECTS)
90 .else
91 .ifdef __WXGTK__
92 library [--.lib]libwx_gtk.olb $(OBJECTS)
93 .else
94 .ifdef __WXGTK2__
95 library [--.lib]libwx_gtk2.olb $(OBJECTS)
96 .else
97 .ifdef __WXX11__
98 library [--.lib]libwx_x11_univ.olb $(OBJECTS)
99 .endif
100 .endif
101 .endif
102 .endif
103
104 appunix.obj : appunix.cpp
105 apptraits.obj : apptraits.cpp
106 dialup.obj : dialup.cpp
107 dir.obj : dir.cpp
108 dlunix.obj : dlunix.cpp
109 fontenum.obj : fontenum.cpp
110 fontutil.obj : fontutil.cpp
111 gsocket.obj : gsocket.cpp
112 cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn gsocket.cpp
113 mimetype.obj : mimetype.cpp
114 threadpsx.obj : threadpsx.cpp
115 utilsunx.obj : utilsunx.cpp
116 utilsx11.obj : utilsx11.cpp
117 joystick.obj : joystick.cpp
118 snglinst.obj : snglinst.cpp
119 sound.obj : sound.cpp
120 sound_sdl.obj : sound_sdl.cpp
121 stdpaths.obj : stdpaths.cpp
122 taskbarx11.obj : taskbarx11.cpp
123 displayx11.obj : displayx11.cpp
124 timerunx.obj : timerunx.cpp
125 evtloopunix.obj : evtloopunix.cpp