]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/descrip.mms
unapplied part of Dimitri's patch at his request
[wxWidgets.git] / src / unix / descrip.mms
index 4a08ab7d431b118a44c48033d9eb651a10551287..2b3d08c45291aa03ca67ce858536269bddfec736 100644 (file)
@@ -9,9 +9,25 @@
        define wx [--.include.wx]
 
 .ifdef __WXMOTIF__
-CXX_DEFINE = /define=(__WXMOTIF__=1)
+CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
+          /assume=(nostdnew,noglobal_array_new)
+CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)
+.else
+.ifdef __WXGTK__
+.ifdef __WXUNIVERSAL__
+CXX_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
+       /name=(as_is,short)/ieee=denorm/assume=(nostdnew,noglobal_array_new)
+CC_DEFINE = /define=(__WXGTK__=1,__WXUNIVERSAL__==1)/float=ieee\
+       /name=(as_is,short)/ieee=denorm
+.else
+CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
+          /assume=(nostdnew,noglobal_array_new)
+CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm
+.endif
 .else
 CXX_DEFINE =
+CC_DEFINE =
+.endif
 .endif
 
 .suffixes : .cpp
@@ -19,7 +35,7 @@ CXX_DEFINE =
 .cpp.obj :
        cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
 .c.obj :
-       cc $(CFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).c
+       cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c
 
 OBJECTS = \
                dialup.obj,\
@@ -29,7 +45,8 @@ OBJECTS = \
                gsocket.obj,\
                mimetype.obj,\
                threadpsx.obj,\
-               utilsunx.obj
+               utilsunx.obj,\
+               utilsx11.obj
 
 SOURCES = \
                dialup.cpp,\
@@ -39,12 +56,21 @@ SOURCES = \
                gsocket.c,\
                mimetype.cpp,\
                threadpsx.cpp,\
-               utilsunx.cpp
+               utilsunx.cpp,\
+               utilsx11.cpp
 
 all : $(SOURCES)
        $(MMS)$(MMSQUALIFIERS) $(OBJECTS)
 .ifdef __WXMOTIF__
        library [--.lib]libwx_motif.olb $(OBJECTS)
+.else
+.ifdef __WXGTK__
+.ifdef __WXUNIVERSAL__
+       library [--.lib]libwx_gtk_univ.olb $(OBJECTS)
+.else
+       library [--.lib]libwx_gtk.olb $(OBJECTS)
+.endif
+.endif
 .endif
 
 dialup.obj : dialup.cpp
@@ -55,3 +81,4 @@ gsocket.obj : gsocket.c
 mimetype.obj : mimetype.cpp
 threadpsx.obj : threadpsx.cpp
 utilsunx.obj : utilsunx.cpp
+utilsx11.obj : utilsx11.cpp