Fossil

Check-in [3abab7e1]
Login

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

Overview
Comment:Makefile which works under the BSDs and Solaris using their non-GNU make. Resolves [5a96dd5f52].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3abab7e177f063e158fea94cfd13ab5d184f6266
User & Date: ben 2011-05-30 16:46:50
References
2011-05-31
13:00 Fixed ticket [5a96dd5f]: non-portable Makefile plus 2 other changes (artifact: f1d5901a user: drh)
02:31 Ticket [5a96dd5f]: 1 change (artifact: dfa6760b user: anonymous)
Context
2011-05-31
12:52
Always use the alternate-form flag "#" to control the number of input bytes to printf conversions like %t, %h, and %q. Do not use precision in those cases since precision limits the number of output characters, not the number of input characters. Ticket [8967ea1df4f51af]. (check-in: e5e6ca46 user: drh tags: trunk)
2011-05-30
16:46
Makefile which works under the BSDs and Solaris using their non-GNU make. Resolves [5a96dd5f52]. (check-in: 3abab7e1 user: ben tags: trunk)
2011-05-28
18:51
Release (check-in: 0448438c user: drh tags: trunk, release)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.

56
57
58
59
60
61
62
63

64
65
66
67
68
69
70
71
72
73
74
#
TCLSH = tclsh

# You should not need to change anything below this line
###############################################################################
#
# Automatic platform-specific options.
HOST_OS :sh = 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







|
>











56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#
TCLSH = tclsh

# You should not need to change anything below this line
###############################################################################
#
# Automatic platform-specific options.
HOST_OS_CMD = uname -s
HOST_OS = $(HOST_OS_CMD:sh)

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