summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-06-30 02:08:24 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-06-30 02:08:24 +0000
commita2fe024c4b7ae59839848ade9ecb63e0cd1abf9e (patch)
tree53ba9a1b0ba83deb8ad536d718b5db8cd9a51a72
parenta7483f6a75df0a29d116872a9e2f1abcbd1dc14d (diff)
downloadsunmake-a2fe024c4b7ae59839848ade9ecb63e0cd1abf9e.tar.gz
Build libvroot
-rw-r--r--Makefile.am33
-rw-r--r--configure.ac2
2 files changed, 33 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index baef49a..45c45f2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,7 +8,8 @@ lib_LTLIBRARIES = \
libmakestate.la \
libbsd.la \
libmksdmsi18n.la \
-libmksh.la
+libmksh.la \
+libvroot.la
libmakestate_la_LDFLAGS = -version-info 1:0:0
libmakestate_la_SOURCES = \
@@ -45,3 +46,33 @@ usr/src/make_src/Make/lib/mksh/src/misc.cc \
usr/src/make_src/Make/lib/mksh/src/mksh.cc \
usr/src/make_src/Make/lib/mksh/src/read.cc
+libvroot_la_LDFLAGS = -static
+libvroot_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/usr/src/make_src/Make/include
+libvroot_la_SOURCES = \
+usr/src/make_src/Make/include/vroot/args.h \
+usr/src/make_src/Make/include/vroot/report.h \
+usr/src/make_src/Make/include/vroot/vroot.h \
+usr/src/make_src/Make/lib/vroot/src/access.cc \
+usr/src/make_src/Make/lib/vroot/src/args.cc \
+usr/src/make_src/Make/lib/vroot/src/chdir.cc \
+usr/src/make_src/Make/lib/vroot/src/chmod.cc \
+usr/src/make_src/Make/lib/vroot/src/chown.cc \
+usr/src/make_src/Make/lib/vroot/src/chroot.cc \
+usr/src/make_src/Make/lib/vroot/src/creat.cc \
+usr/src/make_src/Make/lib/vroot/src/execve.cc \
+usr/src/make_src/Make/lib/vroot/src/lock.cc \
+usr/src/make_src/Make/lib/vroot/src/lstat.cc \
+usr/src/make_src/Make/lib/vroot/src/mkdir.cc \
+usr/src/make_src/Make/lib/vroot/src/mount.cc \
+usr/src/make_src/Make/lib/vroot/src/open.cc \
+usr/src/make_src/Make/lib/vroot/src/readlink.cc \
+usr/src/make_src/Make/lib/vroot/src/report.cc \
+usr/src/make_src/Make/lib/vroot/src/rmdir.cc \
+usr/src/make_src/Make/lib/vroot/src/setenv.cc \
+usr/src/make_src/Make/lib/vroot/src/stat.cc \
+usr/src/make_src/Make/lib/vroot/src/statfs.cc \
+usr/src/make_src/Make/lib/vroot/src/truncate.cc \
+usr/src/make_src/Make/lib/vroot/src/unlink.cc \
+usr/src/make_src/Make/lib/vroot/src/unmount.cc \
+usr/src/make_src/Make/lib/vroot/src/utimes.cc \
+usr/src/make_src/Make/lib/vroot/src/vroot.cc
diff --git a/configure.ac b/configure.ac
index a7caec5..62cf336 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,7 +7,7 @@ AC_CONFIG_SRCDIR([usr/src/make_src/Make/bin/make/common/nse_printdep.cc])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([foreign])
+AM_INIT_AUTOMAKE([foreign subdir-objects])
AM_SILENT_RULES([silent])
# Checks for programs.