Commit Graph

475 Commits

Author SHA1 Message Date
Miodrag Milanovic
e1e91bd7ce split PARAMS into PARAMS and TARGET_PARAMS (nw) 2016-02-25 14:58:39 +01:00
Miodrag Milanovic
8dff2200d0 And I hate you too XCode (nw) 2016-02-22 21:11:57 +01:00
Miodrag Milanovic
65c192b2b6 fixed make translation (nw) 2016-02-21 20:25:29 +01:00
Miodrag Milanovic
412814f80d changes towards compiling with XCode (nw) 2016-02-21 19:48:16 +01:00
Miodrag Milanovic
cc687bcd95 Added python replacement for msgfmt (nw) 2016-02-21 14:09:48 +01:00
Miodrag Milanovic
b71cd67ca9 remove generating of mo till I solve it on osx (nw) 2016-02-21 14:01:46 +01:00
Miodrag Milanovic
09da1424dc quick hack to enable building on OSX for now (nw) 2016-02-21 13:54:56 +01:00
Miodrag Milanovic
fafa333e3f Ubuntu is having issues if braces are in path (nw) 2016-02-21 13:17:59 +01:00
Miodrag Milanovic
d4b6d7ea66 fix for posix systems (nw) 2016-02-21 12:52:28 +01:00
Miodrag Milanovic
9b2b268cdf simplified translate rule in makefile (nw) 2016-02-21 12:04:56 +01:00
Miodrag Milanovic
a0ba40749d fixed make translate (nw) 2016-02-21 11:47:58 +01:00
Miodrag Milanovic
bcaaa956e0 Generate mo files if po are updated, added _ instead of space char due to makefile restrictions (nw) 2016-02-21 11:34:22 +01:00
Miodrag Milanovic
f3ce55e924 Added ability to work with static text translation (nw) 2016-02-21 10:04:57 +01:00
Miodrag Milanovic
61d6a5c76d update makefile (nw) 2016-02-20 22:46:20 +01:00
Miodrag Milanovic
0bc4173bd3 Added multi-language support for MAME [Miodrag Milanovic]
Added sample language to show display in cyrillic use
mame -lang "Serbian (Cyrillic)"
2016-02-20 22:31:41 +01:00
Miodrag Milanovic
1115b98dd3 Added initial language list with definitions and scripts for update (nw) 2016-02-20 21:50:02 +01:00
Miodrag Milanovic
f481b60978 limit internationalization to UI where it belongs (nw) 2016-02-20 10:10:35 +01:00
Miodrag Milanovic
cc1ca5eb93 Doing some preps for internationalization (nw) 2016-02-19 15:58:46 +01:00
Miodrag Milanovic
38e054c765 placed back OPENGL check since GL is not same as GLES (nw) 2016-02-16 18:00:19 +01:00
Miodrag Milanovic
9eb2734495 BGFX mandatory requirement (nw) 2016-02-16 17:35:27 +01:00
Miodrag Milanovic
22e6c350ed Enabled BGFX support for SteamLink 2016-02-16 11:36:13 +01:00
Jeffrey Clark
43cb7eb2e6 genie make targets for packager scripts (nw) 2016-02-15 12:11:18 -06:00
Jeffrey Clark
36df7413dc add TOOLCHAIN make flag for explicit toolchain prefix cross compiling (nw) 2016-02-15 12:09:35 -06:00
Jeffrey Clark
4e7f9e86e8 Refactor MACOSX_USE_LIBSDL to USE_LIBSDL for windows and linux static library support (nw) 2016-02-15 12:09:26 -06:00
Miodrag Milanovic
5772715d63 fix compile on some platforms (nw) 2016-02-15 12:05:31 +01:00
Miodrag Milanovic
9827278296 Fixed compile when using params like OVERRIDE_CXX='ccache g++' OVERRIDE_CC='ccache gcc' from QMC2 (nw) 2016-02-08 10:52:33 +01:00
Miodrag Milanovic
178167b8fe Initial support for BGFX [Dario Manesku, Branimir Karadic, Miodrag Milanovic]
Need optimization and cleanup, note that all shaders can be built only on windows
due to usage of DirectX DLLs
2016-02-07 15:49:55 +01:00
Justin Kerk
b1eaf63758 Fix Emscripten build (nw) 2016-01-31 20:43:55 +00:00
Miodrag Milanovic
0be7219fbb user overriden parameters for compiling mc68k core (nw) 2016-01-30 13:46:26 +01:00
Miodrag Milanovic
042050ef67 Added Google Benchmark library (nw)
Included sample benchmark for eminline for native and noasm
Made GoogleTest compile only if tests are compiled
2016-01-29 11:47:40 +01:00
Miodrag Milanovic
3f2add802d Updated makefile to generate m68k files (nw) 2016-01-27 15:36:29 +01:00
Miodrag Milanovic
e691634439 Added SteamLink initial support [Sam Lantiga, Miodrag Milanovic] 2016-01-25 20:01:40 +01:00
R. Belmont
6fd9e66cd0 Merge pull request #571 from bradhugh/xaudio2
XAudio2 support
2016-01-22 17:59:21 -05:00
Brad Hughes
2f36228306 XAudio2 support 2016-01-20 23:16:18 -05:00
Miodrag Milanovic
0fdaab2f96 Make SYMLEVEL=1 for full builds, and when custom builds are made save more debug info, otherwise it is not possible to create working executable (is over 2GB) for full build (nw) 2016-01-20 08:48:42 +01:00
Miodrag Milanovic
3f632c9b37 Revert "Enforce cmd shell when started from regular command prompt even if sh.exe is in path"
This reverts commit ad04d3cda4.
2016-01-03 18:09:28 +01:00
Miodrag Milanovic
ad04d3cda4 Enforce cmd shell when started from regular command prompt even if sh.exe is in path 2016-01-03 17:49:57 +01:00
Miodrag Milanovic
698cec6344 Removed FILTER_DEPS, not stable and not functional (nw) 2016-01-03 17:13:16 +01:00
Miodrag Milanovic
842519672e Synced with latest GENie, our specific code is not overwritten (nw) 2016-01-03 16:55:52 +01:00
Miodrag Milanovic
65c0e45a5d fix for checks (nw) 2016-01-02 19:01:25 +01:00
Miodrag Milanovic
e3d419dacd no need for this it is already in path (nw) 2016-01-01 13:08:54 +01:00
Miodrag Milanovic
9cd42de78b make compiler detection works under posix windows environments (nw) 2016-01-01 12:27:34 +01:00
Miodrag Milanovic
f1a0a3cb88 Added pre-compiled headers support to build system (nw) 2016-01-01 08:23:58 +01:00
Miodrag Milanovic
1aa986d617 Revert "removing MESS brand and making MAME a name not acronym (nw)"
Too contraversial for now :)

