Aegisub/aegisub/libffms/Makefile
Amar Takhar e46f83e672 Add -fPIC so ffms can be linked into a shared library.
Originally committed to SVN as r5282.
2011-02-03 18:08:11 +00:00

30 lines
734 B
Makefile

include ../Makefile.inc
CXXFLAGS = -Icore -Iinclude -D__UNIX__ -DFFMS_EXPORTS -DHAVE_STRLCPY -D__STDC_CONSTANT_MACROS -fPIC
CXXFLAGS += $(CFLAGS_LIBAVFORMAT) $(CFLAGS_LIBAVCODEC) $(CFLAGS_LIBAVUTIL) $(CFLAGS_LIBPOSTPROC)
LIB = libffmpegsource_aegisub.a
SRC = \
src/core/audiosource.cpp \
src/core/ffms.cpp \
src/core/indexing.cpp \
src/core/lavfaudio.cpp \
src/core/lavfindexer.cpp \
src/core/lavfvideo.cpp \
src/core/matroskaaudio.cpp \
src/core/matroskaindexer.cpp \
src/core/matroskaparser.c \
src/core/matroskavideo.cpp \
src/core/stdiostream.c \
src/core/utils.cpp \
src/core/videosource.cpp \
src/core/wave64writer.cpp
HEADER = \
src/core/*.h \
include/*.h
include ../Makefile.target
-include src/core/*.d