#*****************************************************************************
# *
# Make file for VMS *
-# Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
-# Date : 10 November 1999 *
+# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
+# Date : 7 January 2009 *
# *
#*****************************************************************************
.first
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__
-CXX_DEFINE = /define=(__WXGTK__=1)
+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
+.else
+.ifdef __WXGTK2__
+CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2)/float=ieee/name=(as_is,short)/ieee=denorm\
+ /assume=(nostdnew,noglobal_array_new)
+CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2)/float=ieee/name=(as_is,short)/ieee=denorm
+.else
+.ifdef __WXX11__
+CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
+ /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)
+CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
+ /name=(as_is,short)
.else
CXX_DEFINE =
+CC_DEFINE =
+.endif
+.endif
.endif
.endif
.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 = \
+OBJECTS = appunix.obj,apptraits.obj,\
dialup.obj,\
dir.obj,\
+ displayx11.obj,\
+ dlunix.obj,\
fontenum.obj,\
fontutil.obj,\
- gsocket.obj,\
+ sockunix.obj,\
mimetype.obj,\
threadpsx.obj,\
- utilsunx.obj
+ utilsunx.obj,\
+ utilsx11.obj,\
+ joystick.obj,\
+ snglinst.obj,\
+ sound.obj,\
+ sound_sdl.obj,\
+ stdpaths.obj,\
+ taskbarx11.obj,\
+ timerunx.obj,evtloopunix.obj
-SOURCES = \
+SOURCES = appunix.cpp,apptraits.cpp,\
dialup.cpp,\
dir.cpp,\
+ displayx11.cpp,\
+ dlunix.cpp,\
fontenum.cpp,\
fontutil.cpp,\
- gsocket.c,\
+ sockunix.cpp,\
mimetype.cpp,\
threadpsx.cpp,\
- utilsunx.cpp
+ utilsunx.cpp,\
+ utilsx11.cpp,\
+ joystick.cpp,\
+ snglinst.cpp,\
+ sound.cpp,\
+ sound_sdl.cpp,\
+ stdpaths.cpp,\
+ taskbarx11.cpp,\
+ timerunx.cpp,evtloopunix.cpp
all : $(SOURCES)
$(MMS)$(MMSQUALIFIERS) $(OBJECTS)
.else
.ifdef __WXGTK__
library [--.lib]libwx_gtk.olb $(OBJECTS)
+.else
+.ifdef __WXGTK2__
+ library [--.lib]libwx_gtk2.olb $(OBJECTS)
+.else
+.ifdef __WXX11__
+ library [--.lib]libwx_x11_univ.olb $(OBJECTS)
+.endif
+.endif
.endif
.endif
+appunix.obj : appunix.cpp
+apptraits.obj : apptraits.cpp
dialup.obj : dialup.cpp
dir.obj : dir.cpp
+dlunix.obj : dlunix.cpp
fontenum.obj : fontenum.cpp
fontutil.obj : fontutil.cpp
-gsocket.obj : gsocket.c
+sockunix.obj : sockunix.cpp
+ cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn sockunix.cpp
mimetype.obj : mimetype.cpp
threadpsx.obj : threadpsx.cpp
utilsunx.obj : utilsunx.cpp
+utilsx11.obj : utilsx11.cpp
+joystick.obj : joystick.cpp
+snglinst.obj : snglinst.cpp
+sound.obj : sound.cpp
+sound_sdl.obj : sound_sdl.cpp
+stdpaths.obj : stdpaths.cpp
+taskbarx11.obj : taskbarx11.cpp
+displayx11.obj : displayx11.cpp
+timerunx.obj : timerunx.cpp
+evtloopunix.obj : evtloopunix.cpp
+ cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn evtloopunix.cpp