2016-03-13 14:23:35 -06:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.3 2016/03/13 20:23:35 matthieu Exp $
|
2013-03-09 07:34:40 -07:00
|
|
|
|
|
|
|
X11BASE ?= /usr/X11R6
|
|
|
|
|
|
|
|
FC_CACHEDIR = /var/cache/fontconfig
|
|
|
|
BASECONFIGDIR = /etc/fonts
|
|
|
|
MANDIR = ${X11BASE}/man/man
|
|
|
|
|
|
|
|
CFLAGS += -Wall -Wpointer-arith -Wstrict-prototypes \
|
|
|
|
-Wmissing-prototypes -Wmissing-declarations \
|
|
|
|
-Wnested-externs -fno-strict-aliasing
|
|
|
|
CFLAGS += -DHAVE_CONFIG_H
|
|
|
|
CFLAGS += -I${FONTCONFIG} \
|
|
|
|
-I${X11BASE}/include -I${X11BASE}/include/freetype2 \
|
|
|
|
-I${.CURDIR}/../src -I${FONTCONFIG}/src \
|
|
|
|
-I${.CURDIR}/../common \
|
|
|
|
-I${.CURDIR}
|
|
|
|
|
2013-03-19 11:53:11 -06:00
|
|
|
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \
|
2016-03-13 14:23:35 -06:00
|
|
|
${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "mips64" || \
|
|
|
|
${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "powerpc" || \
|
2013-03-19 11:53:11 -06:00
|
|
|
${MACHINE_ARCH} == "sparc64"
|
|
|
|
CFLAGS += -DHAVE_INTEL_ATOMIC_PRIMITIVES=1
|
|
|
|
.endif
|
|
|
|
|
2013-03-09 07:34:40 -07:00
|
|
|
NOPROFILE =
|