2010-12-05 20:12:42 +01:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
2012-08-21 16:02:45 +02:00
|
|
|
LIB = libaegisub.a
|
2010-12-05 20:12:42 +01:00
|
|
|
|
2012-01-08 02:04:05 +01:00
|
|
|
CXXFLAGS += -Iinclude -I../src -I.. -DLAGI -fPIC -Wno-variadic-macros
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
PRECOMPILED_HEADER_NAME = lagi_pre.h
|
|
|
|
lagi_pre.h.gch: CXXFLAGS := $(CXXFLAGS)
|
|
|
|
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
|
|
|
CXXFLAGS += -I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Headers/
|
2011-12-22 22:24:40 +01:00
|
|
|
LIBS += -L../universalchardet -luniversalchardet
|
2010-12-05 20:12:42 +01:00
|
|
|
endif
|
|
|
|
|
2011-01-08 18:46:46 +01:00
|
|
|
common/charset_conv.o: CXXFLAGS += $(CFLAGS_ICONV)
|
2011-02-08 05:22:52 +01:00
|
|
|
unix/path.o: CXXFLAGS += -DP_DATA=\"$(P_DATA)\" -DP_DOC=\"$(P_DOC)\" -DP_LOCALE=\"$(P_LOCALE)\"
|
2011-02-03 19:08:41 +01:00
|
|
|
|
2012-01-14 19:46:43 +01:00
|
|
|
SRC += \
|
2011-12-22 22:10:10 +01:00
|
|
|
common/cajun/elements.cpp \
|
|
|
|
common/cajun/reader.cpp \
|
|
|
|
common/cajun/writer.cpp \
|
2010-12-05 20:12:42 +01:00
|
|
|
common/charset.cpp \
|
2012-03-29 21:04:49 +02:00
|
|
|
common/charset_6937.cpp \
|
2010-12-05 20:12:42 +01:00
|
|
|
common/charset_conv.cpp \
|
|
|
|
common/charset_ucd.cpp \
|
2012-10-26 16:09:14 +02:00
|
|
|
common/color.cpp \
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
common/hotkey.cpp \
|
2012-10-21 16:57:48 +02:00
|
|
|
common/io.cpp \
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
common/json.cpp \
|
2010-12-05 20:12:42 +01:00
|
|
|
common/mru.cpp \
|
|
|
|
common/option.cpp \
|
|
|
|
common/option_visit.cpp \
|
2010-12-31 22:02:17 +01:00
|
|
|
common/keyframe.cpp \
|
2011-02-09 23:31:44 +01:00
|
|
|
common/util.cpp \
|
2010-12-05 20:12:42 +01:00
|
|
|
common/log.cpp \
|
2012-01-08 02:36:50 +01:00
|
|
|
common/thesaurus.cpp \
|
2010-12-05 20:12:42 +01:00
|
|
|
common/vfr.cpp \
|
|
|
|
unix/util.cpp \
|
|
|
|
unix/access.cpp \
|
2012-10-25 17:27:14 +02:00
|
|
|
unix/log.cpp
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
2012-06-12 05:13:49 +02:00
|
|
|
SRC += osx/util.mm
|
2010-12-05 20:12:42 +01:00
|
|
|
endif
|
|
|
|
|
2012-01-14 19:46:43 +01:00
|
|
|
HEADER += \
|
|
|
|
*.h \
|
2010-12-05 20:12:42 +01:00
|
|
|
*/*.h \
|
2012-01-14 19:46:43 +01:00
|
|
|
include/libaegisub/*.h \
|
|
|
|
include/libaegisub/charsets.def \
|
|
|
|
include/libaegisub/cajun/*.h
|
|
|
|
|
2012-06-12 05:13:49 +02:00
|
|
|
EXTRA_DIST += osx/util.mm
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
include ../Makefile.target
|
2011-01-10 22:27:39 +01:00
|
|
|
-include */*.d
|