]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
2e4ff8af | 2 | # "$Id: Makefile 7014 2007-10-10 21:57:43Z mike $" |
ef416fc2 | 3 | # |
4 | # Datafile makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
ac884b6a | 6 | # Copyright 2007-2008 by Apple Inc. |
bd7854cb | 7 | # Copyright 1993-2006 by Easy Software Products. |
ef416fc2 | 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 | # Data files... | |
20 | # | |
21 | ||
22 | BANNERS = \ | |
23 | classified \ | |
24 | confidential \ | |
25 | secret \ | |
26 | standard \ | |
27 | topsecret \ | |
28 | unclassified | |
29 | ||
30 | CHARMAPS = \ | |
31 | euc-cn.txt \ | |
32 | euc-jp.txt \ | |
33 | euc-kr.txt \ | |
34 | euc-tw.txt \ | |
ef416fc2 | 35 | iso-8859-10.txt \ |
36 | iso-8859-11.txt \ | |
37 | iso-8859-13.txt \ | |
38 | iso-8859-14.txt \ | |
39 | iso-8859-15.txt \ | |
40 | iso-8859-16.txt \ | |
41 | iso-8859-1.txt \ | |
42 | iso-8859-2.txt \ | |
43 | iso-8859-3.txt \ | |
44 | iso-8859-4.txt \ | |
45 | iso-8859-5.txt \ | |
46 | iso-8859-6.txt \ | |
47 | iso-8859-7.txt \ | |
48 | iso-8859-8.txt \ | |
49 | iso-8859-9.txt \ | |
50 | koi8-r.txt \ | |
51 | koi8-u.txt \ | |
bd7854cb | 52 | mac-roman.txt \ |
ef416fc2 | 53 | windows-1250.txt \ |
54 | windows-1251.txt \ | |
55 | windows-1252.txt \ | |
56 | windows-1253.txt \ | |
57 | windows-1254.txt \ | |
58 | windows-1255.txt \ | |
59 | windows-1256.txt \ | |
60 | windows-1257.txt \ | |
61 | windows-1258.txt \ | |
62 | windows-1361.txt \ | |
63 | windows-874.txt \ | |
64 | windows-932.txt \ | |
65 | windows-936.txt \ | |
66 | windows-949.txt \ | |
67 | windows-950.txt | |
68 | ||
69 | CHARSETS = \ | |
ef416fc2 | 70 | utf-8 |
71 | ||
72 | DATAFILES = \ | |
73 | HPGLprolog \ | |
74 | psglyphs \ | |
75 | testprint.ps | |
76 | ||
ac884b6a MS |
77 | PPDCFILES = \ |
78 | epson.h \ | |
79 | escp.h \ | |
80 | font.defs \ | |
81 | hp.h \ | |
82 | label.h \ | |
83 | media.defs \ | |
84 | pcl.h \ | |
85 | raster.defs | |
86 | ||
ef416fc2 | 87 | |
88 | # | |
89 | # Make everything... | |
90 | # | |
91 | ||
92 | all: | |
93 | ||
94 | ||
95 | # | |
96 | # Clean all config and object files... | |
97 | # | |
98 | ||
99 | clean: | |
100 | ||
101 | ||
757d2cad | 102 | # |
103 | # Dummy depend... | |
104 | # | |
105 | ||
106 | depend: | |
107 | ||
108 | ||
ef416fc2 | 109 | # |
50fe7201 | 110 | # Install all targets... |
ef416fc2 | 111 | # |
112 | ||
50fe7201 MS |
113 | install: all install-data install-headers install-libs install-exec |
114 | ||
115 | ||
116 | # | |
117 | # Install data files... | |
118 | # | |
119 | ||
120 | install-data: | |
bd7854cb | 121 | $(INSTALL_DIR) -m 755 $(DATADIR)/banners |
ef416fc2 | 122 | for file in $(BANNERS); do \ |
123 | $(INSTALL_DATA) $$file $(DATADIR)/banners; \ | |
124 | done | |
bd7854cb | 125 | $(INSTALL_DIR) -m 755 $(DATADIR)/charmaps |
ef416fc2 | 126 | for file in $(CHARMAPS); do \ |
127 | $(INSTALL_DATA) $$file $(DATADIR)/charmaps; \ | |
128 | done | |
bd7854cb | 129 | $(INSTALL_DIR) -m 755 $(DATADIR)/charsets |
ef416fc2 | 130 | for file in $(CHARSETS); do \ |
131 | $(INSTALL_DATA) $$file $(DATADIR)/charsets; \ | |
132 | done | |
bd7854cb | 133 | $(INSTALL_DIR) -m 755 $(DATADIR)/data |
ef416fc2 | 134 | for file in $(DATAFILES); do \ |
135 | $(INSTALL_DATA) $$file $(DATADIR)/data; \ | |
136 | done | |
ac884b6a MS |
137 | $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc |
138 | for file in $(PPDCFILES); do \ | |
139 | $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \ | |
140 | done | |
bd7854cb | 141 | $(INSTALL_DIR) -m 755 $(DATADIR)/profiles |
ef416fc2 | 142 | |
143 | ||
50fe7201 MS |
144 | # |
145 | # Install programs... | |
146 | # | |
147 | ||
148 | install-exec: | |
149 | ||
150 | ||
151 | # | |
152 | # Install headers... | |
153 | # | |
154 | ||
155 | install-headers: | |
156 | ||
157 | ||
158 | # | |
159 | # Install libraries... | |
160 | # | |
161 | ||
162 | install-libs: | |
163 | ||
164 | ||
ef416fc2 | 165 | # |
757d2cad | 166 | # Uninstall files... |
167 | # | |
168 | ||
169 | uninstall: | |
170 | for file in $(BANNERS); do \ | |
171 | $(RM) $(DATADIR)/banners/$$file; \ | |
172 | done | |
173 | for file in $(CHARMAPS); do \ | |
174 | $(RM) $(DATADIR)/charmaps/$$file; \ | |
175 | done | |
176 | for file in $(CHARSETS); do \ | |
177 | $(RM) $(DATADIR)/charsets/$$file; \ | |
178 | done | |
179 | for file in $(DATAFILES); do \ | |
180 | $(RM) $(DATADIR)/data/$$file; \ | |
181 | done | |
ac884b6a MS |
182 | for file in $(PPDCFILES); do \ |
183 | $(RM) $(DATADIR)/ppdc/$$file; \ | |
184 | done | |
757d2cad | 185 | -$(RMDIR) $(DATADIR)/profiles |
ac884b6a | 186 | -$(RMDIR) $(DATADIR)/ppdc |
757d2cad | 187 | -$(RMDIR) $(DATADIR)/data |
188 | -$(RMDIR) $(DATADIR)/charsets | |
189 | -$(RMDIR) $(DATADIR)/charmaps | |
190 | -$(RMDIR) $(DATADIR)/banners | |
191 | -$(RMDIR) $(DATADIR) | |
192 | ||
193 | ||
194 | # | |
2e4ff8af | 195 | # End of "$Id: Makefile 7014 2007-10-10 21:57:43Z mike $". |
ef416fc2 | 196 | # |