]>
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 | # |
e3101897 | 7 | # Licensed under Apache License v2.0. See the file "LICENSE" for more information. |
28b9d139 MS |
8 | # |
9 | ||
10 | # | |
11 | # Include standard definitions... | |
12 | # | |
13 | ||
14 | include ../Makedefs | |
15 | ||
16 | ||
17 | # | |
18 | # Examples... | |
19 | # | |
20 | ||
21 | EXAMPLES = \ | |
22 | color.drv \ | |
23 | constraint.drv \ | |
24 | custom.drv \ | |
25 | grouping.drv \ | |
26 | laserjet-basic.drv \ | |
27 | laserjet-pjl.drv \ | |
28 | minimum.drv \ | |
29 | postscript.drv \ | |
30 | r300-basic.drv \ | |
31 | r300-colorman.drv \ | |
32 | r300-remote.drv | |
33 | ||
34 | ||
35 | # | |
36 | # Make everything... | |
37 | # | |
38 | ||
39 | all: | |
40 | ||
41 | ||
42 | # | |
43 | # Make library targets... | |
44 | # | |
45 | ||
46 | libs: | |
47 | ||
48 | ||
49 | # | |
50 | # Make unit tests... | |
51 | # | |
52 | ||
53 | unittests: | |
54 | ||
55 | ||
56 | # | |
57 | # Clean everything... | |
58 | # | |
59 | ||
60 | clean: | |
61 | ||
62 | ||
63 | # | |
64 | # Dummy depend... | |
65 | # | |
66 | ||
67 | depend: | |
68 | ||
69 | ||
70 | # | |
71 | # Install all targets... | |
72 | # | |
73 | ||
74 | install: all install-data install-headers install-libs install-exec | |
75 | ||
76 | ||
77 | # | |
78 | # Install data files... | |
79 | # | |
80 | ||
81 | install-data: | |
82 | $(INSTALL_DIR) $(DATADIR)/examples | |
83 | for file in $(EXAMPLES); do \ | |
84 | $(INSTALL_DATA) $$file $(DATADIR)/examples; \ | |
85 | done | |
86 | ||
87 | ||
88 | # | |
89 | # Install programs... | |
90 | # | |
91 | ||
92 | install-exec: | |
93 | ||
94 | ||
95 | # | |
96 | # Install headers... | |
97 | # | |
98 | ||
99 | install-headers: | |
100 | ||
101 | ||
102 | # | |
103 | # Install libraries... | |
104 | # | |
105 | ||
106 | install-libs: | |
107 | ||
108 | ||
109 | # | |
110 | # Uninstall files... | |
111 | # | |
112 | ||
113 | uninstall: | |
114 | for file in $(EXAMPLES); do \ | |
115 | $(RM) $(DATADIR)/examples/$$file; \ | |
116 | done | |
117 | -$(RMDIR) $(DATADIR)/examples |