45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
|
# $NetBSD: Makefile,v 1.1.1.1 2003/09/12 02:54:21 lukem Exp $
|
||
|
|
||
|
.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= AttrValid.c Init.c Oid.c Quarks.c Util.c attributes.c \
|
||
|
mediaSizes.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.lib.mk>
|
||
|
.include <bsd.subdir.mk>
|
||
|
.include <bsd.x11.mk>
|