From: Karel Zak Date: Wed, 28 Nov 2007 11:27:00 +0000 (+0100) Subject: tests: move test_bkdev to lib/ X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d00ed8911ea20880de33994ec4d2df1f4a5ba2b0;p=util-linux tests: move test_bkdev to lib/ Signed-off-by: Karel Zak --- 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