5a635ebdb3
Originally committed to SVN as r4895.
47 lines
952 B
Makefile
47 lines
952 B
Makefile
# $Id$
|
|
include ../Makefile.inc
|
|
|
|
|
|
LIB_SHARED = libaegisub-3.0.so
|
|
LIB_SHARED_INSTALL = yes
|
|
LIB_VERSION = 3
|
|
|
|
CXXFLAGS = -Iinclude -I../src -I.. -pedantic -DLAGI -fPIC
|
|
|
|
PRECOMPILED_HEADER_NAME = lagi_pre.h
|
|
lagi_pre.h.gch: CXXFLAGS := $(CXXFLAGS)
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
|
CXXFLAGS += -I/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Headers/
|
|
LDFLAGS += -L../universalchardet -luniversalchardet
|
|
endif
|
|
|
|
|
|
SRC = \
|
|
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
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
|
SRC += \
|
|
osx/util.cpp
|
|
endif
|
|
|
|
HEADERS = \
|
|
*/*.h \
|
|
include/aegisub/*.h \
|
|
include/aegisub/cajun/*.h
|
|
|
|
|
|
include ../Makefile.target
|