2010-12-05 20:12:42 +01:00
|
|
|
include ../Makefile.inc
|
2008-03-03 08:22:58 +01:00
|
|
|
|
2013-04-16 00:36:09 +02:00
|
|
|
LIB_SHARED = aegisub.so
|
|
|
|
LIB_VERSION = 0.1.0
|
|
|
|
|
|
|
|
CXXFLAGS += -I../libaegisub/include -I../src $(CXXFLAGS_WX)
|
|
|
|
CPPFLAGS += $(CPPFLAGS_BOOST)
|
|
|
|
|
|
|
|
LIBS := -L../libaegisub -laegisub $(LIBS)
|
|
|
|
LIBS += $(LIBS_WX) $(LIBS_BOOST) $(LIBS_ICU) $(LIBS_LUA)
|
|
|
|
|
|
|
|
SRC += tests/aegisub.cpp ../src/auto4_regex.cpp
|
|
|
|
|
|
|
|
test: $(LIB_SHARED)
|
|
|
|
moon tests/runner.moon
|
|
|
|
|
|
|
|
.PHONY: test
|
|
|
|
|
2009-01-04 10:56:31 +01:00
|
|
|
# share/
|
2010-12-05 20:12:42 +01:00
|
|
|
DATA_AUTOMATION += \
|
2012-07-23 01:56:49 +02:00
|
|
|
autoload/clean-info.lua \
|
2008-03-03 08:22:58 +01:00
|
|
|
autoload/cleantags-autoload.lua \
|
|
|
|
autoload/kara-templater.lua \
|
|
|
|
autoload/karaoke-auto-leadin.lua \
|
2009-01-04 10:24:56 +01:00
|
|
|
autoload/macro-1-edgeblur.lua \
|
|
|
|
autoload/macro-2-mkfullwitdh.lua \
|
2012-01-14 19:46:43 +01:00
|
|
|
autoload/select-overlaps.lua \
|
|
|
|
autoload/strip-tags.lua \
|
2008-03-03 08:22:58 +01:00
|
|
|
include/cleantags.lua \
|
2012-07-23 01:56:49 +02:00
|
|
|
include/clipboard.lua \
|
2008-03-03 08:22:58 +01:00
|
|
|
include/karaskel-auto4.lua \
|
|
|
|
include/karaskel.lua \
|
2012-07-23 01:56:49 +02:00
|
|
|
include/re.lua \
|
2008-03-03 08:22:58 +01:00
|
|
|
include/unicode.lua \
|
|
|
|
include/utils-auto4.lua \
|
2009-01-04 10:20:45 +01:00
|
|
|
include/utils.lua
|
2008-03-03 08:22:58 +01:00
|
|
|
|
2010-12-05 20:12:42 +01:00
|
|
|
all: ;
|
2008-03-03 08:22:58 +01:00
|
|
|
|
2010-12-05 20:12:42 +01:00
|
|
|
install: install-share
|
2012-01-08 02:03:45 +01:00
|
|
|
@$(BIN_MKDIR) -p $(addprefix $(DESTDIR)$(P_DATA)/automation/, $(dir $(DATA_AUTOMATION)))
|
2010-12-05 20:12:42 +01:00
|
|
|
@for i in $(DATA_AUTOMATION); do \
|
2012-01-08 02:03:45 +01:00
|
|
|
$(BIN_ECHO) "$(BIN_INSTALL) $$i $(DESTDIR)$(P_DATA)/automation/$$i"; \
|
|
|
|
$(BIN_INSTALL) $$i $(DESTDIR)$(P_DATA)/automation/$$i; \
|
2010-12-05 20:12:42 +01:00
|
|
|
done
|
2008-03-03 08:22:58 +01:00
|
|
|
|
2012-10-08 23:00:28 +02:00
|
|
|
EXTRA_DIST = $(DATA_AUTOMATION)
|
2010-12-05 20:12:42 +01:00
|
|
|
|
|
|
|
include ../Makefile.target
|