dhewm3/neo/mmakefile.src

50 lines
2.1 KiB
Text
Raw Normal View History

2015-06-20 19:30:46 +00:00
# Copyright <20> 2012-2015, Nick "Kalamatee" Andrews.
# $Id$
-include $(TOP)/config/make.cfg
DOOM3_EXEDIR := $(AROS_CONTRIB)/Games/ADoom3
DOOM3_GAMEDIR := base
GRAPHITE_CFLAGS := \
-ftree-loop-linear -floop-strip-mine -floop-block
2016-04-18 20:57:41 +00:00
USER_CFLAGS := -Wno-error
USER_CXXFLAGS := \
2015-06-20 19:30:46 +00:00
-ffast-math -fomit-frame-pointer \
2016-04-18 20:57:41 +00:00
-Wno-error -fexceptions
USER_LDFLAGS := -static-libstdc++
2015-06-20 19:30:46 +00:00
2015-09-01 14:18:24 +00:00
#MM- aros-doom3-libs : workbench-libs-jpeg-linklib contrib-openal-linklib development-libogg development-libvorbis
2015-06-20 19:30:46 +00:00
#MM- aros-doom3-libs : contrib-curl contrib-sdl development-SDL_gfx-quick
#MM aros-doom3 : aros-doom3-libs iconset-Gorilla-contrib-icons-extras-games-adoom3 iconset-Gorilla-contrib-games-doom3game
2017-04-01 01:18:53 +00:00
DOOM3_OPTIONS := -DCORE=ON -DDEDICATED=ON -DBASE=ON -DSDL2=OFF \
2015-06-20 19:30:46 +00:00
-DCMAKE_INSTALL_BINDIR= \
-DCMAKE_INSTALL_LIBDIR= \
2017-04-01 01:18:53 +00:00
-DZLIB_LIBRARY=$(AROS_DEVELOPER)/lib/libz.a \
-DZLIB_INCLUDE_DIR=$(AROS_DEVELOPER)/include \
-DJPEG_LIBRARY=$(AROS_DEVELOPER)/lib/libjpeg.a \
-DJPEG_INCLUDE_DIR=$(AROS_DEVELOPER)/include \
-DOPENAL_INCLUDE_DIR=$(AROS_DEVELOPER)/include \
-DOPENAL_LIBRARY="$(AROS_DEVELOPER)/lib/libopenal.a;$(AROS_DEVELOPER)/lib/libpthread.a;" \
-DOGG_LIBRARY=$(AROS_DEVELOPER)/lib/libogg.a \
-DOGG_INCLUDE_DIR=$(AROS_DEVELOPER)/include \
-DVORBIS_LIBRARY=$(AROS_DEVELOPER)/lib/libvorbis.a \
-DVORBIS_INCLUDE_DIR=$(AROS_DEVELOPER)/include \
-DVORBISFILE_LIBRARY=$(AROS_DEVELOPER)/lib/libvorbisfile.a \
-DVORBISFILE_INCLUDE_DIR=$(AROS_DEVELOPER)/include \
-DCURL_LIBRARY="$(AROS_DEVELOPER)/lib/libcurl.a;$(AROS_DEVELOPER)/lib/libiconv.a;$(AROS_DEVELOPER)/lib/libz.a;$(AROS_DEVELOPER)/lib/libssl.a;$(AROS_DEVELOPER)/lib/libcrypto.a;" \
-DCURL_INCLUDE_DIR=$(AROS_DEVELOPER)/include \
-DSDL_LIBRARY=$(AROS_DEVELOPER)/lib/libSDL.a \
-DSDL_INCLUDE_DIR=$(AROS_DEVELOPER)/include/SDL
2015-06-20 19:30:46 +00:00
%build_with_cmake mmake=aros-doom3 \
prefix="$(DOOM3_EXEDIR)" \
extraoptions="$(DOOM3_OPTIONS)"
%build_icons mmake=iconset-Gorilla-contrib-icons-extras-games-adoom3 icons=ADoom3 dir=$(AROS_CONTRIB)/Games
%common