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