Subversion Repositories eduke32

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5941 1628d 8h hendricks266 /polymer/eduke32/Makefile.common Makefile: Fold OSX_STARTUPWINDOW into STARTUP_WINDOW. DONT_BUILD.  
5928 1646d 14h terminx /polymer/eduke32/Makefile.common Support building without a startup window through the Makefile. DONT_BUILD.  
5927 1648d 10h hendricks266 /polymer/eduke32/Makefile.common Add support for MOD, XM, IT, and S3M tracker music through libxmp-lite.

Building with support must be manually enabled by invoking make with HAVE_XMP=1 on platforms other than Windows, because libxmp-lite is not common in package managers. This setup will be improved in the future.
 
5920 1657d 20h hendricks266 /polymer/eduke32/Makefile.common Makefile: Remove -fno-pic from everywhere. This should fix building on Ubuntu 16.10 and any other platform that has PIE enabled.  
5919 1657d 20h hendricks266 /polymer/eduke32/Makefile.common Makefile: Revert r5864 and move some code introduced in r5762 to a later Mac-only block so that architecture detection is not broken on Linux.  
5869 1700d 15h hendricks266 /polymer/eduke32/Makefile.common Makefile: Allow an invocation like `make CC=clang-3.8` to work properly.  
5864 1700d 15h hendricks266 /polymer/eduke32/Makefile.common Makefile: Only apply $(ARCH) processing code on Macs.  
5778 1794d 6h hendricks266 /polymer/eduke32/Makefile.common Makefile: Revamp setup of all things SDL.

Highlights:
*Building with msys2 can now take advantage of sdl-config and sdl2-config if present.
*Add a header check to error out if SDL_mixer's major version does not match SDL.
*Building with frameworks on OS X works again.

Notes:
*Those cross compiling, particularly targeting Windows, may need to invoke make with SDLCONFIG='' to avoid bringing in libs and headers from the host.
 
5777 1794d 6h hendricks266 /polymer/eduke32/Makefile.common Makefile: Add NULLSTREAM to factor out the NUL part of DONT_PRINT.  
5776 1794d 6h hendricks266 /polymer/eduke32/Makefile.common Makefile: Add a special set of default optimization options when building for the Haswell-specific x86_64h architecture designation.  
5768 1804d 8h hendricks266 /polymer/eduke32/Makefile.common Remove trailing whitespace from anything we don't need to rebase from an upstream.  
5766 1804d 8h hendricks266 /polymer/eduke32/Makefile.common Makefile: Switch the detection order of OPTOPT flags so that i386 is checked after x86_64. This ensures full compatibility for fat OS X binaries built using ARCH="-arch i386 -arch x86_64".  
5764 1806d 8h hendricks266 /polymer/eduke32/Makefile.common Makefile: Make Objective-C code build as Objective-C++ when we build C code as C++.  
5763 1806d 8h hendricks266 /polymer/eduke32/Makefile.common Makefile: Add extra optimization defaults for OS X builds since all Intel Macs are guaranteed certain features due to the time of their debut.  
5762 1806d 8h hendricks266 /polymer/eduke32/Makefile.common Makefile: Clean up handling of architectures.  
5760 1810d 16h hendricks266 /polymer/eduke32/Makefile.common Clean up self-modifying assembly unprotection and add PROT_EXEC to mprotect() calls.

This fixes NOASM=0 under OS X.
 
5752 1817d 8h hendricks266 /polymer/eduke32/Makefile.common Makefile: Add L_CXXONLYFLAGS, and use it to pass "-static-libstdc++" on Windows.  
5751 1817d 8h hendricks266 /polymer/eduke32/Makefile.common Makefile: Remove STATICSTDCPP variable.  
5750 1817d 8h hendricks266 /polymer/eduke32/Makefile.common Makefile: Rename "CPPONLYFLAGS" variable to "CXXONLYFLAGS", since "CPPFLAGS" traditionaly refers to the C preprocessor, not C++.  
5743 1817d 8h hendricks266 /polymer/eduke32/Makefile.common Makefile: Shorten host platform detection code and improve it on Windows to try using $(OS) before invoking uname, and to catch "MSYS" in addition to "MINGW" in uname's output.  

Show All