aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xprint/etc/init.d/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xprint/etc/init.d/Makefile.am')
-rw-r--r--xorg-server/hw/xprint/etc/init.d/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/xorg-server/hw/xprint/etc/init.d/Makefile.am b/xorg-server/hw/xprint/etc/init.d/Makefile.am
new file mode 100644
index 000000000..0cf1adc92
--- /dev/null
+++ b/xorg-server/hw/xprint/etc/init.d/Makefile.am
@@ -0,0 +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/' ${srcdir}/xprint.cpp > $@
+
+EXTRA_DIST = xprint.cpp