]>
Commit | Line | Data |
---|---|---|
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 | # | |
f8b3a85b | 6 | # Copyright 2007-2010 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 | ||
ef416fc2 | 30 | CHARSETS = \ |
ef416fc2 | 31 | utf-8 |
32 | ||
33 | DATAFILES = \ | |
ef416fc2 | 34 | psglyphs \ |
6e8b116d | 35 | testprint |
ef416fc2 | 36 | |
ac884b6a MS |
37 | PPDCFILES = \ |
38 | epson.h \ | |
39 | escp.h \ | |
40 | font.defs \ | |
41 | hp.h \ | |
42 | label.h \ | |
43 | media.defs \ | |
44 | pcl.h \ | |
45 | raster.defs | |
46 | ||
ef416fc2 | 47 | |
48 | # | |
49 | # Make everything... | |
50 | # | |
51 | ||
52 | all: | |
53 | ||
54 | ||
c9fc04c6 MS |
55 | # |
56 | # Make library targets... | |
57 | # | |
58 | ||
59 | libs: | |
60 | ||
61 | ||
5f64df29 MS |
62 | # |
63 | # Make unit tests... | |
64 | # | |
65 | ||
66 | unittests: | |
67 | ||
68 | ||
ef416fc2 | 69 | # |
70 | # Clean all config and object files... | |
71 | # | |
72 | ||
73 | clean: | |
74 | ||
75 | ||
757d2cad | 76 | # |
77 | # Dummy depend... | |
78 | # | |
79 | ||
80 | depend: | |
81 | ||
82 | ||
ef416fc2 | 83 | # |
50fe7201 | 84 | # Install all targets... |
ef416fc2 | 85 | # |
86 | ||
50fe7201 MS |
87 | install: all install-data install-headers install-libs install-exec |
88 | ||
89 | ||
90 | # | |
91 | # Install data files... | |
92 | # | |
93 | ||
94 | install-data: | |
bd7854cb | 95 | $(INSTALL_DIR) -m 755 $(DATADIR)/banners |
ef416fc2 | 96 | for file in $(BANNERS); do \ |
97 | $(INSTALL_DATA) $$file $(DATADIR)/banners; \ | |
98 | done | |
bd7854cb | 99 | $(INSTALL_DIR) -m 755 $(DATADIR)/charsets |
4b3f67ff MS |
100 | if test "x$(BANNERTOPS)" != x -o "x$(TEXTTOPS)" != x; then \ |
101 | for file in $(CHARSETS); do \ | |
102 | $(INSTALL_DATA) $$file $(DATADIR)/charsets; \ | |
103 | done; \ | |
104 | fi | |
bd7854cb | 105 | $(INSTALL_DIR) -m 755 $(DATADIR)/data |
ef416fc2 | 106 | for file in $(DATAFILES); do \ |
107 | $(INSTALL_DATA) $$file $(DATADIR)/data; \ | |
108 | done | |
a0f6818e | 109 | $(INSTALL_DIR) -m 755 $(DATADIR)/model |
ac884b6a MS |
110 | $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc |
111 | for file in $(PPDCFILES); do \ | |
112 | $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \ | |
113 | done | |
bd7854cb | 114 | $(INSTALL_DIR) -m 755 $(DATADIR)/profiles |
ef416fc2 | 115 | |
116 | ||
50fe7201 MS |
117 | # |
118 | # Install programs... | |
119 | # | |
120 | ||
121 | install-exec: | |
122 | ||
123 | ||
124 | # | |
125 | # Install headers... | |
126 | # | |
127 | ||
128 | install-headers: | |
129 | ||
130 | ||
131 | # | |
132 | # Install libraries... | |
133 | # | |
134 | ||
135 | install-libs: | |
136 | ||
137 | ||
ef416fc2 | 138 | # |
757d2cad | 139 | # Uninstall files... |
140 | # | |
141 | ||
142 | uninstall: | |
143 | for file in $(BANNERS); do \ | |
144 | $(RM) $(DATADIR)/banners/$$file; \ | |
145 | done | |
757d2cad | 146 | for file in $(CHARSETS); do \ |
147 | $(RM) $(DATADIR)/charsets/$$file; \ | |
148 | done | |
149 | for file in $(DATAFILES); do \ | |
150 | $(RM) $(DATADIR)/data/$$file; \ | |
151 | done | |
ac884b6a MS |
152 | for file in $(PPDCFILES); do \ |
153 | $(RM) $(DATADIR)/ppdc/$$file; \ | |
154 | done | |
757d2cad | 155 | -$(RMDIR) $(DATADIR)/profiles |
ac884b6a | 156 | -$(RMDIR) $(DATADIR)/ppdc |
a0f6818e | 157 | -$(RMDIR) $(DATADIR)/model |
757d2cad | 158 | -$(RMDIR) $(DATADIR)/data |
159 | -$(RMDIR) $(DATADIR)/charsets | |
757d2cad | 160 | -$(RMDIR) $(DATADIR)/banners |
161 | -$(RMDIR) $(DATADIR) | |
162 | ||
163 | ||
164 | # | |
b19ccc9e | 165 | # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $". |
ef416fc2 | 166 | # |