Solaris: working "make -C lib install"

This commit is contained in:
Przemyslaw Skibinski
2016-12-22 20:14:37 +01:00
parent aab442133d
commit b999170311
2 changed files with 37 additions and 23 deletions
+3 -6
View File
@@ -150,20 +150,17 @@ clean_decomp_o:
#----------------------------------------------------------------------------------
ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
DESTDIR?=
ifneq (,$(filter $(shell uname),SunOS))
PREFIX ?= /usr
INSTALL ?= ginstall
else
PREFIX ?= /usr/local
INSTALL ?= install
endif
DESTDIR ?=
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man/man1
INSTALL:=install
ifneq (,$(filter $(shell uname),SunOS))
INSTALL:=ginstall
endif
INSTALL_PROGRAM ?= $(INSTALL) -m 755
INSTALL_SCRIPT ?= $(INSTALL) -m 755
INSTALL_MAN ?= $(INSTALL) -m 644