This reverts commit 47bf03513e.
2015-12-31 10:51:15 +01:00
Miodrag Milanovic
47bf03513e removing MESS brand and making MAME a name not acronym (nw) 2015-12-31 10:31:00 +01:00
Justin Kerk
84dcf402fb Fix outdated comments 2015-12-28 13:10:24 -08:00
Miodrag Milanovic
2e9fa84503 Fix recognition for more platforms, and fixed compile on arm (nw) 2015-12-27 16:37:16 +01:00
Miodrag Milanovic
658128897c Fixed platform detection (nw) 2015-12-27 15:48:44 +01:00
Miodrag Milanovic
9c2669081c Added platform parameter and some ARM fixes (nw) 2015-12-27 15:35:29 +01:00
Justin Kerk
85d74eb2c9 Emscripten build fixes (nw) 2015-12-19 08:17:34 +00:00
Cowering
850733ce5a touch me (nw) 2015-12-12 12:30:43 -06:00
Miodrag Milanovic
ee942ae0fb some MSBUILD fixes (nw) 2015-12-10 12:16:06 +01:00
Miodrag Milanovic
bae93ee22c fix clang/gcc detection on windows (nw) 2015-12-07 13:31:06 +01:00
Miodrag Milanovic
f540242c73 proper windows clang version detection (nw)
make OVERRIDE_CXX=clang++ OVERRIDE_CC=clang
2015-12-07 13:05:25 +01:00
Miodrag Milanovic
8d7ae45c3f fix windows build till clang detection is fixed (nw) 2015-12-07 11:38:16 +01:00
Miodrag Milanovic
f5371ffa1b Respect OVERRIDE_CC and OVERRIDE_CXX 2015-12-07 11:30:31 +01:00
Miodrag Milanovic
92f81361d6 Initial conversion of core to C++14. Note that compilers are now limited to GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic] 2015-12-03 11:40:45 +01:00
Miodrag Milanovic
4b4b659679 Added MSBUILD support, msbuild.exe must be in path so update your tools (nw) 2015-11-23 10:01:21 +01:00
Justin Kerk
078d8e099a Emscripten build fixes (nw) 2015-11-21 01:40:59 -08:00
Cowering
09d7fbc9fa make example match new name scheme 2015-11-17 13:07:45 -06:00
Miodrag Milanovic
cabec7b81c Added new doxygen templates and limited basic to core (nw) 2015-11-16 10:32:27 +01:00
Miodrag Milanovic
8c0d01d426 Fix compile for Intel C++ 15 compiler (nw) 2015-11-14 11:52:15 +01:00
Miodrag Milanovic
09f75f519d fixed issue that genie did not update when arcade.lua or mess.lua only changed (nw) 2015-11-12 15:18:16 +01:00
Miodrag Milanovic
60249e4101 fix for cmakelist.txt creation (nw) 2015-11-08 17:26:46 +01:00
Miodrag Milanovic
44ffd8dd61 added make option to generate CMake files for CLion and root project file (nw)
also ignored CMakeLists.txt in root
2015-11-08 15:00:26 +01:00
Miodrag Milanovic
583a1f81f2 Moved regtests out of source tree, and updated paths (nw) 2015-11-05 13:41:25 +01:00
Vas Crabb
8247cab558 make it easier to build multiple configs (nw) 2015-11-02 23:40:03 +11:00
Miodrag Milanovic
8e22b1d22f Renamed DRIVERS parameter to SOURCES since you can add any source you wish to include in target (nw) 2015-10-09 14:13:35 +02:00
Miodrag Milanovic
86d3aa8065 Moved tools in proper place, and moved build python scripts together with other scripts (nw) 2015-10-07 12:01:21 +02:00
Miodrag Milanovic
1fc48ce120 move mess into mame (nw) 2015-09-30 17:21:14 +02:00
balr0g
459c86dee3 Fix build with Xcode 7 (nw) 2015-09-18 16:00:03 -04:00
Miodrag Milanovic
6359b876b9 made FORCE_VERSION_COMPILE option to be used for build server (nw) 2015-09-05 11:53:19 +02:00
Vas Crabb
f500420346 OS/2 patch for 0.164 [KO Myung-Hun] 2015-08-25 13:02:01 +10:00
R. Belmont
b83cc37ae2 Merge pull request #257 from 0-wiz-0/master
Re-add NetBSD support.
2015-07-22 15:46:15 -04:00
Julian Sikorski
d4ec50198c Do not pass -m32 to gcc on arm 2015-07-16 22:54:34 +02:00
Thomas Klausner
910f0215e8 Add NetBSD support.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-07-14 21:52:52 +02:00
Wilbert Pol
13967bb8a0 Fix clang version detection on osx yet again (nw) 2015-07-14 20:30:01 +02:00
Wilbert Pol
7db7f9e159 fix clang version detection on macos 2015-07-14 11:11:45 +02:00
R. Belmont
e0eb69cac6 Merge pull request #240 from belegdol/master
Added ability to use system PortAudio
2015-07-13 09:12:44 -04:00
Dirk Best
505760478a fix clang version detection in ubuntu 2015-07-10 22:21:17 +02:00
Julian Sikorski
1b5d213aaa Added ability to use system PortAudio 2015-07-05 22:08:10 +02:00
Justin Kerk
039b1e0a12 Missing bits needed for Emscripten compile (nw) 2015-06-20 13:42:30 -07:00
Miodrag Milanovic
239c31b584 Made possible creation of custom builds with given list of drivers included.
Note that game list is parsed so if macros are used they will not be found.
example:
make SUBTARGET=cops -j9 DRIVERS=src/mame/drivers/cops.c
2015-06-20 18:20:44 +02:00
Miodrag Milanović
a208071e9d Merge pull request #202 from wallyweek/sdlinipath
Added new SDL_INI_PATH flag [Cesare Falco]
2015-06-07 06:22:12 +02:00
Julian Sikorski
9027ce9575 Added the ability to use system flac, jpeg, lua, sqlite3, portmidi and zlib based on wallyweek's work 2015-06-06 23:39:24 +02:00
Cesare Falco
6cd8271575 Added new SDL_INI_PATH flag 2015-06-06 16:32:04 +02:00
Julian Sikorski
13506b6b54 Added OPT_FLAGS back 2015-06-06 13:38:19 +02:00
Olivier Galibert
511762fa2d Allow compiling with shared libraries [O. Galibert]
Put SHLIB=1 in the main makefile, or on the command line.

