2004-05-16 14:25:13 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 2004/05/16 10:25:14 lukem Exp $
|
2003-09-24 03:21:02 +04:00
|
|
|
|
|
|
|
.include "../Makefile.serverlib"
|
2003-09-12 06:49:56 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
SUBDIR= raster pcl ps
|
|
|
|
|
|
|
|
LIB= printer
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/Xserver/Xprint
|
|
|
|
.PATH: ${X11SRCDIR.xc}/lib/X11
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/Xserver/Xext
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/Xserver/mi
|
|
|
|
|
2003-09-24 03:21:02 +04:00
|
|
|
SRCS= Init.c Quarks.c attributes.c Util.c mediaSizes.c Oid.c \
|
|
|
|
AttrValid.c
|
2003-09-12 06:49:56 +04:00
|
|
|
|
2003-09-30 10:41:29 +04:00
|
|
|
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 \
|
2003-09-12 06:49:56 +04:00
|
|
|
-I${X11SRCDIR.xc}/programs/Xserver/Xprint \
|
|
|
|
-I${X11SRCDIR.xc}/programs/Xserver/mfb \
|
|
|
|
-I${X11SRCDIR.xc}/programs/Xserver/mi \
|
|
|
|
-I${X11SRCDIR.xc}/programs/Xserver/cfb \
|
|
|
|
-I${X11SRCDIR.xc}/programs/Xserver/include \
|
|
|
|
-I${X11SRCDIR.xc}/include \
|
|
|
|
-I${X11SRCDIR.xc}/include/fonts \
|
2003-09-30 10:41:29 +04:00
|
|
|
-I${DESTDIR}${X11INCDIR}/X11/extensions \
|
2003-09-12 06:49:56 +04:00
|
|
|
-I${X11SRCDIR.xc}/lib/X11
|
|
|
|
|
2004-05-16 14:25:13 +04:00
|
|
|
CPPFLAGS+= -DXPRINTDIR=\"${X11ETCDIR}/xserver\" \
|
2003-09-12 06:49:56 +04:00
|
|
|
-DXPRASTERDDX -DXPPCLDDX -DXPPSDDX -DHAS_MKSTEMP \
|
|
|
|
-UXFree86LOADER -D_XP_PRINT_SERVER_
|
|
|
|
|
|
|
|
|
|
|
|
BUILDOBJS= ddxInit.o dpmsstubs.o miinitext.o
|
2003-11-17 08:18:20 +03:00
|
|
|
BUILDCPPFLAGS= -DPRINT_ONLY_SERVER \
|
|
|
|
${X11FLAGS.OS_DEFINES} \
|
|
|
|
${X11FLAGS.EXTENSION}
|
2004-01-10 19:28:29 +03:00
|
|
|
|
|
|
|
.include "../Makefile.common"
|
|
|
|
|
|
|
|
.if ${XSERVER_XFREE86} == "no"
|
|
|
|
BUILDCPPFLAGS+= -UDDXTIME
|
|
|
|
.endif
|
|
|
|
|
2003-09-12 06:49:56 +04:00
|
|
|
CPPFLAGS.ddxInit.c= ${BUILDCPPFLAGS}
|
|
|
|
CPPFLAGS.dpmsstubs.c= ${BUILDCPPFLAGS} -DXPRINT
|
|
|
|
CPPFLAGS.miinitext.c= ${BUILDCPPFLAGS} -DXPRINT -UGLXEXT
|
|
|
|
CLEANFILES+= ${BUILDOBJS}
|
|
|
|
realall: ${BUILDOBJS}
|
|
|
|
|
|
|
|
|
2003-09-24 03:21:02 +04:00
|
|
|
.include <bsd.x11.mk>
|
2003-09-12 06:49:56 +04:00
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.include <bsd.subdir.mk>
|