2014-06-17 03:22:06 +02:00
|
|
|
include $(dir $(lastword $(MAKEFILE_LIST)))../header.mk
|
2010-12-05 20:12:42 +01:00
|
|
|
|
2014-06-17 03:22:06 +02:00
|
|
|
aegisub_OBJ := \
|
|
|
|
$(d)common/parser.o \
|
|
|
|
$(d)ass/dialogue_parser.o \
|
2014-07-06 16:28:58 +02:00
|
|
|
$(d)ass/time.o \
|
2014-12-28 21:45:55 +01:00
|
|
|
$(d)ass/uuencode.o \
|
2018-03-05 18:28:29 +01:00
|
|
|
$(patsubst %.cpp,%.o,$(sort $(wildcard $(d)audio/*.cpp))) \
|
|
|
|
$(patsubst %.cpp,%.o,$(sort $(wildcard $(d)common/cajun/*.cpp))) \
|
|
|
|
$(patsubst %.cpp,%.o,$(sort $(wildcard $(d)lua/modules/*.cpp))) \
|
|
|
|
$(patsubst %.c,%.o,$(sort $(wildcard $(d)lua/modules/*.c))) \
|
|
|
|
$(patsubst %.cpp,%.o,$(sort $(wildcard $(d)lua/*.cpp))) \
|
|
|
|
$(patsubst %.cpp,%.o,$(sort $(wildcard $(d)unix/*.cpp))) \
|
2014-06-17 03:22:06 +02:00
|
|
|
$(d)common/calltip_provider.o \
|
|
|
|
$(d)common/character_count.o \
|
|
|
|
$(d)common/charset.o \
|
|
|
|
$(d)common/charset_6937.o \
|
|
|
|
$(d)common/charset_conv.o \
|
|
|
|
$(d)common/color.o \
|
|
|
|
$(d)common/file_mapping.o \
|
|
|
|
$(d)common/format.o \
|
|
|
|
$(d)common/fs.o \
|
|
|
|
$(d)common/hotkey.o \
|
|
|
|
$(d)common/io.o \
|
|
|
|
$(d)common/json.o \
|
|
|
|
$(d)common/kana_table.o \
|
|
|
|
$(d)common/karaoke_matcher.o \
|
|
|
|
$(d)common/keyframe.o \
|
2014-12-28 21:45:55 +01:00
|
|
|
$(d)common/line_iterator.o \
|
2014-06-17 03:22:06 +02:00
|
|
|
$(d)common/log.o \
|
|
|
|
$(d)common/mru.o \
|
|
|
|
$(d)common/option.o \
|
2014-12-29 05:17:06 +01:00
|
|
|
$(d)common/option_value.o \
|
2014-06-17 03:22:06 +02:00
|
|
|
$(d)common/path.o \
|
|
|
|
$(d)common/thesaurus.o \
|
|
|
|
$(d)common/util.o \
|
|
|
|
$(d)common/vfr.o \
|
|
|
|
$(d)common/ycbcr_conv.o
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
2018-03-05 18:28:29 +01:00
|
|
|
aegisub_OBJ += $(patsubst %.mm,%.o,$(sort $(wildcard $(d)osx/*.mm)))
|
2014-06-07 15:26:31 +02:00
|
|
|
else
|
2014-06-17 03:22:06 +02:00
|
|
|
aegisub_OBJ += $(d)common/dispatch.o
|
2010-12-05 20:12:42 +01:00
|
|
|
endif
|
|
|
|
|
2014-06-17 03:22:06 +02:00
|
|
|
aegisub_PCH := $(d)lagi_pre.h
|
2016-02-20 19:53:07 +01:00
|
|
|
aegisub_CPPFLAGS := -I$(d)include -I$(TOP) $(CPPFLAGS_BOOST) $(CFLAGS_LUA) $(CFLAGS_PTHREAD)
|
2014-06-17 03:22:06 +02:00
|
|
|
|
2016-02-08 04:52:45 +01:00
|
|
|
$(d)common/charset.o_FLAGS := $(CFLAGS_UCHARDET)
|
2014-06-17 03:22:06 +02:00
|
|
|
$(d)common/charset_conv.o_FLAGS := $(CFLAGS_ICONV)
|
|
|
|
$(d)common/parser.o_FLAGS := -ftemplate-depth=256
|
|
|
|
$(d)unix/path.o_FLAGS := -DP_DATA=\"$(P_DATA)\"
|
|
|
|
|
|
|
|
LIB += aegisub
|
|
|
|
|
|
|
|
include $(TOP)Makefile.target
|