summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 11:20:14 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 11:20:14 (EDT)
commit45f425dc8ec7140595b7941a18fae42adb2344ec (patch)
tree6a64cdf91cb9789799b7f777bd1b4c379f824c6c
parent250892164853a4218b00336ca6fdaf9e775f9454 (diff)
3rdparty/local.mk: New file
-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