2010-05-21 03:13:36 +02:00
|
|
|
# $Id$
|
|
|
|
AUTOMAKE_OPTIONS = subdir-objects
|
|
|
|
AM_CXXFLAGS=
|
|
|
|
DISTCLEANFILES=
|
|
|
|
|
2010-08-15 20:40:58 +02:00
|
|
|
lib_LTLIBRARIES = libaegisub-3.0.la
|
|
|
|
libaegisub_3_0_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
|
2010-08-15 20:40:58 +02:00
|
|
|
nodist_libaegisub_3_0_la_SOURCES = lagi_pre.h.gch
|
2010-05-21 03:13:36 +02:00
|
|
|
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
|
2010-08-15 20:40:58 +02:00
|
|
|
@CXX@ $(libaegisub_3_0_la_CPPFLAGS) @CXXFLAGS@ @DEBUG_FLAGS@ -fPIC -DPIC lagi_pre.h
|
2010-05-21 03:13:36 +02:00
|
|
|
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/
|
2010-08-15 18:55:52 +02:00
|
|
|
AM_LDFLAGS += -L../universalchardet -luniversalchardet
|
2010-08-14 19:42:37 +02:00
|
|
|
endif
|
|
|
|
|
2010-08-15 20:40:58 +02:00
|
|
|
libaegisub_3_0_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
|
2010-08-15 20:40:58 +02:00
|
|
|
libaegisub_3_0_la_SOURCES += \
|
2010-08-14 19:42:37 +02:00
|
|
|
osx/util.cpp
|
|
|
|
endif
|
|
|
|
|
2010-05-21 03:13:36 +02:00
|
|
|
noinst_HEADERS = *.h
|
|
|
|
|