Commit graph

216 commits

Author SHA1 Message Date
Sven Eckelmann
4999d06015 Convert .hgignore to .gitignore 2013-12-19 14:13:38 +01:00
Richard Goedeken
16996c73bd merged heads, made a few man page changes 2013-09-21 14:11:04 -07:00
Anthony J. Bentley
6c4695cae5 Use more appropriate lists. 2013-09-20 23:02:28 -06:00
Anthony J. Bentley
9986f7a85d Update outdated plugin information. 2013-09-20 22:57:58 -06:00
Anthony J. Bentley
d1408e91c2 Make the manpage match what --help prints out. 2013-09-20 22:50:45 -06:00
Anthony J. Bentley
69cfb75a50 Update manpage to use semantic mdoc macros. 2013-09-20 22:44:46 -06:00
Sven Eckelmann
212be30f54 Don't fail rebuild when header is removed
The *.d depends files for make just list the files used when building an
object file. Removing a file listed in such a dependency file causes make to
search for a way to recreate it. This usually cannot work because these files
aren't autogenerated.

The gcc option -MP can be used to generate empty rule for these files. Removing
a file in a dependency list will then execute this empty rule and continue with
the execution of the creation of the object file. This compilation process will
then automatically correct the dependency file.
2013-09-20 10:31:48 +02:00
littleguy77
4cff083518 Define printf/debug callback for Android builds. 2013-08-30 09:42:28 -04:00
richard42
5d19eca9b5 simplify OSX platform detection in makefile using xcode-select. based on patch from John Pender 2013-07-08 07:39:48 -07:00
Richard Goedeken
ccfa8cf3c3 Added tag 2.0 for changeset 6665d52da57b 2013-07-04 15:48:15 -07:00
Richard Goedeken
04fe4dad22 update version number to 2.0 2013-07-03 07:09:38 -07:00
Richard Goedeken
61c419cee7 updated README 2013-06-27 22:57:15 -07:00
Richard Goedeken
ba2e1d0192 update README and command-line usage console output 2013-06-27 22:31:55 -07:00
Richard Goedeken
77748f1c00 update text files for upcoming 2.0 release 2013-06-26 22:53:10 -07:00
Sven Eckelmann
9a3c294a88 Avoid crash caused by missing initial SDL startup
SDL needs to overwrite the main function to initialize the inner state on some
operating systems. Not doing it this way will cause random crashes and
undefined behaviour.

Systems which need a special main function are for example Apple MacOS,
Android, iPhone or Win32. SDL will handle it automatically and keep systems
without such requirement with an untouched main function.
2013-06-25 14:57:05 +02:00
Richard Goedeken
64d7fa307e tagged v2.0-rc2 2013-06-01 18:00:33 -07:00
richard42
5bf3cc39f6 update msvc11 solution file to use the moved glide64mk2 project files in 'msvc11' 2013-06-01 08:19:46 -07:00
richard42
d1b19e9893 Update msvc11 project file to visual studio 2012 (msvc11) 2013-06-01 07:58:59 -07:00
Sven Eckelmann
dccdaa03ee Allow to statically set SDL_(CFLAGS|LIBS) without sdl-config
n.pepinpe requested in #540 to allow overwriting the automatically searched
CFLAGS and LIBS for used libraries. This should allow distributors to set the
build configuration without patching the makefile. This is important for
systems were pkg-config or sdl-config aren't normally used.
2013-05-11 12:26:18 +02:00
Sven Eckelmann
ff73a2f421 Enable Link-time optimization by default
The GCC introduced Link-time optimization in GCC 4.5 (2010-04-14). This should
be long enough available that interested users have upgraded to a compiler
supporting it.

The MSVC project already enabled WholeProgramOptimization since a long time.
Enabling it by default in GCC seems to be equally valid.
2013-05-11 11:25:56 +02:00
Sven Eckelmann
ef07d7d1c7 Add CFLAGS to the linker step
The GCC manual states for different parameters that the options for compilation
must also be used when linking. The options for compilation are stored in
CFLAGS and added to LINK.o to fix the behavior.

Option which need this are for example -fPIC/-fPIE or -flto.
2013-05-11 10:51:36 +02:00
Richard Goedeken
d048eee443 add glide64mk2 to the solution file 2013-03-20 22:31:21 -07:00
Richard Goedeken
d0cebb5307 add msvc11 project and solution files from mudlord 2013-03-20 22:25:20 -07:00
Richard Goedeken
340c135b7c fixed compiler warnings 2013-03-09 21:30:06 -08:00
richard42
e7d1692e44 merge heads 2013-02-11 09:05:27 -08:00
richard42
f34f491110 changes to fix compile errors in OSX 10.7.5 2013-02-11 09:05:01 -08:00
richard42
f7532d62cd OSX build fix 2013-02-02 22:16:48 -08:00
Sven Eckelmann
aa3e838d0a Introduce WARNFLAGS for default (removable) compiler warning flags 2013-01-02 16:13:45 +01:00
n pepinpe
69e4a968e7 Include SDL header without SDL/ directory 2012-12-31 10:52:25 +01:00
n pepinpe
f8827b148a Fix path to OSX SDK with XCode >=4.3 2012-12-31 10:43:00 +01:00
Richard Goedeken
b7ce0a97a4 merged heads 2012-12-30 15:48:49 -08:00
Anthony J. Bentley
45346e9ccb Minor formatting improvements. 2012-12-24 02:51:36 -07:00
Anthony J. Bentley
ed4f8d906b New sentence, new line. Troff relies on this to detect sentences properly. 2012-12-24 02:47:35 -07:00
Anthony J. Bentley
c17d2bae69 Decompress the manual page. 2012-12-24 02:43:03 -07:00
Sven Eckelmann
42f26b8a03 Use $(OBJDIR) in clean target instead of hardcoded path 2012-12-13 14:53:05 +01:00
Sven Eckelmann
14af485493 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:33 +01:00
Sven Eckelmann
25217eacdd Fix clean of mupen64plus.exe 2012-12-13 14:19:37 +01:00
Sven Eckelmann
3b7bee6a33 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:38 +01:00
Sven Eckelmann
10b90e4647 Allow to change names of *-config tools for cross compiles 2012-12-13 11:33:49 +01:00
Sven Eckelmann
08b53f2444 Synchronize usage of environmental variables for UNAME with HOST_CPU 2012-12-13 10:52:49 +01:00
Sven Eckelmann
68a5b42c15 Remove duplicated definition of CC for MinGW 2012-12-13 10:46:17 +01:00
Sven Eckelmann
bbe021bc01 Really build mupen64plus.exe on MinGW 2012-12-12 23:19:39 +01:00
veganaize
b65642a899 Add support for MingW32 2012-12-04 21:17:52 +01:00
Anthony J. Bentley
79e0f12a6a Detect OpenBSD PowerPC platforms macppc and socppc. 2012-11-12 18:03:52 -07:00
Sven Eckelmann
b05ff7522a Add configuration for semi-supported architecture armel 2012-11-04 01:26:41 +01:00
Richard Goedeken
d8d9f23080 string safety for DebugMessage 2012-06-24 18:13:17 -07:00
casualjames casualjames
c939b8ca0c Make sure main.h is included. 2012-06-25 02:36:43 +02:00
casualjames casualjames
46549eea52 Implementation. 2012-06-25 02:33:47 +02:00
Sven Eckelmann
56159acc29 Enable experimental support for link-time optimization 2012-06-09 01:11:18 +02:00
Richard Goedeken
d7a60ce545 more specific parameter comment based on feedback from issue 489 2012-04-08 09:55:50 -07:00