]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
added assembler support
authorTom Tromey <tromey@redhat.com>
Sat, 25 Oct 1997 05:08:42 +0000 (05:08 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 25 Oct 1997 05:08:42 +0000 (05:08 +0000)
13 files changed:
ChangeLog
NEWS
README-alpha
automake.in
compile.am
lib/am/compile.am
lib/am/libtool.am
libtool.am
m4/Makefile.am
m4/Makefile.in
m4/exeext.m4
m4/init.m4
m4/mingw.m4 [new file with mode: 0644]

index f32a918500b4f39bad229f93558c056020c7f1c8..d9265f6707c2dd6d5ad02e44db81c2bb7f1fa353 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,34 @@
+Wed Aug 27 19:26:45 1997  Rob Savoye  <rob@chinadoll.cygnus.com>
+
+       * compile.am: Add suffix rules for ".s.o" and ".S.o" so assembler
+       files can be used.
+       * libtool.am: Add suffix rules for ".s.lo" and ".S.lo" so assembler
+       files can be used.
+       * automake.in: Add .S and .s to the standard list of suffixes so
+       assembler files can be used.
+
+Fri Oct 24 13:39:01 1997  Tom Tromey  <tromey@cygnus.com>
+
+       * m4/exeext.m4: Require AM_MINGW32.  Check MINGW32 setting.
+
+Thu Oct 23 21:16:28 1997  Tom Tromey  <tromey@cygnus.com>
+
+       * m4/init.m4 (missing_dir): AC_REQUIRE AM_SANITY_CHECK,
+       AC_ARG_PROGRAM, and AC_PROG_MAKE_SET.
+
+Tue Oct 21 16:49:36 1997  Tom Tromey  <tromey@cygnus.com>
+
+       * automake.in (handle_options): Recognize `cygnus'.
+
+Tue Sep  9 17:09:47 1997  Rob Savoye  <rob@chinadoll.cygnus.com>
+
+       * m4/mingw.m4: New file for mingw32 support.
+       * m4/exeext.m4: Also check for the mingw32 environment.
+
 Tue Oct 21 00:39:44 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * m4/Makefile.am (m4data_DATA): Added mingw.m4.
+
        * automake.in (handle_lib_objects_cond): Don't require @LEXLIB@.
        (handle_programs): Likewise.
 
diff --git a/NEWS b/NEWS
index e861aff08455a08b762df912a6055fcce211e56a..bf25e26f81ea69c4c8434d9e905ebe2d3b835d9a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,9 @@ New in 1.2c:
 * Better Cygwin32 support
 * Support for suffix rules with _SOURCES variables
 * New options `readme-alpha' and `check-news'; Gnits mode sets these
+* @LEXLIB@ no longer required when lex source seen
+* Built-in support for assembly
+* aclocal gives error if `AM_' macro not found
 \f
 New in 1.2:
 * Bug fixes
index f7a51908900c812b4b80edfe68905067c25222e6..5b2d468572b6e6b49f856f4d1264fa700af21ede 100644 (file)
@@ -2,20 +2,8 @@ This is a test release of this package.
 Please do not send reports about this release to any
 GNU mailing list or newsgroup.
 
-A few notes on this particular release:
-
-I'm trying to clean things up for the 1.2 release.  If you know of
-serious problems or limitations, please tell me.
-
-
-A few things that I still haven't gotten to fixing:
-
-* The `acinstall' program is distributed but not used; I still must
-  write the internal support for it.  This is the program that will be
-  used to install macro files for aclocal.  This probably won't happen
-  before 1.2.
-
-* The documentation still needs more work.  Suggestions welcome.
+The documentation still needs more work.  Suggestions welcome.
+Patches even more welcome.
 
 Please send comments and problem reports about this test release to
 tromey@cygnus.com -- ignore the bug reporting addresses given by the
index ea5279e00fb5fe6d329fac9a5aa4ab58e766781d..1f90cb4f9e7a8ec4a8633276fea230088cbdf033 100755 (executable)
@@ -625,6 +625,10 @@ sub handle_options
        {
            &set_strictness ($_);
        }
+       elsif ($_ eq 'cygnus')
+       {
+           $cygnus_mode = 1;
+       }
        elsif (/ansi2knr/)
        {
            # An option like "../lib/ansi2knr" is allowed.  With no
@@ -724,7 +728,7 @@ sub get_object_extension
            }
        }
 
-       push (@suffixes, '.c', '.o');
+       push (@suffixes, '.c', '.o', '.S', '.s');
        push (@clean, 'compile');
 
        $included_generic_compile = 1;
index ea67e7bf67ccf94014f66fe306da4a510929d944..97eb6afb15a3b8d36a9d19ad2beac7e7d9777b52 100644 (file)
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
 .c.o:
        $(COMPILE) -c $<
 
+.s.o:
+       $(COMPILE) -c $<
+
+.S.o:
+       $(COMPILE) -c $<
+
 mostlyclean-compile:
 ## Don't remove 'core.*' because some distributions have eg "core.c".
        -rm -f *.o core
index ea67e7bf67ccf94014f66fe306da4a510929d944..97eb6afb15a3b8d36a9d19ad2beac7e7d9777b52 100644 (file)
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
 .c.o:
        $(COMPILE) -c $<
 
+.s.o:
+       $(COMPILE) -c $<
+
+.S.o:
+       $(COMPILE) -c $<
+
 mostlyclean-compile:
 ## Don't remove 'core.*' because some distributions have eg "core.c".
        -rm -f *.o core
