]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
2e4ff8af | 2 | # "$Id: Makefile 6813 2007-08-20 17:35:06Z mike $" |
ef416fc2 | 3 | # |
4 | # PPD file makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
50fe7201 | 6 | # Copyright 2007-2008 by Apple Inc. |
ef416fc2 | 7 | # Copyright 1993-2006 by Easy Software Products. |
8 | # | |
9 | # These coded instructions, statements, and computer programs are the | |
bc44d920 | 10 | # property of Apple Inc. and are protected by Federal copyright |
11 | # law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
12 | # which should have been included with this file. If this file is | |
13 | # file is missing or damaged, see the license at "http://www.cups.org/". | |
ef416fc2 | 14 | # |
15 | ||
16 | include ../Makedefs | |
17 | ||
18 | # | |
19 | # PPD files... | |
20 | # | |
21 | ||
2e4ff8af MS |
22 | FILES = deskjet.ppd dymo.ppd epson9.ppd epson24.ppd \ |
23 | generic.ppd generpcl.ppd intelbar.ppd \ | |
ef416fc2 | 24 | laserjet.ppd okidata9.ppd okidat24.ppd stcolor.ppd \ |
355e94dc MS |
25 | stcolor2.ppd stphoto.ppd stphoto2.ppd zebra.ppd \ |
26 | zebracpl.ppd zebraep1.ppd zebraep2.ppd | |
ef416fc2 | 27 | |
28 | ||
29 | # | |
30 | # Make everything... | |
31 | # | |
32 | ||
33 | all: | |
34 | ||
35 | ||
36 | # | |
37 | # Clean all config and object files... | |
38 | # | |
39 | ||
40 | clean: | |
41 | ||
42 | ||
757d2cad | 43 | # |
44 | # Dummy depend... | |
45 | # | |
46 | ||
47 | depend: | |
48 | ||
49 | ||
ef416fc2 | 50 | # |
50fe7201 | 51 | # Install all targets... |
ef416fc2 | 52 | # |
53 | ||
50fe7201 MS |
54 | install: all install-data install-headers install-libs install-exec |
55 | ||
56 | ||
57 | # | |
58 | # Install data files... | |
59 | # | |
60 | ||
61 | install-data: | |
bd7854cb | 62 | $(INSTALL_DIR) -m 755 $(DATADIR)/model |
ef416fc2 | 63 | for file in $(FILES); do \ |
64 | $(INSTALL_DATA) $$file $(DATADIR)/model; \ | |
65 | done | |
66 | ||
67 | ||
50fe7201 MS |
68 | # |
69 | # Install programs... | |
70 | # | |
71 | ||
72 | install-exec: | |
73 | ||
74 | ||
75 | # | |
76 | # Install headers... | |
77 | # | |
78 | ||
79 | install-headers: | |
80 | ||
81 | ||
82 | # | |
83 | # Install libraries... | |
84 | # | |
85 | ||
86 | install-libs: | |
87 | ||
88 | ||
ef416fc2 | 89 | # |
757d2cad | 90 | # Uninstall files... |
91 | # | |
92 | ||
93 | uninstall: | |
94 | for file in $(FILES); do \ | |
95 | $(RM) $(DATADIR)/model/$$file; \ | |
96 | done | |
97 | -$(RMDIR) $(DATADIR)/model | |
98 | -$(RMDIR) $(DATADIR) | |
99 | ||
100 | ||
101 | # | |
bc44d920 | 102 | # Update PPD files... |
103 | # | |
104 | ||
105 | ppds: | |
106 | ppdc -d . -l `echo $(LANGUAGES) | tr ' ' ','` sample.drv | |
107 | ||
108 | ||
109 | # | |
2e4ff8af | 110 | # End of "$Id: Makefile 6813 2007-08-20 17:35:06Z mike $". |
ef416fc2 | 111 | # |