--- Makefile.am~ 2005-04-08 09:26:42.000000000 +0000
+++ Makefile.am 2005-04-16 09:45:16.000000000 +0000
@@ -8,13 +8,22 @@
## May be used by toolexeclibdir.
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
+if DJGPP
+toolexeclib_LTLIBRARIES = libgfortran.la libgf95begin.la
+else
toolexeclib_LTLIBRARIES = libgfortran.la libgfortranbegin.la
+endif
libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` -lm $(extra_ldflags_libgfortran)
## This should really go in the compiler lib dir, not the system lib dir.
+if DJGPP
+libgf95begin_la_SOURCES = fmain.c
+libgf95begin_la_LDFLAGS = -static
+else
libgfortranbegin_la_SOURCES = fmain.c
libgfortranbegin_la_LDFLAGS = -static
+endif
## io.h conflicts with some a system header on some platforms, so
## use -iquote
syntax highlighted by Code2HTML, v. 0.9.1