2010-12-05 20:12:42 +01:00
|
|
|
#########################
|
|
|
|
# AEGISUB FEATURE SUPPORT
|
|
|
|
#########################
|
2011-12-22 22:24:40 +01:00
|
|
|
HAVE_ALSA = @with_alsa@
|
2016-02-08 04:52:45 +01:00
|
|
|
HAVE_FFMS2 = @with_ffms2@
|
2011-12-22 22:24:40 +01:00
|
|
|
HAVE_HUNSPELL = @with_hunspell@
|
2016-02-08 04:52:45 +01:00
|
|
|
HAVE_LIBPULSE = @with_libpulse@
|
2011-12-22 22:24:40 +01:00
|
|
|
HAVE_OPENAL = @with_openal@
|
|
|
|
HAVE_OSS = @with_oss@
|
|
|
|
HAVE_PORTAUDIO = @with_portaudio@
|
2016-02-08 04:52:45 +01:00
|
|
|
HAVE_UCHARDET = @with_uchardet@
|
2010-12-05 20:12:42 +01:00
|
|
|
|
2014-06-17 03:22:06 +02:00
|
|
|
##############
|
|
|
|
# BUILD OUTPUT
|
|
|
|
##############
|
|
|
|
PROGRAM := $(PROGRAM)
|
|
|
|
LIB := $(LIB)
|
|
|
|
|
2010-12-05 20:12:42 +01:00
|
|
|
###################
|
|
|
|
# PLATFORM SETTINGS
|
|
|
|
###################
|
2011-12-22 22:24:40 +01:00
|
|
|
BUILD_DARWIN = @build_darwin@
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
#######
|
|
|
|
# FLAGS
|
|
|
|
#######
|
2011-12-22 22:24:40 +01:00
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
2014-06-17 03:22:06 +02:00
|
|
|
CFLAGS_DEP = -MMD -MP
|
2012-08-21 16:02:45 +02:00
|
|
|
LIBS = @LIBS@
|
2011-12-22 22:24:40 +01:00
|
|
|
LDFLAGS = @LDFLAGS@
|
2014-08-26 08:30:42 +02:00
|
|
|
INSTALL_FLAGS = -m 644
|
2011-12-22 22:24:40 +01:00
|
|
|
LIB_SHARED_LINK = -shared -Wl,-soname -Wl,$(LIB_SHARED_FULL)
|
2017-07-04 21:31:55 +02:00
|
|
|
LIB_SHARED_LINK_OSX = -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -compatibility_version $(LIB_VERSION) -current_version $(LIB_VERSION) -Wl,-single_module -mmacosx-version-min=10.8 -install_name ${CURDIR}/$(LIB_SHARED_FULL)
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
#########
|
|
|
|
# STRINGS
|
|
|
|
#########
|
2011-12-22 22:24:40 +01:00
|
|
|
AEGISUB_COMMAND = @AEGISUB_COMMAND@
|
2012-09-23 05:55:08 +02:00
|
|
|
AEGISUB_CATALOG = @AEGISUB_CATALOG@
|
2011-12-22 22:24:40 +01:00
|
|
|
BUILD_DATE = @BUILD_DATE@
|
2012-08-19 23:05:38 +02:00
|
|
|
BUILD_VERSION_STRING = @BUILD_GIT_VERSION_STRING@
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
#######
|
|
|
|
# PATHS
|
|
|
|
#######
|
2011-12-22 22:24:40 +01:00
|
|
|
prefix = ${P_PREFIX}
|
|
|
|
exec_prefix = ${P_PREFIX_EXEC}
|
2014-06-17 03:22:06 +02:00
|
|
|
datarootdir = ${P_DATAROOT}
|
|
|
|
P_PREFIX = @prefix@
|
|
|
|
P_PREFIX_EXEC = @exec_prefix@
|
2011-12-22 22:24:40 +01:00
|
|
|
P_BINDIR = @bindir@
|
|
|
|
P_DATAROOT = @datarootdir@
|
2012-10-08 19:30:46 +02:00
|
|
|
P_LOCALE = @localedir@
|
2011-12-22 22:24:40 +01:00
|
|
|
|
|
|
|
P_DESKTOP = @P_DESKTOP@
|
|
|
|
P_ICON = @P_ICON@
|
2012-05-26 18:54:48 +02:00
|
|
|
P_DATA = $(P_DATAROOT)/aegisub/
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
###############
|
|
|
|
# LIBRARY FLAGS
|
|
|
|
###############
|
2011-12-22 22:24:40 +01:00
|
|
|
CFLAGS_WX = @WX_CFLAGS@
|
|
|
|
CXXFLAGS_WX = @WX_CXXFLAGS@
|
|
|
|
CPPFLAGS_WX = @WX_CPPFLAGS@
|
2012-05-28 17:00:54 +02:00
|
|
|
LIBS_WX = @WX_LIBS@ -lz
|
2011-12-22 22:24:40 +01:00
|
|
|
|
2015-01-01 19:10:36 +01:00
|
|
|
CPPFLAGS_BOOST = @BOOST_CPPFLAGS@
|
2014-04-29 02:51:22 +02:00
|
|
|
LIBS_BOOST = @BOOST_LDFLAGS@ @BOOST_FILESYSTEM_LIB@ @BOOST_LOCALE_LIB@ @BOOST_REGEX_LIB@ @BOOST_SYSTEM_LIB@ @BOOST_THREAD_LIB@ @BOOST_CHRONO_LIB@
|
2012-09-24 23:48:06 +02:00
|
|
|
|
2011-12-22 22:25:49 +01:00
|
|
|
CFLAGS_FFMS2 = @FFMS2_CFLAGS@
|
|
|
|
CFLAGS_FFTW3 = @FFTW3_CFLAGS@
|
2011-12-22 22:24:40 +01:00
|
|
|
CFLAGS_FONTCONFIG = @FONTCONFIG_CFLAGS@
|
|
|
|
CFLAGS_FREETYPE = @FREETYPE_CFLAGS@
|
|
|
|
CFLAGS_GL = @GL_CFLAGS@
|
|
|
|
CFLAGS_HUNSPELL = @HUNSPELL_CFLAGS@
|
|
|
|
CFLAGS_ICONV = @ICONV_CFLAGS@
|
2013-02-02 00:26:03 +01:00
|
|
|
CFLAGS_ICU = @ICU_I18N_CFLAGS@
|
2011-12-22 22:24:40 +01:00
|
|
|
CFLAGS_LIBASS = @LIBASS_CFLAGS@
|
2014-03-11 17:47:53 +01:00
|
|
|
CFLAGS_LIBPULSE = @LIBPULSE_CFLAGS@
|
2016-02-28 03:59:03 +01:00
|
|
|
CFLAGS_LUA = @LUAJIT_CFLAGS@
|
2011-12-22 22:24:40 +01:00
|
|
|
CFLAGS_OPENAL = @OPENAL_CFLAGS@
|
2011-12-22 22:24:51 +01:00
|
|
|
CFLAGS_OSS = @OSS_CFLAGS@
|
2011-12-22 22:24:40 +01:00
|
|
|
CFLAGS_PORTAUDIO = @PORTAUDIO_CFLAGS@
|
|
|
|
CFLAGS_PTHREAD = @PTHREAD_CFLAGS@
|
2016-02-08 04:52:45 +01:00
|
|
|
CFLAGS_UCHARDET = @UCHARDET_CFLAGS@
|
2011-12-22 22:24:40 +01:00
|
|
|
|
|
|
|
LIBS_ALSA = @ALSA_LIBS@
|
2011-12-22 22:25:49 +01:00
|
|
|
LIBS_FFMS2 = @FFMS2_LIBS@
|
|
|
|
LIBS_FFTW3 = @FFTW3_LIBS@
|
2011-12-22 22:24:40 +01:00
|
|
|
LIBS_FONTCONFIG = @FONTCONFIG_LIBS@
|
|
|
|
LIBS_FREETYPE = @FREETYPE_LIBS@
|
|
|
|
LIBS_GL = @GL_LIBS@
|
|
|
|
LIBS_HUNSPELL = @HUNSPELL_LIBS@
|
|
|
|
LIBS_ICONV = @ICONV_LIBS@
|
2013-02-02 00:26:03 +01:00
|
|
|
LIBS_ICU = @ICU_UC_LIBS@ @ICU_I18N_LIBS@
|
2011-12-22 22:24:40 +01:00
|
|
|
LIBS_LIBASS = @LIBASS_LIBS@
|
2011-12-22 22:26:39 +01:00
|
|
|
LIBS_LIBPULSE = @LIBPULSE_LIBS@
|
2016-02-28 03:59:03 +01:00
|
|
|
LIBS_LUA = @LUAJIT_LIBS@
|
2011-12-22 22:24:40 +01:00
|
|
|
LIBS_OPENAL = @OPENAL_LIBS@
|
|
|
|
LIBS_PORTAUDIO = @PORTAUDIO_LIBS@
|
2016-02-21 19:53:11 +01:00
|
|
|
LIBS_PTHREAD = @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
|
2016-02-08 04:52:45 +01:00
|
|
|
LIBS_UCHARDET = @UCHARDET_LIBS@
|
2010-12-05 20:12:42 +01:00
|
|
|
|
2014-04-28 04:45:14 +02:00
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
2019-05-16 23:41:18 +02:00
|
|
|
LIBS_LUA = $(TOP)vendor/luajit/src/libluajit.a
|
2014-04-28 04:45:14 +02:00
|
|
|
endif
|
|
|
|
|
2014-06-24 18:06:05 +02:00
|
|
|
FONTCONFIG_CONF_DIR = @FONTCONFIG_CONF_DIR@
|
|
|
|
|
2010-12-05 20:12:42 +01:00
|
|
|
#####################
|
|
|
|
# DEBUG / DEVELOPMENT
|
|
|
|
#####################
|
2011-12-22 22:24:40 +01:00
|
|
|
PRECOMPILED_HEADER = @enable_gcc_prec@
|
2012-08-21 16:02:51 +02:00
|
|
|
|
2010-12-05 20:12:42 +01:00
|
|
|
##########
|
|
|
|
# BINARIES
|
|
|
|
##########
|
2011-12-22 22:24:40 +01:00
|
|
|
BIN_AR = ar
|
|
|
|
BIN_RANLIB = ranlib
|
|
|
|
BIN_LN = ln
|
|
|
|
BIN_RM = rm
|
|
|
|
BIN_SHELL = @SHELL@
|
|
|
|
BIN_MV = mv
|
|
|
|
BIN_SED = sed
|
|
|
|
BIN_INSTALL = @INSTALL@
|
|
|
|
BIN_MSGMERGE = @MSGMERGE@
|
|
|
|
BIN_XGETTEXT = @XGETTEXT@
|
|
|
|
BIN_MSGFMT = @MSGFMT@
|
|
|
|
BIN_CC = @CC@
|
|
|
|
BIN_CXX = @CXX@
|
|
|
|
BIN_CP = cp
|
|
|
|
BIN_MKDIR = mkdir
|
|
|
|
BIN_MKDIR_P = mkdir -p
|
|
|
|
BIN_ECHO = echo
|
|
|
|
BIN_TOUCH = touch
|
2016-02-28 18:50:20 +01:00
|
|
|
BIN_LUA = @LUA@
|
2012-05-14 15:21:58 +02:00
|
|
|
BIN_WX_CONFIG = @WX_CONFIG_PATH@
|