File Annotation
Not logged in
3c5482959c 2007-09-22       drh: #!/usr/bin/make
3c5482959c 2007-09-22       drh: #
3c5482959c 2007-09-22       drh: #### The toplevel directory of the source tree.  Fossil can be built
3c5482959c 2007-09-22       drh: #    in a directory that is separate from the source tree.  Just change
3c5482959c 2007-09-22       drh: #    the following to point from the build directory to the src/ folder.
3c5482959c 2007-09-22       drh: #
5a30fa45df 2007-09-24 anonymous: SRCDIR = ../src
3c5482959c 2007-09-22       drh: 
3c5482959c 2007-09-22       drh: #### C Compiler and options for use in building executables that
3c5482959c 2007-09-22       drh: #    will run on the platform that is doing the build.  This is used
3c5482959c 2007-09-22       drh: #    to compile code-generator programs as part of the build process.
3c5482959c 2007-09-22       drh: #    See TCC below for the C compiler for building the finished binary.
3c5482959c 2007-09-22       drh: #
3c5482959c 2007-09-22       drh: BCC = gcc -g -O2
3c5482959c 2007-09-22       drh: 
3c5482959c 2007-09-22       drh: #### The suffix to add to executable files.  ".exe" for windows.
3c5482959c 2007-09-22       drh: #    Nothing for unix.
3c5482959c 2007-09-22       drh: #
3c5482959c 2007-09-22       drh: E =
3c5482959c 2007-09-22       drh: 
3c5482959c 2007-09-22       drh: #### C Compile and options for use in building executables that
3c5482959c 2007-09-22       drh: #    will run on the target platform.  This is usually the same
3c5482959c 2007-09-22       drh: #    as BCC, unless you are cross-compiling.  This C compiler builds
3c5482959c 2007-09-22       drh: #    the finished binary for fossil.  The BCC compiler above is used
3c5482959c 2007-09-22       drh: #    for building intermediate code-generator tools.
3c5482959c 2007-09-22       drh: #
3c5482959c 2007-09-22       drh: #TCC = gcc -O6
3c5482959c 2007-09-22       drh: #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
3c5482959c 2007-09-22       drh: #TCC = gcc -g -Os -Wall
c841af0d50 2007-09-24  mjanssen: TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include
3c5482959c 2007-09-22       drh: 
3c5482959c 2007-09-22       drh: #### Extra arguments for linking the finished binary.  Fossil needs
3c5482959c 2007-09-22       drh: #    to link against the Z-Lib compression library.  There are no
3c5482959c 2007-09-22       drh: #    other dependencies.  We sometimes add the -static option here
3c5482959c 2007-09-22       drh: #    so that we can build a static executable that will run in a
3c5482959c 2007-09-22       drh: #    chroot jail.
3c5482959c 2007-09-22       drh: #
3c5482959c 2007-09-22       drh: #LIB = -lz
3c5482959c 2007-09-22       drh: LIB = -lz -lws2_32
3c5482959c 2007-09-22       drh: 
3c5482959c 2007-09-22       drh: 
3c5482959c 2007-09-22       drh: #### Tcl shell for use in running the fossil testsuite.
3c5482959c 2007-09-22       drh: #
3c5482959c 2007-09-22       drh: TCLSH = tclsh
3c5482959c 2007-09-22       drh: 
3c5482959c 2007-09-22       drh: # You should not need to change anything below this line
3c5482959c 2007-09-22       drh: ###############################################################################
3c5482959c 2007-09-22       drh: include $(SRCDIR)/main.mk