From 313e7f5c89d6e72e06efe9255089765b4c5815fe Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Fri, 9 Oct 2015 11:36:59 +0200 Subject: [PATCH] Squashed 'src/univalue/' changes from 87d9045..5839ac3 5839ac3 Merge pull request #13 from theuni/move-lib 3f248e0 build: move libunivalue.la to the root dir a68aed5 Merge pull request #12 from jmcorgan/add-ignores 81cafe3 Update and consolidate git ignores git-subtree-dir: src/univalue git-subtree-split: 5839ac3311792f80b9cd5070440c2256e0e69e13 --- .gitignore | 9 +++++++++ Makefile.am | 10 +++++----- build-aux/m4/.empty | 0 build-aux/m4/.gitignore | 1 + lib/.gitignore | 8 -------- test/.gitignore | 6 ------ 6 files changed, 15 insertions(+), 19 deletions(-) delete mode 100644 build-aux/m4/.empty create mode 100644 build-aux/m4/.gitignore diff --git a/.gitignore b/.gitignore index ca9e84234..a7a2ca919 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,13 @@ test-driver libtool ltmain.sh +*.a +*.la +*.lo +*.logs *.o +*.pc +*.trs + +.dirstamp +.libs diff --git a/Makefile.am b/Makefile.am index 2800f466d..df9e66229 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,20 +5,20 @@ ACLOCAL_AMFLAGS = -I build-aux/m4 include_HEADERS = include/univalue.h noinst_HEADERS = lib/univalue_escapes.h -lib_LTLIBRARIES = lib/libunivalue.la +lib_LTLIBRARIES = libunivalue.la pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = pc/libunivalue.pc -lib_libunivalue_la_SOURCES = \ +libunivalue_la_SOURCES = \ lib/univalue.cpp \ lib/univalue_read.cpp \ lib/univalue_write.cpp -lib_libunivalue_la_LDFLAGS = \ +libunivalue_la_LDFLAGS = \ -version-info $(LIBUNIVALUE_CURRENT):$(LIBUNIVALUE_REVISION):$(LIBUNIVALUE_AGE) \ -no-undefined -lib_libunivalue_la_CXXFLAGS = -I$(top_srcdir)/include +libunivalue_la_CXXFLAGS = -I$(top_srcdir)/include TESTS = test/unitester @@ -38,7 +38,7 @@ noinst_PROGRAMS = $(TESTS) TEST_DATA_DIR=test test_unitester_SOURCES = test/unitester.cpp -test_unitester_LDADD = lib/libunivalue.la +test_unitester_LDADD = libunivalue.la test_unitester_CXXFLAGS = -I$(top_srcdir)/include -DJSON_TEST_SRC=\"$(srcdir)/$(TEST_DATA_DIR)\" test_unitester_LDFLAGS = -static $(LIBTOOL_APP_LDFLAGS) diff --git a/build-aux/m4/.empty b/build-aux/m4/.empty deleted file mode 100644 index e69de29bb..000000000 diff --git a/build-aux/m4/.gitignore b/build-aux/m4/.gitignore new file mode 100644 index 000000000..f06368652 --- /dev/null +++ b/build-aux/m4/.gitignore @@ -0,0 +1 @@ +/*.m4 diff --git a/lib/.gitignore b/lib/.gitignore index ca8c16dcd..ee7fc2851 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -1,10 +1,2 @@ - -libunivalue-uninstalled.pc -libunivalue.pc -libunivalue.a gen - .libs -*.lo -*.la - diff --git a/test/.gitignore b/test/.gitignore index e4dea0df7..4afa094b1 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -1,7 +1 @@ - unitester - -*.log -*.trs - -.libs