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