]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/unix/descrip.mms
Simplified and extended compiler detection for OS/2.
[wxWidgets.git] / src / unix / descrip.mms
... / ...
CommitLineData
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__
12CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
13 /assume=(nostdnew,noglobal_array_new)
14CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)
15.else
16.ifdef __WXGTK__
17CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
18 /assume=(nostdnew,noglobal_array_new)
19CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm
20.else
21.ifdef __WXX11__
22CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
23 /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)
24CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
25 /name=(as_is,short)
26.else
27CXX_DEFINE =
28CC_DEFINE =
29.endif
30.endif
31.endif
32
33.suffixes : .cpp
34
35.cpp.obj :
36 cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
37.c.obj :
38 cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
39
40OBJECTS = baseunix.obj,\
41 dialup.obj,\
42 dir.obj,\
43 dlunix.obj,\
44 fontenum.obj,\
45 fontutil.obj,\
46 gsocket.obj,\
47 mimetype.obj,\
48 threadpsx.obj,\
49 utilsunx.obj,\
50 utilsx11.obj,\
51 joystick.obj,\
52 snglinst.obj,\
53 sound.obj,\
54 sound_sdl.obj,\
55 stdpaths.obj,\
56 taskbarx11.obj
57
58SOURCES = baseunix.cpp,\
59 dialup.cpp,\
60 dir.cpp,\
61 dlunix.cpp,\
62 fontenum.cpp,\
63 fontutil.cpp,\
64 gsocket.cpp,\
65 mimetype.cpp,\
66 threadpsx.cpp,\
67 utilsunx.cpp,\
68 utilsx11.cpp,\
69 joystick.cpp,\
70 snglinst.cpp,\
71 sound.cpp,\
72 sound_sdl.cpp,\
73 stdpaths.cpp,\
74 taskbarx11.cpp
75
76all : $(SOURCES)
77 $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
78.ifdef __WXMOTIF__
79 library [--.lib]libwx_motif.olb $(OBJECTS)
80.else
81.ifdef __WXGTK__
82 library [--.lib]libwx_gtk.olb $(OBJECTS)
83.else
84.ifdef __WXX11__
85 library [--.lib]libwx_x11_univ.olb $(OBJECTS)
86.endif
87.endif
88.endif
89
90baseunix.obj : baseunix.cpp
91dialup.obj : dialup.cpp
92dir.obj : dir.cpp
93dlunix.obj : dlunix.cpp
94fontenum.obj : fontenum.cpp
95fontutil.obj : fontutil.cpp
96gsocket.obj : gsocket.cpp
97 cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn gsocket.cpp
98mimetype.obj : mimetype.cpp
99threadpsx.obj : threadpsx.cpp
100utilsunx.obj : utilsunx.cpp
101utilsx11.obj : utilsx11.cpp
102joystick.obj : joystick.cpp
103snglinst.obj : snglinst.cpp
104sound.obj : sound.cpp
105sound_sdl.obj : sound_sdl.cpp
106stdpaths.obj : stdpaths.cpp
107taskbarx11.obj : taskbarx11.cpp