Aegisub/aegisub/libaegisub/Makefile.am

51 lines
1.3 KiB
Makefile
Raw Normal View History

# $Id$
AUTOMAKE_OPTIONS = subdir-objects
AM_CXXFLAGS=
DISTCLEANFILES=
lib_LTLIBRARIES = libaegisub-3.0.la
libaegisub_3_0_la_CPPFLAGS = -I../src/include -Iinclude -I. @WX_CPPFLAGS@ -pedantic -DLAGI
AM_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_3_0_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_3_0_la_CPPFLAGS) @CXXFLAGS@ @DEBUG_FLAGS@ -fPIC -DPIC lagi_pre.h
DISTCLEANFILES += lagi_pre.h.gch
endif
if BUILD_DARWIN
AM_CXXFLAGS += -I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Headers/
AM_LDFLAGS += -L../universalchardet -luniversalchardet
endif
libaegisub_3_0_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 \
common/vfr.cpp \
unix/util.cpp \
unix/io.cpp \
unix/access.cpp \
unix/log.cpp
if BUILD_DARWIN
libaegisub_3_0_la_SOURCES += \
osx/util.cpp
endif
noinst_HEADERS = *.h