2003-09-30 10:41:29 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 2003/09/30 06:41:30 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
|
|
|
|
|
|
|
|
CPPFLAGS+= -DXPRINTDIR=\"${X11LIBDIR}/xserver\" \
|
|
|
|
-DXPRASTERDDX -DXPPCLDDX -DXPPSDDX -DHAS_MKSTEMP \
|
|
|
|
-UXFree86LOADER -D_XP_PRINT_SERVER_
|
|
|
|
|
|
|
|
|
|
|
|
BUILDOBJS= ddxInit.o dpmsstubs.o miinitext.o
|
|
|
|
BUILDCPPFLAGS= -DPRINT_ONLY_SERVER -DDDXOSINIT -DSERVER_LOCK \
|
|
|
|
-DDDXOSFATALERROR -DDDXOSVERRORF ${X11FLAGS.EXTENSION}
|
|
|
|
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>
|