1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/build-aux/dirs.mak
2017-12-04 23:56:47 +01:00

26 lines
671 B
Makefile

ifeq ($(HOST_IS_SORTIX),1)
DEFAULT_PREFIX=
DEFAULT_EXEC_PREFIX=$(PREFIX)
else
DEFAULT_PREFIX=/usr/local
DEFAULT_EXEC_PREFIX=$(PREFIX)
endif
PREFIX?=$(DEFAULT_PREFIX)
EXEC_PREFIX?=$(DEFAULT_EXEC_PREFIX)
BINDIR?=$(EXEC_PREFIX)/bin
SBINDIR?=$(EXEC_PREFIX)/sbin
LIBEXECDIR?=$(EXEC_PREFIX)/libexec
BOOTDIR?=$(PREFIX)/boot
DATAROOTDIR?=$(PREFIX)/share
DATADIR?=$(DATAROOTDIR)
SYSCONFDIR?=$(PREFIX)/etc
SHAREDSTATEDIR?=$(PREFIX)/com
LOCALSTATEDIR?=$(PREFIX)/var
RUNSTATEDIR?=$(LOCALSTATEDIR)/run
INCLUDEDIR?=$(PREFIX)/include
DOCDIR?=$(DATAROOTDIR)/doc
INFODIR?=$(DATAROOTDIR)/info
LIBDIR?=$(EXEC_PREFIX)/lib
LOCALEDIR?=$(DATAROOTDIR)/locale
MANDIR?=$(DATAROOTDIR)/man