aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-19 13:48:43 +0000
committerRoy Marples <roy@marples.name>2007-11-19 13:48:43 +0000
commit5f8cf73b22b259658d92397f3e6478ef80ed5691 (patch)
tree56b3aee976fcb92d04d406860081daaed8c7208c /Makefile
parent2ef9c5c5208d6d911c3826d94ac72c2bd9813c2c (diff)
Our build chain now works with GNU and BSD make implementations
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 9d4eaba3..d75e7139 100644
--- a/Makefile
+++ b/Makefile
@@ -3,25 +3,14 @@
# Distributed under the terms of the GNU General Public License v2
NAME = openrc
-VERSION = 1.0pre1
+VERSION = 1.0
PKG = $(NAME)-$(VERSION)
-SUBDIRS = etc conf.d init.d man net sh src
-
-ifeq ($(OS),)
-OS=$(shell uname -s)
-ifneq ($(OS),Linux)
-OS=BSD
-endif
-endif
-
-NET_LO = net.lo0
-ifeq ($(OS),Linux)
- NET_LO = net.lo
-endif
+SUBDIR = conf.d etc init.d man net sh src
TOPDIR = .
include $(TOPDIR)/default.mk
+include $(TOPDIR)/Makefile.$(OS)
install::
# Don't install runlevels if they already exist