Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit568f326

Browse files
author
Andreia Gaita
committed
Makefiles and public keys
1 parent61446f5 commit568f326

File tree

18 files changed

+1425
-0
lines changed

18 files changed

+1425
-0
lines changed

‎.gitignore‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
lib/debug
2+
lib/proto
3+
.libs
4+
Makefile
5+
configure
6+
launcher
7+
autom4te.cache
8+
config.log
9+
config.make
10+
config.status
11+

‎Makefile.in‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
include$(topsrcdir)config.make
2+
3+
allcleaninstalldo-2-0do-4-0:
4+
$(MAKE) -C src/fsharp$@
5+
6+
dist:
7+
-rm -r fsharp-$(DISTVERSION) fsharp-$(DISTVERSION).tar.bz2
8+
mkdir -p fsharp-$(DISTVERSION)
9+
(cd$(topdir)&& git archive HEAD|(cd$(builddir)fsharp-$(DISTVERSION)&& tar xf -))
10+
list='$(EXTRA_DIST)';forsin$$list;do \
11+
(cp$(topdir)$$s fsharp-$(DISTVERSION)/$$s)\
12+
done;
13+
tar cvjf fsharp-$(DISTVERSION).tar.bz2 -C fsharp-$(DISTVERSION)$(patsubst%,--exclude=%,$(NO_DIST)).
14+
du -b fsharp-$(DISTVERSION).tar.bz2
15+

‎README‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
This is the F# compiler and core library for Mono, based on the F# Powerpack code drop
2+
under the OSS approved Apache 2.0 license.
3+
4+
The build follows the cli\2.0 and cli\4.0 configuration on the original *.fsproj files included in
5+
the F# Powerpack code drop, in terms of flags and defines.
6+
7+
To bootstrap the compiler, binaries built on VS2010 are used, as the official binaries
8+
fail to build due to a possible tail call bug on Mono.
9+
10+
This build is based on F# Powerpack r54075
11+
12+
======= REQUIREMENTS =======
13+
14+
Requires mono 2.8.
15+
Requires bootstrapping libraries, tools and f# compiler. The lib/bootstrap/X.0 directories contain
16+
mono-built libraries, compiler and tools that can be used to bootstrap a build. You can also supply
17+
your own via the --with-bootstrap option.
18+
19+
======= BUILDING =======
20+
21+
To build, run autoreconf to generate a configure script, then run configure and make in
22+
the usual way.
23+

