Commit graph

118 commits

Author SHA1 Message Date
n pepinpe
5b72133cf8 Fix path to OSX SDK with XCode >=4.3 2012-12-31 10:43:00 +01:00
veganaize
e5cde0c6c5 Don't try to find OpenGL libraries on MacOSX and MinGW using pkg-config
MacOSX and MinGW don't provide gl.pc or glu.pc to find the cflags or libs using
pkg-config. Removing this search and replacing it with an hardcoded value is
easier on these platforms.
2012-12-19 21:57:49 +01:00
Sven Eckelmann
765b5b9c63 Use $(OBJDIR) in clean target instead of hardcoded path 2012-12-13 14:53:05 +01:00
Sven Eckelmann
c07b8977ec Allow to add a postfix for each build
The POSTFIX make option is useful for distributions to compile different
versions of the plugin in parallel. The object files will be stored in a
directory with the postfix appended and the linker result will also have this
postfix appended.
2012-12-13 14:47:38 +01:00
veganaize
583ccfdd11 Add support for MingW32 2012-12-13 13:58:55 +01:00
Sven Eckelmann
fadadfe7cd Add CROSS_COMPILE make option
The CROSS_COMPILE make option can be used to automatically prepend the prefix
to all build relevant tools to seamlessly allow cross compilation without
setting each tool name separately.

