]> git.ipfire.org Git - thirdparty/cups.git/blame - data/Makefile
Merge changes from CUPS 1.4svn-r8131.
[thirdparty/cups.git] / data / Makefile
CommitLineData
ef416fc2 1#
b19ccc9e 2# "$Id: Makefile 7871 2008-08-27 21:12: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
16include ../Makedefs
17
18#
19# Data files...
20#
21
22BANNERS = \
23 classified \
24 confidential \
25 secret \
26 standard \
27 topsecret \
28 unclassified
29
30CHARMAPS = \
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 \
4b3f67ff 50 jis-x0213.txt \
ef416fc2 51 koi8-r.txt \
52 koi8-u.txt \
bd7854cb 53 mac-roman.txt \
ef416fc2 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
70CHARSETS = \
ef416fc2 71 utf-8
72
73DATAFILES = \
74 HPGLprolog \
75 psglyphs \
6e8b116d 76 testprint
ef416fc2 77
ac884b6a
MS
78PPDCFILES = \
79 epson.h \
80 escp.h \
81 font.defs \
82 hp.h \
83 label.h \
84 media.defs \
85 pcl.h \
86 raster.defs
87
ef416fc2 88
89#
90# Make everything...
91#
92
93all:
94
95
c9fc04c6
MS
96#
97# Make library targets...
98#
99
100libs:
101
102
5f64df29
MS
103#
104# Make unit tests...
105#
106
107unittests:
108
109
ef416fc2 110#
111# Clean all config and object files...
112#
113
114clean:
115
116
757d2cad 117#
118# Dummy depend...
119#
120
121depend:
122
123
ef416fc2 124#
50fe7201 125# Install all targets...
ef416fc2 126#
127
50fe7201
MS
128install: all install-data install-headers install-libs install-exec
129
130
131#
132# Install data files...
133#
134
135install-data:
bd7854cb 136 $(INSTALL_DIR) -m 755 $(DATADIR)/banners
ef416fc2 137 for file in $(BANNERS); do \
138 $(INSTALL_DATA) $$file $(DATADIR)/banners; \
139 done
bd7854cb 140 $(INSTALL_DIR) -m 755 $(DATADIR)/charmaps
ef416fc2 141 for file in $(CHARMAPS); do \
142 $(INSTALL_DATA) $$file $(DATADIR)/charmaps; \
143 done
bd7854cb 144 $(INSTALL_DIR) -m 755 $(DATADIR)/charsets
4b3f67ff
MS
145 if test "x$(BANNERTOPS)" != x -o "x$(TEXTTOPS)" != x; then \
146 for file in $(CHARSETS); do \
147 $(INSTALL_DATA) $$file $(DATADIR)/charsets; \
148 done; \
149 fi
bd7854cb 150 $(INSTALL_DIR) -m 755 $(DATADIR)/data
ef416fc2 151 for file in $(DATAFILES); do \
152 $(INSTALL_DATA) $$file $(DATADIR)/data; \
153 done
a0f6818e 154 $(INSTALL_DIR) -m 755 $(DATADIR)/model
ac884b6a
MS
155 $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc
156 for file in $(PPDCFILES); do \
157 $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \
158 done
bd7854cb 159 $(INSTALL_DIR) -m 755 $(DATADIR)/profiles
ef416fc2 160
161
50fe7201
MS
162#
163# Install programs...
164#
165
166install-exec:
167
168
169#
170# Install headers...
171#
172
173install-headers:
174
175
176#
177# Install libraries...
178#
179
180install-libs:
181
182
ef416fc2 183#
757d2cad 184# Uninstall files...
185#
186
187uninstall:
188 for file in $(BANNERS); do \
189 $(RM) $(DATADIR)/banners/$$file; \
190 done
191 for file in $(CHARMAPS); do \
192 $(RM) $(DATADIR)/charmaps/$$file; \
193 done
194 for file in $(CHARSETS); do \
195 $(RM) $(DATADIR)/charsets/$$file; \
196 done
197 for file in $(DATAFILES); do \
198 $(RM) $(DATADIR)/data/$$file; \
199 done
ac884b6a
MS
200 for file in $(PPDCFILES); do \
201 $(RM) $(DATADIR)/ppdc/$$file; \
202 done
757d2cad 203 -$(RMDIR) $(DATADIR)/profiles
ac884b6a 204 -$(RMDIR) $(DATADIR)/ppdc
a0f6818e 205 -$(RMDIR) $(DATADIR)/model
757d2cad 206 -$(RMDIR) $(DATADIR)/data
207 -$(RMDIR) $(DATADIR)/charsets
208 -$(RMDIR) $(DATADIR)/charmaps
209 -$(RMDIR) $(DATADIR)/banners
210 -$(RMDIR) $(DATADIR)
211
212
213#
b19ccc9e 214# End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
ef416fc2 215#