The idea is to get a *way* faster link with symbols.  It works at
least on linux, with one annoying caveat: you have to be in the
build/projects/sdl/mame/gmake-linux directory to start mame
afterwards.  We're going to move some things around to be able to use
LD_LIBRARY_PATH or have it start as-is from the root.
2015-05-31 13:25:17 +02:00
Miodrag Milanovic
2923224b51 remove text (nw) 2015-05-31 11:50:06 +02:00
Miodrag Milanovic
548a982a3c Added skeleton support for Windows Phone and Windows Store - far from working(nw) 2015-05-28 20:06:33 +02:00
therealmogminer@gmail.com
bab674c78b Re-enable optimizing SYMBOLS=1 builds, nw 2015-05-27 19:55:45 +02:00
Miodrag Milanovic
2e772fb160 Added lua script/makefile changes to support building tests and portaudio (nw) 2015-05-27 15:02:33 +02:00
Miodrag Milanovic
c796237981 added cppcheck target in order to run analysis of code (nw) 2015-05-12 13:24:38 +02:00
Miodrag Milanovic
f2b21a51f8 Added doxygen documentation definition file and make target for it (nw) 2015-05-12 10:28:41 +02:00
Cesare Falco
7652d47d8e Add makefile switch to choose linking against bundled OR system expat library. 2015-05-11 09:37:45 +02:00
Miodrag Milanovic
6b48183ecf Fix layout gen (nw) 2015-05-09 16:13:15 +02:00
Miodrag Milanovic
4c7b1e344b No optimization for PROFILE otherwise symbols are not right (nw) 2015-05-07 11:59:05 +02:00
Miodrag Milanovic
58c32c97cf Added cleansrc to makefile (nw) 2015-04-25 14:15:00 +02:00
Miodrag Milanovic
84f7d24cfa Include make for regression tests (nw) 2015-04-23 14:07:14 +02:00
Miodrag Milanovic
3827f898ab Renamed to STRIP_SYMBOLS and made logic more clear (nw) 2015-04-22 14:23:49 +02:00
Miodrag Milanovic
073fd3f7d4 Added NO_STRIPPING option and enabled stripping of executable by default (nw) 2015-04-19 16:21:36 +02:00
Miodrag Milanovic
c3345bc74f better fix for windres (nw) 2015-04-15 09:39:43 +02:00
Miodrag Milanovic
f8a6adf13c fix 32bit compile (nw) 2015-04-15 09:23:09 +02:00
Miodrag Milanovic
f6fbdaa2e8 Added QT_HOME to support custom QT installations (nw) 2015-04-13 18:51:07 +02:00
Miodrag Milanovic
59e60e47df Added SHADOW_CHECK parameter so we can work on shadowing issues in our code (nw) 2015-04-11 08:46:02 +02:00
Miodrag Milanovic
32dc24420c Some changes for FreeBSD and Solaris, will be sent upstream as well (nw) 2015-04-10 12:37:34 +02:00
Miodrag Milanovic
2ffb66efe5 Placed back and fixed python availability check 2015-04-08 16:24:07 +02:00
Miodrag Milanovic
271e550b99 commented to test on MATE (nw) 2015-04-08 14:45:55 +02:00
Miodrag Milanovic
899f23a7ec Added PYTHON_EXECUTABLE to use differently named python executable(nw) 2015-04-08 14:19:43 +02:00
Miodrag Milanovic
10ed935e43 Create one more dir, should help MATE (nw) 2015-04-08 14:02:13 +02:00
Miodrag Milanovic
cc35d05ec0 added SEPARATE_BIN option to put executable files in bin folder and not in main (useful for continuous integration )(nw) 2015-04-08 08:52:02 +02:00
Miodrag Milanovic
c186a6c02c User configuration option can be now stored in useroptions.mak, so no need to alter main makefile (nw) 2015-04-07 14:19:54 +02:00
Miodrag Milanovic
209734925f Added FILTER_DEPS option for post compile filtering (nw) 2015-04-07 13:23:31 +02:00
Miodrag Milanovic
c69ec4dea6 Some vs2013-clang work (nw) 2015-04-06 18:50:42 +02:00
Miodrag Milanovic
13f137dde7 And one more (nw) 2015-04-06 16:33:21 +02:00
Miodrag Milanovic
1ff712db7a resurrected some more compile options (nw) 2015-04-06 16:27:14 +02:00
Miodrag Milanovic
70bab0a3d7 Fixed GENie building from main file (nw) 2015-04-05 08:23:57 +02:00
Vas Crabb
18ec0951bd Add a simple CoreAudio sound output module
It doesn't provide facilities for AU effects, although that could be
added pretty easily if someone wants to.  Advantages over SDL sound
output are simpler code and lower latency.
2015-04-05 01:48:35 +11:00
Miodrag Milanovic
3725b2fdc6 Moved MOC handling in lua (nw) 2015-04-04 16:42:58 +02:00
Miodrag Milanovic
db3cad9be9 remove not needed dirs from creation list (nw) 2015-04-04 15:48:29 +02:00
Miodrag Milanovic
ed0de1632e Moved plist generate to lua (nw) 2015-04-04 15:36:44 +02:00
Miodrag Milanovic
6f0fd1a366 Merge branch 'master' of https://github.com/mamedev/mame 2015-04-04 14:44:22 +02:00
Miodrag Milanovic
1026d09afa Moved creation of most non-layout files out of makefile (nw) 2015-04-04 14:44:06 +02:00
Vas Crabb
4cd434246d Bring back USE_SDL, CYGWIN_BUILD and malloc debugging for Windows OSD 2015-04-04 14:53:47 +11:00
Miodrag Milanovic
2df0d9deed Added generated m68kops files to tree, added makefile for developers working on core (nw) 2015-04-03 15:59:18 +02:00
Miodrag Milanovic
66cbe9eee4 removed os_version, since it is not used anymore (nw) 2015-04-03 15:30:56 +02:00
Miodrag Milanovic
69d936dfee skeleton for XCode support (nw) 2015-04-02 18:16:20 +02:00
Vas Crabb
d055017fa2 Make VERBOSE=1 propagate properly, add summary of user-configurable options 2015-04-03 00:45:49 +11:00
Vas Crabb
a63bd12019 Add back support for big endian targets including OSX-PPC 2015-04-02 22:26:35 +11:00
Miodrag Milanovic
33387befdb Ignore moc missing if MOC_FILES is empty (nw) 2015-04-01 12:09:38 +02:00
Vas Crabb
19d52cef70 Bring back NOASM 2015-04-01 16:12:03 +11:00
Vas Crabb
fe9339fa30 Add back DIRECTINPUT config for Windows OSD 2015-04-01 09:49:25 +11:00
Vas Crabb
d2b260f489 Better way to decide on whether to compile MOC 2015-04-01 08:42:04 +11:00
Vas Crabb
4d84885a29 Refactor out common OSD modules into separate lua file 2015-04-01 07:29:54 +11:00
Vas Crabb
b64e4ecee5 Restore DONT_USE_NETWORK 2015-04-01 03:44:38 +11:00
Vas Crabb
1f2763cc32 Restore SDL2_MULTIAPI 2015-04-01 03:03:18 +11:00
Vas Crabb
399a5f914b Get rid of unnecessary distro nonsense 2015-04-01 03:03:17 +11:00
Vas Crabb
6116f8c4fa Restore MESA_INSTALL_ROOT 2015-04-01 01:21:59 +11:00
Vas Crabb
dbc99041c3 Restore NO_OPENGL and USE_DISPATCH_GL 2015-04-01 01:21:59 +11:00
Vas Crabb
9a2c6d95c8 Restore NO_USE_MIDI and some more OS support from the old SDL makefile 2015-04-01 01:21:59 +11:00
Vas Crabb
ea348ff9f1 Bring back some SDL OSD configurability (WIP) 2015-03-31 20:46:51 +11:00
Vas Crabb
9a8109a63c Fix VERBOSE=1 for top-level makefile, fix always regenerating makefiles on Windows, make many variable in top-level makefile immediate rather than deferred 2015-03-31 15:13:12 +11:00
Miodrag Milanovic
a1369c9e30 Added dependency, so generation task wait for genie to be built (nw) 2015-03-30 14:37:10 +02:00
Vas Crabb
73deef44fa Fix UME build, allow custom target to inject stuff in main makefile 2015-03-30 18:30:29 +11:00
Vas Crabb
9a1a5c0513 Create directory for layouts for custom targets 2015-03-30 18:13:21 +11:00
Vas Crabb
f1523ec806 Make MinGW and OSX targets use dependencies for running genie
Use REGENIE=1 to force genie re-run without removing/touching files
Mark many targets as phony as appropriate
Improve situation for custom targets/OSDs
2015-03-30 14:19:54 +11:00
couriersud
84067e88ee linux-gmake, linux-gmake-clang: Only run genie build stage if scripts or
makefile has changed. 

