diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-06-30 00:30:20 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-06-30 00:30:20 +0000 |
commit | 23ce3c23dc9ef04cd5cc7dbde44440018857263d (patch) | |
tree | 3234b5eb6af9cc662a6e7448e6330703b599f092 | |
parent | e0463df9c3d2ee6155221cc443c571d5da47098a (diff) | |
download | sunmake-23ce3c23dc9ef04cd5cc7dbde44440018857263d.tar.gz |
Build libmakestate
-rw-r--r-- | Makefile.am | 10 | ||||
-rw-r--r-- | configure.ac | 47 |
2 files changed, 57 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..166c4ea --- /dev/null +++ b/Makefile.am @@ -0,0 +1,10 @@ +AM_CPPFLAGS = -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" +AM_CPPFLAGS += -DNDEBUG + +lib_LTLIBRARIES = libmakestate.la + +libmakestate_la_LDFLAGS = -version-info 1:0:0 +libmakestate_la_SOURCES = \ +usr/src/make_src/Make/lib/makestate/src/ld_file.c \ +usr/src/make_src/Make/lib/makestate/src/lock.c + diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..60923d9 --- /dev/null +++ b/configure.ac @@ -0,0 +1,47 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ([2.69]) +AC_INIT([sunmake], [2006.12.19], [pashev.igor@gmail.com]) +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_SILENT_RULES([silent]) + +# Checks for programs. +AC_PROG_CXX +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET +LT_INIT + + +# Checks for libraries. + +# Checks for header files. +AC_FUNC_ALLOCA +AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h nl_types.h stdlib.h string.h sys/file.h sys/mount.h sys/param.h sys/socket.h sys/systeminfo.h sys/time.h sys/vfs.h unistd.h wchar.h wctype.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_CHECK_HEADER_STDBOOL +AC_TYPE_UID_T +AC_C_INLINE +AC_TYPE_MODE_T +AC_TYPE_OFF_T +AC_TYPE_PID_T +AC_TYPE_SIZE_T +AC_TYPE_SSIZE_T +AC_CHECK_DECLS([sys_siglist]) + +# Checks for library functions. +AC_FUNC_CHOWN +AC_FUNC_FORK +AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK +AC_FUNC_MALLOC +AC_CHECK_FUNCS([alarm atexit dup2 getcwd gethostbyname memchr memset mkdir putenv rmdir setenv setlocale strcasecmp strchr strdup strerror strrchr strstr uname]) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT |