Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (21 sloc) 562 Bytes
###
### Common makefile variables potentially set by autoconf
###
PREFIX?=/usr/local
DESTDIR?=$(DSTROOT)
### makefile variables normally set by XBS
SRCROOT?=.
OBJROOT?=.
SYMROOT?=.
###
###
BINDIR=$(DESTDIR)$(PREFIX)/bin
DATDIR=$(DESTDIR)$(PREFIX)/share
INCDIR=$(DESTDIR)$(PREFIX)/include
INSTALL=install
INSTALL_EXE_FLAGS=-m 0755 -o root -g wheel
INSTALL_DIR_FLAGS=$(INSTALL_EXE_FLAGS)
INSTALL_DOC_FLAGS=-m 0644 -o root -g wheel
SED=/usr/bin/sed
RC_CFLAGS?=$(shell ../archs.sh | awk '{ ORS=" "; for(i=1;i<=NF;i++) print "-arch", $$i}')
CFLAGS+=$(RC_CFLAGS)