39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
-
-
+
-
-
+
-
-
+
+
|
#### 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
HOST_OS!= uname -s
# Solaris 10 needs:
# LIB += -lsocket -lnsl
LIB.SunOS= -lsocket -lnsl
# My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.
#
LIB += $(LIB.$(HOST_OS))
# If using HTTPS:
LIB += -lcrypto -lssl
#### Tcl shell for use in running the fossil testsuite.
#
TCLSH = tclsh
|