Fossil

Check-in [ffcd314afc]
Login

Check-in [ffcd314afc]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added some (as yet untested) fragments for FreeBSD, Solaris and OpenSolaris. FreeBSD and OpenSolaris testing are due soon.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | newbuild | ttmrichter
Files: files | file ages | folders
SHA1: ffcd314afcb29b5961443785eeff12f2ab6c6c5b
User & Date: michael 2010-07-10 10:43:05
Context
2010-07-10
13:29
Tested the FreeBSD fragments on FreeBSD 8.0. ... (check-in: f69de3cfd0 user: michael tags: newbuild, ttmrichter)
10:43
Added some (as yet untested) fragments for FreeBSD, Solaris and OpenSolaris. FreeBSD and OpenSolaris testing are due soon. ... (check-in: ffcd314afc user: michael tags: newbuild, ttmrichter)
2010-07-09
17:41
Fixed up a naming problem for MinGW32 and made a more flexible mechanism for site-specific enhancements. ... (check-in: 6b83b517df user: michael tags: newbuild, ttmrichter)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added make/README.wiki.

















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
The makefile fragments in this "new build" directory are of three kinds:

  *  Platform fragments for OS-specific settings. (e.g.
     <code>linux-fragment.mk</code>);
  *  Compiler fragments for compiler-specific settings (e.g.
     <code>clang-fragment.mk</code>);
  *  Sample <code>pre-config.mk</code> fragments to use as a baseline for
     site-specific customization of the build process (e.g.
     <code>linuxgcc-pre-config.mk</code>.

Platform and compiler fragments should not be edited at site except to correct
errors in implementation or to add desirable new features so that clashes with
the <cite>Fossil</cite> repository don't interfere with operations. Where
possible all site customization should be done in pre- and post-config makefile
fragments. (Where this is not possible is probably indicative of modifications
required to the new build process.

To use the sample pre-config fragments, simply copy them into the
<cite>Fossil</cite> distribution's root directory as <code>pre-config.mk</code>
and edit to taste.

Note: new platform and compiler files are always welcome additions to the
community. In particular MacOSX and BSD builds would be nice to have.

Changes to make/clang-fragment.mk.




1
2
3
4
5
6
7



#### C Compiler and options for use in building executables that
#    will run on the platform that is doing the build.  This is used
#    to compile code-generator programs as part of the build process.
#    See TCC below for the C compiler for building the finished binary.
#
BCC = clang -g -O2

>
>
>







1
2
3
4
5
6
7
8
9
10
#### Compiler-specific configuration for users of the CLANG compiler suite.
#

#### C Compiler and options for use in building executables that
#    will run on the platform that is doing the build.  This is used
#    to compile code-generator programs as part of the build process.
#    See TCC below for the C compiler for building the finished binary.
#
BCC = clang -g -O2

Added make/freebsd-fragment.mk.















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#### OS-specific configuration for building Fossil on FreeBSD systems.
#
# UNTESTED

#### The suffix to add to executable files.  ".exe" for windows.
#    Nothing for unix.
#
E =

#### The directory into which object code files should be written.
#
OBJDIR = ./obj

#### The following variable definitions decide which features are turned on or
#    of when building Fossil.  Comment out the features which are not needed by
#    this platform.
#
#ENABLE_STATIC = 1	# we want a static build
ENABLE_SSL = 1		# we are using SSL
#ENABLE_SOCKET = 1	# we are using libsocket (OpenSolaris and Solaris)
#ENABLE_NSL = 1		# we are using libnsl library (Solaris)
ENABLE_I18N = 1		# we are using i18n settings

Added make/freebsdgcc-pre-config.mk.















>
>
>
>
>
>
>
1
2
3
4
5
6
7
#### Sample pre-config.mk file for FreeBSD with GCC.
#    Copy this file as pre-config.mk in the Fossil root directory to use.
#
# UNTESTED
PLATFORM=freebsd
COMPILER=gcc

Changes to make/gcc-fragment.mk.




1
2
3
4
5
6
7



#### C Compiler and options for use in building executables that
#    will run on the platform that is doing the build.  This is used
#    to compile code-generator programs as part of the build process.
#    See TCC below for the C compiler for building the finished binary.
#
BCC = gcc -g -O2

>
>
>







1
2
3
4
5
6
7
8
9
10
#### Compiler-specific configuration for users of the GCC compiler suite.
#

#### C Compiler and options for use in building executables that
#    will run on the platform that is doing the build.  This is used
#    to compile code-generator programs as part of the build process.
#    See TCC below for the C compiler for building the finished binary.
#
BCC = gcc -g -O2

Changes to make/linux-fragment.mk.




1
2
3
4
5
6
7



#### The suffix to add to executable files.  ".exe" for windows.
#    Nothing for unix.
#
E =

#### The directory into which object code files should be written.
#
>
>
>







1
2
3
4
5
6
7
8
9
10
#### OS-specific configuration for building Fossil on Linux systems.
#

#### The suffix to add to executable files.  ".exe" for windows.
#    Nothing for unix.
#
E =

#### The directory into which object code files should be written.
#

Added make/linuxclang-pre-config.mk.













>
>
>
>
>
>
1
2
3
4
5
6
#### Sample pre-config.mk file for Linux with CLANG.
#    Copy this file as pre-config.mk in the Fossil root directory to use.
#
PLATFORM=linux
COMPILER=clang

Added make/linuxgcc-pre-config.mk.













>
>
>
>
>
>
1
2
3
4
5
6
#### Sample pre-config.mk file for Linux with GCC.
#    Copy this file as pre-config.mk in the Fossil root directory to use.
#
PLATFORM=linux
COMPILER=gcc

Changes to make/mingw32-fragment.mk.




1
2
3
4
5
6
7



#### The suffix to add to executable files.
#
E = .exe

#### The directory into which object code files should be written.
#
OBJDIR = ./wobj
>
>
>







1
2
3
4
5
6
7
8
9
10
#### OS-specific configuration for building Fossil on MingGW32 systems.
#

#### The suffix to add to executable files.
#
E = .exe

#### The directory into which object code files should be written.
#
OBJDIR = ./wobj

Added make/mingw32-pre-config.mk.













>
>
>
>
>
>
1
2
3
4
5
6
#### Sample pre-config.mk file for MinGW32.
#    Copy this file as pre-config.mk in the Fossil root directory to use.
#
PLATFORM=mingw32
COMPILER=gcc

Added make/opensolaris-fragment.mk.















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#### OS-specific configuration for building Fossil on OpenSolaris systems.
#
# UNTESTED

#### The suffix to add to executable files.  ".exe" for windows.
#    Nothing for unix.
#
E =

#### The directory into which object code files should be written.
#
OBJDIR = ./obj

#### The following variable definitions decide which features are turned on or
#    of when building Fossil.  Comment out the features which are not needed by
#    this platform.
#
#ENABLE_STATIC = 1	# we want a static build
ENABLE_SSL = 1		# we are using SSL
ENABLE_SOCKET = 1	# we are using libsocket (OpenSolaris and Solaris)
#ENABLE_NSL = 1		# we are using libnsl library (Solaris)
ENABLE_I18N = 1		# we are using i18n settings

Added make/opensolarisgcc-pre-config.mk.















>
>
>
>
>
>
>
1
2
3
4
5
6
7
#### Sample pre-config.mk file for OpenSolaris with GCC.
#    Copy this file as pre-config.mk in the Fossil root directory to use.
#
# UNTESTED
PLATFORM=opensolaris
COMPILER=gcc

Added make/solaris-fragment.mk.

















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#### OS-specific configuration for building Fossil on Solaris (but not
#    OpenSolaris) systems.
#
# UNTESTED

#### The suffix to add to executable files.  ".exe" for windows.
#    Nothing for unix.
#
E =

#### The directory into which object code files should be written.
#
OBJDIR = ./obj

#### The following variable definitions decide which features are turned on or
#    of when building Fossil.  Comment out the features which are not needed by
#    this platform.
#
#ENABLE_STATIC = 1	# we want a static build
ENABLE_SSL = 1		# we are using SSL
ENABLE_SOCKET = 1	# we are using libsocket (OpenSolaris and Solaris)
ENABLE_NSL = 1		# we are using libnsl library (Solaris)
ENABLE_I18N = 1		# we are using i18n settings

Added make/solarisgcc-pre-config.mk.















>
>
>
>
>
>
>
1
2
3
4
5
6
7
#### Sample pre-config.mk file for Solaris with GCC.
#    Copy this file as pre-config.mk in the Fossil root directory to use.
#
# UNTESTED
PLATFORM=solaris
COMPILER=gcc