]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
2 | # "$Id: cups.mak 4493 2005-02-18 02:09:53Z mike $" | |
3 | # | |
4 | # CUPS driver makefile for Ghostscript. | |
5 | # | |
6 | # Copyright 2001-2005 by Easy Software Products. | |
7 | # | |
8 | # This program is free software; you can redistribute it and/or modify | |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2, or (at your option) | |
11 | # any later version. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | # | |
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program; if not, write to the Free Software | |
20 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
21 | # | |
22 | ||
23 | ### ----------------- CUPS Ghostscript Driver ---------------------- ### | |
24 | ||
25 | cups_= $(GLOBJ)gdevcups.$(OBJ) | |
26 | ||
27 | CUPSSERVER= $(install_prefix)`cups-config --serverbin` | |
28 | CUPSCONFIG= $(install_prefix)`cups-config --serverroot` | |
29 | CUPSDATA= $(install_prefix)`cups-config --datadir` | |
30 | ||
31 | $(DD)cups.dev: $(cups_) $(GLD)page.dev | |
32 | $(ADDMOD) $(DD)cups -lib cupsimage -lib cups | |
33 | $(SETPDEV2) $(DD)cups $(cups_) | |
34 | ||
35 | $(GLOBJ)gdevcups.$(OBJ): pstoraster/gdevcups.c $(PDEVH) | |
36 | $(GLCC) $(GLO_)gdevcups.$(OBJ) $(C_) pstoraster/gdevcups.c | |
37 | ||
38 | install: install-cups | |
39 | ||
40 | install-cups: | |
41 | -mkdir -p $(CUPSSERVER)/filter | |
42 | $(INSTALL_PROGRAM) pstoraster/pstoraster $(CUPSSERVER)/filter | |
43 | $(INSTALL_PROGRAM) pstoraster/pstopxl $(CUPSSERVER)/filter | |
44 | -mkdir -p $(CUPSCONFIG) | |
45 | $(INSTALL_DATA) pstoraster/pstoraster.convs $(CUPSCONFIG) | |
46 | -mkdir -p $(CUPSDATA)/model | |
47 | $(INSTALL_DATA) pstoraster/pxlcolor.ppd $(CUPSDATA)/model | |
48 | $(INSTALL_DATA) pstoraster/pxlmono.ppd $(CUPSDATA)/model | |
49 | ||
50 | ||
51 | # | |
52 | # End of "$Id: cups.mak 4493 2005-02-18 02:09:53Z mike $". | |
53 | # |