]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $" | |
3 | # | |
4 | # Datafile makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
6 | # Copyright 2007-2008 by Apple Inc. | |
7 | # Copyright 1993-2006 by Easy Software Products. | |
8 | # | |
9 | # These coded instructions, statements, and computer programs are the | |
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/". | |
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 \ | |
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 \ | |
52 | mac-roman.txt \ | |
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 = \ | |
70 | utf-8 | |
71 | ||
72 | DATAFILES = \ | |
73 | HPGLprolog \ | |
74 | psglyphs \ | |
75 | testprint.ps | |
76 | ||
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 | ||
87 | ||
88 | # | |
89 | # Make everything... | |
90 | # | |
91 | ||
92 | all: | |
93 | ||
94 | ||
95 | # | |
96 | # Make library targets... | |
97 | # | |
98 | ||
99 | libs: | |
100 | ||
101 | ||
102 | # | |
103 | # Make unit tests... | |
104 | # | |
105 | ||
106 | unittests: | |
107 | ||
108 | ||
109 | # | |
110 | # Clean all config and object files... | |
111 | # | |
112 | ||
113 | clean: | |
114 | ||
115 | ||
116 | # | |
117 | # Dummy depend... | |
118 | # | |
119 | ||
120 | depend: | |
121 | ||
122 | ||
123 | # | |
124 | # Install all targets... | |
125 | # | |
126 | ||
127 | install: all install-data install-headers install-libs install-exec | |
128 | ||
129 | ||
130 | # | |
131 | # Install data files... | |
132 | # | |
133 | ||
134 | install-data: | |
135 | $(INSTALL_DIR) -m 755 $(DATADIR)/banners | |
136 | for file in $(BANNERS); do \ | |
137 | $(INSTALL_DATA) $$file $(DATADIR)/banners; \ | |
138 | done | |
139 | $(INSTALL_DIR) -m 755 $(DATADIR)/charmaps | |
140 | for file in $(CHARMAPS); do \ | |
141 | $(INSTALL_DATA) $$file $(DATADIR)/charmaps; \ | |
142 | done | |
143 | $(INSTALL_DIR) -m 755 $(DATADIR)/charsets | |
144 | for file in $(CHARSETS); do \ | |
145 | $(INSTALL_DATA) $$file $(DATADIR)/charsets; \ | |
146 | done | |
147 | $(INSTALL_DIR) -m 755 $(DATADIR)/data | |
148 | for file in $(DATAFILES); do \ | |
149 | $(INSTALL_DATA) $$file $(DATADIR)/data; \ | |
150 | done | |
151 | $(INSTALL_DIR) -m 755 $(DATADIR)/model | |
152 | $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc | |
153 | for file in $(PPDCFILES); do \ | |
154 | $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \ | |
155 | done | |
156 | $(INSTALL_DIR) -m 755 $(DATADIR)/profiles | |
157 | ||
158 | ||
159 | # | |
160 | # Install programs... | |
161 | # | |
162 | ||
163 | install-exec: | |
164 | ||
165 | ||
166 | # | |
167 | # Install headers... | |
168 | # | |
169 | ||
170 | install-headers: | |
171 | ||
172 | ||
173 | # | |
174 | # Install libraries... | |
175 | # | |
176 | ||
177 | install-libs: | |
178 | ||
179 | ||
180 | # | |
181 | # Uninstall files... | |
182 | # | |
183 | ||
184 | uninstall: | |
185 | for file in $(BANNERS); do \ | |
186 | $(RM) $(DATADIR)/banners/$$file; \ | |
187 | done | |
188 | for file in $(CHARMAPS); do \ | |
189 | $(RM) $(DATADIR)/charmaps/$$file; \ | |
190 | done | |
191 | for file in $(CHARSETS); do \ | |
192 | $(RM) $(DATADIR)/charsets/$$file; \ | |
193 | done | |
194 | for file in $(DATAFILES); do \ | |
195 | $(RM) $(DATADIR)/data/$$file; \ | |
196 | done | |
197 | for file in $(PPDCFILES); do \ | |
198 | $(RM) $(DATADIR)/ppdc/$$file; \ | |
199 | done | |
200 | -$(RMDIR) $(DATADIR)/profiles | |
201 | -$(RMDIR) $(DATADIR)/ppdc | |
202 | -$(RMDIR) $(DATADIR)/model | |
203 | -$(RMDIR) $(DATADIR)/data | |
204 | -$(RMDIR) $(DATADIR)/charsets | |
205 | -$(RMDIR) $(DATADIR)/charmaps | |
206 | -$(RMDIR) $(DATADIR)/banners | |
207 | -$(RMDIR) $(DATADIR) | |
208 | ||
209 | ||
210 | # | |
211 | # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $". | |
212 | # |