2010-12-05 20:12:42 +01:00
|
|
|
#########################
|
|
|
|
# AEGISUB FEATURE SUPPORT
|
|
|
|
#########################
|
2011-12-22 22:24:40 +01:00
|
|
|
HAVE_ALSA = @with_alsa@
|
|
|
|
HAVE_AUTO4_LUA = @with_auto4_lua@
|
|
|
|
HAVE_HUNSPELL = @with_hunspell@
|
|
|
|
HAVE_OPENAL = @with_openal@
|
|
|
|
HAVE_OSS = @with_oss@
|
|
|
|
HAVE_PORTAUDIO = @with_portaudio@
|
|
|
|
HAVE_FFMS = @with_ffms@
|
|
|
|
HAVE_PULSEAUDIO = @with_pulseaudio@
|
|
|
|
HAVE_LIBASS = @with_libass@
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
|
|
|
|
###################
|
|
|
|
# PLATFORM SETTINGS
|
|
|
|
###################
|
2011-12-22 22:24:40 +01:00
|
|
|
BUILD_BSD = @build_bsd@
|
|
|
|
BUILD_DARWIN = @build_darwin@
|
|
|
|
BUILD_DEFAULT = @build_default@
|
|
|
|
BUILD_LINUX = @build_linux@
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
|
|
|
|
#######
|
|
|
|
# FLAGS
|
|
|
|
#######
|
2011-12-22 22:24:40 +01:00
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
CXXFLAGS = @CXXFLAGS@
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
CFLAGS_DEP = -MD -MP
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
INSTALL_FLAGS = -m 664
|
|
|
|
CCACHE_ENV = CCACHE_SLOPPINESS=time_macros
|
|
|
|
LIB_SHARED_LINK = -shared -Wl,-soname -Wl,$(LIB_SHARED_FULL)
|
|
|
|
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.5 -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@
|
|
|
|
AEGISUB_VERSION_DATA = @AEGISUB_VERSION_DATA@
|
|
|
|
BUILD_DATE = @BUILD_DATE@
|
|
|
|
PACKAGE_DEBUG = @PACKAGE_DEBUG@
|
|
|
|
SVN_REVISION = @SVN_REVISION@
|
|
|
|
DEBUG_FLAGS = @DEBUG_FLAGS@
|
2010-12-05 20:12:42 +01:00
|
|
|
# OS X
|
2011-12-22 22:24:40 +01:00
|
|
|
BUNDLE_STRING = @BUNDLE_STRING@
|
|
|
|
DARWIN_ARCH = @DARWIN_ARCH@
|
|
|
|
DMG_STRING = @DMG_STRING@
|
|
|
|
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
|
|
|
|
#######
|
|
|
|
# PATHS
|
|
|
|
#######
|
2011-12-22 22:24:40 +01:00
|
|
|
P_PREFIX = @prefix@
|
|
|
|
prefix = ${P_PREFIX}
|
|
|
|
P_PREFIX_EXEC = @exec_prefix@
|
|
|
|
exec_prefix = ${P_PREFIX_EXEC}
|
|
|
|
P_BINDIR = @bindir@
|
|
|
|
P_SBINDIR = @sbindir@
|
|
|
|
P_LIBEXEC = @libexecdir@
|
|
|
|
P_DATAROOT = @datarootdir@
|
|
|
|
P_SYSCONF = @sysconfdir@
|
|
|
|
P_SHAREDSTATE = @sharedstatedir@
|
|
|
|
P_LOCALSTATE = @localstatedir@
|
|
|
|
P_INCLUDE = @includedir@
|
|
|
|
P_LIB = @libdir@
|
|
|
|
P_LOCALE = $(P_DATAROOT)/locale
|
|
|
|
|
|
|
|
P_DESKTOP = @P_DESKTOP@
|
|
|
|
P_ICON = @P_ICON@
|
|
|
|
P_DATA = $(P_DATAROOT)/aegisub/$(AEGISUB_VERSION_DATA)
|
|
|
|
P_DOC = $(P_DATAROOT)/doc/aegisub/$(AEGISUB_VERSION_DATA)
|
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@
|
|
|
|
LIBS_WX = @WX_LIBS@
|
|
|
|
|
|
|
|
CFLAGS_FONTCONFIG = @FONTCONFIG_CFLAGS@
|
|
|
|
CFLAGS_FREETYPE = @FREETYPE_CFLAGS@
|
|
|
|
CFLAGS_GL = @GL_CFLAGS@
|
|
|
|
CFLAGS_FFMS = @FFMS_CFLAGS@
|
|
|
|
CFLAGS_FFTW3 = @FFTW3_CFLAGS@
|
|
|
|
CFLAGS_HUNSPELL = @HUNSPELL_CFLAGS@
|
|
|
|
CFLAGS_ICONV = @ICONV_CFLAGS@
|
|
|
|
CFLAGS_LIBASS = @LIBASS_CFLAGS@
|
|
|
|
CFLAGS_LIBCURL = @LIBCURL_CFLAGS@
|
|
|
|
CFLAGS_LIBPULSE = @LIBPULSE_CFLAGS@
|
|
|
|
CFLAGS_LUA = @LUA_CFLAGS@
|
|
|
|
CFLAGS_OPENAL = @OPENAL_CFLAGS@
|
|
|
|
CFLAGS_PORTAUDIO = @PORTAUDIO_CFLAGS@
|
|
|
|
CFLAGS_PTHREAD = @PTHREAD_CFLAGS@
|
|
|
|
CFLAGS_UCHARDET = -I../universalchardet
|
|
|
|
|
|
|
|
LIBS_ALSA = @ALSA_LIBS@
|
|
|
|
LIBS_FONTCONFIG = @FONTCONFIG_LIBS@
|
|
|
|
LIBS_FREETYPE = @FREETYPE_LIBS@
|
|
|
|
LIBS_GL = @GL_LIBS@
|
|
|
|
LIBS_FFMS = @FFMS_LIBS@
|
|
|
|
LIBS_FFTW3 = @FFTW3_LIBS@
|
|
|
|
LIBS_HUNSPELL = @HUNSPELL_LIBS@
|
|
|
|
LIBS_ICONV = @ICONV_LIBS@
|
|
|
|
LIBS_LIBASS = @LIBASS_LIBS@
|
|
|
|
LIBS_LIBCURL = @LIBCURL_LIBS@
|
|
|
|
LIBS_LIBPULSE = @LIBPULSE_LIBS@
|
|
|
|
LDFLAGS_LUA = @LUA_LDFLAGS@
|
|
|
|
LIBS_OPENAL = @OPENAL_LIBS@
|
|
|
|
LIBS_PTHREAD = @PTHREAD_LIBS@
|
|
|
|
LIBS_PORTAUDIO = @PORTAUDIO_LIBS@
|
|
|
|
LIBS_UCHARDET ?= ../universalchardet/libuniversalchardet.a
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
#####################
|
|
|
|
# DEBUG / DEVELOPMENT
|
|
|
|
#####################
|
2011-12-22 22:24:40 +01:00
|
|
|
PRECOMPILED_HEADER = @enable_gcc_prec@
|
|
|
|
CCACHE_ENABLE = @enable_ccache@
|
|
|
|
LDFLAGS_CCMALLOC = @CCMALLOC_LDFLAGS@
|
|
|
|
LIBS_EFENCE = @EFENCE_LIBS@
|
|
|
|
LIBS_GCOV = @GCOV_LIBS@
|
2010-12-05 20:12:42 +01:00
|
|
|
|
2011-12-22 22:24:40 +01:00
|
|
|
CFLAGS_EFENCE = @EFENCE_CFLAGS@
|
|
|
|
CFLAGS_GCOV = @GCOV_CFLAGS@
|
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
|