diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-06-30 03:10:23 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-06-30 03:10:23 +0000 |
commit | 1d2a9afe4682a3bd1600d7f3d88bf5b0218896a2 (patch) | |
tree | 7229faa9065e45f234441d91f7a82b7dc59890cb | |
parent | 5f858b8ff7b1813f164c7badba638b3fabb5066e (diff) | |
download | sunmake-1d2a9afe4682a3bd1600d7f3d88bf5b0218896a2.tar.gz |
Finally, build sunmake
-rw-r--r-- | Makefile.am | 33 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 31 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 45c45f2..d1b9b43 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,16 @@ AM_CPPFLAGS = -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" AM_CPPFLAGS += -DNDEBUG AM_CPPFLAGS += -I$(top_srcdir)/usr/src/make_src/include +AM_CPPFLAGS += -I$(top_srcdir)/usr/src/make_src/Make/include AM_CPPFLAGS += $(ARCH_CPPFLAGS) +bin_PROGRAMS = sunmake + lib_LTLIBRARIES = \ -libmakestate.la \ +libmakestate.la + +noinst_LTLIBRARIES = \ libbsd.la \ libmksdmsi18n.la \ libmksh.la \ @@ -27,7 +32,6 @@ usr/src/make_src/Make/lib/mksdmsi18n/src/libmksdmsi18n_init.cc \ usr/src/make_src/include/avo/intl.h libmksh_la_LDFLAGS = -static -libmksh_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/usr/src/make_src/Make/include libmksh_la_SOURCES = \ usr/src/make_src/Make/include/mksh/defs.h \ usr/src/make_src/Make/include/mksh/dosys.h \ @@ -47,7 +51,6 @@ 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 \ @@ -76,3 +79,27 @@ 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 + +sunmake_LDADD = libmksh.la libmksdmsi18n.la libbsd.la libvroot.la +sunmake_SOURCES = \ +usr/src/make_src/Make/bin/make/common/ar.cc \ +usr/src/make_src/Make/bin/make/common/depvar.cc \ +usr/src/make_src/Make/bin/make/common/dist.cc \ +usr/src/make_src/Make/bin/make/common/dmake.cc \ +usr/src/make_src/Make/bin/make/common/doname.cc \ +usr/src/make_src/Make/bin/make/common/dosys.cc \ +usr/src/make_src/Make/bin/make/common/files.cc \ +usr/src/make_src/Make/bin/make/common/globals.cc \ +usr/src/make_src/Make/bin/make/common/implicit.cc \ +usr/src/make_src/Make/bin/make/common/macro.cc \ +usr/src/make_src/Make/bin/make/common/main.cc \ +usr/src/make_src/Make/bin/make/common/make.cc \ +usr/src/make_src/Make/bin/make/common/misc.cc \ +usr/src/make_src/Make/bin/make/common/nse.cc \ +usr/src/make_src/Make/bin/make/common/nse_printdep.cc \ +usr/src/make_src/Make/bin/make/common/parallel.cc \ +usr/src/make_src/Make/bin/make/common/pmake.cc \ +usr/src/make_src/Make/bin/make/common/read.cc \ +usr/src/make_src/Make/bin/make/common/read2.cc \ +usr/src/make_src/Make/bin/make/common/rep.cc \ +usr/src/make_src/Make/bin/make/common/state.cc diff --git a/configure.ac b/configure.ac index 62cf336..b0d2657 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ LT_INIT ARCH_CPPFLAGS= case $host in *-pc-solaris*) - ARCH_CPPFLAGS="$ARCH_CFLAGS -DSUN5_0 -DSYSV -Dx86" + ARCH_CPPFLAGS="$ARCH_CFLAGS -DSUN5_0 -DSYSV -Dx86 -DSUNOS4_AND_AFTER" ;; *) ;; |