2010-12-05 20:12:42 +01:00
|
|
|
include ../Makefile.inc
|
2008-03-03 08:22:58 +01:00
|
|
|
|
2014-04-25 23:12:32 +02:00
|
|
|
PRECOMPILED_HEADER_NAME = ../libaegisub/lagi_pre.h
|
|
|
|
|
2013-04-16 00:36:09 +02:00
|
|
|
LIB_SHARED = aegisub.so
|
|
|
|
LIB_VERSION = 0.1.0
|
2013-05-03 03:07:00 +02:00
|
|
|
BUILD_LIB = no
|
2013-04-16 00:36:09 +02:00
|
|
|
|
2014-03-11 17:47:53 +01:00
|
|
|
CXXFLAGS += -I../libaegisub/include -I../src -I ../vendor/lua/src $(CXXFLAGS_WX)
|
2013-04-16 00:36:09 +02:00
|
|
|
CPPFLAGS += $(CPPFLAGS_BOOST)
|
|
|
|
|
2014-03-11 17:47:53 +01:00
|
|
|
LIBS := -L../libaegisub -laegisub -L../vendor/lua -llua-aegisub $(LIBS)
|
2014-03-27 03:24:37 +01:00
|
|
|
LIBS += ../vendor/luabins/libluabins.a
|
2014-03-11 17:47:53 +01:00
|
|
|
LIBS += $(LIBS_WX) $(LIBS_BOOST) $(LIBS_ICU)
|
2013-04-16 00:36:09 +02:00
|
|
|
|
2014-03-27 03:24:37 +01:00
|
|
|
SRC += tests/aegisub.cpp
|
2013-04-16 00:36:09 +02:00
|
|
|
|
|
|
|
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 \
|
2013-05-04 05:00:55 +02:00
|
|
|
autoload/select-overlaps.moon \
|
2012-01-14 19:46:43 +01:00
|
|
|
autoload/strip-tags.lua \
|
2013-05-04 05:00:55 +02:00
|
|
|
demos/future-windy-blur.lua \
|
|
|
|
demos/raytracer.lua \
|
|
|
|
include/aegisub/clipboard.lua \
|
|
|
|
include/aegisub/re.moon \
|
|
|
|
include/aegisub/unicode.moon \
|
|
|
|
include/aegisub/util.moon \
|
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 \
|
2013-05-04 05:00:55 +02:00
|
|
|
include/moonscript.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 \
|
2013-12-07 00:25:17 +01:00
|
|
|
$(BIN_ECHO) "$(BIN_INSTALL) -m644 $$i $(DESTDIR)$(P_DATA)/automation/$$i"; \
|
|
|
|
$(BIN_INSTALL) -m644 $$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
|