Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / printer / Makefile
blob8f491786817d062c526c0a74c4be564c3b1bbfd2
1 # $NetBSD: Makefile,v 1.5 2004/01/10 16:28:29 rtr Exp $
3 .include "../Makefile.serverlib"
5 .include <bsd.own.mk>
7 SUBDIR= raster pcl ps
9 LIB= printer
10 .PATH: ${X11SRCDIR.xc}/programs/Xserver/Xprint
11 .PATH: ${X11SRCDIR.xc}/lib/X11
12 .PATH: ${X11SRCDIR.xc}/programs/Xserver/Xext
13 .PATH: ${X11SRCDIR.xc}/programs/Xserver/mi
15 SRCS= Init.c Quarks.c attributes.c Util.c mediaSizes.c Oid.c \
16 AttrValid.c
18 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 \
19 -I${X11SRCDIR.xc}/programs/Xserver/Xprint \
20 -I${X11SRCDIR.xc}/programs/Xserver/mfb \
21 -I${X11SRCDIR.xc}/programs/Xserver/mi \
22 -I${X11SRCDIR.xc}/programs/Xserver/cfb \
23 -I${X11SRCDIR.xc}/programs/Xserver/include \
24 -I${X11SRCDIR.xc}/include \
25 -I${X11SRCDIR.xc}/include/fonts \
26 -I${DESTDIR}${X11INCDIR}/X11/extensions \
27 -I${X11SRCDIR.xc}/lib/X11
29 CPPFLAGS+= -DXPRINTDIR=\"${X11ETCDIR}/xserver\" \
30 -DXPRASTERDDX -DXPPCLDDX -DXPPSDDX -DHAS_MKSTEMP \
31 -UXFree86LOADER -D_XP_PRINT_SERVER_
34 BUILDOBJS= ddxInit.o dpmsstubs.o miinitext.o
35 BUILDCPPFLAGS= -DPRINT_ONLY_SERVER \
36 ${X11FLAGS.OS_DEFINES} \
37 ${X11FLAGS.EXTENSION}
39 .include "../Makefile.common"
41 .if ${XSERVER_XFREE86} == "no"
42 BUILDCPPFLAGS+= -UDDXTIME
43 .endif
45 CPPFLAGS.ddxInit.c= ${BUILDCPPFLAGS}
46 CPPFLAGS.dpmsstubs.c= ${BUILDCPPFLAGS} -DXPRINT
47 CPPFLAGS.miinitext.c= ${BUILDCPPFLAGS} -DXPRINT -UGLXEXT
48 CLEANFILES+= ${BUILDOBJS}
49 realall: ${BUILDOBJS}
52 .include <bsd.x11.mk>
53 .include <bsd.lib.mk>
54 .include <bsd.subdir.mk>