summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac1
-rw-r--r--lib/Makefile.am9
-rw-r--r--tests/helpers/Makefile.am6
4 files changed, 12 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 0915ba403..29b11d827 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 8a1d96d7e..e38c5019d 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 000000000..0e1321edb
--- /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 7cf7ff4e0..933a6d5ec 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