diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2018-11-27 20:55:04 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2018-11-27 20:56:15 -0800 |
commit | 90f61c1f81653e29f0f1f72e2df828ee39f8ed3e (patch) | |
tree | b2135f1fe3220f6c316afc25548d2a16fcddb0ac | |
parent | bed74304b6a31d190032c01341f76733464b8ff7 (diff) |
*: incorporate libpad submodule
In preparation of adding an ix3_reset() method, pull in the
libpad allocator which will be used for caching all allocations
instead of the libc allocator, and a convenient fast reset.
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rwxr-xr-x | bootstrap | 4 | ||||
-rw-r--r-- | configure.ac | 5 | ||||
m--------- | libpad | 0 | ||||
-rw-r--r-- | src/Makefile.am | 1 |
6 files changed, 11 insertions, 4 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..f10f023 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "libpad"] + path = libpad + url = git://git.pengaru.com/libpad diff --git a/Makefile.am b/Makefile.am index af437a6..52621f0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1 @@ -SUBDIRS = src +SUBDIRS = libpad src @@ -1,5 +1,3 @@ #!/bin/sh -aclocal \ -&& automake --gnu --add-missing \ -&& autoconf +autoreconf --install diff --git a/configure.ac b/configure.ac index 3110d14..92a0bd6 100644 --- a/configure.ac +++ b/configure.ac @@ -10,4 +10,9 @@ AC_CONFIG_FILES([ Makefile src/Makefile ]) + +AC_CONFIG_SUBDIRS([ + libpad +]) + AC_OUTPUT diff --git a/libpad b/libpad new file mode 160000 +Subproject 16b9b42cecc81f7540aef85459cf1fa191fa641 diff --git a/src/Makefile.am b/src/Makefile.am index 53fe025..92d947f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,2 +1,3 @@ noinst_LIBRARIES = libix3.a libix3_a_SOURCES = list.h ix3.c ix3.h +libix3_a_CPPFLAGS = -I@top_srcdir@/libpad/src |