From 5f8cf73b22b259658d92397f3e6478ef80ed5691 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 19 Nov 2007 13:48:43 +0000 Subject: Our build chain now works with GNU and BSD make implementations --- Makefile | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3