summaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.am
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2011-04-15 18:13:28 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2011-04-15 18:13:28 +0200
commit7e3d293f3d64e28bd0ee53a128e753b8b4c4c768 (patch)
treea805237828237d719a628eccbf638f1eae028bcf /libgfortran/Makefile.am
parentedcdea5b0076b473fbed3d0338193aae7d0d9361 (diff)
downloadgcc-7e3d293f3d64e28bd0ee53a128e753b8b4c4c768.tar.gz
re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])
2011-04-15 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * Makefile.am: Build and install caf/single.c as libcaf_single.a. * Makefile.in: Regenerate. From-SVN: r172499
Diffstat (limited to 'libgfortran/Makefile.am')
-rw-r--r--libgfortran/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am
index c38e3300f26..ce0d7250328 100644
--- a/libgfortran/Makefile.am
+++ b/libgfortran/Makefile.am
@@ -45,6 +45,13 @@ libgfortranbegin_la_SOURCES = fmain.c
libgfortranbegin_la_LDFLAGS = -static
libgfortranbegin_la_LINK = $(LINK) $(libgfortranbegin_la_LDFLAGS)
+cafexeclib_LTLIBRARIES = libcaf_single.la
+cafexeclibdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)$(MULTISUBDIR)
+libcaf_single_la_SOURCES = caf/single.c
+libcaf_single_la_LDFLAGS = -static
+libcaf_single_la_DEPENDENCIES = caf/libcaf.h
+libcaf_single_la_LINK = $(LINK) $(libcaf_single_la_LDFLAGS)
+
## io.h conflicts with a system header on some platforms, so
## use -iquote
AM_CPPFLAGS = -iquote$(srcdir)/io -I$(srcdir)/$(MULTISRCTOP)../gcc \