X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e38557f30bcba97a6eaa45e8c6dc0c4357b7bff..fd9655adba06e52553a90ebf18d8f2d939421a8d:/src/makeg95.env?ds=sidebyside diff --git a/src/makeg95.env b/src/makeg95.env index 5323dea56f..1a9851fdaf 100644 --- a/src/makeg95.env +++ b/src/makeg95.env @@ -69,7 +69,8 @@ OSTYPE=msys endif # If building DLL, the version -WXVERSION=250 +include version.mak +WXVERSION=$(wxMAJOR_VERSION)$(wxMINOR_VERSION)$(wxRELEASE_NUMBER_IFUNSTABLE) ifndef UNICODE UNICODE=0 @@ -218,10 +219,11 @@ OPTIONS = -DSTRICT $(_USE_W32API_HEADER_IF_SUPPORTED) # Add "-mthreads" if you want to have threads under mingw32 # Add "-mno-cygwin" if you want to link with msvcrt.dll in Cywin and Wine -# Otherwise, you link against the native runtime (cygwin.dll or libc) -# Having the flag in mingw32 does not hurt as you always link against msvcrt.dll -# By default it should be on, to minimize dependencies on Cygwin, and -# have more correct filename behaviour in Wine. +# Otherwise, you link against the native runtime (cygwin.dll +# or libc). Having the flag in mingw32 does not hurt as you +# always link against msvcrt.dll By default it should be on, +# to minimize dependencies on Cygwin, and have more correct +# filename behaviour in Wine. COMMON_FLAGS = -mno-cygwin # -mthreads # Debugging information @@ -240,7 +242,7 @@ WINVERSION=-DWINVER=0x0350 -D__GNUWIN32__ # Generic WIN32 else APPVER=4.0 # 3.50 # This means 'enable Windows 95 features' (in wxWindows and in the compiler). -WINVERSION=-DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ +WINVERSION=-DWINVER=0x0400 -D__GNUWIN32__ endif # This is never used and should be expunged. @@ -261,10 +263,10 @@ WARN = -Wall # build wxbase/wxMSW ifeq ($(wxUSE_GUI),1) TOOLKIT=msw - GUI = -D__WXMSW__ -D__WINDOWS__ + GUI = else TOOLKIT=base - GUI = -D__WXMSW__ -D__WINDOWS__ -DwxUSE_GUI=0 + GUI = -DwxUSE_GUI=0 endif ifeq ($(FINAL),1) @@ -290,15 +292,15 @@ OLELIBS=-lole32 -loleaut32 -luuid BASELIBS=-lstdc++ -lgcc -lodbc32 -lwsock32 ifeq ($(wxUSE_GUI),1) WINLIBS= $(BASELIBS) \ - -lwinspool -lwinmm -lshell32 \ - -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 \ - -lodbc32 -lwsock32 -lopengl32 -lglu32 $(OLELIBS) # -loldnames + -lwinspool -lwinmm -lshell32 \ + -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 \ + -lodbc32 -lwsock32 -lopengl32 -lglu32 $(OLELIBS) # -loldnames else WINLIBS=$(BASELIBS) endif #WINLIBS=-lstdc++ -lgcc \ -# -lwinspool -lwinmm -lshell32 \ +# -lwinspool -lwinmm -lshell32 \ # -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lwsock32 # -loldnames # Shouldn't need to change these...