~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to cups/cups.mak

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# CUPS driver makefile for Ghostscript.
5
5
#
6
6
# Copyright 2001-2005 by Easy Software Products.
 
7
# Copyright 2007 Artifex Software, Inc.
7
8
#
8
9
# This program is free software; you can redistribute it and/or modify
9
10
# it under the terms of the GNU General Public License as published by
20
21
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
22
#
22
23
 
 
24
# define the name of this makefile
 
25
CUPS_MAK=cups/cups.mak
 
26
 
23
27
### ----------------- CUPS Ghostscript Driver ---------------------- ###
24
28
 
25
29
cups_=  $(GLOBJ)gdevcups.$(OBJ)
26
30
 
27
 
CUPSSERVER=`cups-config --serverbin`
28
 
CUPSCONFIG=`cups-config --serverroot`
29
 
CUPSDATA=`cups-config --datadir`
 
31
# These are set in the toplevel Makefile via autoconf(1)
 
32
# CUPSCFLAGS=`cups-config --cflags`
 
33
# CUPSSERVERBIN=`cups-config --serverbin`
 
34
# CUPSSERVERROOT=`cups-config --serverroot`
 
35
# CUPSDATA=`cups-config --datadir`
30
36
 
31
 
$(DD)cups.dev:  $(cups_) $(GLD)page.dev
32
 
        $(ADDMOD) $(DD)cups -lib cupsimage -lib cups
 
37
$(DD)cups.dev : $(CUPS_MAK) $(cups_) $(GLD)page.dev
33
38
        $(SETPDEV2) $(DD)cups $(cups_)
 
39
        $(ADDMOD) $(DD)cups -libpath $(CUPSLIBDIRS)
 
40
        $(ADDMOD) $(DD)cups -lib $(CUPSLIBS)
34
41
 
35
 
$(GLOBJ)gdevcups.$(OBJ): cups/gdevcups.c $(PDEVH)
36
 
        $(GLCC) $(GLO_)gdevcups.$(OBJ) $(C_) cups/gdevcups.c
 
42
$(GLOBJ)gdevcups.$(OBJ) : cups/gdevcups.c $(PDEVH)
 
43
        $(GLCC) $(CUPSCFLAGS) $(GLO_)gdevcups.$(OBJ) $(C_) cups/gdevcups.c
37
44
 
38
45
install:        install-cups
39
46
 
40
47
install-cups:
41
 
        -mkdir -p $(DESTDIR)$(CUPSSERVER)/filter
42
 
        $(INSTALL_PROGRAM) cups/pstoraster $(DESTDIR)$(CUPSSERVER)/filter
43
 
        $(INSTALL_PROGRAM) cups/pstopxl $(DESTDIR)$(CUPSSERVER)/filter
44
 
        -mkdir -p $(DESTDIR)$(CUPSCONFIG)
45
 
        $(INSTALL_DATA) cups/pstoraster.convs $(DESTDIR)$(CUPSCONFIG)
 
48
        -mkdir -p $(DESTDIR)$(CUPSSERVERBIN)/filter
 
49
        $(INSTALL_PROGRAM) cups/pstoraster $(DESTDIR)$(CUPSSERVERBIN)/filter
 
50
        $(INSTALL_PROGRAM) cups/pstopxl $(DESTDIR)$(CUPSSERVERBIN)/filter
 
51
        -mkdir -p $(DESTDIR)$(CUPSSERVERROOT)
 
52
        $(INSTALL_DATA) cups/pstoraster.convs $(DESTDIR)$(CUPSSERVERROOT)
46
53
        -mkdir -p $(DESTDIR)$(CUPSDATA)/model
47
54
        $(INSTALL_DATA) cups/pxlcolor.ppd $(DESTDIR)$(CUPSDATA)/model
48
55
        $(INSTALL_DATA) cups/pxlmono.ppd $(DESTDIR)$(CUPSDATA)/model