Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -16,13 +16,50 @@ -include config.mk # Configure if present. ifndef CONFIG_MK_COMPLETE include $(MAKEDIR)/linux-gcc-config.mk # Default to linux-gcc. endif -#### The Tcl shell to run for test suites. +#### C Compile and options for use in building executables that +# will run on the target platform. This is usually the same +# as BCC, unless you are cross-compiling. This C compiler builds +# the finished binary for fossil. The BCC compiler above is used +# for building intermediate code-generator tools. +# +#TCC = gcc -O6 +#TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage +TCC = gcc -g -Os -Wall + +# To add support for HTTPS +TCC += -DFOSSIL_ENABLE_SSL + +#### 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 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 ############################################################################### +# +# Automatic platform-specific options. +HOST_OS!= uname -s + +LIB.SunOS= -lsocket -lnsl +LIB += $(LIB.$(HOST_OS)) + +TCC.DragonFly += -DUSE_PREAD +TCC.FreeBSD += -DUSE_PREAD +TCC.NetBSD += -DUSE_PREAD +TCC.OpenBSD += -DUSE_PREAD +TCC += $(TCC.$(HOST_OS)) + include $(SRCDIR)/main.mk ADDED skins/default1/footer.html Index: skins/default1/footer.html ================================================================== --- skins/default1/footer.html +++ skins/default1/footer.html @@ -0,0 +1,4 @@ +
+