Commit Graph

1760 Commits

Author SHA1 Message Date
Miodrag Milanovic
e97c4afe1f Merge branch 'master' of https://github.com/mamedev/mame 2015-04-02 17:39:00 +02:00
Miodrag Milanovic
23de91ccde Fix for backtick [qmc2](nw) 2015-04-02 19:04:09 +02:00
Miodrag Milanovic
69d936dfee skeleton for XCode support (nw) 2015-04-02 18:16:20 +02:00
Miodrag Milanovic
86e36b4912 removed includeosd (nw) 2015-04-02 18:04:21 +02:00
Miodrag Milanovic
0de3599a07 xcode4 fixed (nw) 2015-04-02 17:38:28 +02:00
Vas Crabb
9d63532184 SDL1 does not work with BFGX 2015-04-03 01:59:42 +11:00
Vas Crabb
1532f81232 Enable BGFX by default on Snow Leopard 2015-04-03 01:54:26 +11:00
Vas Crabb
453fd07fa0 Add a nice wrapper for doing backtick-like processing of command output 2015-04-02 22:53:14 +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
a3741011dc vs fix (nw) 2015-04-01 15:22:39 +02:00
Miodrag Milanovic
39fc214596 typo fix, SDL compile fix [qmc2] (nw) 2015-04-01 14:08:14 +02:00
Miodrag Milanovic
26214cc6ec Update to latest bgfx and fix for latest mingw releases (nw) 2015-04-01 12:45:19 +02:00
Miodrag Milanovic
627b7c61dc Ok shuffling done 2015-04-01 12:02:13 +02:00
Miodrag Milanovic
9207811ed5 fix it properly (nw) 2015-04-01 11:06:53 +02:00
Miodrag Milanovic
42ffb726fa uf reverting breaks mingw (nw) 2015-04-01 10:57:03 +02:00
Miodrag Milanovic
d504fa25ff moved unicode specific build defines in genie.lua to fix tools build (nw) 2015-04-01 10:53:26 +02:00
Miodrag Milanovic
ec0553414d MSVC build fix (nw) 2015-04-01 10:27:34 +02:00
Vas Crabb
ab50ffac9d Move osdcore.c back into libocore, don't allow libutil to #include osd 2015-04-01 18:50:27 +11:00
Vas Crabb
5ca7080703 Link osdnet into a library reflecting its location, define USE_NETWORK properly, don't use SDL in non-SDL-specific macros 2015-04-01 18:00:35 +11:00
Vas Crabb
19d52cef70 Bring back NOASM 2015-04-01 16:12:03 +11:00
Vas Crabb
1ea04c4eb6 Build Qt debugger on OSX if requested 2015-04-01 12:09:38 +11:00
Vas Crabb
fe9339fa30 Add back DIRECTINPUT config for Windows OSD 2015-04-01 09:49:25 +11:00
Vas Crabb
eb30b3fbb0 Can't use BGFX or QT without X11 on *NIX 2015-04-01 07:41:46 +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
d7d3818ea6 WTF was I thinking 2015-04-01 03:06:55 +11:00
Vas Crabb
1f2763cc32 Restore SDL2_MULTIAPI 2015-04-01 03:03:18 +11:00
Vas Crabb
00bfd00a43 Fix USE_BGFX=0 with windows OSD 2015-04-01 03:03:18 +11:00
Vas Crabb
30ef0cb847 Small cleanup to how macros are defined for SDL OSD 2015-04-01 03:03:17 +11:00
Vas Crabb
399a5f914b Get rid of unnecessary distro nonsense 2015-04-01 03:03:17 +11:00
Miodrag Milanovic
5c03885252 Merge branch 'master' of https://github.com/mamedev/mame 2015-03-31 16:24:43 +02: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
Miodrag Milanovic
5221cab621 create separate VisualStudio group for 3rdparty (nw) 2015-03-31 16:19:30 +02:00
Miodrag Milanovic
e5f612d174 Made SDL build to be able to be compiled on VS (nw) 2015-03-31 13:57:02 +02:00
Miodrag Milanovic
636cacd0c8 Removed not needed flag since duplicate has been removed (nw) 2015-03-31 12:11:19 +02:00
Vas Crabb
1f163a762e Get NO_X11, NO_USE_XINPUT and SDL_LIBVER working on Linux 2015-03-31 20:46:51 +11:00
Vas Crabb
ea348ff9f1 Bring back some SDL OSD configurability (WIP) 2015-03-31 20:46:51 +11:00
Miodrag Milanovic
49545f9e84 Remove need for winprefix.h and moved alloca define to osdcomm.h (nw) 2015-03-31 11:09:10 +02:00
Miodrag Milanovic
df90d5068a Update to latest 3rdparty, fixes issues on OpenGL 2.1 for bgfx (nw) 2015-03-31 08:17:12 +02:00
Miodrag Milanovic
de541d79ee removed windows/osinline.h and placed MSVC dependent files in top folder (nw)
moved MSVC defines from winprefix.h to osdcomm.h
removed empty file compilation - porttime.c
removed osinline.h in windows and sdl and change files using them.
2015-03-30 20:30:18 +02:00
mamehaze
ad76983e54 hng64: push code for what I believe is the sound chip into it's own file (nw) 2015-03-30 18:32:10 +01:00
Miodrag Milanovic
2f3d1de477 Added IgnoreLDFlags, change sent upstream (nw) 2015-03-30 15:24:18 +02:00
Vas Crabb
3567c77114 Restore ledutil for windows builds with TOOLS=1 2015-03-30 19:14:52 +11:00
Miodrag Milanovic
7ae85d216b Merge branch 'master' of https://github.com/mamedev/mame 2015-03-30 09:25:23 +02:00
Miodrag Milanovic
d5dd20d82d added back unidasm, and enabled building even in tiny builds (nw) 2015-03-30 09:25:12 +02:00
Curt Coder
1bc42a863e OS X 10.10 build fix by Micko. (nw) 2015-03-30 09:39:14 +03:00
couriersud
a67f2cb095 Fix compile. (nw) 2015-03-29 22:50:55 +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
Miodrag Milanovic
c95c00c8c0 Separate OS and TARGETOS recognition and supported more platforms (nw) 2015-03-29 15:17:21 +02:00
Miodrag Milanovic
72d5222016 made bgfx compile on more platforms (nw) 2015-03-29 14:29:06 +02:00
Miodrag Milanovic
93025d33c1 Added network flags (nw) 2015-03-29 10:57:10 +02:00
Vas Crabb
c73dbdeaf3 Small cleanup 2015-03-29 18:35:48 +11:00
Vas Crabb
3010be4c30 SDL and Windows strconv are the same thing. 2015-03-29 18:23:02 +11:00
Vas Crabb
c878883667 Remove all the stuff that causes driver and emu sources to be compiled
differently with different OSDs
Switch back to building for all OSDs in common directory
Move more OSD-specific stuff into OSD scripts
It still isn't completely safe to be building all OSD into same directory
Common OSD "module" files, e.g. debuggers and renderers, build with
different options for each OSD.  It works at the moment, but you will end
up with slightly different executables depending on the order you build
OSDs.
2015-03-29 15:02:23 +11:00
Vas Crabb
dce0421517 Fix ldplayer build 2015-03-29 15:02:23 +11:00
Miodrag Milanović
f2d6f4cde9 Commented until confirmed working on all platforms 2015-03-28 21:18:27 +01:00
Miodrag Milanovic
76803f7337 Added GAWK script to make deps more sane. thanks to OG.
For those not having latest build tools download :
http://gnuwin32.sourceforge.net/downlinks/gawk-bin-zip.php
and put in bin folder of mingw so it is in path
2015-03-28 20:54:22 +01:00
Miodrag Milanovic
64e76caae5 Added NoDependency flag to disable dependency file creation, until
create sane exclude of specific paths (nw)
2015-03-28 18:15:33 +01:00
Miodrag Milanovic
a9c86a645d fixed duplicated lib name (nw)
ume links now
2015-03-28 16:06:31 +01:00
Miodrag Milanovic
6825ee0a55 Made ume target include mame and mess targets (nw) 2015-03-28 15:19:21 +01:00
Miodrag Milanovic
bc8b2b2c13 removed DRC example, not needed anymore (nw) 2015-03-28 14:31:28 +01:00
Miodrag Milanovic
d90b5dd812 fix for osx debugger (nw) 2015-03-28 11:51:25 +01:00
Miodrag Milanovic
b14117da2b skipped one file (nw) 2015-03-28 11:03:05 +01:00
Miodrag Milanovic
7f1ad1db99 Explicit file listing in lua scripts making generate much much faster (nw) 2015-03-28 10:10:03 +01:00
Miodrag Milanovic
aea6bc4bb8 linkoptions for QT are needed (nw) 2015-03-28 07:15:14 +01:00
Miodrag Milanovic
ce5ccff643 added NOWERROR support (nw) 2015-03-28 07:03:44 +01:00
Vas Crabb
4303fbc35c Put some OSD libs back in main GENie file to fix WinSDL build for now 2015-03-28 16:20:04 +11:00
Vas Crabb
a9bc80bd4b build into OSD subdirectory for people building multiple OSDs 2015-03-28 16:06:06 +11:00
Vas Crabb
eca145893d Generate project files into OSD subdir to facilitate building multiple OSDs 2015-03-28 15:38:12 +11:00
Vas Crabb
78eedb8aba Move more OSD-specific stuff to OSD scripts 2015-03-28 15:09:22 +11:00
Miodrag Milanovic
a539224998 propagated USE_BGFX for unsupported platforms (nw) 2015-03-27 17:19:57 +01:00
mamehaze
c03feee2c2 port needed warning disables from vconv.c to genie.lua for using icl15 (nw) 2015-03-27 16:36:13 +00:00
Miodrag Milanovic
9b8b9062ff and even more (nw) 2015-03-27 16:43:54 +01:00
Miodrag Milanovic
f4a3b373df better fix (nw) 2015-03-27 16:41:59 +01:00
Miodrag Milanovic
a24c492c6b Fix for DRC, thanks Vas (nw) 2015-03-27 16:24:07 +01:00
Miodrag Milanovic
5877841729 fixed OSX build with Clang on 10.7.x (nw)
Removed internal CC and LD  settings since it's not
needed and can be overwritten  externally now
2015-03-27 14:36:13 +01:00
Miodrag Milanovic
59a15be847 Fix for GCC 4.2.1, OSX using gcc (nw) 2015-03-27 14:00:01 +01:00
Miodrag Milanovic
e14a06de87 Split OSD per file [qmc2] 2015-03-27 13:01:03 +01:00
Miodrag Milanovic
52efc8a693 drc test build for easier debugging of current issues (nw) 2015-03-27 12:37:34 +01:00
Miodrag Milanovic
3fc637d9c6 Create makefiles for targets per subdir (nw) 2015-03-27 08:06:15 +01:00
Miodrag Milanovic
3d34fd00eb fix for DRC (nw) 2015-03-26 19:29:26 +01:00
Miodrag Milanovic
3a3fb1dc9d fix for later OSX (nw) 2015-03-26 19:07:46 +01:00
Miodrag Milanovic
7495d63776 changed to removefiles and fixed locations, vs builds do fine now (nw) 2015-03-26 17:32:34 +01:00
Miodrag Milanovic
e38220cd9c Fix for symbols (nw) 2015-03-26 16:57:32 +01:00
Miodrag Milanovic
69d4d86e74 add postbuild only to main file (nw) 2015-03-26 16:48:24 +01:00
Miodrag Milanovic
c29a2b4517 sym file generate on mingw in postbuild process (nw) 2015-03-26 16:37:53 +01:00
Miodrag Milanovic
2444ae8149 Include symbols in builds (nw) 2015-03-26 16:26:10 +01:00
Miodrag Milanovic
44666525b7 Fixed location of map file (nw) 2015-03-26 15:57:34 +01:00
Miodrag Milanovic
604d83b1e3 Added CXX and fixed LD [qmc2] (nw) 2015-03-26 15:49:06 +01:00
Miodrag Milanovic
b4d9920e10 More parameter handling (nw) 2015-03-26 15:45:59 +01:00
Miodrag Milanovic
726de20508 Made CC and LD override possible (nw) 2015-03-26 14:43:39 +01:00
Miodrag Milanovic
c21bf6fd5d Merge branch 'master' of https://github.com/mamedev/mame 2015-03-26 14:01:38 +01:00
Miodrag Milanovic
5310d041d5 added distro support for linux (nw) 2015-03-26 14:01:14 +01:00
Vas Crabb
2605b33035 Fix tools link on OSX, only embed plist in main target 2015-03-26 23:45:14 +11:00
Vas Crabb
eb8bd38fa8 Embed version information for OSX 2015-03-26 23:45:13 +11:00
Miodrag Milanovic
6c2c891317 fix TOOLS linking on OSX (nw) 2015-03-26 13:37:40 +01:00
Miodrag Milanovic
6f7ac1a200 fix gcc version to use 2015-03-26 13:19:28 +01:00
Miodrag Milanovic
83917e51b5 Added two missing devices in ume (nw) 2015-03-26 12:12:18 +01:00
Miodrag Milanovic
8c09cdaa6d ah (nw) 2015-03-26 12:06:18 +01:00
Miodrag Milanovic
8263784f7f exclude rc's in ume build (nw) 2015-03-26 12:00:27 +01:00
Miodrag Milanovic
362404cb5c add this for all gcc versions (nw) 2015-03-26 11:56:52 +01:00
Miodrag Milanovic
53340a5f89 changed .build to build to be visible (nw) 2015-03-26 11:17:59 +01:00
Miodrag Milanovic
c9dec81990 missing SDLMAME_X11 [qmc2] (nw) 2015-03-26 10:52:13 +01:00
Miodrag Milanovic
54f324024e fix compile bgfx under OSX (nw) 2015-03-26 10:50:58 +01:00
Miodrag Milanovic
c869696a3f Fix clang and one more warning added 2015-03-26 10:20:29 +01:00
Miodrag Milanovic
9358a61e7a made tools to be built with TOOLS=1 param (nw) 2015-03-26 09:35:10 +01:00
Miodrag Milanovic
51968eddb3 fixed compiling ldplayer (nw) 2015-03-26 09:20:27 +01:00
Miodrag Milanovic
f76d59c41d Moved build system to GENie [Miodrag Milanovic]
make TARGET=mess -j19

will generate all needed files and build MESS, while developing you can use

make TARGET=mess COMPILE=1 -j19
to prevent rebuilding of make files.

Build system have automatic generate of dependencies so will do incremental builds fine.

make clean
will remove all generated files/projects and obj files
2015-03-26 09:00:39 +01:00