]> git.ipfire.org Git - thirdparty/cups.git/blob - data/Makefile
Merge changes from CUPS 1.5svn-r9000.
[thirdparty/cups.git] / data / Makefile
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-2010 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 jis-x0213.txt \
51 koi8-r.txt \
52 koi8-u.txt \
53 mac-roman.txt \
54 windows-1250.txt \
55 windows-1251.txt \
56 windows-1252.txt \
57 windows-1253.txt \
58 windows-1254.txt \
59 windows-1255.txt \
60 windows-1256.txt \
61 windows-1257.txt \
62 windows-1258.txt \
63 windows-1361.txt \
64 windows-874.txt \
65 windows-932.txt \
66 windows-936.txt \
67 windows-949.txt \
68 windows-950.txt
69
70 CHARSETS = \
71 utf-8
72
73 DATAFILES = \
74 psglyphs \
75 testprint
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 if test "x$(BANNERTOPS)" != x -o "x$(TEXTTOPS)" != x; then \
145 for file in $(CHARSETS); do \
146 $(INSTALL_DATA) $$file $(DATADIR)/charsets; \
147 done; \
148 fi
149 $(INSTALL_DIR) -m 755 $(DATADIR)/data
150 for file in $(DATAFILES); do \
151 $(INSTALL_DATA) $$file $(DATADIR)/data; \
152 done
153 $(INSTALL_DIR) -m 755 $(DATADIR)/model
154 $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc
155 for file in $(PPDCFILES); do \
156 $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \
157 done
158 $(INSTALL_DIR) -m 755 $(DATADIR)/profiles
159
160
161 #
162 # Install programs...
163 #
164
165 install-exec:
166
167
168 #
169 # Install headers...
170 #
171
172 install-headers:
173
174
175 #
176 # Install libraries...
177 #
178
179 install-libs:
180
181
182 #
183 # Uninstall files...
184 #
185
186 uninstall:
187 for file in $(BANNERS); do \
188 $(RM) $(DATADIR)/banners/$$file; \
189 done
190 for file in $(CHARMAPS); do \
191 $(RM) $(DATADIR)/charmaps/$$file; \
192 done
193 for file in $(CHARSETS); do \
194 $(RM) $(DATADIR)/charsets/$$file; \
195 done
196 for file in $(DATAFILES); do \
197 $(RM) $(DATADIR)/data/$$file; \
198 done
199 for file in $(PPDCFILES); do \
200 $(RM) $(DATADIR)/ppdc/$$file; \
201 done
202 -$(RMDIR) $(DATADIR)/profiles
203 -$(RMDIR) $(DATADIR)/ppdc
204 -$(RMDIR) $(DATADIR)/model
205 -$(RMDIR) $(DATADIR)/data
206 -$(RMDIR) $(DATADIR)/charsets
207 -$(RMDIR) $(DATADIR)/charmaps
208 -$(RMDIR) $(DATADIR)/banners
209 -$(RMDIR) $(DATADIR)
210
211
212 #
213 # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
214 #