]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
503b54c9 | 2 | # Datafile makefile for CUPS. |
ef416fc2 | 3 | # |
503b54c9 MS |
4 | # Copyright 2007-2014 by Apple Inc. |
5 | # Copyright 1993-2006 by Easy Software Products. | |
ef416fc2 | 6 | # |
503b54c9 MS |
7 | # These coded instructions, statements, and computer programs are the |
8 | # property of Apple Inc. and are protected by Federal copyright | |
9 | # law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
10 | # which should have been included with this file. If this file is | |
11 | # file is missing or damaged, see the license at "http://www.cups.org/". | |
ef416fc2 | 12 | # |
13 | ||
14 | include ../Makedefs | |
15 | ||
16 | # | |
17 | # Data files... | |
18 | # | |
19 | ||
ac884b6a MS |
20 | PPDCFILES = \ |
21 | epson.h \ | |
ac884b6a MS |
22 | font.defs \ |
23 | hp.h \ | |
24 | label.h \ | |
25 | media.defs \ | |
ac884b6a MS |
26 | raster.defs |
27 | ||
ef416fc2 | 28 | |
29 | # | |
30 | # Make everything... | |
31 | # | |
32 | ||
33 | all: | |
34 | ||
35 | ||
c9fc04c6 MS |
36 | # |
37 | # Make library targets... | |
38 | # | |
39 | ||
40 | libs: | |
41 | ||
42 | ||
5f64df29 MS |
43 | # |
44 | # Make unit tests... | |
45 | # | |
46 | ||
47 | unittests: | |
48 | ||
49 | ||
ef416fc2 | 50 | # |
51 | # Clean all config and object files... | |
52 | # | |
53 | ||
54 | clean: | |
55 | ||
56 | ||
757d2cad | 57 | # |
58 | # Dummy depend... | |
59 | # | |
60 | ||
61 | depend: | |
62 | ||
63 | ||
ef416fc2 | 64 | # |
50fe7201 | 65 | # Install all targets... |
ef416fc2 | 66 | # |
67 | ||
50fe7201 MS |
68 | install: all install-data install-headers install-libs install-exec |
69 | ||
70 | ||
71 | # | |
72 | # Install data files... | |
73 | # | |
74 | ||
75 | install-data: | |
bd7854cb | 76 | $(INSTALL_DIR) -m 755 $(DATADIR)/banners |
bd7854cb | 77 | $(INSTALL_DIR) -m 755 $(DATADIR)/data |
a0f6818e | 78 | $(INSTALL_DIR) -m 755 $(DATADIR)/model |
ac884b6a MS |
79 | $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc |
80 | for file in $(PPDCFILES); do \ | |
81 | $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \ | |
82 | done | |
bd7854cb | 83 | $(INSTALL_DIR) -m 755 $(DATADIR)/profiles |
ef416fc2 | 84 | |
85 | ||
50fe7201 MS |
86 | # |
87 | # Install programs... | |
88 | # | |
89 | ||
90 | install-exec: | |
91 | ||
92 | ||
93 | # | |
94 | # Install headers... | |
95 | # | |
96 | ||
97 | install-headers: | |
98 | ||
99 | ||
100 | # | |
101 | # Install libraries... | |
102 | # | |
103 | ||
104 | install-libs: | |
105 | ||
106 | ||
ef416fc2 | 107 | # |
757d2cad | 108 | # Uninstall files... |
109 | # | |
110 | ||
111 | uninstall: | |
ac884b6a MS |
112 | for file in $(PPDCFILES); do \ |
113 | $(RM) $(DATADIR)/ppdc/$$file; \ | |
114 | done | |
757d2cad | 115 | -$(RMDIR) $(DATADIR)/profiles |
ac884b6a | 116 | -$(RMDIR) $(DATADIR)/ppdc |
a0f6818e | 117 | -$(RMDIR) $(DATADIR)/model |
757d2cad | 118 | -$(RMDIR) $(DATADIR)/data |
757d2cad | 119 | -$(RMDIR) $(DATADIR)/banners |
120 | -$(RMDIR) $(DATADIR) |