]> git.ipfire.org Git - thirdparty/cups.git/blame - examples/Makefile
Cleanup
[thirdparty/cups.git] / examples / Makefile
CommitLineData
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
14include ../Makedefs
15
16
17#
18# Examples...
19#
20
21EXAMPLES = \
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
39all:
40
41
42#
43# Make library targets...
44#
45
46libs:
47
48
49#
50# Make unit tests...
51#
52
53unittests:
54
55
56#
57# Clean everything...
58#
59
60clean:
61
62
63#
64# Dummy depend...
65#
66
67depend:
68
69
70#
71# Install all targets...
72#
73
74install: all install-data install-headers install-libs install-exec
75
76
77#
78# Install data files...
79#
80
81install-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
92install-exec:
93
94
95#
96# Install headers...
97#
98
99install-headers:
100
101
102#
103# Install libraries...
104#
105
106install-libs:
107
108
109#
110# Uninstall files...
111#
112
113uninstall:
114 for file in $(EXAMPLES); do \
115 $(RM) $(DATADIR)/examples/$$file; \
116 done
117 -$(RMDIR) $(DATADIR)/examples