[gs-bugs] [Bug 691992] New: patch to configure.ac in gs 9.01 to simplify adding new devices
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Mon Feb 21 01:57:40 UTC 2011
http://bugs.ghostscript.com/show_bug.cgi?id=691992
Summary: patch to configure.ac in gs 9.01 to simplify adding
new devices
Product: Ghostscript
Version: HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P4
Component: Build Process
AssignedTo: support at artifex.com
ReportedBy: williambader at hotmail.com
QAContact: gs-bugs at ghostscript.com
Estimated Hours: 0.0
Created an attachment (id=7270)
--> (http://bugs.ghostscript.com/attachment.cgi?id=7270)
patch to simplify adding new devices
This patch to configure.ac in gs 9.01 makes it easier to add new devices and
configure them using --with-drivers.
With this patch, you can run
./configure --with-drivers=ALL,USER:mydriver
The result of USER:mydriver is adding $(DD)mydriver.dev to DEVICE_DEVS2 in
Makefile. You still need to write the driver and add a sequence like the one
below to devs.mak.
mydriver_=$(GLOBJ)gdevmydriver.$(OBJ)
$(DD)mydriver.dev: $(mydriver_)
$(SETDEV) $(DD)mydriver $(mydriver_)
$(GLOBJ)gdevmydriver.$(OBJ): $(GLSRC)gdevmydriver.c $(GDEV)
$(GLCC) $(GLO_)gdevmydriver.$(OBJ) $(C_) $(GLSRC)gdevmydriver.c
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list