summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--3rdparty/local.mk13
-rw-r--r--Makefile.am1
2 files changed, 14 insertions, 0 deletions
diff --git a/3rdparty/local.mk b/3rdparty/local.mk
new file mode 100644
index 0000000..7a294b7
--- /dev/null
+++ b/3rdparty/local.mk
@@ -0,0 +1,13 @@
+pkglibexecdir = $(libexecdir)/$(PACKAGE)
+3rdparty_dirs = usign
+if EMBEDDED_USIGN
+pkglibexec_SCRIPTS = 3rdparty/usign/usign$(EXEEXT)
+3rdparty/usign/usign$(EXEEXT):
+ (cd 3rdparty/usign/ && $(MAKE) VERBOSE=$(V))
+clean-local:
+ -(cd 3rdparty/usign/ && $(MAKE) VERBOSE=$(V) clean)
+distclean-local:
+ -rm -Rf 3rdparty/usign/CMakeFiles/
+ -rm -f 3rdparty/usign/CMakeCache.txt 3rdparty/usign/Makefile \
+ 3rdparty/usign/cmake_install.cmake
+endif
diff --git a/Makefile.am b/Makefile.am
index 566424e..9fff865 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -206,3 +206,4 @@ include $(top_srcdir)/src/local.mk
include $(top_srcdir)/locale/local.mk
include $(top_srcdir)/man/local.mk
include $(top_srcdir)/tests/local.mk
+include $(top_srcdir)/3rdparty/local.mk