Commit graph

321 commits

Author SHA1 Message Date
Sven Eckelmann
5c685d6528 Don't use Debian specific liblircclient0 pkg-config files 2011-07-08 07:44:26 +00:00
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
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
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
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
Richard Goedeken
5253052870 cleanup and refactor makefile, remove pre.mk and configure script 2009-12-07 22:45:32 -05:00
Richard Goedeken
d8a8251eab generate versioned shared library for Linux and Freebsd 2009-12-05 20:08:57 -05:00
Richard Goedeken
53b9e93b7f added -Wall to CFLAGS and cleaned up the warnings for 64-bit normal and debugger builds 2009-12-01 22:46:47 -05:00
Richard Goedeken
a928f13da7 removed the old core comparison code and replaced with function calls through the new API. The front-end application will handle the communication between the 2 running cores 2009-11-30 22:01:43 -05:00
Richard Goedeken
93302a481a bugfix in Makefile for DEBUGGER=1 build, updated help message 2009-11-28 14:01:50 -05:00
Richard Goedeken
89d19906ef since the only language file that we ever had for the core was English, it seems that there's not that much of a demand for translation support in the core. So all of the translation code (and the empty language file) have been removed 2009-11-27 14:48:27 -05:00
Richard Goedeken
48caacd092 modified pre.mk for OSX compatibility patch from Auria and refactored for simplicity 2009-11-23 20:09:08 -05:00
Richard Goedeken
c821c5cb53 Moved all of the SDL event-related stuff into a new source file eventloop.c. There are still 2 things to fix: the joystick axis-driven core commands are hosed without hysteresis, and the key_pressed and event_active functions should be removed. They are only used by gs_button_pressed in cheat.c and should be replaced with a better mechanism 2009-11-18 23:15:11 -05:00
Richard Goedeken
243fd15d2c cleaned up makefiles a bit 2009-11-14 00:29:31 -05:00