NetBSD/x11/Xserver/dix/Makefile
lukem 98ad6e84d6 Imakeicide-II: reach-over makefile infrastructure to build XFree86 4.x
(from /usr/xsrc) using bsd-style Makefiles.
Why?
    -	sane cross building
    -	easy builds from read only source
    -	non-root building
    -	imake is evil
nuff said.
2003-09-11 18:37:05 +00:00

32 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:05 lukem Exp $
.include <bsd.own.mk>
LIB= dix
.PATH: ${X11SRCDIR.xc}/programs/Xserver/dix
SUBDIR= xpstubs
SRCS= atom.c colormap.c cursor.c devices.c dispatch.c dixutils.c \
events.c extension.c gc.c globals.c glyphcurs.c grabs.c \
main.c property.c resource.c swaprep.c swapreq.c tables.c \
window.c initatoms.c dixfonts.c privates.c pixmap.c
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/include \
-I${DESTDIR}/${X11INCDIR}/X11 \
-I${X11SRCDIR.xc}/include/fonts \
-I${DESTDIR}/${X11INCDIR}/X11/extensions \
-I${X11SRCDIR.xc}/programs/Xserver/Xext \
-I${X11SRCDIR.xc}/programs/Xserver/lbx
CPPFLAGS.globals.c= -DCOMPILEDDEFAULTFONTPATH=\"${X11FONTDIR}/misc/,${X11FONTDIR}/Speedo/,${X11FONTDIR}/Type1/,${X11FONTDIR}/CID/,${X11FONTDIR}/75dpi/,${X11FONTDIR}/100dpi/\" \
-DRGB_DB=\"${X11LIBDIR}/rgb\"
CPPFLAGS.main.c= -DVENDOR_STRING="\"The XFree86 Project, Inc\"" \
-DVENDOR_RELEASE="(((4) * 10000000) + (( 3) * 100000) + (( 0) * 1000) + 0)"
.include <bsd.lib.mk>
.include <bsd.subdir.mk>
.include <bsd.x11.mk>