Fossil SCM

Makefile which works under the BSDs and Solaris using their non-GNU make. Resolves [5a96dd5f52].

ben 2011-05-30 16:46 trunk
Commit 3abab7e177f063e158fea94cfd13ab5d184f6266
1 file changed +2 -1
+2 -1
--- Makefile
+++ Makefile
@@ -58,11 +58,12 @@
5858
5959
# You should not need to change anything below this line
6060
###############################################################################
6161
#
6262
# Automatic platform-specific options.
63
-HOST_OS :sh = uname -s
63
+HOST_OS_CMD = uname -s
64
+HOST_OS = $(HOST_OS_CMD:sh)
6465
6566
LIB.SunOS= -lsocket -lnsl
6667
LIB += $(LIB.$(HOST_OS))
6768
6869
TCC.DragonFly += -DUSE_PREAD
6970
--- Makefile
+++ Makefile
@@ -58,11 +58,12 @@
58
59 # You should not need to change anything below this line
60 ###############################################################################
61 #
62 # Automatic platform-specific options.
63 HOST_OS :sh = uname -s
 
64
65 LIB.SunOS= -lsocket -lnsl
66 LIB += $(LIB.$(HOST_OS))
67
68 TCC.DragonFly += -DUSE_PREAD
69
--- Makefile
+++ Makefile
@@ -58,11 +58,12 @@
58
59 # You should not need to change anything below this line
60 ###############################################################################
61 #
62 # Automatic platform-specific options.
63 HOST_OS_CMD = uname -s
64 HOST_OS = $(HOST_OS_CMD:sh)
65
66 LIB.SunOS= -lsocket -lnsl
67 LIB += $(LIB.$(HOST_OS))
68
69 TCC.DragonFly += -DUSE_PREAD
70

Keyboard Shortcuts

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