Commit graph

96 commits

Author SHA1 Message Date
Richard Goedeken
d972dc5ea1 update minimum macos SDK in makefile 2024-07-14 12:01:02 -07:00
Jj0YzL5nvJ
3cdee61a98 CI/CD: Update 2022-07-10 18:52:10 -06:00
Jj0YzL5nvJ
51345ed0e5 CI/CD: Implement GitHub Actions and public nightly builds 2021-12-05 09:00:32 -07:00
Pierce Andjelkovic
88093cb434 RISC-V Support 2021-09-15 00:02:11 +02:00
Richard Goedeken
88766c6e2d bump up minimum version number so that we can still build this on modern macos 2021-02-10 21:14:23 -08:00
orbea
e653930d75 build: Allow out of tree builds.
Also fixes a case of SRCDIR being used before its set.
2020-12-15 10:17:15 +01:00
Richard Goedeken
b4155b7004 Revert "Allow non-default compilers without resorting to symbolic links"
This reverts commit 0ff1d46edf, as it conflicts with GNU make which always defines default values for certain variables
2020-09-16 22:31:15 -07:00
Jj0YzL5nvJ
0ff1d46edf Allow non-default compilers without resorting to symbolic links 2020-08-30 03:46:09 -06:00
Gillou68310
c05c5e0fab Preliminary implementation for Yakouchuu II ucode 2020-02-02 12:11:05 +01:00
Daniel James
42ffe474b2 Added ppc64le support 2019-02-20 11:29:49 -05:00
Brigham Henry Keys
ba228af849 Removed redundant CPU detection 2018-09-21 02:40:39 -05:00
Brigham Henry Keys
f6ef6b076c Added support for aarch64 2018-09-19 12:09:10 -05:00
Brigham Henry Keys
6e9600cc5b Added support for aarch64 2018-09-19 12:05:32 -05:00
Anthony J. Bentley
7178086ff3 Update homepage. 2017-12-28 16:27:32 -07:00
Anthony J. Bentley
9229360df6 Update link to bug tracker. 2017-12-28 16:06:05 -07:00
Logan
06c8ec7c2c
If DEBUG not set, set NDEBUG 2017-11-30 10:59:57 -07:00
Richard Goedeken
421e97ce45 update Makefile method for finding OSX_SDK_PATH 2017-11-14 16:21:30 -08:00
Bobby Smiles
b53a5d8422 Implement RSP fallback.
This allows to specify an arbitrary RSP plugin to use when an unknown
ucode is encountered. It is particularly usefull when combined with an
LLE RSP plugin.

Sending audio lists or display lists to audio (resp. gfx) plugins can
also be specified through config parameters. A blacklist of known
problematic gfx ucodes is integrated (same as rsp-cxd4) to avoid sending
them to the gfx plugin.
2017-10-04 18:47:42 +02:00
Bobby Smiles
842d62d41e Revert "Allow using compiler other than gcc"
This reverts commit f5838d8c48.
2017-06-24 13:34:45 -06:00
Logan McNaughton
f5838d8c48 Allow using compiler other than gcc 2017-06-20 21:15:38 -06:00
Gillou68310
a339dc66b6 Resident evil 2 resize bilinear ucode 2017-06-02 14:55:43 +02:00
Anthony J. Bentley
1e977b16d6 Remove unnecessary OpenBSD warning. 2015-06-08 01:48:45 -06:00
Conchúr Navid
5f3e98f6e1 Fix executable bits of files 2015-03-21 10:53:38 +01:00
Nebuleon Fumika
666f51b2bf unix: Add a Makefile configuration for MIPS 2015-01-26 10:07:17 +00:00
Bobby Smiles
0be1e551c3 Rename main to hle. 2014-03-06 21:49:30 +01:00
Bobby Smiles
0a9e243204 Make unknown task dumping optional at compile time.
This functionality is not needed by the normal user and can introduce unwanted dependencies on
files. It can be enabled at compile time using -DENABLE_TASK_DUMP or Makefile var DUMP=1.
2014-02-19 05:32:33 +01:00
Bobby Smiles
ed81030162 Rename ucode*.c files 2014-02-17 08:44:47 +01:00
Bobby Smiles
0923af8d68 Isolate memory access code. 2014-02-17 02:06:49 +01:00
Bobby Smiles
df010f161b Isolate plugin specific code. 2014-02-17 01:14:31 +01:00
Bobby Smiles
1b713d92a1 Share RESAMPLE_LUT between alist based ucodes and musyx ucodes.
I also corrected the size of RESAMPLE_LUT which was bigger than needed.
2014-01-18 15:04:00 +01:00
Sven Eckelmann
646ec921ec Compile ucode*.cpp as C source code
The ucodes are basically only C code and don't use C++ features. It is
therefore not necessary to build it with a C++ compiler.
2013-12-30 17:33:34 +01:00
Bobby Smiles
d31b8ea3ff Add initial support for MusyX 2013-12-30 14:43:47 +01:00
Sven Eckelmann
ff2ab7f9ea 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:44 +02:00
richard42
a1edae31a9 simplify OSX platform detection in makefile using xcode-select. based on patch from John Pender 2013-07-08 07:35:00 -07:00
Sven Eckelmann
5704d656ae 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:53 +02:00
Sven Eckelmann
ba75d3506f Add CXXFLAGS 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
CXXFLAGS and added to LINK.o to fix the behavior.

Option which need this are for example -fPIC/-fPIE or -flto.
2013-05-11 10:56:08 +02:00
Sven Eckelmann
ea771b3880 Revert "Enable link time garbage collection when link time optimization is enabled"
Some linker on different platforms don't handle the garbage collection
correctly and create extreme bloated binaries. Therefore, leave it to the user
to enable this feature or not.
2013-03-14 08:01:55 +01:00
Bobby Smiles
d501c4e38e Rewrite cicx105_ucode to allow better optimisation. Move it outside of main.
Note: During the rewriting I changed the number of line to write from 0xfc to 0x18 because that's
what I saw in the ipl3 disassembly.
2013-03-10 02:45:53 +01:00
Bobby Smiles
852505046d Move alist logic into its own module. Corrected ABI1 and ABI3 sizes. 2013-03-09 23:35:08 +01:00
Sven Eckelmann
485a064c5e Enable link time garbage collection when link time optimization is enabled 2013-02-08 00:31:52 +01:00
Bobby Smiles
027c4cc2d8 Refactor jpeg module. 2013-01-27 17:19:58 +01:00
richard42
7ef526534d OSX build fix 2013-02-02 22:23:17 -08:00
Sven Eckelmann
1b238c5176 Introduce WARNFLAGS for default (removable) compiler warning flags 2013-01-02 16:13:45 +01:00
Sven Eckelmann
2ff7710657 Disable PIC on MinGW to reduce warnings 2013-01-01 00:30:34 +01:00
n pepinpe
a640dd3ac3 Fix path to OSX SDK with XCode >=4.3 2012-12-31 10:43:00 +01:00
Sven Eckelmann
9a922cdc78 Use $(OBJDIR) in clean target instead of hardcoded path 2012-12-13 14:53:05 +01:00
Sven Eckelmann
ea51d4457d 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:30 +01:00
Sven Eckelmann
61708f6588 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:33 +01:00
Sven Eckelmann
8c7c887323 Synchronize usage of environmental variables for UNAME with HOST_CPU 2012-12-13 10:52:49 +01:00
Sven Eckelmann
de60447518 Remove duplicated definition of CC for MinGW 2012-12-13 10:46:17 +01:00