]>
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 | # |
e3101897 | 7 | # Licensed under Apache License v2.0. See the file "LICENSE" for more information. |
ef416fc2 | 8 | # |
9 | ||
10 | include ../Makedefs | |
11 | ||
12 | # | |
13 | # Data files... | |
14 | # | |
15 | ||
ac884b6a MS |
16 | PPDCFILES = \ |
17 | epson.h \ | |
ac884b6a MS |
18 | font.defs \ |
19 | hp.h \ | |
20 | label.h \ | |
21 | media.defs \ | |
ac884b6a MS |
22 | raster.defs |
23 | ||
ef416fc2 | 24 | |
25 | # | |
26 | # Make everything... | |
27 | # | |
28 | ||
29 | all: | |
30 | ||
31 | ||
c9fc04c6 MS |
32 | # |
33 | # Make library targets... | |
34 | # | |
35 | ||
36 | libs: | |
37 | ||
38 | ||
5f64df29 MS |
39 | # |
40 | # Make unit tests... | |
41 | # | |
42 | ||
43 | unittests: | |
44 | ||
45 | ||
ef416fc2 | 46 | # |
47 | # Clean all config and object files... | |
48 | # | |
49 | ||
50 | clean: | |
51 | ||
52 | ||
757d2cad | 53 | # |
54 | # Dummy depend... | |
55 | # | |
56 | ||
57 | depend: | |
58 | ||
59 | ||
ef416fc2 | 60 | # |
50fe7201 | 61 | # Install all targets... |
ef416fc2 | 62 | # |
63 | ||
50fe7201 MS |
64 | install: all install-data install-headers install-libs install-exec |
65 | ||
66 | ||
67 | # | |
68 | # Install data files... | |
69 | # | |
70 | ||
71 | install-data: | |
bd7854cb | 72 | $(INSTALL_DIR) -m 755 $(DATADIR)/banners |
bd7854cb | 73 | $(INSTALL_DIR) -m 755 $(DATADIR)/data |
a0f6818e | 74 | $(INSTALL_DIR) -m 755 $(DATADIR)/model |
ac884b6a MS |
75 | $(INSTALL_DIR) -m 755 $(DATADIR)/ppdc |
76 | for file in $(PPDCFILES); do \ | |
77 | $(INSTALL_DATA) $$file $(DATADIR)/ppdc; \ | |
78 | done | |
bd7854cb | 79 | $(INSTALL_DIR) -m 755 $(DATADIR)/profiles |
ef416fc2 | 80 | |
81 | ||
50fe7201 MS |
82 | # |
83 | # Install programs... | |
84 | # | |
85 | ||
86 | install-exec: | |
87 | ||
88 | ||
89 | # | |
90 | # Install headers... | |
91 | # | |
92 | ||
93 | install-headers: | |
94 | ||
95 | ||
96 | # | |
97 | # Install libraries... | |
98 | # | |
99 | ||
100 | install-libs: | |
101 | ||
102 | ||
ef416fc2 | 103 | # |
757d2cad | 104 | # Uninstall files... |
105 | # | |
106 | ||
107 | uninstall: | |
ac884b6a MS |
108 | for file in $(PPDCFILES); do \ |
109 | $(RM) $(DATADIR)/ppdc/$$file; \ | |
110 | done | |
757d2cad | 111 | -$(RMDIR) $(DATADIR)/profiles |
ac884b6a | 112 | -$(RMDIR) $(DATADIR)/ppdc |
a0f6818e | 113 | -$(RMDIR) $(DATADIR)/model |
757d2cad | 114 | -$(RMDIR) $(DATADIR)/data |
757d2cad | 115 | -$(RMDIR) $(DATADIR)/banners |
116 | -$(RMDIR) $(DATADIR) |