trunk/makefile
| r245203 | r245204 | |
| 304 | 304 | PYTHON_AVAILABLE:=$(shell python --version > NUL 2>&1 && echo python) |
| 305 | 305 | CHECK_CLANG:= |
| 306 | 306 | else |
| 307 | | GCC_VERSION:=$(shell gcc -dumpversion 2> /dev/null) |
| 307 | GCC_VERSION:=$(shell $(subst @,,$(CC)) -dumpversion 2> /dev/null) |
| 308 | 308 | CLANG_VERSION:=$(shell clang --version 2> /dev/null | grep 'LLVM [0-9]\.[0-9]' -o | grep '[0-9]\.[0-9]' -o | head -n 1) |
| 309 | 309 | PYTHON_AVAILABLE:=$(shell python --version > /dev/null 2>&1 && echo python) |
| 310 | 310 | CHECK_CLANG:=$(shell gcc --version 2> /dev/null | grep 'clang' | head -n 1) |
| r245203 | r245204 | |
| 724 | 724 | |
| 725 | 725 | $(GENDIR)/%.moc.c: $(SRC)/%.h |
| 726 | 726 | $(SILENT) $(MOC) $(MOCINCPATH) $< -o $@ |
| 727 | |
| | No newline at end of file |
trunk/scripts/genie.lua
| r245203 | r245204 | |
| 154 | 154 | description = "Generate a link map.", |
| 155 | 155 | } |
| 156 | 156 | |
| 157 | | newoption { |
| 158 | | trigger = "FORCE_DRC_C_BACKEND", |
| 159 | | description = "Force DRC C backend.", |
| 160 | | } |
| 161 | | |
| 162 | | |
| 163 | 157 | local os_version = str_to_version(_OPTIONS["os_version"]) |
| 164 | 158 | USE_BGFX = 1 |
| 165 | 159 | if (_OPTIONS["targetos"]=="macosx" and os_version < 100700) then |
| r245203 | r245204 | |
| 343 | 337 | "FLAC__NO_DLL", |
| 344 | 338 | } |
| 345 | 339 | |
| 346 | | -- fixme -- need to make this work for other target architectures (PPC) |
| 347 | | if _OPTIONS["FORCE_DRC_C_BACKEND"]==nil then |
| 348 | | configuration { "x64" } |
| 349 | | defines { |
| 350 | | "NATIVE_DRC=drcbe_x64", |
| 351 | | } |
| 352 | | configuration { "x32" } |
| 353 | | defines { |
| 354 | | "NATIVE_DRC=drcbe_x86", |
| 355 | | } |
| 356 | | configuration { } |
| 357 | | end |
| 358 | | |
| 359 | 340 | -- define USE_SYSTEM_JPEGLIB if library shipped with MAME is not used |
| 360 | 341 | --ifneq ($(BUILD_JPEGLIB),1) |
| 361 | 342 | --DEFS += -DUSE_SYSTEM_JPEGLIB |