]>
Commit | Line | Data |
---|---|---|
28b9d139 | 1 | # |
503b54c9 | 2 | # PPD compiler example makefile for CUPS. |
28b9d139 | 3 | # |
503b54c9 MS |
4 | # Copyright 2007-2011 by Apple Inc. |
5 | # Copyright 2002-2005 by Easy Software Products. | |
28b9d139 | 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/". | |
28b9d139 MS |
12 | # |
13 | ||
14 | # | |
15 | # Include standard definitions... | |
16 | # | |
17 | ||
18 | include ../Makedefs | |
19 | ||
20 | ||
21 | # | |
22 | # Examples... | |
23 | # | |
24 | ||
25 | EXAMPLES = \ | |
26 | color.drv \ | |
27 | constraint.drv \ | |
28 | custom.drv \ | |
29 | grouping.drv \ | |
30 | laserjet-basic.drv \ | |
31 | laserjet-pjl.drv \ | |
32 | minimum.drv \ | |
33 | postscript.drv \ | |
34 | r300-basic.drv \ | |
35 | r300-colorman.drv \ | |
36 | r300-remote.drv | |
37 | ||
38 | ||
39 | # | |
40 | # Make everything... | |
41 | # | |
42 | ||
43 | all: | |
44 | ||
45 | ||
46 | # | |
47 | # Make library targets... | |
48 | # | |
49 | ||
50 | libs: | |
51 | ||
52 | ||
53 | # | |
54 | # Make unit tests... | |
55 | # | |
56 | ||
57 | unittests: | |
58 | ||
59 | ||
60 | # | |
61 | # Clean everything... | |
62 | # | |
63 | ||
64 | clean: | |
65 | ||
66 | ||
67 | # | |
68 | # Dummy depend... | |
69 | # | |
70 | ||
71 | depend: | |
72 | ||
73 | ||
74 | # | |
75 | # Install all targets... | |
76 | # | |
77 | ||
78 | install: all install-data install-headers install-libs install-exec | |
79 | ||
80 | ||
81 | # | |
82 | # Install data files... | |
83 | # | |
84 | ||
85 | install-data: | |
86 | $(INSTALL_DIR) $(DATADIR)/examples | |
87 | for file in $(EXAMPLES); do \ | |
88 | $(INSTALL_DATA) $$file $(DATADIR)/examples; \ | |
89 | done | |
90 | ||
91 | ||
92 | # | |
93 | # Install programs... | |
94 | # | |
95 | ||
96 | install-exec: | |
97 | ||
98 | ||
99 | # | |
100 | # Install headers... | |
101 | # | |
102 | ||
103 | install-headers: | |
104 | ||
105 | ||
106 | # | |
107 | # Install libraries... | |
108 | # | |
109 | ||
110 | install-libs: | |
111 | ||
112 | ||
113 | # | |
114 | # Uninstall files... | |
115 | # | |
116 | ||
117 | uninstall: | |
118 | for file in $(EXAMPLES); do \ | |
119 | $(RM) $(DATADIR)/examples/$$file; \ | |
120 | done | |
121 | -$(RMDIR) $(DATADIR)/examples |