]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/caret/descrip.mms
For wxGTK2, link with X11 explicitly, since we use many X11 functions directly.
[wxWidgets.git] / samples / caret / descrip.mms
index 56acfb3d333d019c8dd33b56719d513d8e1d6204..330613b415bd576b6f66c9df12bf077043e7bd4c 100644 (file)
@@ -9,10 +9,16 @@
        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)
+.else
+.ifdef __WXGTK__
+CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
+          /assume=(nostdnew,noglobal_array_new)
 .else
 CXX_DEFINE =
 .endif
+.endif
 
 .suffixes : .cpp
 
@@ -20,11 +26,22 @@ CXX_DEFINE =
        cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
 
 all :
+.ifdef __WXMOTIF__
        $(MMS)$(MMSQUALIFIERS) caret.exe
+.else
+.ifdef __WXGTK__
+       $(MMS)$(MMSQUALIFIERS) caret_gtk.exe
+.endif
+.endif
 
-caret.exe : caret.obj
 .ifdef __WXMOTIF__
+caret.exe : caret.obj
        cxxlink caret,[--.lib]vms/opt
+.else
+.ifdef __WXGTK__
+caret_gtk.exe : caret.obj
+       cxxlink/exec=caret_gtk.exe caret,[--.lib]vms_gtk/opt
+.endif
 .endif
 
 caret.obj : caret.cpp