gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, xgawk, updated. 68318433e8e0627c722797ca


From: Andrew J. Schorr
Subject: [gawk-diffs] [SCM] gawk branch, xgawk, updated. 68318433e8e0627c722797cab90f23f30bb42c45
Date: Sun, 25 Mar 2012 22:07:33 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, xgawk has been updated
       via  68318433e8e0627c722797cab90f23f30bb42c45 (commit)
      from  b406b0ddbc1c306162ec94b76724347a1bea99f6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=68318433e8e0627c722797cab90f23f30bb42c45

commit 68318433e8e0627c722797cab90f23f30bb42c45
Author: Andrew J. Schorr <address@hidden>
Date:   Sun Mar 25 18:07:12 2012 -0400

    Rewrite extension/Makefile.am

diff --git a/ChangeLog b/ChangeLog
index 39b05e5..d5be293 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2012-03-25         Andrew J. Schorr     <address@hidden>
 
+       * configure.ac (AC_DISABLE_STATIC): Add this to avoid building useless
+       static extension libraries.
+
+2012-03-25         Andrew J. Schorr     <address@hidden>
+
        * TODO.xgawk: New file listing completed and pending xgawk enhancements.
 
 2012-03-24         Andrew J. Schorr     <address@hidden>
diff --git a/configure.ac b/configure.ac
index a7de26a..ac9b4d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,7 @@ AC_PROG_LN_S
 AC_PROG_CC
 AC_PROG_CPP
 AC_PROG_LIBTOOL
+AC_DISABLE_STATIC
 
 AC_OBJEXT
 AC_EXEEXT
diff --git a/extension/ChangeLog b/extension/ChangeLog
index 2287434..e0a6245 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,5 +1,11 @@
 2012-03-25         Andrew J. Schorr     <address@hidden>
 
+       * Makefile.am: Major cleanup.  Use libtool options -module and
+       -avoid-version to create the modules properly without my local hack
+       to override the default behavior.
+
+2012-03-25         Andrew J. Schorr     <address@hidden>
+
        * .gitignore: New file to ignore files created by libtool (including
        binaries and associated metadata).
 
diff --git a/extension/Makefile.am b/extension/Makefile.am
index fc80679..a2f4722 100644
--- a/extension/Makefile.am
+++ b/extension/Makefile.am
@@ -25,45 +25,29 @@
 
 INCLUDES = -I.. -I$(top_srcdir)
 
-lib_LTLIBRARIES =      \
-       libarrayparm.la \
-       libfilefuncs.la \
-       libfork.la      \
-       libordchr.la    \
-       libreadfile.la  \
-       libtestarg.la
-
-# The arrayparm, zaxxon, and testarg libraries do not do anything useful,
-# so do not install them...
-
-install_libraries =    \
-       libfilefuncs.la \
-       libfork.la      \
-       libordchr.la    \
-       libreadfile.la
-
-libarrayparm_la_SOURCES  = arrayparm.c
-libfilefuncs_la_SOURCES  = filefuncs.c
-libfork_la_SOURCES       = fork.c
-libordchr_la_SOURCES     = ordchr.c
-libreadfile_la_SOURCES   = readfile.c
-libtestarg_la_SOURCES    = testarg.c
-
-install: $(install_libraries)
-       for p in $(install_libraries); do \
-               . ./$$p ; \
-               f=`echo $$dlname | sed -e 's/^lib//' -e 's/\.0//g'` ; \
-               echo "Installing $$dlname in $(DESTDIR)$(pkgextensiondir)/$$f" 
; \
-               $(INSTALL_PROGRAM) .libs/$$dlname 
$(DESTDIR)$(pkgextensiondir)/$$f ; \
-       done
-
-uninstall: $(install_libraries)
-       for p in $(install_libraries); do \
-               . ./$$p ; \
-               f=`echo $$dlname | sed -e 's/^lib//' -e 's/\.0//g'` ; \
-               echo "Removing $$dlname in $(DESTDIR)$(pkgextensiondir)/$$f" ; \
-               rm -f $(DESTDIR)$(pkgextensiondir)/$$f ; \
-       done
+# The arrayparm, zaxxon (dl), and testarg libraries do not do anything useful,
+# so do not build or install them.
+
+# Note: rwarray does not currently compile.
+
+pkgextension_LTLIBRARIES =     \
+       filefuncs.la    \
+       fork.la         \
+       ordchr.la       \
+       readfile.la
+
+MY_MODULE_FLAGS = -module -avoid-version
+
+filefuncs_la_SOURCES  = filefuncs.c
+filefuncs_la_LDFLAGS  = $(MY_MODULE_FLAGS)
+fork_la_SOURCES       = fork.c
+fork_la_LDFLAGS       = $(MY_MODULE_FLAGS)
+ordchr_la_SOURCES     = ordchr.c
+ordchr_la_LDFLAGS     = $(MY_MODULE_FLAGS)
+readfile_la_SOURCES   = readfile.c
+readfile_la_LDFLAGS   = $(MY_MODULE_FLAGS)
+#rwarray_la_SOURCES    = rwarray.c
+#rwarray_la_LDFLAGS    = $(MY_MODULE_FLAGS)
 
 EXTRA_DIST = \
        ChangeLog \

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    5 ++++
 configure.ac          |    1 +
 extension/ChangeLog   |    6 ++++
 extension/Makefile.am |   62 ++++++++++++++++++------------------------------
 4 files changed, 35 insertions(+), 39 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]