1#
2# "$Id: Makefile 3249 2011-05-12 06:35:27Z msweet $"
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
20include ../Makedefs
21
22
23#
24# Examples...
25#
26
27EXAMPLES =	\
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
45all:
46
47
48#
49# Make library targets...
50#
51
52libs:
53
54
55#
56# Make unit tests...
57#
58
59unittests:
60
61
62#
63# Clean everything...
64#
65
66clean:
67
68
69#
70# Dummy depend...
71#
72
73depend:
74
75
76#
77# Install all targets...
78#
79
80install:	all install-data install-headers install-libs install-exec
81
82
83#
84# Install data files...
85#
86
87install-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
98install-exec:
99
100
101#
102# Install headers...
103#
104
105install-headers:
106
107
108#
109# Install libraries...
110#
111
112install-libs:
113
114
115#
116# Uninstall files...
117#
118
119uninstall:
120	for file in $(EXAMPLES); do \
121		$(RM) $(DATADIR)/examples/$$file; \
122	done
123	-$(RMDIR) $(DATADIR)/examples
124
125
126#
127# End of "$Id: Makefile 3249 2011-05-12 06:35:27Z msweet $".
128#
129