Fossil SCM
Makefile which works under the BSDs and Solaris using their non-GNU make. Resolves [5a96dd5f52].
Commit
3abab7e177f063e158fea94cfd13ab5d184f6266
Parent
0448438c56d836a…
1 file changed
+2
-1
M
Makefile
+2
-1
| --- Makefile | ||
| +++ Makefile | ||
| @@ -58,11 +58,12 @@ | ||
| 58 | 58 | |
| 59 | 59 | # You should not need to change anything below this line |
| 60 | 60 | ############################################################################### |
| 61 | 61 | # |
| 62 | 62 | # Automatic platform-specific options. |
| 63 | -HOST_OS :sh = uname -s | |
| 63 | +HOST_OS_CMD = uname -s | |
| 64 | +HOST_OS = $(HOST_OS_CMD:sh) | |
| 64 | 65 | |
| 65 | 66 | LIB.SunOS= -lsocket -lnsl |
| 66 | 67 | LIB += $(LIB.$(HOST_OS)) |
| 67 | 68 | |
| 68 | 69 | TCC.DragonFly += -DUSE_PREAD |
| 69 | 70 |
| --- 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 |