diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2002-05-30 20:46:06 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2002-05-30 20:46:06 +0000 |
commit | c6ac11cd4eeba4466a70ee3767781c8abdf9669d (patch) | |
tree | cbe4f9ec692ca82e5c5e8c5cfed30a58c23310d9 /gnu/egcs/libf2c/libF77 | |
parent | 5f817ce30c27eeba7fc0b8982d24c0bab3136184 (diff) |
separate main.c into a separate libfrtbegin.a.
Handle that in g77spec.
Taken from gcc 3.1 (apart from the Makefile.bsd-wrapper changes).
This allows one to link fortran code with other languages on ELF
platforms: putting main.c in libg2c.so would make libg2c insist it
got a MAIN__ symbol.
Okay fgs@, pval@.
Diffstat (limited to 'gnu/egcs/libf2c/libF77')
-rw-r--r-- | gnu/egcs/libf2c/libF77/Makefile.bsd-wrapper | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/egcs/libf2c/libF77/Makefile.bsd-wrapper b/gnu/egcs/libf2c/libF77/Makefile.bsd-wrapper new file mode 100644 index 00000000000..daae8d76b62 --- /dev/null +++ b/gnu/egcs/libf2c/libF77/Makefile.bsd-wrapper @@ -0,0 +1,8 @@ +# $OpenBSD: Makefile.bsd-wrapper,v 1.1 2002/05/30 20:46:05 espie Exp $ + +# This needs to be separate from libg2c to allow for mixed +# Fortran/other language programs. +LIB=frtbegin +SRCS=main.c + +.include <bsd.lib.mk> |