2010-12-05 20:12:42 +01:00
|
|
|
# $Id$
|
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
|
|
|
|
LIB_SHARED = libaegisub-3.0.so
|
|
|
|
LIB_SHARED_INSTALL = yes
|
|
|
|
LIB_VERSION = 3
|
|
|
|
|
2010-12-08 15:21:45 +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/
|
|
|
|
LDFLAGS += -L../universalchardet -luniversalchardet
|
|
|
|
endif
|
|
|
|
|
2011-01-08 18:46:46 +01:00
|
|
|
common/charset_conv.o: CXXFLAGS += $(CFLAGS_ICONV)
|
2011-02-03 16:48:46 +01:00
|
|
|
common/ffms.o: CXXFLAGS += $(CFLAGS_FFMPEGSOURCE) $(CFLAGS_LIBAVFORMAT) $(CFLAGS_LIBAVCODEC) $(CFLAGS_LIBSWSCALE) $(CFLAGS_LIBAVUTIL) $(CFLAGS_LIBPOSTPROC)
|
|
|
|
common/ffms_audio.o: CXXFLAGS += $(CFLAGS_FFMPEGSOURCE) $(CFLAGS_LIBAVFORMAT) $(CFLAGS_LIBAVCODEC) $(CFLAGS_LIBSWSCALE) $(CFLAGS_LIBAVUTIL) $(CFLAGS_LIBPOSTPROC)
|
|
|
|
common/ffms_video.o: CXXFLAGS += $(CFLAGS_FFMPEGSOURCE) $(CFLAGS_LIBAVFORMAT) $(CFLAGS_LIBAVCODEC) $(CFLAGS_LIBSWSCALE) $(CFLAGS_LIBAVUTIL) $(CFLAGS_LIBPOSTPROC)
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
SRC = \
|
|
|
|
common/charset.cpp \
|
|
|
|
common/charset_conv.cpp \
|
|
|
|
common/charset_ucd.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 \
|
|
|
|
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 \
|
2010-12-05 20:12:42 +01:00
|
|
|
common/log.cpp \
|
|
|
|
common/validator.cpp \
|
|
|
|
common/vfr.cpp \
|
2011-02-03 16:48:46 +01:00
|
|
|
media/ffms_audio.cpp \
|
|
|
|
media/ffms_common.cpp \
|
|
|
|
media/ffms_video.cpp \
|
|
|
|
media/video_frame.cpp \
|
2010-12-05 20:12:42 +01:00
|
|
|
unix/util.cpp \
|
|
|
|
unix/io.cpp \
|
|
|
|
unix/access.cpp \
|
|
|
|
unix/log.cpp
|
|
|
|
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
|
|
|
SRC += \
|
|
|
|
osx/util.cpp
|
|
|
|
endif
|
|
|
|
|
|
|
|
HEADERS = \
|
|
|
|
*/*.h \
|
|
|
|
include/aegisub/*.h \
|
|
|
|
include/aegisub/cajun/*.h
|
|
|
|
|
|
|
|
|
|
|
|
include ../Makefile.target
|
2011-01-10 22:27:39 +01:00
|
|
|
-include */*.d
|