]> err.no Git - util-linux/commitdiff
tests: move test_bkdev to lib/
authorKarel Zak <kzak@redhat.com>
Wed, 28 Nov 2007 11:27:00 +0000 (12:27 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 28 Nov 2007 11:27:00 +0000 (12:27 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
configure.ac
lib/Makefile.am [new file with mode: 0644]
tests/helpers/Makefile.am

index 0915ba403c362af183a9e1870532ba05949eb6d4..29b11d827e8a173f1f9b9c12829a03dfb3be0ec0 100644 (file)
@@ -5,6 +5,7 @@ SUBDIRS = \
        disk-utils \
        fdisk \
        getopt \
+       lib \
        login-utils \
        misc-utils \
        po \
index 8a1d96d7e4b66a35b44d5595ab85889ca884ff73..e38c5019d5902e8f0ce3a635e9351f44c1048b1f 100644 (file)
@@ -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 (file)
index 0000000..0e1321e
--- /dev/null
@@ -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
+
+
index 7cf7ff4e093f72d4eccba6fd65d56718e9b21e97..933a6d5ec7ed230ec52177c0136ee492c4682df8 100644 (file)
@@ -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