]> git.ipfire.org Git - thirdparty/cups.git/blob - ppd/Makefile
<rdar://problem/5792631> dependency cycle in cups-144 / PrintingCore-250 / Applicatio...
[thirdparty/cups.git] / ppd / Makefile
1 #
2 # "$Id: Makefile 6813 2007-08-20 17:35:06Z mike $"
3 #
4 # PPD file makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 2007-2008 by Apple Inc.
7 # Copyright 1993-2006 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 include ../Makedefs
17
18 #
19 # PPD files...
20 #
21
22 FILES = deskjet.ppd dymo.ppd epson9.ppd epson24.ppd \
23 generic.ppd generpcl.ppd intelbar.ppd \
24 laserjet.ppd okidata9.ppd okidat24.ppd stcolor.ppd \
25 stcolor2.ppd stphoto.ppd stphoto2.ppd zebra.ppd \
26 zebracpl.ppd zebraep1.ppd zebraep2.ppd
27
28
29 #
30 # Make everything...
31 #
32
33 all:
34
35
36 #
37 # Clean all config and object files...
38 #
39
40 clean:
41
42
43 #
44 # Dummy depend...
45 #
46
47 depend:
48
49
50 #
51 # Install all targets...
52 #
53
54 install: all install-data install-headers install-libs install-exec
55
56
57 #
58 # Install data files...
59 #
60
61 install-data:
62 $(INSTALL_DIR) -m 755 $(DATADIR)/model
63 for file in $(FILES); do \
64 $(INSTALL_DATA) $$file $(DATADIR)/model; \
65 done
66
67
68 #
69 # Install programs...
70 #
71
72 install-exec:
73
74
75 #
76 # Install headers...
77 #
78
79 install-headers:
80
81
82 #
83 # Install libraries...
84 #
85
86 install-libs:
87
88
89 #
90 # Uninstall files...
91 #
92
93 uninstall:
94 for file in $(FILES); do \
95 $(RM) $(DATADIR)/model/$$file; \
96 done
97 -$(RMDIR) $(DATADIR)/model
98 -$(RMDIR) $(DATADIR)
99
100
101 #
102 # Update PPD files...
103 #
104
105 ppds:
106 ppdc -d . -l `echo $(LANGUAGES) | tr ' ' ','` sample.drv
107
108
109 #
110 # End of "$Id: Makefile 6813 2007-08-20 17:35:06Z mike $".
111 #