[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HEAD tests/fcdemo: Work around Automake $(FC) limitation
From: |
Ralf Wildenhues |
Subject: |
HEAD tests/fcdemo: Work around Automake $(FC) limitation |
Date: |
Tue, 23 Aug 2005 23:11:06 +0200 |
User-agent: |
Mutt/1.5.9i |
OK for HEAD? It's the rules CVS Automake creates for me with
FCFLAGS_f90 added. Everything except the CYGPATH_W seems published
interface, so I think this should be safe.
With this, fcdemo-* all PASS on AIX/xlf95.
Cheers,
Ralf
* tests/fcdemo/Makefile.am (suffix rules): Explicitly add
$(FCFLAGS_f90) so the tests can pass on AIX.
Index: tests/fcdemo/Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/fcdemo/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- tests/fcdemo/Makefile.am 23 Aug 2005 01:49:37 -0000 1.2
+++ tests/fcdemo/Makefile.am 23 Aug 2005 16:56:57 -0000
@@ -49,3 +49,13 @@
$(OBJECTS): libtool
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
+
+# work around Automake bug not providing FCFLAGS_f90:
+.f90.o:
+ $(FCCOMPILE) -c -o $@ $(FCFLAGS_f90) $<
+
+.f90.obj:
+ $(FCCOMPILE) -c -o $@ $(FCFLAGS_f90) `$(CYGPATH_W) '$<'`
+
+.f90.lo:
+ $(LTFCCOMPILE) -c -o $@ $(FCFLAGS_f90) $<
- HEAD tests/fcdemo: Work around Automake $(FC) limitation,
Ralf Wildenhues <=