Skip to content

Commit b08f186

Browse files
committed
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.
1 parent 552c007 commit b08f186

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

boot-analysis/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ boot_analysis_SOURCES = \
2929
boot-analysis-utils.h
3030
boot_analysis_CPPFLAGS = \
3131
-I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \
32+
-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
3233
-I$(top_srcdir)/src -I$(top_builddir)/src
3334
boot_analysis_CFLAGS = \
3435
-pthread \
3536
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
3637
$(PCRE_CFLAGS)
3738
boot_analysis_LDADD = \
38-
$(top_builddir)/src/libutils.la \
39+
$(top_builddir)/common/utils/libutils.la \
3940
$(top_builddir)/src/libguestfs.la \
4041
$(PCRE_LIBS) \
4142
$(LIBXML2_LIBS) \

boot-benchmark/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ boot_benchmark_SOURCES = \
3131
../boot-analysis/boot-analysis-utils.h
3232
boot_benchmark_CPPFLAGS = \
3333
-I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \
34+
-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
3435
-I$(top_srcdir)/src -I$(top_builddir)/src \
3536
-I$(top_srcdir)/utils/boot-analysis
3637
boot_benchmark_CFLAGS = \
3738
$(WARN_CFLAGS) $(WERROR_CFLAGS)
3839
boot_benchmark_LDADD = \
39-
$(top_builddir)/src/libutils.la \
40+
$(top_builddir)/common/utils/libutils.la \
4041
$(top_builddir)/src/libguestfs.la \
4142
$(LIBXML2_LIBS) \
4243
$(LTLIBINTL) \

qemu-boot/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ qemu_boot_SOURCES = \
2525
qemu-boot.c
2626
qemu_boot_CPPFLAGS = \
2727
-I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \
28+
-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
2829
-I$(top_srcdir)/src -I$(top_builddir)/src \
2930
-I$(top_srcdir)/df
3031
qemu_boot_CFLAGS = \
3132
-pthread \
3233
$(WARN_CFLAGS) $(WERROR_CFLAGS)
3334
qemu_boot_LDADD = \
34-
$(top_builddir)/src/libutils.la \
35+
$(top_builddir)/common/utils/libutils.la \
3536
$(top_builddir)/src/libguestfs.la \
3637
$(LIBXML2_LIBS) \
3738
$(LIBVIRT_LIBS) \

qemu-speed-test/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ qemu_speed_test_SOURCES = \
2323
qemu-speed-test.c
2424
qemu_speed_test_CPPFLAGS = \
2525
-I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \
26+
-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
2627
-I$(top_srcdir)/src -I$(top_builddir)/src \
2728
-I$(top_srcdir)/df
2829
qemu_speed_test_CFLAGS = \
2930
$(WARN_CFLAGS) $(WERROR_CFLAGS)
3031
qemu_speed_test_LDADD = \
31-
$(top_builddir)/src/libutils.la \
32+
$(top_builddir)/common/utils/libutils.la \
3233
$(top_builddir)/src/libguestfs.la \
3334
$(LIBXML2_LIBS) \
3435
$(LIBVIRT_LIBS) \

0 commit comments

Comments
 (0)