2008-08-20 22:58:09 +00:00
|
|
|
#
|
2006-04-13 20:47:06 +00:00
|
|
|
# EDuke32 Makefile for GNU Make
|
2008-08-20 22:58:09 +00:00
|
|
|
#
|
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
include Common.mak
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2017-06-09 06:38:52 +00:00
|
|
|
### File Extensions
|
2017-06-09 07:00:07 +00:00
|
|
|
asm=nasm
|
2006-04-13 20:47:06 +00:00
|
|
|
o=o
|
2017-06-09 06:38:52 +00:00
|
|
|
|
|
|
|
### Directories
|
|
|
|
source=source
|
2014-07-23 07:21:29 +00:00
|
|
|
obj=obj
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-06-09 06:38:52 +00:00
|
|
|
### Functions
|
2017-06-09 06:39:01 +00:00
|
|
|
define parent
|
|
|
|
$(word 1,$(subst _, ,$1))
|
|
|
|
endef
|
2017-03-23 20:46:50 +00:00
|
|
|
define expandobjs
|
2017-06-10 06:21:24 +00:00
|
|
|
$$(addprefix $$($$(call parent,$1)_OBJ)/,$$(addsuffix .$$o,$$(basename $$($1_OBJS) $$($1_RSRC_OBJS) $$($1_GEN_OBJS))))
|
2017-06-09 06:39:01 +00:00
|
|
|
endef
|
|
|
|
define expandsrcs
|
2017-06-10 06:21:24 +00:00
|
|
|
$(addprefix $($(call parent,$1)_SRC)/,$($1_OBJS)) $(addprefix $($(call parent,$1)_RSRC)/,$($1_RSRC_OBJS)) $(addprefix $($(call parent,$1)_OBJ)/,$($1_GEN_OBJS))
|
2017-06-09 06:39:01 +00:00
|
|
|
endef
|
|
|
|
define expanddeps
|
|
|
|
$(strip $1 $(foreach j,$1,$(call $0,$($j_DEPS))))
|
|
|
|
endef
|
|
|
|
define getdeps
|
|
|
|
$(call expanddeps,$1_$2 $(COMMON_$2_DEPS) ENGINE)
|
2017-03-23 20:46:50 +00:00
|
|
|
endef
|
|
|
|
|
2015-05-19 21:56:03 +00:00
|
|
|
COMPILERFLAGS += -I$(ENGINE_INC) -I$(MACT_INC) -I$(AUDIOLIB_INC) -I$(ENET_INC)
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2017-06-09 06:39:04 +00:00
|
|
|
##### External Library Definitions
|
|
|
|
|
2017-06-09 06:39:42 +00:00
|
|
|
#### libxmp-lite
|
|
|
|
|
|
|
|
LIBXMPLITE=libxmp-lite
|
|
|
|
|
|
|
|
LIBXMPLITE_OBJS = \
|
|
|
|
control.c \
|
|
|
|
dataio.c \
|
|
|
|
effects.c \
|
|
|
|
filter.c \
|
|
|
|
format.c \
|
|
|
|
hio.c \
|
|
|
|
lfo.c \
|
|
|
|
load.c \
|
|
|
|
load_helpers.c \
|
|
|
|
memio.c \
|
|
|
|
mixer.c \
|
|
|
|
mix_all.c \
|
|
|
|
period.c \
|
|
|
|
player.c \
|
|
|
|
read_event.c \
|
|
|
|
scan.c \
|
|
|
|
smix.c \
|
|
|
|
virtual.c \
|
|
|
|
common.c \
|
|
|
|
itsex.c \
|
|
|
|
it_load.c \
|
|
|
|
mod_load.c \
|
|
|
|
s3m_load.c \
|
|
|
|
sample.c \
|
|
|
|
xm_load.c \
|
|
|
|
|
|
|
|
LIBXMPLITE_ROOT=$(source)/$(LIBXMPLITE)
|
|
|
|
LIBXMPLITE_SRC=$(LIBXMPLITE_ROOT)/src
|
|
|
|
LIBXMPLITE_INC=$(LIBXMPLITE_ROOT)/include
|
|
|
|
LIBXMPLITE_OBJ=$(obj)/$(LIBXMPLITE)
|
|
|
|
|
|
|
|
LIBXMPLITE_CFLAGS=-DHAVE_ROUND -DLIBXMP_CORE_PLAYER -DBUILDING_STATIC -I$(LIBXMPLITE_INC)/libxmp-lite -Wno-unused-parameter -Wno-sign-compare
|
|
|
|
|
|
|
|
|
2017-06-09 06:39:21 +00:00
|
|
|
#### LPeg
|
|
|
|
|
|
|
|
LPEG=lpeg
|
|
|
|
|
|
|
|
LPEG_OBJS = \
|
|
|
|
lpcap.c \
|
|
|
|
lpcode.c \
|
|
|
|
lpprint.c \
|
|
|
|
lptree.c \
|
|
|
|
lpvm.c \
|
|
|
|
|
|
|
|
LPEG_ROOT=$(source)/$(LPEG)
|
|
|
|
LPEG_SRC=$(LPEG_ROOT)/src
|
|
|
|
LPEG_INC=$(LPEG_ROOT)/include
|
|
|
|
LPEG_OBJ=$(obj)/$(LPEG)
|
|
|
|
|
|
|
|
|
2017-06-09 06:39:04 +00:00
|
|
|
#### ENet
|
|
|
|
|
|
|
|
ENET=enet
|
|
|
|
|
|
|
|
ENET_OBJS = \
|
|
|
|
callbacks.c \
|
|
|
|
host.c \
|
|
|
|
list.c \
|
|
|
|
packet.c \
|
|
|
|
peer.c \
|
|
|
|
protocol.c \
|
|
|
|
compress.c \
|
|
|
|
|
|
|
|
ENET_ROOT=$(source)/$(ENET)
|
|
|
|
ENET_SRC=$(ENET_ROOT)/src
|
|
|
|
ENET_INC=$(ENET_ROOT)/include
|
|
|
|
ENET_OBJ=$(obj)/$(ENET)
|
|
|
|
|
|
|
|
ENET_CFLAGS=
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM),WINDOWS)
|
|
|
|
ENET_OBJS += win32.c
|
|
|
|
else
|
|
|
|
ENET_OBJS += unix.c
|
|
|
|
ENET_CFLAGS += -DHAS_SOCKLEN_T
|
|
|
|
endif
|
|
|
|
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
##### Component Definitions
|
|
|
|
|
|
|
|
#### EBacktrace
|
2014-07-24 14:01:44 +00:00
|
|
|
|
|
|
|
ifndef EBACKTRACEDLL
|
|
|
|
EBACKTRACEDLL = ebacktrace1.dll
|
|
|
|
ifeq ($(findstring x86_64,$(COMPILERTARGET)),x86_64)
|
|
|
|
EBACKTRACEDLL = ebacktrace1-64.dll
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
#### BUILD Engine
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2016-05-23 04:46:57 +00:00
|
|
|
ENGINE=build
|
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
ENGINE_CFLAGS=-I$(ENGINE_SRC)
|
|
|
|
|
2017-06-09 06:38:52 +00:00
|
|
|
ENGINE_ROOT=$(source)/$(ENGINE)
|
|
|
|
ENGINE_SRC=$(ENGINE_ROOT)/src
|
|
|
|
ENGINE_INC=$(ENGINE_ROOT)/include
|
2016-05-23 04:47:00 +00:00
|
|
|
ENGINE_OBJ=$(obj)/$(ENGINE)
|
2014-07-23 07:21:29 +00:00
|
|
|
|
2016-05-23 04:47:18 +00:00
|
|
|
ENGINE_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
rev.cpp \
|
|
|
|
baselayer.cpp \
|
|
|
|
cache1d.cpp \
|
|
|
|
common.cpp \
|
|
|
|
compat.cpp \
|
|
|
|
crc32.cpp \
|
|
|
|
defs.cpp \
|
|
|
|
engine.cpp \
|
|
|
|
tiles.cpp \
|
|
|
|
clip.cpp \
|
|
|
|
2d.cpp \
|
|
|
|
hash.cpp \
|
|
|
|
palette.cpp \
|
|
|
|
polymost.cpp \
|
|
|
|
texcache.cpp \
|
|
|
|
dxtfilter.cpp \
|
|
|
|
hightile.cpp \
|
|
|
|
textfont.cpp \
|
|
|
|
smalltextfont.cpp \
|
|
|
|
kplib.cpp \
|
|
|
|
lz4.c \
|
|
|
|
osd.cpp \
|
|
|
|
pragmas.cpp \
|
|
|
|
scriptfile.cpp \
|
|
|
|
mmulti_null.cpp \
|
|
|
|
mutex.cpp \
|
|
|
|
xxhash.c \
|
|
|
|
md4.cpp \
|
|
|
|
colmatch.cpp \
|
|
|
|
screenshot.cpp \
|
|
|
|
mhk.cpp \
|
2017-07-18 20:53:00 +00:00
|
|
|
pngwrite.cpp \
|
|
|
|
miniz.c \
|
2016-05-23 04:47:18 +00:00
|
|
|
|
|
|
|
ENGINE_EDITOR_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
build.cpp \
|
|
|
|
config.cpp \
|
|
|
|
defs.cpp \
|
2016-05-23 04:47:18 +00:00
|
|
|
|
2017-06-09 06:38:52 +00:00
|
|
|
ENGINE_TOOLS_OBJS = \
|
|
|
|
compat.cpp \
|
|
|
|
pragmas.cpp \
|
|
|
|
kplib.cpp \
|
|
|
|
cache1d.cpp \
|
|
|
|
crc32.cpp \
|
|
|
|
colmatch.cpp \
|
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
ifeq (0,$(NOASM))
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= a.nasm
|
2014-07-22 07:25:54 +00:00
|
|
|
else
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= a-c.cpp
|
2014-07-22 07:25:54 +00:00
|
|
|
ifneq (0,$(USE_ASM64))
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= a64.yasm
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
ifeq (1,$(USE_OPENGL))
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= glbuild.cpp voxmodel.cpp mdsprite.cpp
|
2014-07-22 07:25:54 +00:00
|
|
|
ifeq (1,$(POLYMER))
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= polymer.cpp
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
|
|
|
endif
|
2014-09-07 18:10:17 +00:00
|
|
|
ifneq (0,$(LUNATIC))
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= lunatic.cpp
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(PLATFORM),DARWIN)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS += osxbits.mm
|
2016-11-28 04:35:27 +00:00
|
|
|
ifeq ($(STARTUP_WINDOW),1)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_EDITOR_OBJS += startosx.editor.mm
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
2016-03-28 05:16:18 +00:00
|
|
|
ifeq ($(SDL_TARGET),1)
|
2016-06-15 07:08:35 +00:00
|
|
|
ifneq ($(SDL_FRAMEWORK),0)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+=SDLMain.mm
|
2016-03-28 05:16:18 +00:00
|
|
|
endif
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
ifeq ($(PLATFORM),WINDOWS)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= winbits.cpp
|
2016-11-28 04:35:34 +00:00
|
|
|
ifeq ($(STARTUP_WINDOW),1)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_EDITOR_OBJS+= startwin.editor.cpp
|
2016-11-28 04:35:34 +00:00
|
|
|
endif
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
2014-12-17 13:01:58 +00:00
|
|
|
ifeq ($(PLATFORM),WII)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= wiibits.cpp
|
2014-12-17 13:02:21 +00:00
|
|
|
LINKERFLAGS+= -Wl,-wrap,c_default_exceptionhandler
|
2014-12-17 13:01:58 +00:00
|
|
|
endif
|
2014-07-22 07:25:54 +00:00
|
|
|
ifeq ($(RENDERTYPE),SDL)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= sdlayer.cpp
|
2014-07-22 07:25:54 +00:00
|
|
|
|
|
|
|
ifeq (1,$(HAVE_GTK2))
|
2017-06-09 06:38:42 +00:00
|
|
|
ENGINE_OBJS+= gtkbits.cpp dynamicgtk.cpp
|
2016-11-28 04:35:31 +00:00
|
|
|
ifeq ($(STARTUP_WINDOW),1)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_EDITOR_OBJS+= startgtk.editor.cpp
|
2016-11-28 04:35:31 +00:00
|
|
|
endif
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
ifeq ($(RENDERTYPE),WIN)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= winlayer.cpp rawinput.cpp
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
ifneq ($(USE_LIBVPX),0)
|
2017-03-23 20:46:47 +00:00
|
|
|
ENGINE_OBJS+= animvpx.cpp
|
2017-02-01 10:20:54 +00:00
|
|
|
endif
|
|
|
|
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
#### MACT
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2016-05-23 04:46:57 +00:00
|
|
|
MACT=mact
|
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
MACT_ROOT=$(source)/$(MACT)
|
|
|
|
MACT_SRC=$(MACT_ROOT)/src
|
|
|
|
MACT_INC=$(MACT_ROOT)/include
|
2016-05-23 04:47:00 +00:00
|
|
|
MACT_OBJ=$(obj)/$(MACT)
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2016-05-23 04:47:18 +00:00
|
|
|
MACT_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
file_lib.cpp \
|
|
|
|
control.cpp \
|
|
|
|
keyboard.cpp \
|
|
|
|
joystick.cpp \
|
|
|
|
scriplib.cpp \
|
|
|
|
animlib.cpp \
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
#### AudioLib
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2016-05-23 04:46:57 +00:00
|
|
|
AUDIOLIB=audiolib
|
|
|
|
|
2016-05-23 04:47:18 +00:00
|
|
|
AUDIOLIB_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
drivers.cpp \
|
|
|
|
fx_man.cpp \
|
|
|
|
multivoc.cpp \
|
|
|
|
mix.cpp \
|
|
|
|
mixst.cpp \
|
|
|
|
pitch.cpp \
|
|
|
|
formats.cpp \
|
|
|
|
vorbis.cpp \
|
|
|
|
flac.cpp \
|
|
|
|
xa.cpp \
|
|
|
|
xmp.cpp \
|
|
|
|
driver_nosound.cpp \
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
AUDIOLIB_ROOT=$(source)/$(AUDIOLIB)
|
2014-07-22 07:25:54 +00:00
|
|
|
AUDIOLIB_SRC=$(AUDIOLIB_ROOT)/src
|
|
|
|
AUDIOLIB_INC=$(AUDIOLIB_ROOT)/include
|
2016-05-23 04:47:00 +00:00
|
|
|
AUDIOLIB_OBJ=$(obj)/$(AUDIOLIB)
|
2014-07-22 07:25:54 +00:00
|
|
|
|
|
|
|
ifeq ($(PLATFORM),WINDOWS)
|
|
|
|
ifeq ($(MIXERTYPE),WIN)
|
2017-03-23 20:46:47 +00:00
|
|
|
AUDIOLIB_OBJS+= driver_directsound.cpp
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(MIXERTYPE),SDL)
|
2017-06-09 06:38:42 +00:00
|
|
|
ifeq (,$(filter $(PLATFORM),DARWIN WINDOWS WII))
|
|
|
|
AUDIOLIB_CFLAGS+=`$(PKG_CONFIG) --cflags vorbis`
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
2017-03-23 20:46:47 +00:00
|
|
|
AUDIOLIB_OBJS+= driver_sdl.cpp
|
2014-07-22 07:25:54 +00:00
|
|
|
endif
|
|
|
|
|
2017-06-09 06:39:42 +00:00
|
|
|
AUDIOLIB_CFLAGS=
|
|
|
|
|
|
|
|
AUDIOLIB_DEPS=
|
|
|
|
|
|
|
|
ifneq (0,$(HAVE_XMP))
|
|
|
|
AUDIOLIB_CFLAGS += -I$(LIBXMPLITE_INC)
|
|
|
|
AUDIOLIB_DEPS += LIBXMPLITE
|
|
|
|
endif
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
#### Tools
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
TOOLS=tools
|
|
|
|
|
|
|
|
TOOLS_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
compat_tools.cpp \
|
2017-02-01 10:20:54 +00:00
|
|
|
|
|
|
|
TOOLS_ROOT=$(source)/$(TOOLS)
|
|
|
|
TOOLS_SRC=$(TOOLS_ROOT)/src
|
|
|
|
TOOLS_OBJ=$(obj)/$(TOOLS)
|
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
TOOLS_CFLAGS=$(ENGINE_CFLAGS)
|
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
TOOLS_TARGETS= \
|
2016-05-23 04:47:18 +00:00
|
|
|
kextract \
|
|
|
|
kgroup \
|
|
|
|
transpal \
|
|
|
|
wad2art \
|
|
|
|
wad2map \
|
|
|
|
kmd2tool \
|
|
|
|
md2tool \
|
|
|
|
generateicon \
|
|
|
|
cacheinfo \
|
|
|
|
arttool \
|
|
|
|
givedepth \
|
|
|
|
mkpalette \
|
|
|
|
unpackssi \
|
|
|
|
bsuite \
|
|
|
|
ivfrate \
|
2017-02-01 10:20:54 +00:00
|
|
|
map2stl \
|
2016-05-23 04:47:18 +00:00
|
|
|
|
2017-03-23 03:03:29 +00:00
|
|
|
ifeq ($(PLATFORM),WINDOWS)
|
|
|
|
TOOLS_TARGETS+= enumdisplay getdxdidf
|
|
|
|
endif
|
|
|
|
ifeq ($(RENDERTYPE),SDL)
|
|
|
|
TOOLS_TARGETS+= makesdlkeytrans
|
|
|
|
endif
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2015-09-27 21:18:09 +00:00
|
|
|
ifeq ($(PLATFORM),DARWIN)
|
2017-03-23 20:46:47 +00:00
|
|
|
TOOLS_OBJS += osxbits.mm
|
2015-09-27 21:18:09 +00:00
|
|
|
endif
|
|
|
|
|
2017-06-09 06:39:01 +00:00
|
|
|
TOOLS_DEPS=ENGINE_TOOLS
|
2014-07-22 07:25:54 +00:00
|
|
|
|
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
#### KenBuild (Test Game)
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2016-05-23 04:46:57 +00:00
|
|
|
KENBUILD=kenbuild
|
2017-03-23 03:03:34 +00:00
|
|
|
kenbuild=KENBUILD
|
2016-05-23 04:46:57 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
KENBUILD_ROOT=$(source)/$(KENBUILD)
|
2016-05-23 04:46:52 +00:00
|
|
|
KENBUILD_SRC=$(KENBUILD_ROOT)/src
|
|
|
|
KENBUILD_RSRC=$(KENBUILD_ROOT)/rsrc
|
2016-05-23 04:47:00 +00:00
|
|
|
KENBUILD_OBJ=$(obj)/$(KENBUILD)
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2016-05-23 04:46:52 +00:00
|
|
|
KENBUILD_CFLAGS=-I$(KENBUILD_SRC)
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2017-02-03 21:59:45 +00:00
|
|
|
KENBUILD_GAME ?= ekenbuild
|
|
|
|
KENBUILD_EDITOR ?= ekenbuild-editor
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2017-02-03 21:59:45 +00:00
|
|
|
KENBUILD_GAME_PROPER ?= EKenBuild
|
|
|
|
KENBUILD_EDITOR_PROPER ?= EKenBuild Editor
|
2016-05-23 04:46:54 +00:00
|
|
|
|
2016-05-23 04:47:18 +00:00
|
|
|
KENBUILD_GAME_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
game.cpp \
|
|
|
|
sound_stub.cpp \
|
|
|
|
common.cpp \
|
|
|
|
config.cpp \
|
2016-05-23 04:47:18 +00:00
|
|
|
|
|
|
|
KENBUILD_EDITOR_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
bstub.cpp \
|
|
|
|
common.cpp \
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2017-03-23 20:46:52 +00:00
|
|
|
KENBUILD_GAME_RSRC_OBJS =
|
|
|
|
KENBUILD_EDITOR_RSRC_OBJS =
|
2017-06-10 06:21:24 +00:00
|
|
|
KENBUILD_GAME_GEN_OBJS =
|
|
|
|
KENBUILD_EDITOR_RSRC_OBJS =
|
2017-03-23 20:46:52 +00:00
|
|
|
|
2017-06-09 06:38:42 +00:00
|
|
|
ifeq (1,$(HAVE_GTK2))
|
|
|
|
KENBUILD_GAME_OBJS+= startgtk.game.cpp
|
2017-06-10 06:21:24 +00:00
|
|
|
KENBUILD_GAME_GEN_OBJS+= game_banner.c
|
|
|
|
KENBUILD_EDITOR_GEN_OBJS+= build_banner.c
|
2017-06-09 06:38:42 +00:00
|
|
|
endif
|
2014-07-24 14:01:44 +00:00
|
|
|
ifeq ($(RENDERTYPE),SDL)
|
2017-03-23 20:46:52 +00:00
|
|
|
KENBUILD_GAME_RSRC_OBJS+= game_icon.c
|
|
|
|
KENBUILD_EDITOR_RSRC_OBJS+= build_icon.c
|
2014-07-24 14:01:44 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(PLATFORM),WINDOWS)
|
2017-03-23 20:46:52 +00:00
|
|
|
KENBUILD_GAME_OBJS+= startwin.game.cpp
|
|
|
|
KENBUILD_GAME_RSRC_OBJS+= gameres.rc
|
|
|
|
KENBUILD_EDITOR_RSRC_OBJS+= buildres.rc
|
2006-04-13 20:47:06 +00:00
|
|
|
endif
|
|
|
|
|
2016-05-23 04:46:37 +00:00
|
|
|
ifeq ($(PLATFORM),DARWIN)
|
2016-11-28 04:35:27 +00:00
|
|
|
ifeq ($(STARTUP_WINDOW),1)
|
2017-03-23 20:46:47 +00:00
|
|
|
KENBUILD_GAME_OBJS += StartupWinController.game.mm
|
2016-05-23 04:46:37 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
#### Duke Nukem 3D
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2016-05-23 04:46:57 +00:00
|
|
|
DUKE3D=duke3d
|
2017-03-23 03:03:34 +00:00
|
|
|
duke3d=DUKE3D
|
2016-05-23 04:46:57 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
DUKE3D_CFLAGS=-I$(DUKE3D_SRC)
|
2011-09-20 19:12:24 +00:00
|
|
|
|
2016-05-23 04:46:52 +00:00
|
|
|
DUKE3D_GAME_LDFLAGS=
|
|
|
|
DUKE3D_EDITOR_LDFLAGS=
|
2012-11-24 09:13:29 +00:00
|
|
|
|
2016-05-23 04:47:03 +00:00
|
|
|
DUKE3D_GAME_STRIPFLAGS=
|
|
|
|
DUKE3D_EDITOR_STRIPFLAGS=
|
|
|
|
|
2017-06-09 06:38:52 +00:00
|
|
|
DUKE3D_ROOT=$(source)/$(DUKE3D)
|
|
|
|
DUKE3D_SRC=$(DUKE3D_ROOT)/src
|
|
|
|
DUKE3D_RSRC=$(DUKE3D_ROOT)/rsrc
|
2016-05-23 04:47:00 +00:00
|
|
|
DUKE3D_OBJ=$(obj)/$(DUKE3D)
|
2009-12-05 09:22:43 +00:00
|
|
|
|
2017-04-24 05:11:11 +00:00
|
|
|
DUKE3D_GAME ?= eduke32
|
2016-05-23 04:46:52 +00:00
|
|
|
DUKE3D_EDITOR ?= mapster32
|
2012-10-29 04:26:25 +00:00
|
|
|
|
2017-04-24 05:11:11 +00:00
|
|
|
ifneq (,$(APPBASENAME))
|
|
|
|
DUKE3D_GAME = $(APPBASENAME)
|
|
|
|
endif
|
|
|
|
|
2016-05-23 04:46:54 +00:00
|
|
|
DUKE3D_GAME_PROPER ?= EDuke32
|
|
|
|
DUKE3D_EDITOR_PROPER ?= Mapster32
|
|
|
|
|
2017-06-09 06:38:58 +00:00
|
|
|
DUKE3D_COMMON_EDITOR_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
m32common.cpp \
|
|
|
|
m32def.cpp \
|
|
|
|
m32exec.cpp \
|
|
|
|
m32vars.cpp \
|
2016-05-23 04:47:18 +00:00
|
|
|
|
|
|
|
DUKE3D_GAME_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
game.cpp \
|
|
|
|
global.cpp \
|
|
|
|
actors.cpp \
|
|
|
|
gamedef.cpp \
|
|
|
|
gameexec.cpp \
|
|
|
|
gamevars.cpp \
|
|
|
|
player.cpp \
|
|
|
|
premap.cpp \
|
|
|
|
sector.cpp \
|
|
|
|
anim.cpp \
|
|
|
|
common.cpp \
|
|
|
|
config.cpp \
|
|
|
|
demo.cpp \
|
|
|
|
input.cpp \
|
|
|
|
menus.cpp \
|
|
|
|
namesdyn.cpp \
|
|
|
|
net.cpp \
|
|
|
|
savegame.cpp \
|
|
|
|
rts.cpp \
|
|
|
|
osdfuncs.cpp \
|
|
|
|
osdcmds.cpp \
|
|
|
|
grpscan.cpp \
|
|
|
|
sounds.cpp \
|
|
|
|
soundsdyn.cpp \
|
|
|
|
cheats.cpp \
|
|
|
|
sbar.cpp \
|
|
|
|
screentext.cpp \
|
|
|
|
screens.cpp \
|
|
|
|
cmdline.cpp \
|
2016-05-23 04:47:18 +00:00
|
|
|
|
|
|
|
DUKE3D_EDITOR_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
astub.cpp \
|
|
|
|
common.cpp \
|
|
|
|
grpscan.cpp \
|
|
|
|
sounds_mapster32.cpp \
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2017-03-23 20:46:52 +00:00
|
|
|
DUKE3D_GAME_RSRC_OBJS =
|
|
|
|
DUKE3D_EDITOR_RSRC_OBJS =
|
2017-06-10 06:21:24 +00:00
|
|
|
DUKE3D_GAME_GEN_OBJS =
|
|
|
|
DUKE3D_EDITOR_GEN_OBJS =
|
2017-03-23 20:46:52 +00:00
|
|
|
|
2016-05-23 04:46:52 +00:00
|
|
|
DUKE3D_GAME_MISCDEPS=
|
2014-07-22 07:25:54 +00:00
|
|
|
DUKE3D_EDITOR_MISCDEPS=
|
2017-03-23 20:47:08 +00:00
|
|
|
DUKE3D_GAME_ORDERONLYDEPS=
|
|
|
|
DUKE3D_EDITOR_ORDERONLYDEPS=
|
2011-12-04 18:09:50 +00:00
|
|
|
|
2011-12-03 13:12:51 +00:00
|
|
|
## Lunatic devel
|
2017-06-09 06:38:58 +00:00
|
|
|
LUNATIC_SRC=$(DUKE3D_SRC)/lunatic
|
|
|
|
LUNATIC_OBJ=$(DUKE3D_OBJ)
|
2017-06-09 06:38:55 +00:00
|
|
|
|
2011-09-20 19:12:24 +00:00
|
|
|
ifneq (0,$(LUNATIC))
|
2017-03-23 20:47:00 +00:00
|
|
|
COMPILERFLAGS += -I$(LUNATIC_SRC) -DLUNATIC
|
|
|
|
|
|
|
|
# Determine size of _defs*.lua bytecode once.
|
|
|
|
ifndef DEFS_BC_SIZE
|
|
|
|
DEFS_BC_SIZE := $(shell $(LUAJIT) -bg -t h $(LUNATIC_SRC)/_defs_game.lua -)
|
|
|
|
DEFS_BC_SIZE := $(word 3, $(DEFS_BC_SIZE))
|
|
|
|
endif
|
|
|
|
ifndef DEFS_M32_BC_SIZE
|
|
|
|
DEFS_M32_BC_SIZE := $(shell $(LUAJIT) -bg -t h $(LUNATIC_SRC)/_defs_editor.lua -)
|
|
|
|
DEFS_M32_BC_SIZE := $(word 3, $(DEFS_M32_BC_SIZE))
|
|
|
|
endif
|
|
|
|
DUKE3D_CFLAGS += -DLUNATIC_DEFS_BC_SIZE=$(DEFS_BC_SIZE) -DLUNATIC_DEFS_M32_BC_SIZE=$(DEFS_M32_BC_SIZE)
|
|
|
|
|
2017-03-23 20:46:44 +00:00
|
|
|
# Lunatic object base names. These are not used in targets directly.
|
2017-06-09 06:39:01 +00:00
|
|
|
LUNATIC_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
defs_common.lua \
|
|
|
|
engine_maptext.lua \
|
|
|
|
engine.lua \
|
|
|
|
bcarray.lua \
|
|
|
|
bcheck.lua \
|
|
|
|
bitar.lua \
|
|
|
|
xmath.lua \
|
|
|
|
v.lua \
|
|
|
|
dump.lua \
|
|
|
|
dis_x86.lua \
|
|
|
|
dis_x64.lua \
|
2017-03-23 20:46:44 +00:00
|
|
|
|
2017-06-09 06:39:01 +00:00
|
|
|
LUNATIC_GAME_OBJS = \
|
|
|
|
lunatic_game.cpp \
|
2017-03-23 20:46:47 +00:00
|
|
|
_defs_game.lua \
|
|
|
|
con_lang.lua \
|
|
|
|
lunacon.lua \
|
|
|
|
randgen.lua \
|
|
|
|
stat.lua \
|
|
|
|
control.lua \
|
2017-06-07 05:56:35 +00:00
|
|
|
lunasave.lua \
|
2017-03-23 20:46:47 +00:00
|
|
|
fs.lua \
|
2017-03-23 20:46:44 +00:00
|
|
|
|
|
|
|
LUNATIC_EDITOR_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
lunatic_editor.cpp \
|
2017-06-09 06:39:01 +00:00
|
|
|
_defs_editor.lua \
|
2011-12-03 13:12:51 +00:00
|
|
|
|
2017-03-23 20:46:44 +00:00
|
|
|
# TODO: remove debugging modules from release build
|
2013-12-31 11:52:01 +00:00
|
|
|
|
2011-12-03 13:12:51 +00:00
|
|
|
# now, take care of having the necessary symbols (sector, wall, etc.) in the
|
|
|
|
# executable no matter what the debugging level
|
|
|
|
|
2011-10-11 16:53:15 +00:00
|
|
|
ifeq ($(PLATFORM),DARWIN)
|
2011-12-03 13:12:51 +00:00
|
|
|
# strip on OSX says: removing global symbols from a final linked no longer supported.
|
|
|
|
# Use -exported_symbols_list at link time when building
|
|
|
|
# But, following _their_ directions does not give us the symbols! wtf?
|
2017-02-01 10:20:54 +00:00
|
|
|
# Instead of using -alias_list and -exported_symbols_list, prevent stripping them.
|
|
|
|
DUKE3D_GAME_STRIPFLAGS+= -s $(DUKE3D_OBJ)/lunatic_dynsymlist_game_osx
|
|
|
|
DUKE3D_EDITOR_STRIPFLAGS+= -s $(DUKE3D_OBJ)/lunatic_dynsymlist_editor_osx
|
2011-12-03 13:12:51 +00:00
|
|
|
|
2017-03-23 20:47:08 +00:00
|
|
|
DUKE3D_GAME_ORDERONLYDEPS+= $(DUKE3D_OBJ)/lunatic_dynsymlist_game_osx
|
|
|
|
DUKE3D_EDITOR_ORDERONLYDEPS+= $(DUKE3D_OBJ)/lunatic_dynsymlist_editor_osx
|
2016-05-23 04:47:03 +00:00
|
|
|
LINKERFLAGS+= -pagezero_size 10000 -image_base 100000000
|
2011-12-03 13:12:51 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(PLATFORM),WINDOWS)
|
2013-01-21 21:18:10 +00:00
|
|
|
override STRIP=
|
2017-02-01 10:20:54 +00:00
|
|
|
DUKE3D_GAME_MISCDEPS+= $(DUKE3D_OBJ)/lunatic_dynsymlist_game.def
|
|
|
|
DUKE3D_EDITOR_MISCDEPS+= $(DUKE3D_OBJ)/lunatic_dynsymlist_editor.def
|
2011-12-03 13:12:51 +00:00
|
|
|
endif
|
2012-12-13 02:32:59 +00:00
|
|
|
ifeq ($(SUBPLATFORM),LINUX)
|
2013-01-21 21:18:10 +00:00
|
|
|
override STRIP=
|
2017-03-23 20:46:57 +00:00
|
|
|
DUKE3D_GAME_LDFLAGS+= -Wl,--dynamic-list=$(LUNATIC_SRC)/dynsymlist_game.lds
|
|
|
|
DUKE3D_EDITOR_LDFLAGS+= -Wl,--dynamic-list=$(LUNATIC_SRC)/dynsymlist_editor.lds
|
2011-10-11 16:53:15 +00:00
|
|
|
endif
|
2011-09-20 19:12:24 +00:00
|
|
|
endif
|
|
|
|
|
2012-12-13 02:32:59 +00:00
|
|
|
ifeq ($(SUBPLATFORM),LINUX)
|
2015-03-02 07:54:24 +00:00
|
|
|
LIBS += -lFLAC -lvorbisfile -lvorbis -logg
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM),BSD)
|
|
|
|
LIBS += -lFLAC -lvorbisfile -lvorbis -logg -lexecinfo
|
2008-08-20 22:58:09 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(PLATFORM),DARWIN)
|
2014-07-22 07:25:54 +00:00
|
|
|
LIBS += -lFLAC -lvorbisfile -lvorbis -logg -lm \
|
|
|
|
-Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,OpenGL \
|
2015-03-24 00:40:43 +00:00
|
|
|
-Wl,-framework,CoreMIDI -Wl,-framework,AudioUnit \
|
2014-07-22 11:19:45 +00:00
|
|
|
-Wl,-framework,AudioToolbox -Wl,-framework,IOKit -Wl,-framework,AGL
|
|
|
|
ifneq (00,$(DARWIN9)$(DARWIN10))
|
|
|
|
LIBS += -Wl,-framework,QuickTime -lm
|
|
|
|
endif
|
2012-03-26 05:04:21 +00:00
|
|
|
|
2016-11-28 04:35:27 +00:00
|
|
|
ifeq ($(STARTUP_WINDOW),1)
|
2017-03-23 20:46:47 +00:00
|
|
|
DUKE3D_GAME_OBJS += GrpFile.game.mm GameListSource.game.mm startosx.game.mm
|
2012-03-08 06:07:10 +00:00
|
|
|
endif
|
2008-08-20 22:58:09 +00:00
|
|
|
endif
|
|
|
|
|
2006-04-13 20:47:06 +00:00
|
|
|
ifeq ($(PLATFORM),WINDOWS)
|
2015-09-08 02:58:03 +00:00
|
|
|
LIBS += -lFLAC -lvorbisfile -lvorbis -logg
|
2017-03-23 20:46:52 +00:00
|
|
|
DUKE3D_GAME_OBJS+= winbits.cpp
|
|
|
|
DUKE3D_GAME_RSRC_OBJS+= gameres.rc
|
|
|
|
DUKE3D_EDITOR_RSRC_OBJS+= buildres.rc
|
2016-11-09 22:51:33 +00:00
|
|
|
ifeq ($(STARTUP_WINDOW),1)
|
2017-03-23 20:46:47 +00:00
|
|
|
DUKE3D_GAME_OBJS+= startwin.game.cpp
|
2016-11-09 22:51:33 +00:00
|
|
|
endif
|
2013-10-07 10:05:03 +00:00
|
|
|
ifeq ($(MIXERTYPE),WIN)
|
2012-11-24 09:13:29 +00:00
|
|
|
LIBS+= -ldsound
|
2017-06-09 06:38:58 +00:00
|
|
|
DUKE3D_COMMON_MIDI_OBJS=music.cpp midi.cpp mpu401.cpp
|
2012-11-24 09:13:29 +00:00
|
|
|
endif
|
|
|
|
endif
|
2014-07-22 07:25:54 +00:00
|
|
|
|
|
|
|
ifeq ($(PLATFORM),WII)
|
|
|
|
LIBS += -lvorbisidec
|
|
|
|
endif
|
|
|
|
|
2017-06-09 06:38:42 +00:00
|
|
|
ifeq (11,$(HAVE_GTK2)$(STARTUP_WINDOW))
|
|
|
|
DUKE3D_GAME_OBJS+= startgtk.game.cpp
|
2017-06-10 06:21:24 +00:00
|
|
|
DUKE3D_GAME_GEN_OBJS+= game_banner.c
|
|
|
|
DUKE3D_EDITOR_GEN_OBJS+= build_banner.c
|
2017-06-09 06:38:42 +00:00
|
|
|
endif
|
2012-11-24 09:13:29 +00:00
|
|
|
ifeq ($(RENDERTYPE),SDL)
|
2017-03-23 20:46:52 +00:00
|
|
|
DUKE3D_GAME_RSRC_OBJS+= game_icon.c
|
|
|
|
DUKE3D_EDITOR_RSRC_OBJS+= build_icon.c
|
2013-10-07 10:05:03 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(MIXERTYPE),SDL)
|
2017-06-09 06:38:58 +00:00
|
|
|
DUKE3D_COMMON_MIDI_OBJS=sdlmusic.cpp
|
2006-04-13 20:47:06 +00:00
|
|
|
endif
|
|
|
|
|
2017-06-09 06:39:01 +00:00
|
|
|
COMMON_EDITOR_DEPS=DUKE3D_COMMON_EDITOR ENGINE_EDITOR
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2017-06-09 06:39:01 +00:00
|
|
|
DUKE3D_GAME_DEPS=DUKE3D_COMMON_MIDI AUDIOLIB MACT
|
|
|
|
DUKE3D_EDITOR_DEPS=AUDIOLIB
|
2015-05-19 22:06:04 +00:00
|
|
|
|
2017-06-09 06:39:01 +00:00
|
|
|
ifneq (0,$(NETCODE))
|
|
|
|
DUKE3D_GAME_DEPS += ENET
|
|
|
|
endif
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-03-23 20:46:44 +00:00
|
|
|
ifneq (0,$(LUNATIC))
|
2017-06-09 06:39:21 +00:00
|
|
|
DUKE3D_GAME_DEPS += LUNATIC LUNATIC_GAME LPEG
|
|
|
|
DUKE3D_EDITOR_DEPS += LUNATIC LUNATIC_EDITOR LPEG
|
2017-03-23 20:46:44 +00:00
|
|
|
endif
|
2012-11-05 02:49:08 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
|
|
|
|
#### Shadow Warrior
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2016-05-23 04:46:57 +00:00
|
|
|
SW=sw
|
2017-03-23 03:03:34 +00:00
|
|
|
sw=SW
|
2016-05-23 04:46:57 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
SW_ROOT=$(source)/$(SW)
|
2015-05-19 21:56:03 +00:00
|
|
|
SW_SRC=$(SW_ROOT)/src
|
|
|
|
SW_RSRC=$(SW_ROOT)/rsrc
|
2016-05-23 04:47:00 +00:00
|
|
|
SW_OBJ=$(obj)/$(SW)
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
SW_CFLAGS=-I$(SW_SRC)
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2016-05-23 04:46:52 +00:00
|
|
|
SW_GAME ?= voidsw
|
2015-05-19 21:56:03 +00:00
|
|
|
SW_EDITOR ?= voidsw-editor
|
|
|
|
|
2016-05-23 04:46:54 +00:00
|
|
|
SW_GAME_PROPER ?= VoidSW
|
|
|
|
SW_EDITOR_PROPER ?= VoidSW Editor
|
|
|
|
|
2016-05-23 04:47:18 +00:00
|
|
|
SW_GAME_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
actor.cpp \
|
|
|
|
ai.cpp \
|
|
|
|
anim.cpp \
|
|
|
|
border.cpp \
|
|
|
|
break.cpp \
|
|
|
|
bunny.cpp \
|
|
|
|
cache.cpp \
|
|
|
|
cheats.cpp \
|
|
|
|
colormap.cpp \
|
|
|
|
common.cpp \
|
|
|
|
config.cpp \
|
|
|
|
console.cpp \
|
|
|
|
coolg.cpp \
|
|
|
|
coolie.cpp \
|
|
|
|
copysect.cpp \
|
|
|
|
demo.cpp \
|
|
|
|
draw.cpp \
|
|
|
|
eel.cpp \
|
|
|
|
game.cpp \
|
|
|
|
girlninj.cpp \
|
|
|
|
goro.cpp \
|
|
|
|
grpscan.cpp \
|
|
|
|
hornet.cpp \
|
|
|
|
interp.cpp \
|
|
|
|
interpsh.cpp \
|
|
|
|
inv.cpp \
|
|
|
|
jplayer.cpp \
|
|
|
|
jsector.cpp \
|
|
|
|
jweapon.cpp \
|
|
|
|
lava.cpp \
|
|
|
|
light.cpp \
|
|
|
|
mclip.cpp \
|
|
|
|
mdastr.cpp \
|
|
|
|
menus.cpp \
|
|
|
|
miscactr.cpp \
|
|
|
|
morph.cpp \
|
|
|
|
net.cpp \
|
|
|
|
ninja.cpp \
|
|
|
|
panel.cpp \
|
|
|
|
player.cpp \
|
|
|
|
predict.cpp \
|
|
|
|
quake.cpp \
|
|
|
|
ripper.cpp \
|
|
|
|
ripper2.cpp \
|
|
|
|
rooms.cpp \
|
|
|
|
rotator.cpp \
|
|
|
|
rts.cpp \
|
|
|
|
save.cpp \
|
|
|
|
scrip2.cpp \
|
|
|
|
sector.cpp \
|
|
|
|
serp.cpp \
|
|
|
|
setup.cpp \
|
|
|
|
skel.cpp \
|
|
|
|
skull.cpp \
|
|
|
|
slidor.cpp \
|
|
|
|
sounds.cpp \
|
|
|
|
spike.cpp \
|
|
|
|
sprite.cpp \
|
|
|
|
sumo.cpp \
|
|
|
|
swconfig.cpp \
|
|
|
|
sync.cpp \
|
|
|
|
text.cpp \
|
|
|
|
track.cpp \
|
|
|
|
vator.cpp \
|
|
|
|
vis.cpp \
|
|
|
|
wallmove.cpp \
|
|
|
|
warp.cpp \
|
|
|
|
weapon.cpp \
|
|
|
|
zilla.cpp \
|
|
|
|
zombie.cpp \
|
|
|
|
saveable.cpp \
|
2016-05-23 04:47:18 +00:00
|
|
|
|
|
|
|
SW_EDITOR_OBJS = \
|
2017-03-23 20:46:47 +00:00
|
|
|
jnstub.cpp \
|
|
|
|
brooms.cpp \
|
|
|
|
bldscript.cpp \
|
|
|
|
jbhlp.cpp \
|
|
|
|
colormap.cpp \
|
|
|
|
grpscan.cpp \
|
|
|
|
common.cpp \
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2017-03-23 20:46:52 +00:00
|
|
|
SW_GAME_RSRC_OBJS =
|
|
|
|
SW_EDITOR_RSRC_OBJS =
|
2017-06-10 06:21:24 +00:00
|
|
|
SW_GAME_GEN_OBJS =
|
|
|
|
SW_EDITOR_GEN_OBJS =
|
2017-03-23 20:46:52 +00:00
|
|
|
|
2017-06-09 06:38:42 +00:00
|
|
|
ifeq (1,$(HAVE_GTK2))
|
|
|
|
SW_GAME_OBJS+= startgtk.game.cpp
|
2017-06-10 06:21:24 +00:00
|
|
|
SW_GAME_GEN_OBJS+= game_banner.c
|
|
|
|
SW_EDITOR_GEN_OBJS+= build_banner.c
|
2017-06-09 06:38:42 +00:00
|
|
|
endif
|
2015-05-19 21:56:03 +00:00
|
|
|
ifeq ($(RENDERTYPE),SDL)
|
2017-03-23 20:46:52 +00:00
|
|
|
SW_GAME_RSRC_OBJS+= game_icon.c
|
|
|
|
SW_EDITOR_RSRC_OBJS+= game_icon.c
|
2015-05-19 21:56:03 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(PLATFORM),WINDOWS)
|
2017-03-23 20:46:52 +00:00
|
|
|
SW_GAME_OBJS+= startwin.game.cpp
|
|
|
|
SW_GAME_RSRC_OBJS+= gameres.rc
|
|
|
|
SW_EDITOR_RSRC_OBJS+= buildres.rc
|
2015-05-19 21:56:03 +00:00
|
|
|
endif
|
|
|
|
|
2017-06-09 06:39:01 +00:00
|
|
|
SW_GAME_DEPS=DUKE3D_COMMON_MIDI AUDIOLIB MACT
|
|
|
|
SW_EDITOR_DEPS=AUDIOLIB
|
2017-03-23 03:03:32 +00:00
|
|
|
|
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
##### Recipes
|
2017-03-23 03:03:32 +00:00
|
|
|
|
|
|
|
GAMES := \
|
|
|
|
KENBUILD \
|
|
|
|
DUKE3D \
|
|
|
|
SW \
|
|
|
|
|
|
|
|
LIBRARIES := \
|
|
|
|
ENGINE \
|
|
|
|
AUDIOLIB \
|
|
|
|
MACT \
|
|
|
|
ENET \
|
2017-06-09 06:39:42 +00:00
|
|
|
LIBXMPLITE \
|
2017-06-09 06:39:21 +00:00
|
|
|
LPEG \
|
2017-03-23 03:03:32 +00:00
|
|
|
|
|
|
|
COMPONENTS = \
|
|
|
|
$(GAMES) \
|
|
|
|
$(LIBRARIES) \
|
|
|
|
TOOLS \
|
|
|
|
|
|
|
|
ROLES = \
|
|
|
|
GAME \
|
|
|
|
EDITOR \
|
2015-05-19 21:56:03 +00:00
|
|
|
|
|
|
|
|
2008-10-19 12:14:04 +00:00
|
|
|
ifeq ($(PRETTY_OUTPUT),1)
|
2008-10-18 12:37:26 +00:00
|
|
|
.SILENT:
|
2008-10-19 12:14:04 +00:00
|
|
|
endif
|
2017-03-23 20:46:41 +00:00
|
|
|
.PHONY: \
|
|
|
|
all \
|
2017-06-09 06:38:46 +00:00
|
|
|
start \
|
2017-03-23 20:46:41 +00:00
|
|
|
$(foreach j,$(foreach i,$(GAMES),$($i)) test utils tools,$j clean$j) \
|
|
|
|
veryclean \
|
|
|
|
clean \
|
|
|
|
printutils \
|
|
|
|
printtools \
|
|
|
|
rev \
|
|
|
|
$(ENGINE_OBJ)/rev.$o \
|
2017-03-23 20:47:11 +00:00
|
|
|
clang-tools \
|
2017-03-23 20:46:41 +00:00
|
|
|
|
2017-01-23 11:24:21 +00:00
|
|
|
.SUFFIXES:
|
2017-03-23 03:03:34 +00:00
|
|
|
.SECONDEXPANSION:
|
|
|
|
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
#### Targets
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2015-05-19 21:56:03 +00:00
|
|
|
all: duke3d
|
|
|
|
|
2012-11-15 06:42:37 +00:00
|
|
|
start:
|
2008-10-18 13:25:23 +00:00
|
|
|
$(BUILD_STARTED)
|
2010-01-24 23:33:17 +00:00
|
|
|
|
2017-03-23 03:03:34 +00:00
|
|
|
tools: $(addsuffix $(EXESUFFIX),$(TOOLS_TARGETS)) | start
|
2014-07-22 07:25:54 +00:00
|
|
|
@ls -l $^
|
|
|
|
|
2017-03-23 03:03:34 +00:00
|
|
|
$(foreach i,$(GAMES),$($i)): $$(foreach i,$(ROLES),$$($$($$@)_$$i)$(EXESUFFIX)) | start
|
|
|
|
@ls -l $^
|
2014-12-18 18:15:05 +00:00
|
|
|
|
2017-03-23 03:03:34 +00:00
|
|
|
ebacktrace: $(EBACKTRACEDLL) | start
|
|
|
|
@ls -l $^
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2014-12-18 18:15:05 +00:00
|
|
|
ifeq ($(PLATFORM),WII)
|
|
|
|
ifneq ($(ELF2DOL),)
|
2017-03-23 03:03:32 +00:00
|
|
|
%$(DOLSUFFIX): %$(EXESUFFIX)
|
2014-12-18 18:15:05 +00:00
|
|
|
endif
|
|
|
|
endif
|
2017-03-23 03:03:32 +00:00
|
|
|
define BUILDRULE
|
2010-01-24 23:33:17 +00:00
|
|
|
|
2017-06-09 06:39:01 +00:00
|
|
|
$$($1_$2)$$(EXESUFFIX): $$(foreach i,$(call getdeps,$1,$2),$$(call expandobjs,$$i)) $$($1_$2_MISCDEPS) | $$($1_$2_ORDERONLYDEPS)
|
2017-03-23 03:03:32 +00:00
|
|
|
$$(LINK_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(LINKER) -o $$@ $$^ $$(GUI_LIBS) $$($1_$2_LDFLAGS) $$(LIBDIRS) $$(LIBS) $$(RECIPE_RESULT_LINK)
|
|
|
|
ifeq ($$(PLATFORM),WII)
|
|
|
|
ifneq ($$(ELF2DOL),)
|
|
|
|
$$(ELF2DOL) $$@ $$($1_$2)$$(DOLSUFFIX)
|
2014-12-18 18:15:05 +00:00
|
|
|
endif
|
|
|
|
endif
|
2017-03-23 03:03:32 +00:00
|
|
|
ifneq ($$(STRIP),)
|
|
|
|
$$(STRIP) $$@ $$($1_$2_STRIPFLAGS)
|
2010-08-12 21:06:51 +00:00
|
|
|
endif
|
2017-03-23 03:03:32 +00:00
|
|
|
ifeq ($$(PLATFORM),DARWIN)
|
|
|
|
cp -RPf "platform/Apple/bundles/$$($1_$2_PROPER).app" "./"
|
|
|
|
mkdir -p "$$($1_$2_PROPER).app/Contents/MacOS"
|
|
|
|
cp -f "$$($1_$2)$$(EXESUFFIX)" "$$($1_$2_PROPER).app/Contents/MacOS/"
|
2012-02-25 02:59:51 +00:00
|
|
|
endif
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2017-03-23 03:03:32 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(foreach i,$(GAMES),$(foreach j,$(ROLES),$(eval $(call BUILDRULE,$i,$j))))
|
2015-05-19 21:56:03 +00:00
|
|
|
|
|
|
|
|
2017-06-09 06:39:21 +00:00
|
|
|
include $(LPEG_ROOT)/Dependencies.mak
|
2017-02-01 10:20:54 +00:00
|
|
|
include $(ENGINE_ROOT)/Dependencies.mak
|
|
|
|
include $(DUKE3D_ROOT)/Dependencies.mak
|
|
|
|
include $(SW_ROOT)/Dependencies.mak
|
2009-12-05 09:22:43 +00:00
|
|
|
|
2017-03-23 03:03:32 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
#### Rules
|
2012-10-07 15:25:58 +00:00
|
|
|
|
2013-03-04 04:14:19 +00:00
|
|
|
$(EBACKTRACEDLL): platform/Windows/src/backtrace.c
|
2012-11-15 06:42:37 +00:00
|
|
|
$(COMPILE_STATUS)
|
2014-07-22 07:25:54 +00:00
|
|
|
$(RECIPE_IF) $(CC) $(CONLYFLAGS) -O2 -ggdb -shared -Wall -Wextra -static-libgcc -I$(ENGINE_INC) -o $@ $^ -lbfd -liberty -limagehlp $(RECIPE_RESULT_COMPILE)
|
2010-08-12 21:06:51 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
libcache1d$(DLLSUFFIX): $(ENGINE_SRC)/cache1d.cpp
|
2008-10-18 13:25:23 +00:00
|
|
|
$(COMPILE_STATUS)
|
2017-03-22 15:45:49 +00:00
|
|
|
$(RECIPE_IF) $(COMPILER_C) -DCACHE1D_COMPRESS_ONLY -shared -fPIC $< -o $@ $(RECIPE_RESULT_COMPILE)
|
2008-10-18 12:37:26 +00:00
|
|
|
|
2017-06-09 06:39:01 +00:00
|
|
|
%$(EXESUFFIX): $(TOOLS_OBJ)/%.$o $(foreach i,TOOLS $(TOOLS_DEPS),$(call expandobjs,$i))
|
2017-03-22 15:45:49 +00:00
|
|
|
$(LINK_STATUS)
|
|
|
|
$(RECIPE_IF) $(LINKER) -o $@ $^ $(LIBDIRS) $(LIBS) $(RECIPE_RESULT_LINK)
|
2013-12-06 18:56:46 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
enumdisplay$(EXESUFFIX): $(TOOLS_OBJ)/enumdisplay.$o
|
2017-03-22 15:45:49 +00:00
|
|
|
$(LINK_STATUS)
|
|
|
|
$(RECIPE_IF) $(LINKER) -o $@ $^ $(LIBDIRS) $(LIBS) -lgdi32 $(RECIPE_RESULT_LINK)
|
2017-02-01 10:20:54 +00:00
|
|
|
getdxdidf$(EXESUFFIX): $(TOOLS_OBJ)/getdxdidf.$o
|
2017-03-22 15:45:49 +00:00
|
|
|
$(LINK_STATUS)
|
|
|
|
$(RECIPE_IF) $(LINKER) -o $@ $^ $(LIBDIRS) $(LIBS) -ldinput $(RECIPE_RESULT_LINK)
|
2012-11-08 20:17:23 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
### Lunatic
|
2012-10-07 15:25:58 +00:00
|
|
|
|
2012-05-13 16:05:16 +00:00
|
|
|
# Create object files directly with luajit
|
2017-06-09 06:38:55 +00:00
|
|
|
$(DUKE3D_OBJ)/%.$o: $(LUNATIC_SRC)/%.lua | $(DUKE3D_OBJ)
|
2012-05-13 16:05:16 +00:00
|
|
|
$(COMPILE_STATUS)
|
2014-07-22 07:25:54 +00:00
|
|
|
$(RECIPE_IF) $(LUAJIT) -bg $(LUAJIT_BCOPTS) $< $@ $(RECIPE_RESULT_COMPILE)
|
2012-05-13 16:05:16 +00:00
|
|
|
|
2017-03-23 20:46:57 +00:00
|
|
|
$(DUKE3D_OBJ)/%.$o: $(LUNATIC_SRC)/%.cpp | $(DUKE3D_OBJ)
|
2011-09-20 19:12:24 +00:00
|
|
|
$(COMPILE_STATUS)
|
2017-03-22 15:45:49 +00:00
|
|
|
$(RECIPE_IF) $(COMPILER_CXX) $(DUKE3D_CFLAGS) -c $< -o $@ $(RECIPE_RESULT_COMPILE)
|
2011-09-20 19:12:24 +00:00
|
|
|
|
2012-10-07 15:25:58 +00:00
|
|
|
# List of exported symbols, OS X
|
2017-03-23 20:46:57 +00:00
|
|
|
$(DUKE3D_OBJ)/lunatic_%_osx: $(LUNATIC_SRC)/%.lds | $(DUKE3D_OBJ)
|
2011-10-11 16:53:15 +00:00
|
|
|
sed 's/[{};]//g;s/[A-Za-z_][A-Za-z_0-9]*/_&/g' $< > $@
|
|
|
|
|
2012-10-07 15:25:58 +00:00
|
|
|
# List of exported symbols, Windows
|
2017-03-23 20:46:57 +00:00
|
|
|
$(DUKE3D_OBJ)/lunatic_%.def: $(LUNATIC_SRC)/%.lds | $(DUKE3D_OBJ)
|
2012-11-30 18:57:50 +00:00
|
|
|
echo EXPORTS > $@
|
|
|
|
sed 's/[{};]//g' $< >> $@
|
|
|
|
|
2012-10-07 15:25:58 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
### Main Rules
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
define OBJECTRULES
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$$($1_OBJ)/%.$$o: $$($1_SRC)/%.nasm | $$($1_OBJ)
|
|
|
|
$$(COMPILE_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(AS) $$(ASFLAGS) $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$$($1_OBJ)/%.$$o: $$($1_SRC)/%.yasm | $$($1_OBJ)
|
|
|
|
$$(COMPILE_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(AS) $$(ASFLAGS) $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
|
2011-06-17 11:53:41 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$$($1_OBJ)/%.$$o: $$($1_SRC)/%.c | $$($1_OBJ)
|
|
|
|
$$(COMPILE_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(COMPILER_C) $$($1_CFLAGS) -c $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
|
2008-10-18 12:37:26 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$$($1_OBJ)/%.$$o: $$($1_SRC)/%.cpp | $$($1_OBJ)
|
|
|
|
$$(COMPILE_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(COMPILER_CXX) $$($1_CFLAGS) -c $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
|
2012-03-12 04:48:42 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$$($1_OBJ)/%.$$o: $$($1_SRC)/%.m | $$($1_OBJ)
|
|
|
|
$$(COMPILE_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(COMPILER_OBJC) $$($1_CFLAGS) -c $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
|
2011-02-12 13:25:24 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$$($1_OBJ)/%.$$o: $$($1_SRC)/%.mm | $$($1_OBJ)
|
|
|
|
$$(COMPILE_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(COMPILER_OBJCXX) $$($1_CFLAGS) -c $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2017-06-10 06:21:29 +00:00
|
|
|
$$($1_OBJ)/%.$$o: $$($1_OBJ)/%.c
|
|
|
|
$$(COMPILE_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(COMPILER_C) $$($1_CFLAGS) -c $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
|
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
## Cosmetic stuff
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$$($1_OBJ)/%.$$o: $$($1_RSRC)/%.rc | $$($1_OBJ)
|
|
|
|
$$(COMPILE_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(RC) -i $$< -o $$@ --include-dir=$$(ENGINE_INC) --include-dir=$$($1_SRC) --include-dir=$$($1_RSRC) -DPOLYMER=$$(POLYMER) $$(RECIPE_RESULT_COMPILE)
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$$($1_OBJ)/%.$$o: $$($1_RSRC)/%.c | $$($1_OBJ)
|
|
|
|
$$(COMPILE_STATUS)
|
|
|
|
$$(RECIPE_IF) $$(COMPILER_C) $$($1_CFLAGS) -c $$< -o $$@ $$(RECIPE_RESULT_COMPILE)
|
2014-07-24 14:01:44 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$$($1_OBJ)/%_banner.c: $$($1_RSRC)/%.bmp | $$($1_OBJ)
|
|
|
|
echo "#include \"gtkpixdata_shim.h\"" > $$@
|
|
|
|
gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata $$^ | sed 's/load_inc//' >> $$@
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
endef
|
2014-07-22 07:25:54 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$(foreach i,$(COMPONENTS),$(eval $(call OBJECTRULES,$i)))
|
2014-11-28 23:47:46 +00:00
|
|
|
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
### Other special cases
|
2016-06-03 04:50:57 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
# Comment out the following rule to debug a-c.o
|
|
|
|
$(ENGINE_OBJ)/a-c.$o: $(ENGINE_SRC)/a-c.cpp | $(ENGINE_OBJ)
|
2015-05-19 21:56:03 +00:00
|
|
|
$(COMPILE_STATUS)
|
2017-03-23 03:03:37 +00:00
|
|
|
$(RECIPE_IF) $(subst -O$(OPTLEVEL),-O2,$(subst $(CLANG_DEBUG_FLAGS),,$(COMPILER_CXX))) $(ENGINE_CFLAGS) -c $< -o $@ $(RECIPE_RESULT_COMPILE)
|
2015-05-19 21:56:03 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$(ENGINE_OBJ)/rev.$o: $(ENGINE_SRC)/rev.cpp | $(ENGINE_OBJ)
|
2015-05-19 21:56:03 +00:00
|
|
|
$(COMPILE_STATUS)
|
2017-03-23 03:03:37 +00:00
|
|
|
$(RECIPE_IF) $(COMPILER_CXX) $(ENGINE_CFLAGS) $(REVFLAG) -c $< -o $@ $(RECIPE_RESULT_COMPILE)
|
2015-05-19 21:56:03 +00:00
|
|
|
|
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
### Directories
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2016-05-23 04:47:00 +00:00
|
|
|
$(obj):
|
|
|
|
-mkdir $@ $(DONT_PRINT) $(DONT_FAIL)
|
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
$(foreach i,$(COMPONENTS),$($i_OBJ)): | $(obj)
|
2014-12-09 23:56:31 +00:00
|
|
|
-mkdir $@ $(DONT_PRINT) $(DONT_FAIL)
|
2014-07-23 07:21:29 +00:00
|
|
|
|
2017-03-23 03:03:37 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
### Phonies
|
2008-08-20 22:58:09 +00:00
|
|
|
|
2017-06-09 06:39:01 +00:00
|
|
|
clang-tools: $(filter %.c %.cpp,$(foreach i,$(call getdeps,DUKE3D,GAME),$(call expandsrcs,$i)))
|
|
|
|
echo $^ -- -x c++ $(CXXONLYFLAGS) $(COMPILERFLAGS) $(foreach i,$(COMPONENTS),$($i_CFLAGS)) $(CWARNS)
|
2017-03-23 20:47:11 +00:00
|
|
|
|
2017-03-23 03:03:34 +00:00
|
|
|
$(foreach i,$(GAMES),clean$($i)):
|
|
|
|
-rm -f $(foreach i,$(ROLES),$($($(subst clean,,$@))_$i)$(EXESUFFIX))
|
2012-02-26 17:32:53 +00:00
|
|
|
ifeq ($(PLATFORM),DARWIN)
|
2017-03-23 03:03:34 +00:00
|
|
|
-rm -rf $(foreach i,$(ROLES),"$($($(subst clean,,$@))_$i_PROPER).app")
|
2012-02-26 17:32:53 +00:00
|
|
|
endif
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
cleantools:
|
2017-03-23 03:03:29 +00:00
|
|
|
-rm -f $(addsuffix $(EXESUFFIX),$(TOOLS_TARGETS))
|
2012-11-15 06:42:37 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
clean: cleanduke3d cleantools
|
2016-05-23 04:47:00 +00:00
|
|
|
-rm -rf $(obj)/
|
|
|
|
-rm -f $(EBACKTRACEDLL)
|
2012-11-15 06:42:37 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
printtools:
|
|
|
|
echo "$(addsuffix $(EXESUFFIX),$(TOOLS_TARGETS))"
|
|
|
|
|
|
|
|
rev: $(ENGINE_OBJ)/rev.$o
|
2014-02-22 08:02:41 +00:00
|
|
|
|
2017-02-01 10:20:54 +00:00
|
|
|
|
2017-06-09 06:38:49 +00:00
|
|
|
### Compatibility
|
2017-02-01 10:20:54 +00:00
|
|
|
|
|
|
|
test: kenbuild
|
|
|
|
utils: tools
|
|
|
|
printutils: printtools
|
|
|
|
veryclean: clean
|
|
|
|
cleanutils: cleantools
|
2017-03-23 03:03:34 +00:00
|
|
|
cleantest: cleankenbuild
|