10cfcae8fc
* End user modifiable configuration has moved from /usr/X11R6/lib/X11/<someprog> to /etc/X11/<someprog> This is consistent with our own policies as well as other projects. The files & directories that were moved have _NOT_ been marked `obsolete', as they contain user configuration and therefore we don't want the automatic "obsolete file removal" mechanism to remove them. * The /etc/font/* and /etc/X11/* configuration files are installed with 'configinstall' (not 'install'), using CONFIGFILES and CONFIGSYMLINKS. This is so that a normal 'make build' in src/x11 will not trash your configuration. * A 'distribution' target has been added to src/x11 to perform 'make configinstall' in the appropriate subdirectories. (Should we consider making 'configinstall' a first-class target?) * The xdm pixmaps have have been moved to /usr/X11R6/include/X11/pixmaps where the other pixmaps are. (I don't consider these pictures end-user configuration). IMPORTANT NOTE: * These changes require an up to date xsrc, and 'make cleandir' should be performed in src/x11 before a build for the changes to fully take effect.
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2004/05/16 10:25:14 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=\"${X11ETCDIR}/xserver\" \
|
|
-DXPRASTERDDX -DXPPCLDDX -DXPPSDDX -DHAS_MKSTEMP \
|
|
-UXFree86LOADER -D_XP_PRINT_SERVER_
|
|
|
|
|
|
BUILDOBJS= ddxInit.o dpmsstubs.o miinitext.o
|
|
BUILDCPPFLAGS= -DPRINT_ONLY_SERVER \
|
|
${X11FLAGS.OS_DEFINES} \
|
|
${X11FLAGS.EXTENSION}
|
|
|
|
.include "../Makefile.common"
|
|
|
|
.if ${XSERVER_XFREE86} == "no"
|
|
BUILDCPPFLAGS+= -UDDXTIME
|
|
.endif
|
|
|
|
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>
|