]> git.ipfire.org Git - thirdparty/cups.git/blob - standards/Makefile
Merge changes from CUPS 1.4svn-r8628.
[thirdparty/cups.git] / standards / Makefile
1 #
2 # "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
3 #
4 # Standards makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 2007-2009 by Apple Inc.
7 # Copyright 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 #
20 # Standards...
21 #
22
23 RFCS = \
24 rfc1155.txt \
25 rfc1157.txt \
26 rfc1179.txt \
27 rfc1213.txt \
28 rfc1321.txt \
29 rfc2222.txt \
30 rfc2246.txt \
31 rfc2487.txt \
32 rfc2554.txt \
33 rfc2567.txt \
34 rfc2568.txt \
35 rfc2569.txt \
36 rfc2578.txt \
37 rfc2595.txt \
38 rfc2616.txt \
39 rfc2617.txt \
40 rfc2712.txt \
41 rfc2790.txt \
42 rfc2817.txt \
43 rfc2818.txt \
44 rfc2821.txt \
45 rfc2822.txt \
46 rfc2910.txt \
47 rfc2911.txt \
48 rfc2965.txt \
49 rfc3196.txt \
50 rfc3239.txt \
51 rfc3380.txt \
52 rfc3381.txt \
53 rfc3382.txt \
54 rfc3391.txt \
55 rfc3510.txt \
56 rfc3712.txt \
57 rfc3805.txt \
58 rfc3875.txt \
59 rfc3986.txt \
60 rfc3995.txt \
61 rfc3996.txt \
62 rfc3997.txt \
63 rfc3998.txt \
64 rfc4122.txt \
65 rfc4234.txt
66
67 .SUFFIXES: .html .txt
68 .txt.html: rfctohtml
69 echo Converting $< to HTML...
70 ./rfctohtml $< ../doc/help/$@
71
72
73 #
74 # Make everything...
75 #
76
77 all: rfctohtml $(RFCS:.txt=.html)
78
79
80 #
81 # Make library targets...
82 #
83
84 libs:
85
86
87 #
88 # Make unit tests...
89 #
90
91 unittests:
92
93
94 #
95 # Clean all config and object files...
96 #
97
98 clean:
99 $(RM) rfctohtml rfctohtml.o
100 $(RM) $(RFCS:.txt=.html)
101
102
103 #
104 # Dummy depend target...
105 #
106
107 depend:
108
109
110 #
111 # Install all targets...
112 #
113
114 install: all install-data install-headers install-libs install-exec
115
116
117 #
118 # Install data files...
119 #
120
121 install-data:
122
123
124 #
125 # Install programs...
126 #
127
128 install-exec:
129
130
131 #
132 # Install headers...
133 #
134
135 install-headers:
136
137
138 #
139 # Install libraries...
140 #
141
142 install-libs:
143
144
145 #
146 # Uninstall files...
147 #
148
149 uninstall:
150
151
152 #
153 # rfctohtml - make html versions of RFCs...
154 #
155
156 rfctohtml: rfctohtml.o ../cups/libcups.a
157 $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ rfctohtml.o ../cups/libcups.a \
158 $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
159
160
161 #
162 # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
163 #