mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
lib: Move utilities to new directory common/utils.
Just code motion. This commit makes it clearer what is a utility and what is part of the library. It also makes it clear that we should rename: guestfs-internal-frontend.h -> utils.h guestfs-internal-frontend-cleanups.h -> cleanups.h (?) but this commit does not make that change.
This commit is contained in:
@@ -67,13 +67,14 @@ libguestfsmod_la_SOURCES = \
|
||||
libguestfsmod_la_CPPFLAGS = \
|
||||
-DGUESTFS_PRIVATE=1 \
|
||||
$(PYTHON_CFLAGS) \
|
||||
-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
|
||||
-I$(top_srcdir)/src -I$(top_builddir)/src
|
||||
|
||||
libguestfsmod_la_CFLAGS = \
|
||||
$(WARN_CFLAGS) $(WERROR_CFLAGS)
|
||||
|
||||
libguestfsmod_la_LIBADD = \
|
||||
$(top_builddir)/src/libutils_la-utils.lo \
|
||||
$(top_builddir)/common/utils/libutils_la-utils.lo \
|
||||
$(top_builddir)/src/libguestfs.la
|
||||
|
||||
libguestfsmod_la_LDFLAGS = -avoid-version -shared -module -shrext $(PYTHON_EXT_SUFFIX)
|
||||
@@ -117,13 +118,13 @@ guestfs-internal-all.h:
|
||||
ln $(top_srcdir)/src/guestfs-internal-all.h $@
|
||||
|
||||
guestfs-internal-frontend-cleanups.h:
|
||||
ln $(top_srcdir)/src/guestfs-internal-frontend-cleanups.h $@
|
||||
ln $(top_srcdir)/common/utils/guestfs-internal-frontend-cleanups.h $@
|
||||
|
||||
guestfs-internal-frontend.h:
|
||||
ln $(top_srcdir)/src/guestfs-internal-frontend.h $@
|
||||
ln $(top_srcdir)/common/utils/guestfs-internal-frontend.h $@
|
||||
|
||||
utils.c:
|
||||
ln $(top_srcdir)/src/utils.c $@
|
||||
ln $(top_srcdir)/common/utils/utils.c $@
|
||||
|
||||
# Tests.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user