Fossil

Check-in [c845b287]
Login

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

Overview
Comment:Fix the default Makefile so that it works out-of-the-box on Linux, MacOSX, NetBSD, and Solaris.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c845b2871400ddde804d209f413c32999454cd1c
User & Date: drh 2010-10-12 21:42:02
References
2010-10-15
21:10 Ticket [38d7bb8c] segfault status still Open with 1 other change artifact: 391a873b user: bharder
Context
2010-10-14
18:38
Work towards including full text of deleted and added files in a diff when the -N or --new-file option is used. Ticket [e90d38c2054e9b44792eb] check-in: 585360b4 user: drh tags: trunk
2010-10-12
21:42
Fix the default Makefile so that it works out-of-the-box on Linux, MacOSX, NetBSD, and Solaris. check-in: c845b287 user: drh tags: trunk
2010-10-11
14:20
Fix the /debug_tktnew and /debug_tktedit methods so that the do not really create a new ticket artifact. Ticket [474b0bd4f991dd60d7d9bb]. check-in: 06c5b3eb user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.

39
40
41
42
43
44
45
46
47
48
49
50

51
52
53
54
55
56
57
58
59
60
61
#### Extra arguments for linking the finished binary.  Fossil needs
#    to link against the Z-Lib compression library.  There are no
#    other dependencies.  We sometimes add the -static option here
#    so that we can build a static executable that will run in a
#    chroot jail.
#
LIB = -lz $(LDFLAGS)
# If you're on OpenSolaris:
# LIB += lsocket
# Solaris 10 needs:
# LIB += -lsocket -lnsl
# My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.

# 
# If using HTTPS:
LIB += -lcrypto -lssl

#### Tcl shell for use in running the fossil testsuite.
#
TCLSH = tclsh

# You should not need to change anything below this line
###############################################################################
include $(SRCDIR)/main.mk







|
<
<
|
<
>
|










39
40
41
42
43
44
45
46


47

48
49
50
51
52
53
54
55
56
57
58
59
#### Extra arguments for linking the finished binary.  Fossil needs
#    to link against the Z-Lib compression library.  There are no
#    other dependencies.  We sometimes add the -static option here
#    so that we can build a static executable that will run in a
#    chroot jail.
#
LIB = -lz $(LDFLAGS)
HOST_OS!= uname -s


LIB.SunOS= -lsocket -lnsl

LIB += $(LIB.$(HOST_OS))

# If using HTTPS:
LIB += -lcrypto -lssl

#### Tcl shell for use in running the fossil testsuite.
#
TCLSH = tclsh

# You should not need to change anything below this line
###############################################################################
include $(SRCDIR)/main.mk