Fossil SCM

Added the Makefile.osx-jaguar

drh 2018-05-30 05:34 trunk
Commit 3c5ba9f5e8b34945b5d2cd13957187b50b4da09e0bfc8f402b288ada6bbc3383
1 file changed +65
--- a/Makefile.osx-jaguar
+++ b/Makefile.osx-jaguar
@@ -0,0 +1,65 @@
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
+ = cc
39
+BCCFLAGS = $(CFLAGS)
40
+
41
+#### The suffix to add to final executable file. When cross-compiling
42
+# to windows, make this ".exe". Othe rwise leave
43
+#### Tcl shell for use in running the fossil testsuite. If you do not
44
+# care about testing the end result, this can be blank.
45
+#
46
+TCLSH = tclsh
47
+
48
+# LIB = -lz
49
+LIB = compat/zlib/libz.a
50
+TCC += -g -O0 -DHAVE_AUTOCONFIG_H
51
+TCC += -Icompat/zlib
52
+TCC += -DSQLITE_WITHOUT_ZONEMALLOC
53
+TCC += -D_BSD_SOURCE=1
54
+TCC += -DWITHOUT_ICONV
55
+TCC += -Dsocklen_t=int
56
+TCC +/lo
57
+USE_LINENOISE = 1
58
+# FOSSIL_ENABLE_TCL = @FOSSIL_ENABLE_TCL@
59
+FOSSIL_ENABLE_TCL = 0
60
+FOSSIL_ENABLE_MINIZ = 0
61
+
62
+include $(SRCDIR)/main.mk
63
+
64
+distclean: clean
65
+ rm -f autoconfig.h config.log Makefile
--- a/Makefile.osx-jaguar
+++ b/Makefile.osx-jaguar
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/Makefile.osx-jaguar
+++ b/Makefile.osx-jaguar
@@ -0,0 +1,65 @@
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 = cc
39 BCCFLAGS = $(CFLAGS)
40
41 #### The suffix to add to final executable file. When cross-compiling
42 # to windows, make this ".exe". Othe rwise leave
43 #### Tcl shell for use in running the fossil testsuite. If you do not
44 # care about testing the end result, this can be blank.
45 #
46 TCLSH = tclsh
47
48 # LIB = -lz
49 LIB = compat/zlib/libz.a
50 TCC += -g -O0 -DHAVE_AUTOCONFIG_H
51 TCC += -Icompat/zlib
52 TCC += -DSQLITE_WITHOUT_ZONEMALLOC
53 TCC += -D_BSD_SOURCE=1
54 TCC += -DWITHOUT_ICONV
55 TCC += -Dsocklen_t=int
56 TCC +/lo
57 USE_LINENOISE = 1
58 # FOSSIL_ENABLE_TCL = @FOSSIL_ENABLE_TCL@
59 FOSSIL_ENABLE_TCL = 0
60 FOSSIL_ENABLE_MINIZ = 0
61
62 include $(SRCDIR)/main.mk
63
64 distclean: clean
65 rm -f autoconfig.h config.log Makefile

Keyboard Shortcuts

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