Commit graph

380 commits

Author SHA1 Message Date
Sven Eckelmann
3a2a7ac2d0 Inform user about the possibility to make the build verbose 2011-07-03 18:04:47 +02:00
Sven Eckelmann
5be4fd59c5 Set changeable default compiler optimization option 2011-07-03 18:03:15 +02:00
Sven Eckelmann
4deb188d41 Remove mupencheat.txt in uninstall target 2011-06-27 13:20:20 +02:00
Sven Eckelmann
08ee24e241 Fix unresolved SDL symbols 2011-06-27 13:06:28 +02:00
Sven Eckelmann
0dc48bce8d Test for essential build dependencies before getting their cflags/libs 2011-06-27 11:36:09 +02:00
Sven Eckelmann
62d924b182 Use sdl-config to find sdl gcc parameters to not interfere with Auria's OSX hacks 2011-06-27 10:34:02 +02:00
Sven Eckelmann
9e6ba133ad Add fallback to create symlink in installation directory for some *BSDs 2011-06-26 21:28:24 +02:00
Sven Eckelmann
4bddc37c3f Use ldconfig -n on Linux and ldconfig -m on *BSD 2011-06-26 21:20:25 +02:00
Sven Eckelmann
912cd431ff Don't use _BIG_ENDIAN to check for endianness as it is always set on OpenBSD 2011-06-26 20:18:10 +02:00
Sven Eckelmann
d72328e2a7 Add OpenBSD as half-supported OS with FreeBSD userspace tools 2011-06-26 18:37:19 +02:00
Sven Eckelmann
5b12eed5e8 Remove -v parameter of install which is not available everywhere 2011-06-26 18:29:24 +02:00
Sven Eckelmann
fe1604aaba Don't run ldconfig on all directories 2011-06-26 16:05:12 +02:00
Sven Eckelmann
5ba45f4748 Synchronize build rules with standard gnu make rules 2011-06-26 15:32:42 +02:00
Sven Eckelmann
293e2ddbdd Fix compilation with BITS=32 when using gcc-4.6 2011-06-25 21:29:58 +02:00
Sven Eckelmann
ebc651a9cd Remove unneccessary define PIC 2011-06-25 15:09:32 +02:00
Sven Eckelmann
b798eb425c Don't override optimisations set by linux build environment 2011-06-25 13:58:11 +02:00
Sven Eckelmann
5aea4de9a8 Use pkg-config as more portable way to find liblircclient0, libpng, zlib, freetype2, gl, glu and sdl 2011-06-25 11:03:54 +02:00
Richard Goedeken
e9acac2223 issue #401: instead of checking for root (UID=0) before running ldconfig during 'make install', always run it but disregard any error. This is needed by some package managers which install with 'fakeroot', which gives UID=0 but has no permission to run ldconfig 2010-12-29 09:39:35 -05:00
Richard Goedeken
07f88191b9 fix for error during make install on OSX 2010-08-17 20:47:26 -04:00
Sven Eckelmann
9cd4061ab3 Add GNU/Hurd as operating system with "linux" userland
---
2010-07-13 21:31:08 +02:00
Richard Goedeken
e308c4d9be FreeBSD makefile patches from David Demelier 2010-05-16 12:37:14 -04:00
Sven Eckelmann
517ddb24e8 Only use ld option -version-script on systems with GNU userland tools 2010-03-20 16:55:41 +01:00
Sven Eckelmann
9de6e3568d Build kfreebsd and GNU/kFreeBSD like Linux 2010-03-19 12:16:37 +01:00
Sven Eckelmann
456cb4a2c1 Make hidden symbols the default behavior of gcc 2010-03-18 12:23:40 +01:00
Sven Eckelmann
f8c7981ba6 Export only functions which are part of the api
The g++ also exports symbols of implicit instantiations of templates. These
aren't part of the api and must not be accessed by any other part of
mupen64plus. We can use version-scripts to surpress these symbols without using
explizit instantiations of all templates we use.
2010-03-18 12:22:26 +01:00
Sven Eckelmann
124be15f94 Don't export inlined functions in C++ files 2010-03-18 11:12:15 +01:00
Sven Eckelmann
33faf704dd Reduced console output when running make without V=1 2010-03-18 10:59:11 +01:00
Sven Eckelmann
6bc14fdda3 Use separate CXXFLAGS environment variable when calling CXX 2010-03-18 10:10:38 +01:00
Sven Eckelmann
542754dd9c Add automatically dependency tracking for C/C++ files
Every time a header is changed, the user had to cleanup the whole project and
then rebuild it. It is quite easy to fix and should help a lot when working on
the project. The dependency files will be created at the first run (when
dependency tracking isn't useful anyway) and should create nearly no overhead.
2010-03-04 22:47:43 +01:00
GoedekenR
04f3a10797 Remove #include <stdint.h> and <stdbool.h> from new R4300 debugger code so that it will build in Windows 2010-02-28 09:01:35 -05:00
Richard Goedeken
275ec2bb6d added new re-entrant R4300 disassembler, from tty68k/zzt32, a man who loves MIPS processors 2010-02-26 11:38:40 -05:00
Richard Goedeken
99032437c3 makefile updates: use CFLAGS+= instead of CFLAGS= 2010-02-20 10:38:05 -05:00
GoedekenR
509c858ba2 bugfix: screenshot directory handling code used unix-specific path separators; now is platform-independent
bugfix: libpng write function crashed on Win32 when using its own fwrite() calls.  Now I'm using callbacks and calling fwrite() from within screenshot.cpp, which avoids the crash
2010-01-21 23:33:47 -05:00
Richard Goedeken
f316a7540e bugfix #257: added to makefile OS type GNU/kFreeBSD 2010-01-20 21:56:45 -05:00
Richard Goedeken
0ecd0a0604 don't run ldconfig on make install unless user is root; otherwise this can throw an error when a packager is building everything in a sandbox 2010-01-07 23:29:31 -05:00
GoedekenR
aa77010ce8 bugfix: stop spamming console with "Core: couldn't open memory pack file 'C:\...\*.mpk' for reading" messages 2010-01-02 16:22:33 -05:00
GoedekenR
5aa0674401 bugfix: win32 dynarec caused crash in release build
bugfix: get release build updated in project file
2010-01-02 15:24:56 -05:00
GoedekenR
19cceadab5 bugfix: stop spamming console with "Core: couldn't open eeprom file 'C:\...\*.eep' for reading" messages 2010-01-02 13:42:28 -05:00
GoedekenR
f1cb2990e7 fixed bugs in osal/files_win32.c, set up Win32 Debug build 2009-12-26 12:28:55 -05:00
GoedekenR
e7abd4677c Added libpng and freetype dependencies to Win32 build. The core now builds a valid DLL 2009-12-26 10:57:37 -05:00
GoedekenR
ae86636fe3 Merge recent Win32 work with previous makefile changes 2009-12-25 01:37:15 -05:00
GoedekenR
4c7060dff6 Added zlib support for Win32 build.
Since the MiniZip code (in main/zip/*) has _major_ C++ incompatibilities, I had to switch project file from (C++ compiler) back to Default.
This also required refactoring all the code with the nice C99 features which MSVC stupidly doesn't support
2009-12-25 01:35:01 -05:00
GoedekenR
ed36ec4484 Added new MSVC8 project file for mupen64plus-core 2009-12-24 16:36:16 -05:00
Richard Goedeken
4219de5179 bugfix: makefile needs to install Core header files so that plugins can be built later 2009-12-19 19:42:49 -05:00
Richard Goedeken
3daad95e08 Makefile improvements: throw error if OS/CPU not supported, use DESTDIR in install/uninstall paths, per Lazhur request. Allow user-specified CC/CXX/LD paths, per Auria request 2009-12-19 19:29:52 -05:00
Richard Goedeken
e5f3f9fe39 put LIBS after OBJECTS when linking, to avoid problems with -Wl,--as-needed 2009-12-15 13:32:31 -05:00
Richard Goedeken
ca7a17ca6f update m64p_build.sh script to move symbolic link instead of calling ldconfig. update makefile install target to depend upon building the library and to call LDCONFIG so that the lib cache is updated 2009-12-14 00:26:30 -05:00
Richard Goedeken
60e7eec02c removed unneeded release.mk file 2009-12-12 08:15:33 -05:00
Richard Goedeken
4bd48d31d5 fixed install/uninstall options in makefile, removed broken rebuild option 2009-12-12 01:15:57 -05:00
Richard Goedeken
c32403c0cb rename ui-console binary from mupen64plus-cli to just mupen64plus 2009-12-12 00:32:16 -05:00