2010-05-21 03:13:36 +02:00
|
|
|
# $Id$
|
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
AM_CXXFLAGS=
|
|
|
|
DISTCLEANFILES=
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libaegisub-2.2.la
|
2010-06-24 03:49:48 +02:00
|
|
|
libaegisub_2_2_la_CPPFLAGS = -I../src/include -Iinclude -I. @WX_CPPFLAGS@ -pedantic -DLAGI
|
2010-08-14 20:57:29 +02:00
|
|
|
AM_LDFLAGS = @ICONV_LDFLAGS@
|
2010-05-21 03:13:36 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2010-08-14 19:42:37 +02:00
|
|
|
if BUILD_DARWIN
|
|
|
|
AM_CXXFLAGS += -I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Headers/
|
|
|
|
endif
|
|
|
|
|
2010-05-21 03:13:36 +02:00
|
|
|
libaegisub_2_2_la_SOURCES = \
|
2010-05-28 09:40:21 +02:00
|
|
|
common/charset.cpp \
|
2010-06-03 22:32:25 +02:00
|
|
|
common/charset_conv.cpp \
|
2010-05-28 09:40:21 +02:00
|
|
|
common/charset_ucd.cpp \
|
2010-05-21 03:13:36 +02:00
|
|
|
common/mru.cpp \
|
|
|
|
common/option.cpp \
|
2010-06-03 07:07:47 +02:00
|
|
|
common/option_value.cpp \
|
2010-05-21 03:13:36 +02:00
|
|
|
common/option_visit.cpp \
|
2010-05-31 22:55:29 +02:00
|
|
|
common/log.cpp \
|
2010-05-21 03:13:36 +02:00
|
|
|
common/validator.cpp \
|
2010-07-07 07:24:16 +02:00
|
|
|
common/vfr.cpp \
|
2010-05-21 03:13:36 +02:00
|
|
|
unix/util.cpp \
|
|
|
|
unix/io.cpp \
|
2010-06-01 10:17:27 +02:00
|
|
|
unix/access.cpp \
|
|
|
|
unix/log.cpp
|
2010-05-21 03:13:36 +02:00
|
|
|
|
2010-08-14 19:42:37 +02:00
|
|
|
if BUILD_DARWIN
|
|
|
|
libaegisub_2_2_la_SOURCES += \
|
|
|
|
osx/util.cpp
|
|
|
|
endif
|
|
|
|
|
2010-05-21 03:13:36 +02:00
|
|
|
noinst_HEADERS = *.h
|
|
|
|
|