Permalink
Browse files

Makefiles and public keys

  • Loading branch information...
1 parent 61446f5 commit 568f3267efc09d46f42ae09e5f26738728ef7c3e @shana shana committed Dec 12, 2010
View
@@ -0,0 +1,11 @@
+lib/debug
+lib/proto
+.libs
+Makefile
+configure
+launcher
+autom4te.cache
+config.log
+config.make
+config.status
+
View
@@ -0,0 +1,15 @@
+include $(topsrcdir)config.make
+
+all clean install do-2-0 do-4-0:
+ $(MAKE) -C src/fsharp $@
+
+dist:
+ -rm -r fsharp-$(DISTVERSION) fsharp-$(DISTVERSION).tar.bz2
+ mkdir -p fsharp-$(DISTVERSION)
+ (cd $(topdir) && git archive HEAD |(cd $(builddir)fsharp-$(DISTVERSION) && tar xf -))
+ list='$(EXTRA_DIST)'; for s in $$list; do \
+ (cp $(topdir)$$s fsharp-$(DISTVERSION)/$$s) \
+ done;
+ tar cvjf fsharp-$(DISTVERSION).tar.bz2 -C fsharp-$(DISTVERSION) $(patsubst %,--exclude=%, $(NO_DIST)) .
+ du -b fsharp-$(DISTVERSION).tar.bz2
+
View
23 README
@@ -0,0 +1,23 @@
+This is the F# compiler and core library for Mono, based on the F# Powerpack code drop
+under the OSS approved Apache 2.0 license.
+
+The build follows the cli\2.0 and cli\4.0 configuration on the original *.fsproj files included in
+the F# Powerpack code drop, in terms of flags and defines.
+
+To bootstrap the compiler, binaries built on VS2010 are used, as the official binaries
+fail to build due to a possible tail call bug on Mono.
+
+This build is based on F# Powerpack r54075
+
+======= REQUIREMENTS =======
+
+Requires mono 2.8.
+Requires bootstrapping libraries, tools and f# compiler. The lib/bootstrap/X.0 directories contain
+mono-built libraries, compiler and tools that can be used to bootstrap a build. You can also supply
+your own via the --with-bootstrap option.
+
+======= BUILDING =======
+
+To build, run autoreconf to generate a configure script, then run configure and make in
+the usual way.
+
View
@@ -0,0 +1,96 @@
+bootstrap := @with_bootstrap@
+prefix := @prefix@
+topdir := @abs_top_srcdir@/
+builddir := @abs_top_builddir@/
+libdir := ${prefix}/lib/
+installdir := ${prefix}/bin/
+monodir := $(libdir)mono/
+libdir2 := $(monodir)2.0/
+libdir35 := $(monodir)3.5/
+libdir4 := $(monodir)4.0/
+tooldir := $(topdir)lib/bootstrap/2.0/
+
+bindir = $(bootstrap)/$(TARGET)/
+tmpdir = .libs/
+objdir = $(tmpdir)$(TARGET)/
+protodir = $(builddir)/lib/proto/$(TARGET)/
+outdir = $(builddir)lib/$(CONFIG)/$(TARGET)/
+
+FSSRGEN := $(tooldir)fssrgen.exe
+FSLEX := $(tooldir)fslex.exe
+FSYACC := $(tooldir)fsyacc.exe
+
+CONFIG := debug
+DISTVERSION := 201011
+
+VERSION_2_0 := 2.0.0.0
+VERSION_4_0 := 4.0.0.0
+TARGET_2_0 := 2.0
+TARGET_4_0 := 4.0
+
+FLAGS = \
+ --doc:$(objdir)$(NAME).xml \
+ --version:$(VERSION) \
+ -g \
+ --mlcompatibility \
+ --noframework \
+ --fullpaths \
+ --times \
+ --nowarn:9
+
+FINAL_FLAGS = \
+ --delaysign+ \
+ --keyfile:$(topdir)msfinal.pub
+
+DEFINES_GENERAL = \
+ --define:NO_STRONG_NAMES \
+ --define:TRACE \
+ --define:FX_ATLEAST_35 \
+ --define:MONO
+
+DEFINES_DEBUG = \
+ --define:CODE_ANALYSIS \
+ --define:DEBUG
+
+DEFINES_2_0 = \
+ $(DEFINES_GENERAL) \
+ $(DEFINES_DEBUG) \
+ --define:FX_FSLIB_STRUCTURAL_EQUALITY \
+ --define:FX_FSLIB_IOBSERVABLE \
+ --define:FX_FSLIB_TUPLE \
+ --define:FX_FSLIB_LAZY
+
+DEFINES_4_0 = \
+ $(DEFINES_GENERAL) \
+ $(DEFINES_DEBUG) \
+ --define:FX_ATLEAST_40
+
+REFERENCES_2_0 = \
+ -r:$(libdir)Microsoft.Build.Engine.dll \
+ -r:$(libdir)Microsoft.Build.Framework.dll \
+ -r:$(libdir35)Microsoft.Build.Tasks.v3.5.dll \
+ -r:$(libdir35)Microsoft.Build.Utilities.v3.5.dll \
+ -r:$(libdir)mscorlib.dll \
+ -r:$(libdir)System.Core.dll \
+ -r:$(libdir)System.dll
+
+REFERENCES_4_0 = \
+ -r:$(libdir)Microsoft.Build.Engine.dll \
+ -r:$(libdir)Microsoft.Build.Framework.dll \
+ -r:$(libdir35)Microsoft.Build.Tasks.v3.5.dll \
+ -r:$(libdir35)Microsoft.Build.Utilities.v3.5.dll \
+ -r:$(libdir)mscorlib.dll \
+ -r:$(libdir)System.Core.dll \
+ -r:$(libdir)System.dll \
+ -r:$(libdir)System.Numerics.dll
+
+INSTALL = $(SHELL) $(topdir)install-sh
+INSTALL_DATA = $(INSTALL) -c -m 644
+INSTALL_BIN = $(INSTALL) -c -m 755
+INSTALL_LIB = $(INSTALL_BIN)
+
+EXTRA_DIST = configure
+NO_DIST = .gitignore lib
+
+DEFAULT: all
+
View
@@ -0,0 +1,37 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.65])
+AC_INIT([fsharp], [0.1], [avidigal@novell.com])
+
+# Checks for programs.
+AC_PROG_MAKE_SET
+
+# Checks for libraries.
+
+# Checks for header files.
+
+# Checks for typedefs, structures, and compiler characteristics.
+
+# Checks for library functions.
+
+AC_ARG_WITH([bootstrap],
+ [ --with-bootstrap=<path>],
+ [], [with_bootstrap=lib/bootstrap])
+with_bootstrap=$(cd "$with_bootstrap" && pwd)
+AC_SUBST(with_bootstrap)
+
+AC_CONFIG_FILES([
+launcher
+Makefile
+config.make
+src/fsharp/Makefile
+src/fsharp/FSharp.Build-proto/Makefile
+src/fsharp/FSharp.Compiler-proto/Makefile
+src/fsharp/Fsc-proto/Makefile
+src/fsharp/FSharp.Core/Makefile
+src/fsharp/FSharp.Build/Makefile
+src/fsharp/FSharp.Compiler/Makefile
+src/fsharp/Fsc/Makefile
+])
+AC_OUTPUT
Oops, something went wrong.

0 comments on commit 568f326

Please sign in to comment.