index 53374a1e85979bad3386ea36e2faa125ffe371f7..c4a3b159ce027427eefc0d18480b08f3dd7d184b 100644 (file)
 ## if the program doesn't have a name that libtool expects.
        $(LIBTOOL) --mode=compile $(COMPILE) -c $<
 
+## These are just copies of the above rule.
+.s.lo:
+       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+.S.lo:
+       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
 mostlyclean-libtool:
        -rm -f *.lo
 
index 53374a1e85979bad3386ea36e2faa125ffe371f7..c4a3b159ce027427eefc0d18480b08f3dd7d184b 100644 (file)
 ## if the program doesn't have a name that libtool expects.
        $(LIBTOOL) --mode=compile $(COMPILE) -c $<
 
+## These are just copies of the above rule.
+.s.lo:
+       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+.S.lo:
+       $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
 mostlyclean-libtool:
        -rm -f *.lo
 
index 42571deec32587898918b0e13f61003f872bfa32..4f7edf3d02e7c84269f0086db7f688126a6ef167 100644 (file)
@@ -4,9 +4,9 @@ AUTOMAKE_OPTIONS = gnits
 MAINT_CHARSET = latin1
 
 m4datadir = $(datadir)/aclocal
-m4data_DATA = ccstdc.m4 dmalloc.m4 init.m4 install.m4 lispdir.m4 \
-maintainer.m4 protos.m4 ptrdiff.m4 regex.m4 strtod.m4 termios.m4 \
-winsz.m4 mktime.m4 error.m4 obstack.m4 sanity.m4 header.m4 missing.m4 \
-cygwin.m4 cond.m4 exeext.m4
+m4data_DATA = ccstdc.m4 cond.m4 cygwin.m4 dmalloc.m4 exeext.m4 init.m4 \
+install.m4 lispdir.m4 maintainer.m4 mingw.m4 protos.m4 ptrdiff.m4 \
+regex.m4 strtod.m4 termios.m4 winsz.m4 mktime.m4 error.m4 obstack.m4 \
+sanity.m4 header.m4 missing.m4
 
 EXTRA_DIST = $(m4data_DATA)
index 892e3db9040b11d124df2be02b42a22cd84c0fa2..028d73b1f704742983d4deabcaf37999b513f774 100644 (file)
@@ -65,10 +65,10 @@ AUTOMAKE_OPTIONS = gnits
 MAINT_CHARSET = latin1
 
 m4datadir = $(datadir)/aclocal
-m4data_DATA = ccstdc.m4 dmalloc.m4 init.m4 install.m4 lispdir.m4 \
-maintainer.m4 protos.m4 ptrdiff.m4 regex.m4 strtod.m4 termios.m4 \
-winsz.m4 mktime.m4 error.m4 obstack.m4 sanity.m4 header.m4 missing.m4 \
-cygwin.m4 cond.m4 exeext.m4
+m4data_DATA = ccstdc.m4 cond.m4 cygwin.m4 dmalloc.m4 exeext.m4 init.m4 \
+install.m4 lispdir.m4 maintainer.m4 mingw.m4 protos.m4 ptrdiff.m4 \
+regex.m4 strtod.m4 termios.m4 winsz.m4 mktime.m4 error.m4 obstack.m4 \
+sanity.m4 header.m4 missing.m4
 
 EXTRA_DIST = $(m4data_DATA)
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
index a73febe98dfb6ffc1a4730c93050a0d5af7a9548..655e199a52b77661d50bcd509615764f2a492461 100644 (file)
@@ -8,9 +8,10 @@ dnl environment. But if we're not, then it compiles a test program
 dnl to see if there is a suffix for executables.
 AC_DEFUN(AM_EXEEXT,
 [AC_REQUIRE([AM_CYGWIN32])
+AC_REQUIRE([AM_MINGW32])
 AC_MSG_CHECKING([for executable suffix])
 AC_CACHE_VAL(am_cv_exeext,
-[if test "$CYGWIN32" = yes; then
+[if test "$CYGWIN32" = yes || test "$MINGW32" = yes; then
 am_cv_exeext=.exe
 else
 cat > am_c_test.c << 'EOF'
index b5cdeb041178ad198ecf16e341a7ad75e0a60578..3ce28d5dac6e41b866d9f986ea96b4a8d0bd14fa 100644 (file)
@@ -20,8 +20,8 @@ fi
 ifelse([$3],,
 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
 AC_DEFINE_UNQUOTED(VERSION, "$VERSION"))
-AM_SANITY_CHECK
-AC_ARG_PROGRAM
+AC_REQUIRE([AM_SANITY_CHECK])
+AC_REQUIRE([AC_ARG_PROGRAM])
 dnl FIXME This is truly gross.
 missing_dir=`cd $ac_aux_dir && pwd`
 AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
@@ -29,4 +29,4 @@ AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
 AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
-AC_PROG_MAKE_SET])
+AC_REQUIRE([AC_PROG_MAKE_SET])])
diff --git a/m4/mingw.m4 b/m4/mingw.m4
new file mode 100644 (file)
index 0000000..3b39642
--- /dev/null
@@ -0,0 +1,12 @@
+# Check to see if we're running under Mingw, without using
+# AC_CANONICAL_*.  If so, set output variable MINGW32 to "yes".
+# Otherwise set it to "no".
+
+dnl AM_MINGW32()
+AC_DEFUN(AM_MINGW32,
+[AC_CACHE_CHECK(for Mingw32 environment, am_cv_mingw32,
+[AC_TRY_COMPILE(,[int main () { return __MINGW32__; }],
+am_cv_mingw32=yes, am_cv_mingw32=no)
+rm -f conftest*])
+MINGW32=
+test "$am_cv_mingw32" = yes && MINGW32=yes])