aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-19 19:43:08 +0000
committerRoy Marples <roy@marples.name>2008-03-19 19:43:08 +0000
commit6d2e1f7addcf5ff6594d381845708229086d8d96 (patch)
tree625a6d96a1962144e0c86e4437863c7a42cceeb3
parentd9ec62b22a8ccfebda4af34d8319b33a8a5e3bbb (diff)
Fix building on Linux.
-rw-r--r--mk/os-Linux.mk1
-rw-r--r--sh/Makefile3
2 files changed, 2 insertions, 2 deletions
diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk
index c79bb576..8aa32b36 100644
--- a/mk/os-Linux.mk
+++ b/mk/os-Linux.mk
@@ -1,4 +1,5 @@
# Copyright 2008 Roy Marples
+SUBOS= Linux
CFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=600
LIBDL= -Wl,-Bdynamic -ldl
diff --git a/sh/Makefile b/sh/Makefile
index 3ec217c4..bd55cbda 100644
--- a/sh/Makefile
+++ b/sh/Makefile
@@ -8,9 +8,8 @@ INSTALLAFTER= _installafter
MK= ../mk
# To get NET_LO
-include ${MK}/os.mk
-include Makefile.${SUBOS}
include ${MK}/scripts.mk
+include Makefile.${SUBOS}
_installafter:
${INSTALL} -d ${DESTDIR}/${PREFIX}/${INITDIR}