xserver: Branch 'master' - 2 commits
Donnie Berkholz
spyderous at kemper.freedesktop.org
Fri Jul 7 03:50:10 EEST 2006
hw/xprint/Makefile.am | 2 +-
hw/xprint/etc/init.d/Makefile.am | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
New commits:
diff-tree 2152e2d364bdd179cf218cde446c763d8c8bb833 (from 233c004641483a75985e09fea5416ab2c7a97fc4)
Author: Ed Catmur <ed at catmur.co.uk>
Date: Thu Jul 6 17:45:36 2006 -0700
Remove hardcoded 'lib' in XPRINTDIR.
diff --git a/hw/xprint/Makefile.am b/hw/xprint/Makefile.am
index 46647a5..de0a1d9 100644
--- a/hw/xprint/Makefile.am
+++ b/hw/xprint/Makefile.am
@@ -4,7 +4,7 @@ bin_PROGRAMS = Xprt
Xprt_CFLAGS = @SERVER_DEFINES@ @DIX_CFLAGS@ @XPRINT_CFLAGS@ \
-DXPRINT -DPRINT_ONLY_SERVER -D_XP_PRINT_SERVER_ \
- -DXPRINTDIR=\"$(prefix)/X11/xserver\" \
+ -DXPRINTDIR=\"$(libdir)/X11/xserver\" \
-DXPRASTERDDX -DXPPCLDDX -DXPMONOPCLDDX -DXPPSDDX
Xprt_LDFLAGS = -L$(top_srcdir)
diff-tree 233c004641483a75985e09fea5416ab2c7a97fc4 (from b3e4d1d1f4bcf900146d7b8cd19e008209294663)
Author: Ed Catmur <ed at catmur.co.uk>
Date: Thu Jul 6 17:41:53 2006 -0700
Generate xprint.pre from xprint.cpp.
diff --git a/hw/xprint/etc/init.d/Makefile.am b/hw/xprint/etc/init.d/Makefile.am
index cc03cfa..dfe8012 100644
--- a/hw/xprint/etc/init.d/Makefile.am
+++ b/hw/xprint/etc/init.d/Makefile.am
@@ -1 +1,12 @@
+include $(top_srcdir)/cpprules.in
+
+noinst_PRE = xprint
+BUILT_SOURCES = $(noinst_PRE)
+CLEANFILES = $(noinst_PRE) xprint.pre
+
+CPP_FILES_FLAGS = -DProjectRoot='"$(PROJECTROOT)"' -DOS_LINUX
+
+xprint.pre: xprint.cpp
+ $(SED) -e 's/^\(\s\+\)#/\1XCOMM/' $< > $@
+
EXTRA_DIST = xprint.cpp
More information about the xorg-commit
mailing list