summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-06-30 01:01:24 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-06-30 01:01:24 +0000
commit438b8ea9eecb4c6d5e4f186f71ffbfc66aebf556 (patch)
treeb3bede9deccc63fa408f5a42a4040216dc2f6d78
parent713e0b97d87427f7402531dc46c6e6c27624ded1 (diff)
downloadsunmake-438b8ea9eecb4c6d5e4f186f71ffbfc66aebf556.tar.gz
Build libmksdmsi18n
-rw-r--r--Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5eef46a..ff25735 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,11 @@
AM_CPPFLAGS = -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\"
AM_CPPFLAGS += -DNDEBUG
+AM_CPPFLAGS += -Iusr/src/make_src/include
-lib_LTLIBRARIES = libmakestate.la libbsd.la
+lib_LTLIBRARIES = \
+libmakestate.la \
+libbsd.la \
+libmksdmsi18n.la
libmakestate_la_LDFLAGS = -version-info 1:0:0
libmakestate_la_SOURCES = \
@@ -11,3 +15,9 @@ usr/src/make_src/Make/lib/makestate/src/lock.c
libbsd_la_LDFLAGS = -static
libbsd_la_SOURCES = \
usr/src/make_src/Make/lib/bsd/src/bsd.cc
+
+libmksdmsi18n_la_LDFLAGS = -static
+libmksdmsi18n_la_CPPFLAGS = $(AM_CPPFLAGS) -DI18N_VERSION=1
+libmksdmsi18n_la_SOURCES = \
+usr/src/make_src/Make/lib/mksdmsi18n/src/libmksdmsi18n_init.cc
+