From d00ed8911ea20880de33994ec4d2df1f4a5ba2b0 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 28 Nov 2007 12:27:00 +0100 Subject: [PATCH] tests: move test_bkdev to lib/ Signed-off-by: Karel Zak --- Makefile.am | 1 + configure.ac | 1 + lib/Makefile.am | 9 +++++++++ tests/helpers/Makefile.am | 6 +----- 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 lib/Makefile.am diff --git a/Makefile.am b/Makefile.am index 0915ba40..29b11d82 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,6 +5,7 @@ SUBDIRS = \ disk-utils \ fdisk \ getopt \ + lib \ login-utils \ misc-utils \ po \ diff --git a/configure.ac b/configure.ac index 8a1d96d7..e38c5019 100644 --- a/configure.ac +++ b/configure.ac @@ -578,6 +578,7 @@ fdisk/Makefile getopt/Makefile hwclock/Makefile include/Makefile +lib/Makefile login-utils/Makefile misc-utils/Makefile mount/Makefile diff --git a/lib/Makefile.am b/lib/Makefile.am new file mode 100644 index 00000000..0e1321ed --- /dev/null +++ b/lib/Makefile.am @@ -0,0 +1,9 @@ +include $(top_srcdir)/config/include-Makefile.am + +noinst_PROGRAMS = test_blkdev + +test_blkdev_SOURCES = $(top_srcdir)/lib/blkdev.c \ + $(top_srcdir)/lib/linux_version.c +test_blkdev_CFLAGS = -DMAIN_TEST_BLKDEV + + diff --git a/tests/helpers/Makefile.am b/tests/helpers/Makefile.am index 7cf7ff4e..933a6d5e 100644 --- a/tests/helpers/Makefile.am +++ b/tests/helpers/Makefile.am @@ -1,8 +1,4 @@ include $(top_srcdir)/config/include-Makefile.am -noinst_PROGRAMS = test_sysinfo test_blkdev - -test_blkdev_SOURCES = $(top_srcdir)/lib/blkdev.c \ - $(top_srcdir)/lib/linux_version.c -test_blkdev_CFLAGS = -DMAIN_TEST_BLKDEV +noinst_PROGRAMS = test_sysinfo -- 2.39.5