06b22cf0b9
Suggested by Matt Thomas.
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2003/09/30 06:41:30 lukem Exp $
|
|
|
|
.include "../Makefile.serverlib"
|
|
|
|
.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
|
|
|
|
SRCS= Init.c Quarks.c attributes.c Util.c mediaSizes.c Oid.c \
|
|
AttrValid.c
|
|
|
|
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 \
|
|
-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 \
|
|
-I${DESTDIR}${X11INCDIR}/X11/extensions \
|
|
-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}
|
|
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.lib.mk>
|
|
.include <bsd.subdir.mk>
|