Fossil SCM

fossil-scm / Makefile.osx-jaguar
Blame History Raw 72 lines
1
#!/usr/bin/make
2
#
3
# This is a specially modified version of the Makefile that will build
4
# Fossil on Mac OSX Jaguar (10.2) circa 2002. This Makefile is used for
5
# testing on an old PPC iBook. The use of this old platform helps to verify
6
# Fossil and SQLite running on big-endian hardware.
7
#
8
# To build with this Makefile, run:
9
#
10
# make -f Makefile.osx-jaguar
11
#
12
#
13
# This is the top-level makefile for Fossil when the build is occurring
14
# on a unix platform. This works out-of-the-box on most unix platforms.
15
# But you are free to vary some of the definitions if desired.
16
#
17
#### The toplevel directory of the source tree. Fossil can be built
18
# in a directory that is separate from the source tree. Just change
19
# the following to point from the build directory to the src/ folder.
20
#
21
SRCDIR = ./src
22
23
#### The directory into which object code files should be written.
24
# Having a "./" prefix in the value of this variable breaks our use of the
25
# "makeheaders" tool when running make on the MinGW platform, apparently
26
# due to some command line argument manipulation performed automatically
27
# by the shell.
28
#
29
#
30
OBJDIR = bld
31
32
#### C Compiler and options for use in building executables that
33
# will run on the platform that is doing the build. This is used
34
# to compile code-generator programs as part of the build process.
35
# See TCC below for the C compiler for building the finished binary.
36
#
37
BCC = cc
38
BCCFLAGS = $(CFLAGS)
39
40
#### The suffix to add to final executable file. When cross-compiling
41
# to windows, make this ".exe". Otherwise leave it blank.
42
#
43
E =
44
45
TCC = cc
46
TCCFLAGS = $(CFLAGS)
47
48
#### Tcl shell for use in running the fossil testsuite. If you do not
49
# care about testing the end result, this can be blank.
50
#
51
TCLSH = tclsh
52
53
# LIB = -lz
54
LIB = compat/zlib/libz.a
55
TCC += -g -O0 -DHAVE_AUTOCONFIG_H
56
TCC += -Icompat/zlib
57
TCC += -DSQLITE_WITHOUT_ZONEMALLOC
58
TCC += -D_BSD_SOURCE=1
59
TCC += -DWITHOUT_ICONV
60
TCC += -Dsocklen_t=int
61
TCC += -DSQLITE_MAX_MMAP_SIZE=0
62
INSTALLDIR = $(DESTDIR)/usr/local/bin
63
USE_SYSTEM_SQLITE =
64
USE_LINENOISE = 1
65
# FOSSIL_ENABLE_TCL = @FOSSIL_ENABLE_TCL@
66
FOSSIL_ENABLE_TCL = 0
67
68
include $(SRCDIR)/main.mk
69
70
distclean: clean
71
rm -f autoconfig.h config.log Makefile
72

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button