2013-03-19 11:53:11 -06:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.2 2013/03/19 17:53:11 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" || \
|
|
|
|
${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \
|
|
|
|
${MACHINE_ARCH} == "sparc64"
|
|
|
|
CFLAGS += -DHAVE_INTEL_ATOMIC_PRIMITIVES=1
|
|
|
|
.endif
|
|
|
|
|
2013-03-09 07:34:40 -07:00
|
|
|
NOPROFILE =
|