The concept may easily be migrated to other builds. I just don't have
the time to test other builds right now.

The downside of the approach is that you have to force a build stage run
by deleting the build/projects folder. This however is a lot less
frequent than normal "make".
2015-03-30 00:50:56 +02:00
couriersud
2bf0febbae Merge branch 'master' of https://github.com/mamedev/mame.git
Conflicts:
	scripts/src/osd/sdl.lua
2015-03-29 23:08:49 +02:00
Miodrag Milanovic
2816588761 more OSX 10.10 fixes and fixed mistake with x64 (nw) 2015-03-29 19:10:34 +02:00
couriersud
4a6023e471 Added two more options to the build system:
USE_QT: Compile the QT Debugger. Default is USE_QT=1 (except macosx),
use USE_QT=0 to disable.
LDOPTS: Optional LDFLAGs.

These are mainly used for cross compilation. The following will compile
a windows SDL build without QT debugger on linux:

make 	TARGETOS=windows PTR64=1 OSD=sdl OS=linux \
		OVERRIDE_CC="@x86_64-w64-mingw32-gcc" \
		OVERRIDE_CXX="@x86_64-w64-mingw32-g++" \
		OVERRIDE_LD="x86_64-w64-mingw32-g++" \
		WINDRES="x86_64-w64-mingw32-windres" \
		USE_QT=0 \
		ARCHOPTS="-idirafter ${MINGW64DIR}/x86_64-w64-mingw32/include/  \
		-I${MINGW64DIR}/Qt/include/ -v" SUBTARGET=tiny MINGW64=/usr \ \
		LDOPTS="-L/mnt/mfhome/andre/mame/w64crosslibs"
2015-03-29 18:58:39 +02:00