diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2011-01-31 11:06:11 +0000 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2011-01-31 11:06:11 +0000 |
commit | 51ad7726adb6e10aa3a3944eb11a2ae8bcf141bc (patch) | |
tree | 4e1b6aaf9780910823594276875974c3bc7b6d7e /gs/base/devs.mak | |
parent | e622499a7c155fdcf2dfa314b51416d838e483a0 (diff) |
More changes for CUPS, mostly to the build system.
We now build the CUPS device unconditionally on Windows, using the recently added local
partial copy of the CUPS library sources. This change also builds CUPS on Linux either
using the system shared libraries (if available) or using the same partial copy of the
library sources, if *specifically* directed to use this.
On Windows CUPS is now always built and installed. On Unix systems the behavious is as
follows:
./configure cups not installed - no cups device
./configure cups is installed - cups device linked to system cups shared libraries.
./configure --disable-cups - no cups device, regardless of cups libs installed
on system
./configure --with-local-cups - cups device with the partial cups code, regardless of
cups libs installed on system
./configure --with-local-cups --disable-cups results in no cups device.
No differences expected as the cluster should still build and run with the system
CUPS libraries just as it always has.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@12080 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/base/devs.mak')
-rw-r--r-- | gs/base/devs.mak | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gs/base/devs.mak b/gs/base/devs.mak index ed5d7ea0d..88ae99a1d 100644 --- a/gs/base/devs.mak +++ b/gs/base/devs.mak @@ -1771,3 +1771,16 @@ $(DD)tiffsep1.dev : $(DEVS_MAK) $(tiffgray_) $(DD)tiffs.dev $(minftrsz_h) $(SETPDEV2) $(DD)tiffsep1 $(tiffsep_) $(ADDMOD) $(DD)tiffsep1 -include $(DD)tiffs +### ------------------------------- CUPS ------------------------------- ### +lcups_dev=$(LCUPSGENDIR)$(D)lcups.dev +lcupsi_dev=$(LCUPSIGENDIR)$(D)lcupsi.dev + +cups_=$(GLOBJ)gdevcups.$(OBJ) +$(DD)cups.dev : $(DEVS_MAK) $(lcups_dev) $(lcupsi_dev) $(cups_) + $(SETPDEV2) $(DD)cups $(cups_) + $(ADDMOD) $(DD)cups -include $(lcups_dev) + $(ADDMOD) $(DD)cups -include $(lcupsi_dev) + +$(GLOBJ)gdevcups.$(OBJ) : cups$(D)gdevcups.c + $(CUPS_CC) $(GLO_)gdevcups.$(OBJ) $(C_) $(CFLAGS) $(I_)$(GLSRC) $(I_)$(GLOBJ) $(I_)$(LCUPSSRCDIR)$(D)libs $(LCUPSSRCDIR)$(D)gdevcups.c + |