aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/XpConfig/C/print/Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/XpConfig/C/print/Imakefile')
-rw-r--r--nx-X11/programs/Xserver/XpConfig/C/print/Imakefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/XpConfig/C/print/Imakefile b/nx-X11/programs/Xserver/XpConfig/C/print/Imakefile
new file mode 100644
index 000000000..fe224df64
--- /dev/null
+++ b/nx-X11/programs/Xserver/XpConfig/C/print/Imakefile
@@ -0,0 +1,23 @@
+XCOMM $Xorg: Imakefile,v 1.1 2003/11/20 04:22:52 gisburn Exp $
+#define IHaveSubdirs
+#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"
+
+SUBDIRS = attributes ddx-config models
+
+#if HasGhostScript
+all:: Xprinters.ghostscript
+
+# Enable the "xp_pdf_spooldir_tmp_Xprintjobs" printer if we have GS
+Xprinters.ghostscript: Xprinters
+ sed <Xprinters "s/#Printer xp_pdf_spooldir_tmp_Xprintjobs/Printer xp_pdf_spooldir_tmp_Xprintjobs/" >Xprinters.ghostscript
+
+clean::
+ $(RM) Xprinters.ghostscript
+
+InstallNamedNonExec(Xprinters.ghostscript,Xprinters,$(XPRINTDIR)/C/print)
+#else
+InstallNamedNonExec(Xprinters,Xprinters,$(XPRINTDIR)/C/print)
+#endif /* HasGhostScript */
+
+MakeSubdirs($(SUBDIRS))
+DependSubdirs($(SUBDIRS))