openrc/mk/os.mk

13 lines
269 B
Makefile
Raw Normal View History

2009-05-01 19:41:40 +05:30
# Copyright (c) 2008 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
# Generic definitions
_OS_SH= uname -s | tr '/' '-'
_OS:= $(shell ${_OS_SH})
OS?= ${_OS}
include ${MK}/os-${OS}.mk
include ${MK}/os-prefix.mk
2008-01-11 01:20:01 +05:30
RC_LIB= /$(LIBNAME)/rc