Cross compiling for MinGW32 would can be done using
$ make -C projects/unix/ CROSS_COMPILE=i686-pc-mingw32- HOST_CPU=i686 UNAME=MINGW
2012-12-13 12:25:47 +01:00
Sven Eckelmann
39c2fed1c7 Allow to change names of *-config tools for cross compiles 2012-12-13 11:33:50 +01:00
Sven Eckelmann
f93af93e79 Synchronize usage of environmental variables for UNAME with HOST_CPU 2012-12-13 10:52:49 +01:00
wahrhaft
486321abf9 Merge new platforms in Makefile 2012-11-28 00:34:49 -05:00
Anthony J. Bentley
72790f54d5 Don't use nonportable GNU‐style flag order. 2012-11-12 19:44:14 -07:00
Anthony J. Bentley
03f3436f19 Detect OpenBSD PowerPC platforms macppc and socppc. 2012-11-12 18:30:15 -07:00
Sven Eckelmann
a9baac4731 Add configuration for semi-supported architecture armel 2012-11-04 01:36:59 +01:00
wahrhaft
31e2d84d27 Added tag 1.99.5 for changeset 3d6f55e4531c 2012-08-09 23:14:13 -04:00
wahrhaft
0a95b68891 Fix video API version, bump plugin version to 1.99.5 2012-08-09 23:14:08 -04:00
Sven Eckelmann
21ae7f0a7f Fix mixing of signedness 2012-06-09 01:41:03 +02:00
Sven Eckelmann
8713f0b46c Enable experimental support for link-time optimization 2012-06-09 01:40:47 +02:00
Sven Eckelmann
41a6c9408f Workaround wrong gcc warning about uninitialized variable 2012-06-09 01:40:31 +02:00
wahrhaft
fa32dbbb48 quick and dirty support for compiling against 2.1.0 video plugin API 2012-03-06 20:33:03 -05:00
Sven Eckelmann
534f2f9f24 Remove additional -O3 on MacOSX 2011-10-14 19:58:42 +02:00
Sven Eckelmann
f66e54cf30 Explicitly disable PIC in case of PIC=0 2011-10-13 00:01:04 +02:00
Sven Eckelmann
e1636bbb3f Replace references to rice with z64 2011-10-09 13:52:31 +02:00
wahrhaft
c11deee3d2 move CoreVideo_Init() to RomOpen, should allow the plugin to start and stop multiple times 2011-09-08 22:18:50 -04:00
Sven Eckelmann
629c986b70 Fix some -Wformat related warnings 2011-09-04 13:33:04 +02:00
Sven Eckelmann
d70de2b328 Ignore generated files in hg-status 2011-08-29 14:30:49 +02:00
Sven Eckelmann
b90a76c01d Added tag 1.99.4 for changeset ce1efa043f54 2011-08-29 14:10:42 +02:00
Sven Eckelmann
2cf241f943 Enable ppc(64) as experimental target
nogagplz tested mupen64plus on 32-bit ppc and didn't detect any big show
stoppers with interpreter cores and the mupen64plus example rom. This makes the
PowerPC an interesting target for further tests and may reveal other endianness
problems.
2011-08-05 10:46:18 +02:00
Sven Eckelmann
25eef1f210 Enable PIC depending on architecture instead of bits only
nogagplz noticed on ppc32 that PIC is necessary to compile everything as shared
object. Therefore, it seems to be a better idea to have architecture specific
PIC default settings instead of checking only whether it is a 32 or 64 bit
architecture.
2011-08-05 10:32:08 +02:00
Sven Eckelmann
87c89ee049 Enable big endian mode on ppc and ppc64 2011-08-05 10:19:22 +02:00
Sven Eckelmann
1b72794001 Strip binaries during install 2011-07-23 21:22:53 +02:00
Sven Eckelmann
cf84e1d539 Allow to force PIC to remove text relocations 2011-07-10 13:37:55 +02:00
Sven Eckelmann
1bcb83d030 Fix linker search for libstdc++.so 2011-07-08 08:24:39 +00:00
Sven Eckelmann
38f5292bb1 Set changeable default compiler optimization option 2011-07-03 18:03:15 +02:00
Sven Eckelmann
925a39db52 Fix unresolved symbol dlsym on linux 2011-06-27 13:09:33 +02:00
Sven Eckelmann
09f012e86d Synchronize build rules with standard gnu make rules 2011-06-27 13:00:05 +02:00
Sven Eckelmann
2b3fd4fa70 Test for essential build dependencies before getting their cflags/libs 2011-06-27 11:36:11 +02:00
Sven Eckelmann
0f9f690722 Fix call to sdl-config on *BSD 2011-06-26 20:51:33 +02:00
Sven Eckelmann
fd71c73417 Don't use -ldl on *BSD Systems 2011-06-26 20:41:19 +02:00
Sven Eckelmann
dde7119bd9 Add OpenBSD as half-supported OS with FreeBSD userspace tools 2011-06-26 18:37:19 +02:00
Sven Eckelmann
397a8d1797 Remove -v parameter of install which is not available everywhere 2011-06-26 18:29:26 +02:00
Sven Eckelmann
0cdf3e14a7 Split LIBDIR in LIBDIR and PLUGINDIR for consistency between modules 2011-06-26 02:05:07 +02:00
Sven Eckelmann
117f4bdcac Fix compilation with BITS=32 when using gcc-4.6 2011-06-25 21:29:58 +02:00
Sven Eckelmann
51081cf877 Use function prototypes defined by core and remove second, conflicting definition of ChangeWindow 2011-06-25 21:21:56 +02:00
Sven Eckelmann
0a6ad6070b Remove unused variables 2011-06-25 16:10:01 +02:00
Sven Eckelmann
f6a271a13e Remove unneccessary define PIC 2011-06-25 15:09:33 +02:00
Sven Eckelmann
03a7d18f4d Don't override optimisations set by linux build environment 2011-06-25 14:54:49 +02:00
Sven Eckelmann
7dbce0426d updated video plugin for new Mupen64plus 2.0 API versioning scheme 2011-06-25 14:53:29 +02:00
Sven Eckelmann
64daddbb95 Use pkg-config as more portable way to find gl and glew 2011-06-25 11:38:17 +02:00
wahrhaft
8c1ef8d418 bump to version 1.99.4 2011-01-20 22:31:33 -05:00
Sven Eckelmann
9046caa73a Add GNU/Hurd as operating system with "linux" userland
---
2010-07-13 21:40:18 +02:00
wahrhaft
7dc0736a72 add V=1 description to makefile help 2010-04-03 15:39:42 -04:00