]> git.saurik.com Git - wxWidgets.git/blame - src/unix/descrip.mms
-o flag must be after PIC flag for gcc under HPUX
[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__
de5fadb4
JJ
17.ifdef __WXUNIVERSAL__
18CXX_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
19 /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new)
20CC_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
21 /name=(as_is,short)/ieee=denorm
22.else
14329e03
JJ
23CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
24 /assume=(nostdnew,noglobal_array_new)
25CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm
de5fadb4 26.endif
3fa056ab 27.else
62edfd9e 28CXX_DEFINE =
14329e03 29CC_DEFINE =
62edfd9e 30.endif
3fa056ab 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
JJ
39
40OBJECTS = \
41 dialup.obj,\
f49676ee 42 dir.obj,\
62edfd9e
JJ
43 fontenum.obj,\
44 fontutil.obj,\
45 gsocket.obj,\
f49676ee 46 mimetype.obj,\
62edfd9e 47 threadpsx.obj,\
130d96dc
JJ
48 utilsunx.obj,\
49 utilsx11.obj
62edfd9e
JJ
50
51SOURCES = \
52 dialup.cpp,\
f49676ee 53 dir.cpp,\
62edfd9e
JJ
54 fontenum.cpp,\
55 fontutil.cpp,\
56 gsocket.c,\
f49676ee 57 mimetype.cpp,\
62edfd9e 58 threadpsx.cpp,\
130d96dc
JJ
59 utilsunx.cpp,\
60 utilsx11.cpp
62edfd9e
JJ
61
62all : $(SOURCES)
63 $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
64.ifdef __WXMOTIF__
65 library [--.lib]libwx_motif.olb $(OBJECTS)
3fa056ab
JJ
66.else
67.ifdef __WXGTK__
de5fadb4
JJ
68.ifdef __WXUNIVERSAL__
69 library [--.lib]libwx_gtk_univ.olb $(OBJECTS)
70.else
3fa056ab
JJ
71 library [--.lib]libwx_gtk.olb $(OBJECTS)
72.endif
62edfd9e 73.endif
de5fadb4 74.endif
62edfd9e
JJ
75
76dialup.obj : dialup.cpp
f49676ee 77dir.obj : dir.cpp
62edfd9e
JJ
78fontenum.obj : fontenum.cpp
79fontutil.obj : fontutil.cpp
80gsocket.obj : gsocket.c
f49676ee 81mimetype.obj : mimetype.cpp
62edfd9e
JJ
82threadpsx.obj : threadpsx.cpp
83utilsunx.obj : utilsunx.cpp
130d96dc 84utilsx11.obj : utilsx11.cpp