‎config.make.in‎

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
bootstrap := @with_bootstrap@
2+
prefix := @prefix@
3+
topdir := @abs_top_srcdir@/
4+
builddir := @abs_top_builddir@/
5+
libdir := ${prefix}/lib/
6+
installdir := ${prefix}/bin/
7+
monodir := $(libdir)mono/
8+
libdir2 := $(monodir)2.0/
9+
libdir35 := $(monodir)3.5/
10+
libdir4 := $(monodir)4.0/
11+
tooldir := $(topdir)lib/bootstrap/2.0/
12+
13+
bindir = $(bootstrap)/$(TARGET)/
14+
tmpdir = .libs/
15+
objdir = $(tmpdir)$(TARGET)/
16+
protodir = $(builddir)/lib/proto/$(TARGET)/
17+
outdir = $(builddir)lib/$(CONFIG)/$(TARGET)/
18+
19+
FSSRGEN := $(tooldir)fssrgen.exe
20+
FSLEX := $(tooldir)fslex.exe
21+
FSYACC := $(tooldir)fsyacc.exe
22+
23+
CONFIG := debug
24+
DISTVERSION := 201011
25+
26+
VERSION_2_0 := 2.0.0.0
27+
VERSION_4_0 := 4.0.0.0
28+
TARGET_2_0 := 2.0
29+
TARGET_4_0 := 4.0
30+
31+
FLAGS = \
32+
--doc:$(objdir)$(NAME).xml \
33+
--version:$(VERSION) \
34+
-g \
35+
--mlcompatibility \
36+
--noframework \
37+
--fullpaths \
38+
--times \
39+
--nowarn:9
40+
41+
FINAL_FLAGS = \
42+
--delaysign+ \
43+
--keyfile:$(topdir)msfinal.pub
44+
45+
DEFINES_GENERAL = \
46+
--define:NO_STRONG_NAMES \
47+
--define:TRACE \
48+
--define:FX_ATLEAST_35 \
49+
--define:MONO
50+
51+
DEFINES_DEBUG = \
52+
--define:CODE_ANALYSIS \
53+
--define:DEBUG
54+
55+
DEFINES_2_0 = \
56+
$(DEFINES_GENERAL) \
57+
$(DEFINES_DEBUG) \
58+
--define:FX_FSLIB_STRUCTURAL_EQUALITY \
59+
--define:FX_FSLIB_IOBSERVABLE \
60+
--define:FX_FSLIB_TUPLE \
61+
--define:FX_FSLIB_LAZY
62+
63+
DEFINES_4_0 = \
64+
$(DEFINES_GENERAL) \
65+
$(DEFINES_DEBUG) \
66+
--define:FX_ATLEAST_40
67+
68+
REFERENCES_2_0 = \
69+
-r:$(libdir)Microsoft.Build.Engine.dll \
70+
-r:$(libdir)Microsoft.Build.Framework.dll \
71+
-r:$(libdir35)Microsoft.Build.Tasks.v3.5.dll \
72+
-r:$(libdir35)Microsoft.Build.Utilities.v3.5.dll \
73+
-r:$(libdir)mscorlib.dll \
74+
-r:$(libdir)System.Core.dll \
75+
-r:$(libdir)System.dll
76+
77+
REFERENCES_4_0 = \
78+
-r:$(libdir)Microsoft.Build.Engine.dll \
79+
-r:$(libdir)Microsoft.Build.Framework.dll \
80+
-r:$(libdir35)Microsoft.Build.Tasks.v3.5.dll \
81+
-r:$(libdir35)Microsoft.Build.Utilities.v3.5.dll \
82+
-r:$(libdir)mscorlib.dll \
83+
-r:$(libdir)System.Core.dll \
84+
-r:$(libdir)System.dll \
85+
-r:$(libdir)System.Numerics.dll
86+
87+
INSTALL = $(SHELL) $(topdir)install-sh
88+
INSTALL_DATA = $(INSTALL) -c -m 644
89+
INSTALL_BIN = $(INSTALL) -c -m 755
90+
INSTALL_LIB = $(INSTALL_BIN)
91+
92+
EXTRA_DIST = configure
93+
NO_DIST = .gitignore lib
94+
95+
DEFAULT: all
96+

‎configure.ac‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# -*- Autoconf -*-
2+
# Process this file with autoconf to produce a configure script.
3+
4+
AC_PREREQ([2.65])
5+
AC_INIT([fsharp],[0.1],[avidigal@novell.com])
6+
7+
# Checks for programs.
8+
AC_PROG_MAKE_SET
9+
10+
# Checks for libraries.
11+
12+
# Checks for header files.
13+
14+
# Checks for typedefs, structures, and compiler characteristics.
15+
16+
# Checks for library functions.
17+
18+
AC_ARG_WITH([bootstrap],
19+
[ --with-bootstrap=<path>],
20+
[],[with_bootstrap=lib/bootstrap])
21+
with_bootstrap=$(cd "$with_bootstrap" && pwd)
22+
AC_SUBST(with_bootstrap)
23+
24+
AC_CONFIG_FILES([
25+
launcher
26+
Makefile
27+
config.make
28+
src/fsharp/Makefile
29+
src/fsharp/FSharp.Build-proto/Makefile
30+
src/fsharp/FSharp.Compiler-proto/Makefile
31+
src/fsharp/Fsc-proto/Makefile
32+
src/fsharp/FSharp.Core/Makefile
33+
src/fsharp/FSharp.Build/Makefile
34+
src/fsharp/FSharp.Compiler/Makefile
35+
src/fsharp/Fsc/Makefile
36+
])
37+
AC_OUTPUT

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp