BSD support in Makefile
This commit is contained in:
parent
c9d69c3990
commit
27bd1b38d3
18
GNUmakefile
18
GNUmakefile
@ -4,9 +4,27 @@ ifndef VLC_SUPPORT
|
|||||||
VLC_SUPPORT = true
|
VLC_SUPPORT = true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(shell uname)),FreeBSD)
|
||||||
|
BSD = true
|
||||||
|
endif
|
||||||
|
ifeq ($(shell uname)),NetBSD)
|
||||||
|
BSD = true
|
||||||
|
endif
|
||||||
|
ifeq ($(shell uname)),OpenBSD)
|
||||||
|
BSD = true
|
||||||
|
endif
|
||||||
|
ifeq ($(shell uname)),DragonFly)
|
||||||
|
BSD = true
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(SINGLE_USER),false)
|
ifeq ($(SINGLE_USER),false)
|
||||||
|
ifneq ($(BSD),true)
|
||||||
BASE_PATH = /usr
|
BASE_PATH = /usr
|
||||||
VLC_LIB_PATH = ${PREFIX}/usr/lib
|
VLC_LIB_PATH = ${PREFIX}/usr/lib
|
||||||
|
else
|
||||||
|
BASE_PATH = /usr/local
|
||||||
|
VLC_LIB_PATH = ${PREFIX}/usr/local/lib
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
BASE_PATH = ${HOME}/.local
|
BASE_PATH = ${HOME}/.local
|
||||||
VLC_LIB_PATH = ${HOME}/.local/share
|
VLC_LIB_PATH = ${HOME}/.local/share
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user