Aegisub/aegisub/libaegisub/Makefile.am
Amar Takhar abe6c734f4 Add dependency on iconv.
Originally committed to SVN as r4433.
2010-06-04 13:01:31 +00:00

39 lines
1,020 B
Makefile

# $Id$
AUTOMAKE_OPTIONS = subdir-objects
AM_CXXFLAGS=
DISTCLEANFILES=
lib_LTLIBRARIES = libaegisub-2.2.la
libaegisub_2_2_la_CPPFLAGS = -I../src/include -Iinclude -I. @WX_CPPFLAGS@
libaegisub_2_2_la_LDFLAGS = @ICONV_LDFLAGS@
if PRECOMPILED_HEADER
BUILT_SOURCES = lagi_pre.h.gch
AM_CXXFLAGS += -include lagi_pre.h -Winvalid-pch -fpch-deps -fpch-preprocess
nodist_libaegisub_2_2_la_SOURCES = lagi_pre.h.gch
endif
if PRECOMPILED_HEADER
# This doesn't depend on Makefile on purpose, you should already know what you're doing when using this.
lagi_pre.h.gch: lagi_pre.h
@CXX@ $(libaegisub_2_2_la_CPPFLAGS) @CXXFLAGS@ @DEBUG_FLAGS@ -fPIC -DPIC lagi_pre.h
DISTCLEANFILES += lagi_pre.h.gch
endif
libaegisub_2_2_la_SOURCES = \
common/charset.cpp \
common/charset_conv.cpp \
common/charset_ucd.cpp \
common/mru.cpp \
common/option.cpp \
common/option_value.cpp \
common/option_visit.cpp \
common/log.cpp \
common/validator.cpp \
unix/util.cpp \
unix/io.cpp \
unix/access.cpp \
unix/log.cpp
noinst_HEADERS = *.h