NetBSD/x11/Xserver/dix/Makefile
lukem 08b458c671 various improvements:
* build & install Xserver modules
* tweak for building with gcc 3.3.x
* rework for recent <bsd.x11.mk> rototill (moving it before other
  bsd.*.mk includes)
* remove libc_wrapper.o from libos.a, and explicitly link in where required
2003-09-23 23:21:02 +00:00

34 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2003/09/23 23:21:10 lukem Exp $
.include "../Makefile.serverlib"
.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.x11.mk>
.include <bsd.lib.mk>
.include <bsd.subdir.mk>