utils: Split out structs cleanups and printing into common/structs.

These won't be used by the daemon, so interferes with us using
common/utils in the daemon, so they are moved to a different library.
This commit is contained in:
Richard W.M. Jones
2017-06-08 15:39:33 +01:00
parent 78587cc3c6
commit 5efebd8c7e
44 changed files with 134 additions and 52 deletions

View File

@@ -109,6 +109,7 @@ libguestfs_jni_la_SOURCES = \
libguestfs_jni_la_CPPFLAGS = \
-DGUESTFS_PRIVATE=1 \
-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
-I$(top_srcdir)/common/structs -I$(top_builddir)/common/structs \
-I$(top_srcdir)/lib -I$(top_builddir)/lib
libguestfs_jni_la_CFLAGS = \
@@ -116,6 +117,7 @@ libguestfs_jni_la_CFLAGS = \
$(JNI_CFLAGS)
libguestfs_jni_la_LIBADD = \
$(top_builddir)/common/structs/libstructs.la \
$(top_builddir)/common/utils/libutils.la \
$(top_builddir)/lib/libguestfs.la