2010-12-05 20:12:42 +01:00
|
|
|
# $Id$
|
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
PROGRAM = run
|
|
|
|
|
2013-02-02 04:22:11 +01:00
|
|
|
LIBS += -L../libaegisub -laegisub -L../universalchardet -luniversalchardet $(LIBS_BOOST) $(LIBS_ICU)
|
2011-12-22 22:24:40 +01:00
|
|
|
LDFLAGS += -Wl,-rpath $(CURDIR)/../libaegisub $(LDFLAGS_ICONV)
|
2010-12-05 20:12:42 +01:00
|
|
|
|
2013-02-02 04:22:11 +01:00
|
|
|
CPPFLAGS += -I../src/include -I../libaegisub/include $(CFLAGS_ICONV) -I${GTEST_ROOT} -I${GTEST_ROOT}/include -I./support $(CPPFLAGS_BOOST)
|
2013-02-02 15:55:43 +01:00
|
|
|
CXXFLAGS += -Wno-unused-value -Wno-sign-compare
|
2010-12-05 20:12:42 +01:00
|
|
|
|
2012-03-12 00:04:42 +01:00
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
2013-01-04 16:01:50 +01:00
|
|
|
LDFLAGS += -framework ApplicationServices -framework Foundation
|
2010-12-05 20:12:42 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
SRC = \
|
2013-01-31 15:39:31 +01:00
|
|
|
support/main.cpp \
|
|
|
|
support/util.cpp \
|
|
|
|
support/util_unix.cpp \
|
|
|
|
tests/access.cpp \
|
|
|
|
tests/cajun.cpp \
|
|
|
|
tests/color.cpp \
|
|
|
|
tests/dialogue_lexer.cpp \
|
2013-02-02 15:44:13 +01:00
|
|
|
tests/fs.cpp \
|
2013-01-31 15:39:31 +01:00
|
|
|
tests/hotkey.cpp \
|
|
|
|
tests/iconv.cpp \
|
2013-01-30 16:26:16 +01:00
|
|
|
tests/ifind.cpp \
|
2013-01-31 15:39:31 +01:00
|
|
|
tests/keyframe.cpp \
|
|
|
|
tests/line_iterator.cpp \
|
|
|
|
tests/line_wrap.cpp \
|
|
|
|
tests/mru.cpp \
|
|
|
|
tests/option.cpp \
|
|
|
|
tests/path.cpp \
|
|
|
|
tests/signals.cpp \
|
|
|
|
tests/syntax_highlight.cpp \
|
|
|
|
tests/thesaurus.cpp \
|
|
|
|
tests/util.cpp \
|
2013-02-07 18:36:47 +01:00
|
|
|
tests/uuencode.cpp \
|
2013-01-31 15:39:31 +01:00
|
|
|
tests/vfr.cpp \
|
|
|
|
tests/word_split.cpp \
|
2012-11-07 16:37:46 +01:00
|
|
|
${GTEST_ROOT}/src/gtest-all.cc
|
2012-11-07 01:26:00 +01:00
|
|
|
|
2013-01-31 15:39:31 +01:00
|
|
|
HEADER = support/*.h tests/*.h
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
include ../Makefile.target
|