Commit 17bf5a27a77b842c8e29a17fd8fa61ef3d8e9f42
1 parent
aaea686f
put the whole stuff in an autobuild environment
Showing
17 changed files
with
3866 additions
and
7 deletions
Too many changes to show.
To preserve performance only 17 of 17+ files are displayed.
COPYING
0 → 100644
1 | + GNU GENERAL PUBLIC LICENSE | ||
2 | + Version 3, 29 June 2007 | ||
3 | + | ||
4 | + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | ||
5 | + Everyone is permitted to copy and distribute verbatim copies | ||
6 | + of this license document, but changing it is not allowed. | ||
7 | + | ||
8 | + Preamble | ||
9 | + | ||
10 | + The GNU General Public License is a free, copyleft license for | ||
11 | +software and other kinds of works. | ||
12 | + | ||
13 | + The licenses for most software and other practical works are designed | ||
14 | +to take away your freedom to share and change the works. By contrast, | ||
15 | +the GNU General Public License is intended to guarantee your freedom to | ||
16 | +share and change all versions of a program--to make sure it remains free | ||
17 | +software for all its users. We, the Free Software Foundation, use the | ||
18 | +GNU General Public License for most of our software; it applies also to | ||
19 | +any other work released this way by its authors. You can apply it to | ||
20 | +your programs, too. | ||
21 | + | ||
22 | + When we speak of free software, we are referring to freedom, not | ||
23 | +price. Our General Public Licenses are designed to make sure that you | ||
24 | +have the freedom to distribute copies of free software (and charge for | ||
25 | +them if you wish), that you receive source code or can get it if you | ||
26 | +want it, that you can change the software or use pieces of it in new | ||
27 | +free programs, and that you know you can do these things. | ||
28 | + | ||
29 | + To protect your rights, we need to prevent others from denying you | ||
30 | +these rights or asking you to surrender the rights. Therefore, you have | ||
31 | +certain responsibilities if you distribute copies of the software, or if | ||
32 | +you modify it: responsibilities to respect the freedom of others. | ||
33 | + | ||
34 | + For example, if you distribute copies of such a program, whether | ||
35 | +gratis or for a fee, you must pass on to the recipients the same | ||
36 | +freedoms that you received. You must make sure that they, too, receive | ||
37 | +or can get the source code. And you must show them these terms so they | ||
38 | +know their rights. | ||
39 | + | ||
40 | + Developers that use the GNU GPL protect your rights with two steps: | ||
41 | +(1) assert copyright on the software, and (2) offer you this License | ||
42 | +giving you legal permission to copy, distribute and/or modify it. | ||
43 | + | ||
44 | + For the developers' and authors' protection, the GPL clearly explains | ||
45 | +that there is no warranty for this free software. For both users' and | ||
46 | +authors' sake, the GPL requires that modified versions be marked as | ||
47 | +changed, so that their problems will not be attributed erroneously to | ||
48 | +authors of previous versions. | ||
49 | + | ||
50 | + Some devices are designed to deny users access to install or run | ||
51 | +modified versions of the software inside them, although the manufacturer | ||
52 | +can do so. This is fundamentally incompatible with the aim of | ||
53 | +protecting users' freedom to change the software. The systematic | ||
54 | +pattern of such abuse occurs in the area of products for individuals to | ||
55 | +use, which is precisely where it is most unacceptable. Therefore, we | ||
56 | +have designed this version of the GPL to prohibit the practice for those | ||
57 | +products. If such problems arise substantially in other domains, we | ||
58 | +stand ready to extend this provision to those domains in future versions | ||
59 | +of the GPL, as needed to protect the freedom of users. | ||
60 | + | ||
61 | + Finally, every program is threatened constantly by software patents. | ||
62 | +States should not allow patents to restrict development and use of | ||
63 | +software on general-purpose computers, but in those that do, we wish to | ||
64 | +avoid the special danger that patents applied to a free program could | ||
65 | +make it effectively proprietary. To prevent this, the GPL assures that | ||
66 | +patents cannot be used to render the program non-free. | ||
67 | + | ||
68 | + The precise terms and conditions for copying, distribution and | ||
69 | +modification follow. | ||
70 | + | ||
71 | + TERMS AND CONDITIONS | ||
72 | + | ||
73 | + 0. Definitions. | ||
74 | + | ||
75 | + "This License" refers to version 3 of the GNU General Public License. | ||
76 | + | ||
77 | + "Copyright" also means copyright-like laws that apply to other kinds of | ||
78 | +works, such as semiconductor masks. | ||
79 | + | ||
80 | + "The Program" refers to any copyrightable work licensed under this | ||
81 | +License. Each licensee is addressed as "you". "Licensees" and | ||
82 | +"recipients" may be individuals or organizations. | ||
83 | + | ||
84 | + To "modify" a work means to copy from or adapt all or part of the work | ||
85 | +in a fashion requiring copyright permission, other than the making of an | ||
86 | +exact copy. The resulting work is called a "modified version" of the | ||
87 | +earlier work or a work "based on" the earlier work. | ||
88 | + | ||
89 | + A "covered work" means either the unmodified Program or a work based | ||
90 | +on the Program. | ||
91 | + | ||
92 | + To "propagate" a work means to do anything with it that, without | ||
93 | +permission, would make you directly or secondarily liable for | ||
94 | +infringement under applicable copyright law, except executing it on a | ||
95 | +computer or modifying a private copy. Propagation includes copying, | ||
96 | +distribution (with or without modification), making available to the | ||
97 | +public, and in some countries other activities as well. | ||
98 | + | ||
99 | + To "convey" a work means any kind of propagation that enables other | ||
100 | +parties to make or receive copies. Mere interaction with a user through | ||
101 | +a computer network, with no transfer of a copy, is not conveying. | ||
102 | + | ||
103 | + An interactive user interface displays "Appropriate Legal Notices" | ||
104 | +to the extent that it includes a convenient and prominently visible | ||
105 | +feature that (1) displays an appropriate copyright notice, and (2) | ||
106 | +tells the user that there is no warranty for the work (except to the | ||
107 | +extent that warranties are provided), that licensees may convey the | ||
108 | +work under this License, and how to view a copy of this License. If | ||
109 | +the interface presents a list of user commands or options, such as a | ||
110 | +menu, a prominent item in the list meets this criterion. | ||
111 | + | ||
112 | + 1. Source Code. | ||
113 | + | ||
114 | + The "source code" for a work means the preferred form of the work | ||
115 | +for making modifications to it. "Object code" means any non-source | ||
116 | +form of a work. | ||
117 | + | ||
118 | + A "Standard Interface" means an interface that either is an official | ||
119 | +standard defined by a recognized standards body, or, in the case of | ||
120 | +interfaces specified for a particular programming language, one that | ||
121 | +is widely used among developers working in that language. | ||
122 | + | ||
123 | + The "System Libraries" of an executable work include anything, other | ||
124 | +than the work as a whole, that (a) is included in the normal form of | ||
125 | +packaging a Major Component, but which is not part of that Major | ||
126 | +Component, and (b) serves only to enable use of the work with that | ||
127 | +Major Component, or to implement a Standard Interface for which an | ||
128 | +implementation is available to the public in source code form. A | ||
129 | +"Major Component", in this context, means a major essential component | ||
130 | +(kernel, window system, and so on) of the specific operating system | ||
131 | +(if any) on which the executable work runs, or a compiler used to | ||
132 | +produce the work, or an object code interpreter used to run it. | ||
133 | + | ||
134 | + The "Corresponding Source" for a work in object code form means all | ||
135 | +the source code needed to generate, install, and (for an executable | ||
136 | +work) run the object code and to modify the work, including scripts to | ||
137 | +control those activities. However, it does not include the work's | ||
138 | +System Libraries, or general-purpose tools or generally available free | ||
139 | +programs which are used unmodified in performing those activities but | ||
140 | +which are not part of the work. For example, Corresponding Source | ||
141 | +includes interface definition files associated with source files for | ||
142 | +the work, and the source code for shared libraries and dynamically | ||
143 | +linked subprograms that the work is specifically designed to require, | ||
144 | +such as by intimate data communication or control flow between those | ||
145 | +subprograms and other parts of the work. | ||
146 | + | ||
147 | + The Corresponding Source need not include anything that users | ||
148 | +can regenerate automatically from other parts of the Corresponding | ||
149 | +Source. | ||
150 | + | ||
151 | + The Corresponding Source for a work in source code form is that | ||
152 | +same work. | ||
153 | + | ||
154 | + 2. Basic Permissions. | ||
155 | + | ||
156 | + All rights granted under this License are granted for the term of | ||
157 | +copyright on the Program, and are irrevocable provided the stated | ||
158 | +conditions are met. This License explicitly affirms your unlimited | ||
159 | +permission to run the unmodified Program. The output from running a | ||
160 | +covered work is covered by this License only if the output, given its | ||
161 | +content, constitutes a covered work. This License acknowledges your | ||
162 | +rights of fair use or other equivalent, as provided by copyright law. | ||
163 | + | ||
164 | + You may make, run and propagate covered works that you do not | ||
165 | +convey, without conditions so long as your license otherwise remains | ||
166 | +in force. You may convey covered works to others for the sole purpose | ||
167 | +of having them make modifications exclusively for you, or provide you | ||
168 | +with facilities for running those works, provided that you comply with | ||
169 | +the terms of this License in conveying all material for which you do | ||
170 | +not control copyright. Those thus making or running the covered works | ||
171 | +for you must do so exclusively on your behalf, under your direction | ||
172 | +and control, on terms that prohibit them from making any copies of | ||
173 | +your copyrighted material outside their relationship with you. | ||
174 | + | ||
175 | + Conveying under any other circumstances is permitted solely under | ||
176 | +the conditions stated below. Sublicensing is not allowed; section 10 | ||
177 | +makes it unnecessary. | ||
178 | + | ||
179 | + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. | ||
180 | + | ||
181 | + No covered work shall be deemed part of an effective technological | ||
182 | +measure under any applicable law fulfilling obligations under article | ||
183 | +11 of the WIPO copyright treaty adopted on 20 December 1996, or | ||
184 | +similar laws prohibiting or restricting circumvention of such | ||
185 | +measures. | ||
186 | + | ||
187 | + When you convey a covered work, you waive any legal power to forbid | ||
188 | +circumvention of technological measures to the extent such circumvention | ||
189 | +is effected by exercising rights under this License with respect to | ||
190 | +the covered work, and you disclaim any intention to limit operation or | ||
191 | +modification of the work as a means of enforcing, against the work's | ||
192 | +users, your or third parties' legal rights to forbid circumvention of | ||
193 | +technological measures. | ||
194 | + | ||
195 | + 4. Conveying Verbatim Copies. | ||
196 | + | ||
197 | + You may convey verbatim copies of the Program's source code as you | ||
198 | +receive it, in any medium, provided that you conspicuously and | ||
199 | +appropriately publish on each copy an appropriate copyright notice; | ||
200 | +keep intact all notices stating that this License and any | ||
201 | +non-permissive terms added in accord with section 7 apply to the code; | ||
202 | +keep intact all notices of the absence of any warranty; and give all | ||
203 | +recipients a copy of this License along with the Program. | ||
204 | + | ||
205 | + You may charge any price or no price for each copy that you convey, | ||
206 | +and you may offer support or warranty protection for a fee. | ||
207 | + | ||
208 | + 5. Conveying Modified Source Versions. | ||
209 | + | ||
210 | + You may convey a work based on the Program, or the modifications to | ||
211 | +produce it from the Program, in the form of source code under the | ||
212 | +terms of section 4, provided that you also meet all of these conditions: | ||
213 | + | ||
214 | + a) The work must carry prominent notices stating that you modified | ||
215 | + it, and giving a relevant date. | ||
216 | + | ||
217 | + b) The work must carry prominent notices stating that it is | ||
218 | + released under this License and any conditions added under section | ||
219 | + 7. This requirement modifies the requirement in section 4 to | ||
220 | + "keep intact all notices". | ||
221 | + | ||
222 | + c) You must license the entire work, as a whole, under this | ||
223 | + License to anyone who comes into possession of a copy. This | ||
224 | + License will therefore apply, along with any applicable section 7 | ||
225 | + additional terms, to the whole of the work, and all its parts, | ||
226 | + regardless of how they are packaged. This License gives no | ||
227 | + permission to license the work in any other way, but it does not | ||
228 | + invalidate such permission if you have separately received it. | ||
229 | + | ||
230 | + d) If the work has interactive user interfaces, each must display | ||
231 | + Appropriate Legal Notices; however, if the Program has interactive | ||
232 | + interfaces that do not display Appropriate Legal Notices, your | ||
233 | + work need not make them do so. | ||
234 | + | ||
235 | + A compilation of a covered work with other separate and independent | ||
236 | +works, which are not by their nature extensions of the covered work, | ||
237 | +and which are not combined with it such as to form a larger program, | ||
238 | +in or on a volume of a storage or distribution medium, is called an | ||
239 | +"aggregate" if the compilation and its resulting copyright are not | ||
240 | +used to limit the access or legal rights of the compilation's users | ||
241 | +beyond what the individual works permit. Inclusion of a covered work | ||
242 | +in an aggregate does not cause this License to apply to the other | ||
243 | +parts of the aggregate. | ||
244 | + | ||
245 | + 6. Conveying Non-Source Forms. | ||
246 | + | ||
247 | + You may convey a covered work in object code form under the terms | ||
248 | +of sections 4 and 5, provided that you also convey the | ||
249 | +machine-readable Corresponding Source under the terms of this License, | ||
250 | +in one of these ways: | ||
251 | + | ||
252 | + a) Convey the object code in, or embodied in, a physical product | ||
253 | + (including a physical distribution medium), accompanied by the | ||
254 | + Corresponding Source fixed on a durable physical medium | ||
255 | + customarily used for software interchange. | ||
256 | + | ||
257 | + b) Convey the object code in, or embodied in, a physical product | ||
258 | + (including a physical distribution medium), accompanied by a | ||
259 | + written offer, valid for at least three years and valid for as | ||
260 | + long as you offer spare parts or customer support for that product | ||
261 | + model, to give anyone who possesses the object code either (1) a | ||
262 | + copy of the Corresponding Source for all the software in the | ||
263 | + product that is covered by this License, on a durable physical | ||
264 | + medium customarily used for software interchange, for a price no | ||
265 | + more than your reasonable cost of physically performing this | ||
266 | + conveying of source, or (2) access to copy the | ||
267 | + Corresponding Source from a network server at no charge. | ||
268 | + | ||
269 | + c) Convey individual copies of the object code with a copy of the | ||
270 | + written offer to provide the Corresponding Source. This | ||
271 | + alternative is allowed only occasionally and noncommercially, and | ||
272 | + only if you received the object code with such an offer, in accord | ||
273 | + with subsection 6b. | ||
274 | + | ||
275 | + d) Convey the object code by offering access from a designated | ||
276 | + place (gratis or for a charge), and offer equivalent access to the | ||
277 | + Corresponding Source in the same way through the same place at no | ||
278 | + further charge. You need not require recipients to copy the | ||
279 | + Corresponding Source along with the object code. If the place to | ||
280 | + copy the object code is a network server, the Corresponding Source | ||
281 | + may be on a different server (operated by you or a third party) | ||
282 | + that supports equivalent copying facilities, provided you maintain | ||
283 | + clear directions next to the object code saying where to find the | ||
284 | + Corresponding Source. Regardless of what server hosts the | ||
285 | + Corresponding Source, you remain obligated to ensure that it is | ||
286 | + available for as long as needed to satisfy these requirements. | ||
287 | + | ||
288 | + e) Convey the object code using peer-to-peer transmission, provided | ||
289 | + you inform other peers where the object code and Corresponding | ||
290 | + Source of the work are being offered to the general public at no | ||
291 | + charge under subsection 6d. | ||
292 | + | ||
293 | + A separable portion of the object code, whose source code is excluded | ||
294 | +from the Corresponding Source as a System Library, need not be | ||
295 | +included in conveying the object code work. | ||
296 | + | ||
297 | + A "User Product" is either (1) a "consumer product", which means any | ||
298 | +tangible personal property which is normally used for personal, family, | ||
299 | +or household purposes, or (2) anything designed or sold for incorporation | ||
300 | +into a dwelling. In determining whether a product is a consumer product, | ||
301 | +doubtful cases shall be resolved in favor of coverage. For a particular | ||
302 | +product received by a particular user, "normally used" refers to a | ||
303 | +typical or common use of that class of product, regardless of the status | ||
304 | +of the particular user or of the way in which the particular user | ||
305 | +actually uses, or expects or is expected to use, the product. A product | ||
306 | +is a consumer product regardless of whether the product has substantial | ||
307 | +commercial, industrial or non-consumer uses, unless such uses represent | ||
308 | +the only significant mode of use of the product. | ||
309 | + | ||
310 | + "Installation Information" for a User Product means any methods, | ||
311 | +procedures, authorization keys, or other information required to install | ||
312 | +and execute modified versions of a covered work in that User Product from | ||
313 | +a modified version of its Corresponding Source. The information must | ||
314 | +suffice to ensure that the continued functioning of the modified object | ||
315 | +code is in no case prevented or interfered with solely because | ||
316 | +modification has been made. | ||
317 | + | ||
318 | + If you convey an object code work under this section in, or with, or | ||
319 | +specifically for use in, a User Product, and the conveying occurs as | ||
320 | +part of a transaction in which the right of possession and use of the | ||
321 | +User Product is transferred to the recipient in perpetuity or for a | ||
322 | +fixed term (regardless of how the transaction is characterized), the | ||
323 | +Corresponding Source conveyed under this section must be accompanied | ||
324 | +by the Installation Information. But this requirement does not apply | ||
325 | +if neither you nor any third party retains the ability to install | ||
326 | +modified object code on the User Product (for example, the work has | ||
327 | +been installed in ROM). | ||
328 | + | ||
329 | + The requirement to provide Installation Information does not include a | ||
330 | +requirement to continue to provide support service, warranty, or updates | ||
331 | +for a work that has been modified or installed by the recipient, or for | ||
332 | +the User Product in which it has been modified or installed. Access to a | ||
333 | +network may be denied when the modification itself materially and | ||
334 | +adversely affects the operation of the network or violates the rules and | ||
335 | +protocols for communication across the network. | ||
336 | + | ||
337 | + Corresponding Source conveyed, and Installation Information provided, | ||
338 | +in accord with this section must be in a format that is publicly | ||
339 | +documented (and with an implementation available to the public in | ||
340 | +source code form), and must require no special password or key for | ||
341 | +unpacking, reading or copying. | ||
342 | + | ||
343 | + 7. Additional Terms. | ||
344 | + | ||
345 | + "Additional permissions" are terms that supplement the terms of this | ||
346 | +License by making exceptions from one or more of its conditions. | ||
347 | +Additional permissions that are applicable to the entire Program shall | ||
348 | +be treated as though they were included in this License, to the extent | ||
349 | +that they are valid under applicable law. If additional permissions | ||
350 | +apply only to part of the Program, that part may be used separately | ||
351 | +under those permissions, but the entire Program remains governed by | ||
352 | +this License without regard to the additional permissions. | ||
353 | + | ||
354 | + When you convey a copy of a covered work, you may at your option | ||
355 | +remove any additional permissions from that copy, or from any part of | ||
356 | +it. (Additional permissions may be written to require their own | ||
357 | +removal in certain cases when you modify the work.) You may place | ||
358 | +additional permissions on material, added by you to a covered work, | ||
359 | +for which you have or can give appropriate copyright permission. | ||
360 | + | ||
361 | + Notwithstanding any other provision of this License, for material you | ||
362 | +add to a covered work, you may (if authorized by the copyright holders of | ||
363 | +that material) supplement the terms of this License with terms: | ||
364 | + | ||
365 | + a) Disclaiming warranty or limiting liability differently from the | ||
366 | + terms of sections 15 and 16 of this License; or | ||
367 | + | ||
368 | + b) Requiring preservation of specified reasonable legal notices or | ||
369 | + author attributions in that material or in the Appropriate Legal | ||
370 | + Notices displayed by works containing it; or | ||
371 | + | ||
372 | + c) Prohibiting misrepresentation of the origin of that material, or | ||
373 | + requiring that modified versions of such material be marked in | ||
374 | + reasonable ways as different from the original version; or | ||
375 | + | ||
376 | + d) Limiting the use for publicity purposes of names of licensors or | ||
377 | + authors of the material; or | ||
378 | + | ||
379 | + e) Declining to grant rights under trademark law for use of some | ||
380 | + trade names, trademarks, or service marks; or | ||
381 | + | ||
382 | + f) Requiring indemnification of licensors and authors of that | ||
383 | + material by anyone who conveys the material (or modified versions of | ||
384 | + it) with contractual assumptions of liability to the recipient, for | ||
385 | + any liability that these contractual assumptions directly impose on | ||
386 | + those licensors and authors. | ||
387 | + | ||
388 | + All other non-permissive additional terms are considered "further | ||
389 | +restrictions" within the meaning of section 10. If the Program as you | ||
390 | +received it, or any part of it, contains a notice stating that it is | ||
391 | +governed by this License along with a term that is a further | ||
392 | +restriction, you may remove that term. If a license document contains | ||
393 | +a further restriction but permits relicensing or conveying under this | ||
394 | +License, you may add to a covered work material governed by the terms | ||
395 | +of that license document, provided that the further restriction does | ||
396 | +not survive such relicensing or conveying. | ||
397 | + | ||
398 | + If you add terms to a covered work in accord with this section, you | ||
399 | +must place, in the relevant source files, a statement of the | ||
400 | +additional terms that apply to those files, or a notice indicating | ||
401 | +where to find the applicable terms. | ||
402 | + | ||
403 | + Additional terms, permissive or non-permissive, may be stated in the | ||
404 | +form of a separately written license, or stated as exceptions; | ||
405 | +the above requirements apply either way. | ||
406 | + | ||
407 | + 8. Termination. | ||
408 | + | ||
409 | + You may not propagate or modify a covered work except as expressly | ||
410 | +provided under this License. Any attempt otherwise to propagate or | ||
411 | +modify it is void, and will automatically terminate your rights under | ||
412 | +this License (including any patent licenses granted under the third | ||
413 | +paragraph of section 11). | ||
414 | + | ||
415 | + However, if you cease all violation of this License, then your | ||
416 | +license from a particular copyright holder is reinstated (a) | ||
417 | +provisionally, unless and until the copyright holder explicitly and | ||
418 | +finally terminates your license, and (b) permanently, if the copyright | ||
419 | +holder fails to notify you of the violation by some reasonable means | ||
420 | +prior to 60 days after the cessation. | ||
421 | + | ||
422 | + Moreover, your license from a particular copyright holder is | ||
423 | +reinstated permanently if the copyright holder notifies you of the | ||
424 | +violation by some reasonable means, this is the first time you have | ||
425 | +received notice of violation of this License (for any work) from that | ||
426 | +copyright holder, and you cure the violation prior to 30 days after | ||
427 | +your receipt of the notice. | ||
428 | + | ||
429 | + Termination of your rights under this section does not terminate the | ||
430 | +licenses of parties who have received copies or rights from you under | ||
431 | +this License. If your rights have been terminated and not permanently | ||
432 | +reinstated, you do not qualify to receive new licenses for the same | ||
433 | +material under section 10. | ||
434 | + | ||
435 | + 9. Acceptance Not Required for Having Copies. | ||
436 | + | ||
437 | + You are not required to accept this License in order to receive or | ||
438 | +run a copy of the Program. Ancillary propagation of a covered work | ||
439 | +occurring solely as a consequence of using peer-to-peer transmission | ||
440 | +to receive a copy likewise does not require acceptance. However, | ||
441 | +nothing other than this License grants you permission to propagate or | ||
442 | +modify any covered work. These actions infringe copyright if you do | ||
443 | +not accept this License. Therefore, by modifying or propagating a | ||
444 | +covered work, you indicate your acceptance of this License to do so. | ||
445 | + | ||
446 | + 10. Automatic Licensing of Downstream Recipients. | ||
447 | + | ||
448 | + Each time you convey a covered work, the recipient automatically | ||
449 | +receives a license from the original licensors, to run, modify and | ||
450 | +propagate that work, subject to this License. You are not responsible | ||
451 | +for enforcing compliance by third parties with this License. | ||
452 | + | ||
453 | + An "entity transaction" is a transaction transferring control of an | ||
454 | +organization, or substantially all assets of one, or subdividing an | ||
455 | +organization, or merging organizations. If propagation of a covered | ||
456 | +work results from an entity transaction, each party to that | ||
457 | +transaction who receives a copy of the work also receives whatever | ||
458 | +licenses to the work the party's predecessor in interest had or could | ||
459 | +give under the previous paragraph, plus a right to possession of the | ||
460 | +Corresponding Source of the work from the predecessor in interest, if | ||
461 | +the predecessor has it or can get it with reasonable efforts. | ||
462 | + | ||
463 | + You may not impose any further restrictions on the exercise of the | ||
464 | +rights granted or affirmed under this License. For example, you may | ||
465 | +not impose a license fee, royalty, or other charge for exercise of | ||
466 | +rights granted under this License, and you may not initiate litigation | ||
467 | +(including a cross-claim or counterclaim in a lawsuit) alleging that | ||
468 | +any patent claim is infringed by making, using, selling, offering for | ||
469 | +sale, or importing the Program or any portion of it. | ||
470 | + | ||
471 | + 11. Patents. | ||
472 | + | ||
473 | + A "contributor" is a copyright holder who authorizes use under this | ||
474 | +License of the Program or a work on which the Program is based. The | ||
475 | +work thus licensed is called the contributor's "contributor version". | ||
476 | + | ||
477 | + A contributor's "essential patent claims" are all patent claims | ||
478 | +owned or controlled by the contributor, whether already acquired or | ||
479 | +hereafter acquired, that would be infringed by some manner, permitted | ||
480 | +by this License, of making, using, or selling its contributor version, | ||
481 | +but do not include claims that would be infringed only as a | ||
482 | +consequence of further modification of the contributor version. For | ||
483 | +purposes of this definition, "control" includes the right to grant | ||
484 | +patent sublicenses in a manner consistent with the requirements of | ||
485 | +this License. | ||
486 | + | ||
487 | + Each contributor grants you a non-exclusive, worldwide, royalty-free | ||
488 | +patent license under the contributor's essential patent claims, to | ||
489 | +make, use, sell, offer for sale, import and otherwise run, modify and | ||
490 | +propagate the contents of its contributor version. | ||
491 | + | ||
492 | + In the following three paragraphs, a "patent license" is any express | ||
493 | +agreement or commitment, however denominated, not to enforce a patent | ||
494 | +(such as an express permission to practice a patent or covenant not to | ||
495 | +sue for patent infringement). To "grant" such a patent license to a | ||
496 | +party means to make such an agreement or commitment not to enforce a | ||
497 | +patent against the party. | ||
498 | + | ||
499 | + If you convey a covered work, knowingly relying on a patent license, | ||
500 | +and the Corresponding Source of the work is not available for anyone | ||
501 | +to copy, free of charge and under the terms of this License, through a | ||
502 | +publicly available network server or other readily accessible means, | ||
503 | +then you must either (1) cause the Corresponding Source to be so | ||
504 | +available, or (2) arrange to deprive yourself of the benefit of the | ||
505 | +patent license for this particular work, or (3) arrange, in a manner | ||
506 | +consistent with the requirements of this License, to extend the patent | ||
507 | +license to downstream recipients. "Knowingly relying" means you have | ||
508 | +actual knowledge that, but for the patent license, your conveying the | ||
509 | +covered work in a country, or your recipient's use of the covered work | ||
510 | +in a country, would infringe one or more identifiable patents in that | ||
511 | +country that you have reason to believe are valid. | ||
512 | + | ||
513 | + If, pursuant to or in connection with a single transaction or | ||
514 | +arrangement, you convey, or propagate by procuring conveyance of, a | ||
515 | +covered work, and grant a patent license to some of the parties | ||
516 | +receiving the covered work authorizing them to use, propagate, modify | ||
517 | +or convey a specific copy of the covered work, then the patent license | ||
518 | +you grant is automatically extended to all recipients of the covered | ||
519 | +work and works based on it. | ||
520 | + | ||
521 | + A patent license is "discriminatory" if it does not include within | ||
522 | +the scope of its coverage, prohibits the exercise of, or is | ||
523 | +conditioned on the non-exercise of one or more of the rights that are | ||
524 | +specifically granted under this License. You may not convey a covered | ||
525 | +work if you are a party to an arrangement with a third party that is | ||
526 | +in the business of distributing software, under which you make payment | ||
527 | +to the third party based on the extent of your activity of conveying | ||
528 | +the work, and under which the third party grants, to any of the | ||
529 | +parties who would receive the covered work from you, a discriminatory | ||
530 | +patent license (a) in connection with copies of the covered work | ||
531 | +conveyed by you (or copies made from those copies), or (b) primarily | ||
532 | +for and in connection with specific products or compilations that | ||
533 | +contain the covered work, unless you entered into that arrangement, | ||
534 | +or that patent license was granted, prior to 28 March 2007. | ||
535 | + | ||
536 | + Nothing in this License shall be construed as excluding or limiting | ||
537 | +any implied license or other defenses to infringement that may | ||
538 | +otherwise be available to you under applicable patent law. | ||
539 | + | ||
540 | + 12. No Surrender of Others' Freedom. | ||
541 | + | ||
542 | + If conditions are imposed on you (whether by court order, agreement or | ||
543 | +otherwise) that contradict the conditions of this License, they do not | ||
544 | +excuse you from the conditions of this License. If you cannot convey a | ||
545 | +covered work so as to satisfy simultaneously your obligations under this | ||
546 | +License and any other pertinent obligations, then as a consequence you may | ||
547 | +not convey it at all. For example, if you agree to terms that obligate you | ||
548 | +to collect a royalty for further conveying from those to whom you convey | ||
549 | +the Program, the only way you could satisfy both those terms and this | ||
550 | +License would be to refrain entirely from conveying the Program. | ||
551 | + | ||
552 | + 13. Use with the GNU Affero General Public License. | ||
553 | + | ||
554 | + Notwithstanding any other provision of this License, you have | ||
555 | +permission to link or combine any covered work with a work licensed | ||
556 | +under version 3 of the GNU Affero General Public License into a single | ||
557 | +combined work, and to convey the resulting work. The terms of this | ||
558 | +License will continue to apply to the part which is the covered work, | ||
559 | +but the special requirements of the GNU Affero General Public License, | ||
560 | +section 13, concerning interaction through a network will apply to the | ||
561 | +combination as such. | ||
562 | + | ||
563 | + 14. Revised Versions of this License. | ||
564 | + | ||
565 | + The Free Software Foundation may publish revised and/or new versions of | ||
566 | +the GNU General Public License from time to time. Such new versions will | ||
567 | +be similar in spirit to the present version, but may differ in detail to | ||
568 | +address new problems or concerns. | ||
569 | + | ||
570 | + Each version is given a distinguishing version number. If the | ||
571 | +Program specifies that a certain numbered version of the GNU General | ||
572 | +Public License "or any later version" applies to it, you have the | ||
573 | +option of following the terms and conditions either of that numbered | ||
574 | +version or of any later version published by the Free Software | ||
575 | +Foundation. If the Program does not specify a version number of the | ||
576 | +GNU General Public License, you may choose any version ever published | ||
577 | +by the Free Software Foundation. | ||
578 | + | ||
579 | + If the Program specifies that a proxy can decide which future | ||
580 | +versions of the GNU General Public License can be used, that proxy's | ||
581 | +public statement of acceptance of a version permanently authorizes you | ||
582 | +to choose that version for the Program. | ||
583 | + | ||
584 | + Later license versions may give you additional or different | ||
585 | +permissions. However, no additional obligations are imposed on any | ||
586 | +author or copyright holder as a result of your choosing to follow a | ||
587 | +later version. | ||
588 | + | ||
589 | + 15. Disclaimer of Warranty. | ||
590 | + | ||
591 | + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY | ||
592 | +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT | ||
593 | +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY | ||
594 | +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, | ||
595 | +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
596 | +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM | ||
597 | +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF | ||
598 | +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | ||
599 | + | ||
600 | + 16. Limitation of Liability. | ||
601 | + | ||
602 | + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||
603 | +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS | ||
604 | +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY | ||
605 | +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE | ||
606 | +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF | ||
607 | +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD | ||
608 | +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), | ||
609 | +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF | ||
610 | +SUCH DAMAGES. | ||
611 | + | ||
612 | + 17. Interpretation of Sections 15 and 16. | ||
613 | + | ||
614 | + If the disclaimer of warranty and limitation of liability provided | ||
615 | +above cannot be given local legal effect according to their terms, | ||
616 | +reviewing courts shall apply local law that most closely approximates | ||
617 | +an absolute waiver of all civil liability in connection with the | ||
618 | +Program, unless a warranty or assumption of liability accompanies a | ||
619 | +copy of the Program in return for a fee. | ||
620 | + | ||
621 | + END OF TERMS AND CONDITIONS | ||
622 | + | ||
623 | + How to Apply These Terms to Your New Programs | ||
624 | + | ||
625 | + If you develop a new program, and you want it to be of the greatest | ||
626 | +possible use to the public, the best way to achieve this is to make it | ||
627 | +free software which everyone can redistribute and change under these terms. | ||
628 | + | ||
629 | + To do so, attach the following notices to the program. It is safest | ||
630 | +to attach them to the start of each source file to most effectively | ||
631 | +state the exclusion of warranty; and each file should have at least | ||
632 | +the "copyright" line and a pointer to where the full notice is found. | ||
633 | + | ||
634 | + <one line to give the program's name and a brief idea of what it does.> | ||
635 | + Copyright (C) <year> <name of author> | ||
636 | + | ||
637 | + This program is free software: you can redistribute it and/or modify | ||
638 | + it under the terms of the GNU General Public License as published by | ||
639 | + the Free Software Foundation, either version 3 of the License, or | ||
640 | + (at your option) any later version. | ||
641 | + | ||
642 | + This program is distributed in the hope that it will be useful, | ||
643 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
644 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
645 | + GNU General Public License for more details. | ||
646 | + | ||
647 | + You should have received a copy of the GNU General Public License | ||
648 | + along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
649 | + | ||
650 | +Also add information on how to contact you by electronic and paper mail. | ||
651 | + | ||
652 | + If the program does terminal interaction, make it output a short | ||
653 | +notice like this when it starts in an interactive mode: | ||
654 | + | ||
655 | + <program> Copyright (C) <year> <name of author> | ||
656 | + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||
657 | + This is free software, and you are welcome to redistribute it | ||
658 | + under certain conditions; type `show c' for details. | ||
659 | + | ||
660 | +The hypothetical commands `show w' and `show c' should show the appropriate | ||
661 | +parts of the General Public License. Of course, your program's commands | ||
662 | +might be different; for a GUI interface, you would use an "about box". | ||
663 | + | ||
664 | + You should also get your employer (if you work as a programmer) or school, | ||
665 | +if any, to sign a "copyright disclaimer" for the program, if necessary. | ||
666 | +For more information on this, and how to apply and follow the GNU GPL, see | ||
667 | +<http://www.gnu.org/licenses/>. | ||
668 | + | ||
669 | + The GNU General Public License does not permit incorporating your program | ||
670 | +into proprietary programs. If your program is a subroutine library, you | ||
671 | +may consider it more useful to permit linking proprietary applications with | ||
672 | +the library. If this is what you want to do, use the GNU Lesser General | ||
673 | +Public License instead of this License. But first, please read | ||
674 | +<http://www.gnu.org/philosophy/why-not-lgpl.html>. |
ChangeLog
0 → 100644
1 | +2011-11-14 22:55:29 +0100 Georg Hopp | ||
2 | + | ||
3 | + * some smaller fixes as well as a complete test create_token implementation. (HEAD, master) | ||
4 | + | ||
5 | +2011-11-14 18:48:09 +0100 Georg Hopp | ||
6 | + | ||
7 | + * hash integrated in dyntype...array still missing, but for simple sas tokens this should be suitable. | ||
8 | + | ||
9 | +2011-11-14 17:24:22 +0100 Georg Hopp | ||
10 | + | ||
11 | + * small fixes and preparations for further additions. valgrind shows no leaks now | ||
12 | + | ||
13 | +2011-11-14 16:53:34 +0100 Georg Hopp | ||
14 | + | ||
15 | + * hash now might be initialized by json object | ||
16 | + | ||
17 | +2011-11-14 16:29:55 +0100 Georg Hopp | ||
18 | + | ||
19 | + * fixed hash implementation...this one should be subject of optimizing in future | ||
20 | + | ||
21 | +2011-11-14 15:36:27 +0100 Georg Hopp | ||
22 | + | ||
23 | + * first creation of simple string indexed hash | ||
24 | + | ||
25 | +2011-11-14 14:01:00 +0100 Georg Hopp | ||
26 | + | ||
27 | + * reflect structural changes in test files | ||
28 | + | ||
29 | +2011-11-14 13:55:56 +0100 Georg Hopp | ||
30 | + | ||
31 | + * some structural changes | ||
32 | + | ||
33 | +2011-11-14 13:51:52 +0100 Georg Hopp | ||
34 | + | ||
35 | + * dyntype string stuff ready | ||
36 | + | ||
37 | +2011-11-14 13:12:24 +0100 Georg Hopp | ||
38 | + | ||
39 | + * dyntype seems to work for int now, incl. json | ||
40 | + | ||
41 | +2011-11-14 11:56:34 +0100 Georg Hopp | ||
42 | + | ||
43 | + * some more work on dyntype | ||
44 | + | ||
45 | +2011-11-14 09:50:20 +0100 Georg Hopp | ||
46 | + | ||
47 | + * initial checkin (origin/master, origin/HEAD) | ||
48 | + |
INSTALL
0 → 100644
1 | +Installation Instructions | ||
2 | +************************* | ||
3 | + | ||
4 | +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, | ||
5 | +2006, 2007, 2008, 2009 Free Software Foundation, Inc. | ||
6 | + | ||
7 | + Copying and distribution of this file, with or without modification, | ||
8 | +are permitted in any medium without royalty provided the copyright | ||
9 | +notice and this notice are preserved. This file is offered as-is, | ||
10 | +without warranty of any kind. | ||
11 | + | ||
12 | +Basic Installation | ||
13 | +================== | ||
14 | + | ||
15 | + Briefly, the shell commands `./configure; make; make install' should | ||
16 | +configure, build, and install this package. The following | ||
17 | +more-detailed instructions are generic; see the `README' file for | ||
18 | +instructions specific to this package. Some packages provide this | ||
19 | +`INSTALL' file but do not implement all of the features documented | ||
20 | +below. The lack of an optional feature in a given package is not | ||
21 | +necessarily a bug. More recommendations for GNU packages can be found | ||
22 | +in *note Makefile Conventions: (standards)Makefile Conventions. | ||
23 | + | ||
24 | + The `configure' shell script attempts to guess correct values for | ||
25 | +various system-dependent variables used during compilation. It uses | ||
26 | +those values to create a `Makefile' in each directory of the package. | ||
27 | +It may also create one or more `.h' files containing system-dependent | ||
28 | +definitions. Finally, it creates a shell script `config.status' that | ||
29 | +you can run in the future to recreate the current configuration, and a | ||
30 | +file `config.log' containing compiler output (useful mainly for | ||
31 | +debugging `configure'). | ||
32 | + | ||
33 | + It can also use an optional file (typically called `config.cache' | ||
34 | +and enabled with `--cache-file=config.cache' or simply `-C') that saves | ||
35 | +the results of its tests to speed up reconfiguring. Caching is | ||
36 | +disabled by default to prevent problems with accidental use of stale | ||
37 | +cache files. | ||
38 | + | ||
39 | + If you need to do unusual things to compile the package, please try | ||
40 | +to figure out how `configure' could check whether to do them, and mail | ||
41 | +diffs or instructions to the address given in the `README' so they can | ||
42 | +be considered for the next release. If you are using the cache, and at | ||
43 | +some point `config.cache' contains results you don't want to keep, you | ||
44 | +may remove or edit it. | ||
45 | + | ||
46 | + The file `configure.ac' (or `configure.in') is used to create | ||
47 | +`configure' by a program called `autoconf'. You need `configure.ac' if | ||
48 | +you want to change it or regenerate `configure' using a newer version | ||
49 | +of `autoconf'. | ||
50 | + | ||
51 | + The simplest way to compile this package is: | ||
52 | + | ||
53 | + 1. `cd' to the directory containing the package's source code and type | ||
54 | + `./configure' to configure the package for your system. | ||
55 | + | ||
56 | + Running `configure' might take a while. While running, it prints | ||
57 | + some messages telling which features it is checking for. | ||
58 | + | ||
59 | + 2. Type `make' to compile the package. | ||
60 | + | ||
61 | + 3. Optionally, type `make check' to run any self-tests that come with | ||
62 | + the package, generally using the just-built uninstalled binaries. | ||
63 | + | ||
64 | + 4. Type `make install' to install the programs and any data files and | ||
65 | + documentation. When installing into a prefix owned by root, it is | ||
66 | + recommended that the package be configured and built as a regular | ||
67 | + user, and only the `make install' phase executed with root | ||
68 | + privileges. | ||
69 | + | ||
70 | + 5. Optionally, type `make installcheck' to repeat any self-tests, but | ||
71 | + this time using the binaries in their final installed location. | ||
72 | + This target does not install anything. Running this target as a | ||
73 | + regular user, particularly if the prior `make install' required | ||
74 | + root privileges, verifies that the installation completed | ||
75 | + correctly. | ||
76 | + | ||
77 | + 6. You can remove the program binaries and object files from the | ||
78 | + source code directory by typing `make clean'. To also remove the | ||
79 | + files that `configure' created (so you can compile the package for | ||
80 | + a different kind of computer), type `make distclean'. There is | ||
81 | + also a `make maintainer-clean' target, but that is intended mainly | ||
82 | + for the package's developers. If you use it, you may have to get | ||
83 | + all sorts of other programs in order to regenerate files that came | ||
84 | + with the distribution. | ||
85 | + | ||
86 | + 7. Often, you can also type `make uninstall' to remove the installed | ||
87 | + files again. In practice, not all packages have tested that | ||
88 | + uninstallation works correctly, even though it is required by the | ||
89 | + GNU Coding Standards. | ||
90 | + | ||
91 | + 8. Some packages, particularly those that use Automake, provide `make | ||
92 | + distcheck', which can by used by developers to test that all other | ||
93 | + targets like `make install' and `make uninstall' work correctly. | ||
94 | + This target is generally not run by end users. | ||
95 | + | ||
96 | +Compilers and Options | ||
97 | +===================== | ||
98 | + | ||
99 | + Some systems require unusual options for compilation or linking that | ||
100 | +the `configure' script does not know about. Run `./configure --help' | ||
101 | +for details on some of the pertinent environment variables. | ||
102 | + | ||
103 | + You can give `configure' initial values for configuration parameters | ||
104 | +by setting variables in the command line or in the environment. Here | ||
105 | +is an example: | ||
106 | + | ||
107 | + ./configure CC=c99 CFLAGS=-g LIBS=-lposix | ||
108 | + | ||
109 | + *Note Defining Variables::, for more details. | ||
110 | + | ||
111 | +Compiling For Multiple Architectures | ||
112 | +==================================== | ||
113 | + | ||
114 | + You can compile the package for more than one kind of computer at the | ||
115 | +same time, by placing the object files for each architecture in their | ||
116 | +own directory. To do this, you can use GNU `make'. `cd' to the | ||
117 | +directory where you want the object files and executables to go and run | ||
118 | +the `configure' script. `configure' automatically checks for the | ||
119 | +source code in the directory that `configure' is in and in `..'. This | ||
120 | +is known as a "VPATH" build. | ||
121 | + | ||
122 | + With a non-GNU `make', it is safer to compile the package for one | ||
123 | +architecture at a time in the source code directory. After you have | ||
124 | +installed the package for one architecture, use `make distclean' before | ||
125 | +reconfiguring for another architecture. | ||
126 | + | ||
127 | + On MacOS X 10.5 and later systems, you can create libraries and | ||
128 | +executables that work on multiple system types--known as "fat" or | ||
129 | +"universal" binaries--by specifying multiple `-arch' options to the | ||
130 | +compiler but only a single `-arch' option to the preprocessor. Like | ||
131 | +this: | ||
132 | + | ||
133 | + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | ||
134 | + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | ||
135 | + CPP="gcc -E" CXXCPP="g++ -E" | ||
136 | + | ||
137 | + This is not guaranteed to produce working output in all cases, you | ||
138 | +may have to build one architecture at a time and combine the results | ||
139 | +using the `lipo' tool if you have problems. | ||
140 | + | ||
141 | +Installation Names | ||
142 | +================== | ||
143 | + | ||
144 | + By default, `make install' installs the package's commands under | ||
145 | +`/usr/local/bin', include files under `/usr/local/include', etc. You | ||
146 | +can specify an installation prefix other than `/usr/local' by giving | ||
147 | +`configure' the option `--prefix=PREFIX', where PREFIX must be an | ||
148 | +absolute file name. | ||
149 | + | ||
150 | + You can specify separate installation prefixes for | ||
151 | +architecture-specific files and architecture-independent files. If you | ||
152 | +pass the option `--exec-prefix=PREFIX' to `configure', the package uses | ||
153 | +PREFIX as the prefix for installing programs and libraries. | ||
154 | +Documentation and other data files still use the regular prefix. | ||
155 | + | ||
156 | + In addition, if you use an unusual directory layout you can give | ||
157 | +options like `--bindir=DIR' to specify different values for particular | ||
158 | +kinds of files. Run `configure --help' for a list of the directories | ||
159 | +you can set and what kinds of files go in them. In general, the | ||
160 | +default for these options is expressed in terms of `${prefix}', so that | ||
161 | +specifying just `--prefix' will affect all of the other directory | ||
162 | +specifications that were not explicitly provided. | ||
163 | + | ||
164 | + The most portable way to affect installation locations is to pass the | ||
165 | +correct locations to `configure'; however, many packages provide one or | ||
166 | +both of the following shortcuts of passing variable assignments to the | ||
167 | +`make install' command line to change installation locations without | ||
168 | +having to reconfigure or recompile. | ||
169 | + | ||
170 | + The first method involves providing an override variable for each | ||
171 | +affected directory. For example, `make install | ||
172 | +prefix=/alternate/directory' will choose an alternate location for all | ||
173 | +directory configuration variables that were expressed in terms of | ||
174 | +`${prefix}'. Any directories that were specified during `configure', | ||
175 | +but not in terms of `${prefix}', must each be overridden at install | ||
176 | +time for the entire installation to be relocated. The approach of | ||
177 | +makefile variable overrides for each directory variable is required by | ||
178 | +the GNU Coding Standards, and ideally causes no recompilation. | ||
179 | +However, some platforms have known limitations with the semantics of | ||
180 | +shared libraries that end up requiring recompilation when using this | ||
181 | +method, particularly noticeable in packages that use GNU Libtool. | ||
182 | + | ||
183 | + The second method involves providing the `DESTDIR' variable. For | ||
184 | +example, `make install DESTDIR=/alternate/directory' will prepend | ||
185 | +`/alternate/directory' before all installation names. The approach of | ||
186 | +`DESTDIR' overrides is not required by the GNU Coding Standards, and | ||
187 | +does not work on platforms that have drive letters. On the other hand, | ||
188 | +it does better at avoiding recompilation issues, and works well even | ||
189 | +when some directory options were not specified in terms of `${prefix}' | ||
190 | +at `configure' time. | ||
191 | + | ||
192 | +Optional Features | ||
193 | +================= | ||
194 | + | ||
195 | + If the package supports it, you can cause programs to be installed | ||
196 | +with an extra prefix or suffix on their names by giving `configure' the | ||
197 | +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. | ||
198 | + | ||
199 | + Some packages pay attention to `--enable-FEATURE' options to | ||
200 | +`configure', where FEATURE indicates an optional part of the package. | ||
201 | +They may also pay attention to `--with-PACKAGE' options, where PACKAGE | ||
202 | +is something like `gnu-as' or `x' (for the X Window System). The | ||
203 | +`README' should mention any `--enable-' and `--with-' options that the | ||
204 | +package recognizes. | ||
205 | + | ||
206 | + For packages that use the X Window System, `configure' can usually | ||
207 | +find the X include and library files automatically, but if it doesn't, | ||
208 | +you can use the `configure' options `--x-includes=DIR' and | ||
209 | +`--x-libraries=DIR' to specify their locations. | ||
210 | + | ||
211 | + Some packages offer the ability to configure how verbose the | ||
212 | +execution of `make' will be. For these packages, running `./configure | ||
213 | +--enable-silent-rules' sets the default to minimal output, which can be | ||
214 | +overridden with `make V=1'; while running `./configure | ||
215 | +--disable-silent-rules' sets the default to verbose, which can be | ||
216 | +overridden with `make V=0'. | ||
217 | + | ||
218 | +Particular systems | ||
219 | +================== | ||
220 | + | ||
221 | + On HP-UX, the default C compiler is not ANSI C compatible. If GNU | ||
222 | +CC is not installed, it is recommended to use the following options in | ||
223 | +order to use an ANSI C compiler: | ||
224 | + | ||
225 | + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" | ||
226 | + | ||
227 | +and if that doesn't work, install pre-built binaries of GCC for HP-UX. | ||
228 | + | ||
229 | + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot | ||
230 | +parse its `<wchar.h>' header file. The option `-nodtk' can be used as | ||
231 | +a workaround. If GNU CC is not installed, it is therefore recommended | ||
232 | +to try | ||
233 | + | ||
234 | + ./configure CC="cc" | ||
235 | + | ||
236 | +and if that doesn't work, try | ||
237 | + | ||
238 | + ./configure CC="cc -nodtk" | ||
239 | + | ||
240 | + On Solaris, don't put `/usr/ucb' early in your `PATH'. This | ||
241 | +directory contains several dysfunctional programs; working variants of | ||
242 | +these programs are available in `/usr/bin'. So, if you need `/usr/ucb' | ||
243 | +in your `PATH', put it _after_ `/usr/bin'. | ||
244 | + | ||
245 | + On Haiku, software installed for all users goes in `/boot/common', | ||
246 | +not `/usr/local'. It is recommended to use the following options: | ||
247 | + | ||
248 | + ./configure --prefix=/boot/common | ||
249 | + | ||
250 | +Specifying the System Type | ||
251 | +========================== | ||
252 | + | ||
253 | + There may be some features `configure' cannot figure out | ||
254 | +automatically, but needs to determine by the type of machine the package | ||
255 | +will run on. Usually, assuming the package is built to be run on the | ||
256 | +_same_ architectures, `configure' can figure that out, but if it prints | ||
257 | +a message saying it cannot guess the machine type, give it the | ||
258 | +`--build=TYPE' option. TYPE can either be a short name for the system | ||
259 | +type, such as `sun4', or a canonical name which has the form: | ||
260 | + | ||
261 | + CPU-COMPANY-SYSTEM | ||
262 | + | ||
263 | +where SYSTEM can have one of these forms: | ||
264 | + | ||
265 | + OS | ||
266 | + KERNEL-OS | ||
267 | + | ||
268 | + See the file `config.sub' for the possible values of each field. If | ||
269 | +`config.sub' isn't included in this package, then this package doesn't | ||
270 | +need to know the machine type. | ||
271 | + | ||
272 | + If you are _building_ compiler tools for cross-compiling, you should | ||
273 | +use the option `--target=TYPE' to select the type of system they will | ||
274 | +produce code for. | ||
275 | + | ||
276 | + If you want to _use_ a cross compiler, that generates code for a | ||
277 | +platform different from the build platform, you should specify the | ||
278 | +"host" platform (i.e., that on which the generated programs will | ||
279 | +eventually be run) with `--host=TYPE'. | ||
280 | + | ||
281 | +Sharing Defaults | ||
282 | +================ | ||
283 | + | ||
284 | + If you want to set default values for `configure' scripts to share, | ||
285 | +you can create a site shell script called `config.site' that gives | ||
286 | +default values for variables like `CC', `cache_file', and `prefix'. | ||
287 | +`configure' looks for `PREFIX/share/config.site' if it exists, then | ||
288 | +`PREFIX/etc/config.site' if it exists. Or, you can set the | ||
289 | +`CONFIG_SITE' environment variable to the location of the site script. | ||
290 | +A warning: not all `configure' scripts look for a site script. | ||
291 | + | ||
292 | +Defining Variables | ||
293 | +================== | ||
294 | + | ||
295 | + Variables not defined in a site shell script can be set in the | ||
296 | +environment passed to `configure'. However, some packages may run | ||
297 | +configure again during the build, and the customized values of these | ||
298 | +variables may be lost. In order to avoid this problem, you should set | ||
299 | +them in the `configure' command line, using `VAR=value'. For example: | ||
300 | + | ||
301 | + ./configure CC=/usr/local2/bin/gcc | ||
302 | + | ||
303 | +causes the specified `gcc' to be used as the C compiler (unless it is | ||
304 | +overridden in the site shell script). | ||
305 | + | ||
306 | +Unfortunately, this technique does not work for `CONFIG_SHELL' due to | ||
307 | +an Autoconf bug. Until the bug is fixed you can use this workaround: | ||
308 | + | ||
309 | + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash | ||
310 | + | ||
311 | +`configure' Invocation | ||
312 | +====================== | ||
313 | + | ||
314 | + `configure' recognizes the following options to control how it | ||
315 | +operates. | ||
316 | + | ||
317 | +`--help' | ||
318 | +`-h' | ||
319 | + Print a summary of all of the options to `configure', and exit. | ||
320 | + | ||
321 | +`--help=short' | ||
322 | +`--help=recursive' | ||
323 | + Print a summary of the options unique to this package's | ||
324 | + `configure', and exit. The `short' variant lists options used | ||
325 | + only in the top level, while the `recursive' variant lists options | ||
326 | + also present in any nested packages. | ||
327 | + | ||
328 | +`--version' | ||
329 | +`-V' | ||
330 | + Print the version of Autoconf used to generate the `configure' | ||
331 | + script, and exit. | ||
332 | + | ||
333 | +`--cache-file=FILE' | ||
334 | + Enable the cache: use and save the results of the tests in FILE, | ||
335 | + traditionally `config.cache'. FILE defaults to `/dev/null' to | ||
336 | + disable caching. | ||
337 | + | ||
338 | +`--config-cache' | ||
339 | +`-C' | ||
340 | + Alias for `--cache-file=config.cache'. | ||
341 | + | ||
342 | +`--quiet' | ||
343 | +`--silent' | ||
344 | +`-q' | ||
345 | + Do not print messages saying which checks are being made. To | ||
346 | + suppress all normal output, redirect it to `/dev/null' (any error | ||
347 | + messages will still be shown). | ||
348 | + | ||
349 | +`--srcdir=DIR' | ||
350 | + Look for the package's source code in directory DIR. Usually | ||
351 | + `configure' can determine that directory automatically. | ||
352 | + | ||
353 | +`--prefix=DIR' | ||
354 | + Use DIR as the installation prefix. *note Installation Names:: | ||
355 | + for more details, including other options available for fine-tuning | ||
356 | + the installation locations. | ||
357 | + | ||
358 | +`--no-create' | ||
359 | +`-n' | ||
360 | + Run the configure checks, but stop before creating any output | ||
361 | + files. | ||
362 | + | ||
363 | +`configure' also accepts some other, not widely useful, options. Run | ||
364 | +`configure --help' for more details. | ||
365 | + |
Makefile.am
0 → 100644
1 | +ACLOCAL_AMFLAGS = -I m4 | ||
2 | + | ||
3 | +lib_LTLIBRARIES = libbigpoint.la | ||
4 | +libbigpoint_la_SOURCES = base64.c bigpoint_cclass.c bigpoint_crypt.c bigpoint_dyntype.c \ | ||
5 | + bigpoint_hash.c bigpoint_packet.c | ||
6 | +libbigpoint_la_CFLAGS = -I include | ||
7 | +libbigpoint_la_LDFLAGS = -version-info 0:0:0 | ||
8 | + | ||
9 | + | ||
10 | +bin_PROGRAMS = create_token | ||
11 | +create_token_SOURCES = createToken.c | ||
12 | +create_token_LDADD = libbigpoint.la $(LIBOBJS) | ||
13 | +create_token_CFLAGS = -I include | ||
14 | + | ||
15 | +SUBDIRS = include |
Makefile.in
0 → 100644
1 | +# Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
2 | +# @configure_input@ | ||
3 | + | ||
4 | +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
5 | +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
6 | +# Inc. | ||
7 | +# This Makefile.in is free software; the Free Software Foundation | ||
8 | +# gives unlimited permission to copy and/or distribute it, | ||
9 | +# with or without modifications, as long as this notice is preserved. | ||
10 | + | ||
11 | +# This program is distributed in the hope that it will be useful, | ||
12 | +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
13 | +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
14 | +# PARTICULAR PURPOSE. | ||
15 | + | ||
16 | +@SET_MAKE@ | ||
17 | + | ||
18 | + | ||
19 | +VPATH = @srcdir@ | ||
20 | +pkgdatadir = $(datadir)/@PACKAGE@ | ||
21 | +pkgincludedir = $(includedir)/@PACKAGE@ | ||
22 | +pkglibdir = $(libdir)/@PACKAGE@ | ||
23 | +pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
24 | +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
25 | +install_sh_DATA = $(install_sh) -c -m 644 | ||
26 | +install_sh_PROGRAM = $(install_sh) -c | ||
27 | +install_sh_SCRIPT = $(install_sh) -c | ||
28 | +INSTALL_HEADER = $(INSTALL_DATA) | ||
29 | +transform = $(program_transform_name) | ||
30 | +NORMAL_INSTALL = : | ||
31 | +PRE_INSTALL = : | ||
32 | +POST_INSTALL = : | ||
33 | +NORMAL_UNINSTALL = : | ||
34 | +PRE_UNINSTALL = : | ||
35 | +POST_UNINSTALL = : | ||
36 | +build_triplet = @build@ | ||
37 | +host_triplet = @host@ | ||
38 | +bin_PROGRAMS = create_token$(EXEEXT) | ||
39 | +subdir = . | ||
40 | +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ | ||
41 | + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ | ||
42 | + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ | ||
43 | + compile config.guess config.sub depcomp install-sh ltmain.sh \ | ||
44 | + missing | ||
45 | +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
46 | +am__aclocal_m4_deps = $(top_srcdir)/configure.ac | ||
47 | +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
48 | + $(ACLOCAL_M4) | ||
49 | +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | ||
50 | + configure.lineno config.status.lineno | ||
51 | +mkinstalldirs = $(install_sh) -d | ||
52 | +CONFIG_HEADER = config.h | ||
53 | +CONFIG_CLEAN_FILES = | ||
54 | +CONFIG_CLEAN_VPATH_FILES = | ||
55 | +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
56 | +am__vpath_adj = case $$p in \ | ||
57 | + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
58 | + *) f=$$p;; \ | ||
59 | + esac; | ||
60 | +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
61 | +am__install_max = 40 | ||
62 | +am__nobase_strip_setup = \ | ||
63 | + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
64 | +am__nobase_strip = \ | ||
65 | + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
66 | +am__nobase_list = $(am__nobase_strip_setup); \ | ||
67 | + for p in $$list; do echo "$$p $$p"; done | \ | ||
68 | + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
69 | + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
70 | + if (++n[$$2] == $(am__install_max)) \ | ||
71 | + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
72 | + END { for (dir in files) print dir, files[dir] }' | ||
73 | +am__base_list = \ | ||
74 | + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
75 | + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
76 | +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" | ||
77 | +LTLIBRARIES = $(lib_LTLIBRARIES) | ||
78 | +libbigpoint_la_LIBADD = | ||
79 | +am_libbigpoint_la_OBJECTS = libbigpoint_la-base64.lo \ | ||
80 | + libbigpoint_la-bigpoint_cclass.lo \ | ||
81 | + libbigpoint_la-bigpoint_crypt.lo \ | ||
82 | + libbigpoint_la-bigpoint_dyntype.lo \ | ||
83 | + libbigpoint_la-bigpoint_hash.lo \ | ||
84 | + libbigpoint_la-bigpoint_packet.lo | ||
85 | +libbigpoint_la_OBJECTS = $(am_libbigpoint_la_OBJECTS) | ||
86 | +libbigpoint_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
87 | + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libbigpoint_la_CFLAGS) \ | ||
88 | + $(CFLAGS) $(libbigpoint_la_LDFLAGS) $(LDFLAGS) -o $@ | ||
89 | +PROGRAMS = $(bin_PROGRAMS) | ||
90 | +am_create_token_OBJECTS = create_token-createToken.$(OBJEXT) | ||
91 | +create_token_OBJECTS = $(am_create_token_OBJECTS) | ||
92 | +create_token_DEPENDENCIES = libbigpoint.la $(LIBOBJS) | ||
93 | +create_token_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
94 | + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(create_token_CFLAGS) \ | ||
95 | + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
96 | +DEFAULT_INCLUDES = -I.@am__isrc@ | ||
97 | +depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
98 | +am__depfiles_maybe = depfiles | ||
99 | +am__mv = mv -f | ||
100 | +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
101 | + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
102 | +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
103 | + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
104 | + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
105 | +CCLD = $(CC) | ||
106 | +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ | ||
107 | + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ | ||
108 | + $(LDFLAGS) -o $@ | ||
109 | +SOURCES = $(libbigpoint_la_SOURCES) $(create_token_SOURCES) | ||
110 | +DIST_SOURCES = $(libbigpoint_la_SOURCES) $(create_token_SOURCES) | ||
111 | +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | ||
112 | + html-recursive info-recursive install-data-recursive \ | ||
113 | + install-dvi-recursive install-exec-recursive \ | ||
114 | + install-html-recursive install-info-recursive \ | ||
115 | + install-pdf-recursive install-ps-recursive install-recursive \ | ||
116 | + installcheck-recursive installdirs-recursive pdf-recursive \ | ||
117 | + ps-recursive uninstall-recursive | ||
118 | +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
119 | + distclean-recursive maintainer-clean-recursive | ||
120 | +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | ||
121 | + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | ||
122 | + distdir dist dist-all distcheck | ||
123 | +ETAGS = etags | ||
124 | +CTAGS = ctags | ||
125 | +DIST_SUBDIRS = $(SUBDIRS) | ||
126 | +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
127 | +distdir = $(PACKAGE)-$(VERSION) | ||
128 | +top_distdir = $(distdir) | ||
129 | +am__remove_distdir = \ | ||
130 | + { test ! -d "$(distdir)" \ | ||
131 | + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | ||
132 | + && rm -fr "$(distdir)"; }; } | ||
133 | +am__relativize = \ | ||
134 | + dir0=`pwd`; \ | ||
135 | + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
136 | + sed_rest='s,^[^/]*/*,,'; \ | ||
137 | + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
138 | + sed_butlast='s,/*[^/]*$$,,'; \ | ||
139 | + while test -n "$$dir1"; do \ | ||
140 | + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
141 | + if test "$$first" != "."; then \ | ||
142 | + if test "$$first" = ".."; then \ | ||
143 | + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
144 | + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
145 | + else \ | ||
146 | + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
147 | + if test "$$first2" = "$$first"; then \ | ||
148 | + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
149 | + else \ | ||
150 | + dir2="../$$dir2"; \ | ||
151 | + fi; \ | ||
152 | + dir0="$$dir0"/"$$first"; \ | ||
153 | + fi; \ | ||
154 | + fi; \ | ||
155 | + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
156 | + done; \ | ||
157 | + reldir="$$dir2" | ||
158 | +DIST_ARCHIVES = $(distdir).tar.gz | ||
159 | +GZIP_ENV = --best | ||
160 | +distuninstallcheck_listfiles = find . -type f -print | ||
161 | +distcleancheck_listfiles = find . -type f -print | ||
162 | +ACLOCAL = @ACLOCAL@ | ||
163 | +AMTAR = @AMTAR@ | ||
164 | +AR = @AR@ | ||
165 | +AUTOCONF = @AUTOCONF@ | ||
166 | +AUTOHEADER = @AUTOHEADER@ | ||
167 | +AUTOMAKE = @AUTOMAKE@ | ||
168 | +AWK = @AWK@ | ||
169 | +CC = @CC@ | ||
170 | +CCDEPMODE = @CCDEPMODE@ | ||
171 | +CFLAGS = @CFLAGS@ | ||
172 | +CPP = @CPP@ | ||
173 | +CPPFLAGS = @CPPFLAGS@ | ||
174 | +CYGPATH_W = @CYGPATH_W@ | ||
175 | +DEFS = @DEFS@ | ||
176 | +DEPDIR = @DEPDIR@ | ||
177 | +DLLTOOL = @DLLTOOL@ | ||
178 | +DSYMUTIL = @DSYMUTIL@ | ||
179 | +DUMPBIN = @DUMPBIN@ | ||
180 | +ECHO_C = @ECHO_C@ | ||
181 | +ECHO_N = @ECHO_N@ | ||
182 | +ECHO_T = @ECHO_T@ | ||
183 | +EGREP = @EGREP@ | ||
184 | +EXEEXT = @EXEEXT@ | ||
185 | +FGREP = @FGREP@ | ||
186 | +GREP = @GREP@ | ||
187 | +INSTALL = @INSTALL@ | ||
188 | +INSTALL_DATA = @INSTALL_DATA@ | ||
189 | +INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
190 | +INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
191 | +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
192 | +LD = @LD@ | ||
193 | +LDFLAGS = @LDFLAGS@ | ||
194 | +LIBOBJS = @LIBOBJS@ | ||
195 | +LIBS = @LIBS@ | ||
196 | +LIBTOOL = @LIBTOOL@ | ||
197 | +LIPO = @LIPO@ | ||
198 | +LN_S = @LN_S@ | ||
199 | +LTLIBOBJS = @LTLIBOBJS@ | ||
200 | +MAKEINFO = @MAKEINFO@ | ||
201 | +MANIFEST_TOOL = @MANIFEST_TOOL@ | ||
202 | +MKDIR_P = @MKDIR_P@ | ||
203 | +NM = @NM@ | ||
204 | +NMEDIT = @NMEDIT@ | ||
205 | +OBJDUMP = @OBJDUMP@ | ||
206 | +OBJEXT = @OBJEXT@ | ||
207 | +OTOOL = @OTOOL@ | ||
208 | +OTOOL64 = @OTOOL64@ | ||
209 | +PACKAGE = @PACKAGE@ | ||
210 | +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
211 | +PACKAGE_NAME = @PACKAGE_NAME@ | ||
212 | +PACKAGE_STRING = @PACKAGE_STRING@ | ||
213 | +PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
214 | +PACKAGE_URL = @PACKAGE_URL@ | ||
215 | +PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
216 | +PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
217 | +RANLIB = @RANLIB@ | ||
218 | +SED = @SED@ | ||
219 | +SET_MAKE = @SET_MAKE@ | ||
220 | +SHELL = @SHELL@ | ||
221 | +STRIP = @STRIP@ | ||
222 | +VERSION = @VERSION@ | ||
223 | +abs_builddir = @abs_builddir@ | ||
224 | +abs_srcdir = @abs_srcdir@ | ||
225 | +abs_top_builddir = @abs_top_builddir@ | ||
226 | +abs_top_srcdir = @abs_top_srcdir@ | ||
227 | +ac_ct_AR = @ac_ct_AR@ | ||
228 | +ac_ct_CC = @ac_ct_CC@ | ||
229 | +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
230 | +am__include = @am__include@ | ||
231 | +am__leading_dot = @am__leading_dot@ | ||
232 | +am__quote = @am__quote@ | ||
233 | +am__tar = @am__tar@ | ||
234 | +am__untar = @am__untar@ | ||
235 | +bindir = @bindir@ | ||
236 | +build = @build@ | ||
237 | +build_alias = @build_alias@ | ||
238 | +build_cpu = @build_cpu@ | ||
239 | +build_os = @build_os@ | ||
240 | +build_vendor = @build_vendor@ | ||
241 | +builddir = @builddir@ | ||
242 | +datadir = @datadir@ | ||
243 | +datarootdir = @datarootdir@ | ||
244 | +docdir = @docdir@ | ||
245 | +dvidir = @dvidir@ | ||
246 | +exec_prefix = @exec_prefix@ | ||
247 | +host = @host@ | ||
248 | +host_alias = @host_alias@ | ||
249 | +host_cpu = @host_cpu@ | ||
250 | +host_os = @host_os@ | ||
251 | +host_vendor = @host_vendor@ | ||
252 | +htmldir = @htmldir@ | ||
253 | +includedir = @includedir@ | ||
254 | +infodir = @infodir@ | ||
255 | +install_sh = @install_sh@ | ||
256 | +libdir = @libdir@ | ||
257 | +libexecdir = @libexecdir@ | ||
258 | +localedir = @localedir@ | ||
259 | +localstatedir = @localstatedir@ | ||
260 | +mandir = @mandir@ | ||
261 | +mkdir_p = @mkdir_p@ | ||
262 | +oldincludedir = @oldincludedir@ | ||
263 | +pdfdir = @pdfdir@ | ||
264 | +prefix = @prefix@ | ||
265 | +program_transform_name = @program_transform_name@ | ||
266 | +psdir = @psdir@ | ||
267 | +sbindir = @sbindir@ | ||
268 | +sharedstatedir = @sharedstatedir@ | ||
269 | +srcdir = @srcdir@ | ||
270 | +sysconfdir = @sysconfdir@ | ||
271 | +target_alias = @target_alias@ | ||
272 | +top_build_prefix = @top_build_prefix@ | ||
273 | +top_builddir = @top_builddir@ | ||
274 | +top_srcdir = @top_srcdir@ | ||
275 | +ACLOCAL_AMFLAGS = -I m4 | ||
276 | +lib_LTLIBRARIES = libbigpoint.la | ||
277 | +libbigpoint_la_SOURCES = base64.c bigpoint_cclass.c bigpoint_crypt.c bigpoint_dyntype.c \ | ||
278 | + bigpoint_hash.c bigpoint_packet.c | ||
279 | + | ||
280 | +libbigpoint_la_CFLAGS = -I include | ||
281 | +libbigpoint_la_LDFLAGS = -version-info 0:0:0 | ||
282 | +create_token_SOURCES = createToken.c | ||
283 | +create_token_LDADD = libbigpoint.la $(LIBOBJS) | ||
284 | +create_token_CFLAGS = -I include | ||
285 | +SUBDIRS = include | ||
286 | +all: config.h | ||
287 | + $(MAKE) $(AM_MAKEFLAGS) all-recursive | ||
288 | + | ||
289 | +.SUFFIXES: | ||
290 | +.SUFFIXES: .c .lo .o .obj | ||
291 | +am--refresh: | ||
292 | + @: | ||
293 | +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
294 | + @for dep in $?; do \ | ||
295 | + case '$(am__configure_deps)' in \ | ||
296 | + *$$dep*) \ | ||
297 | + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ | ||
298 | + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ | ||
299 | + && exit 0; \ | ||
300 | + exit 1;; \ | ||
301 | + esac; \ | ||
302 | + done; \ | ||
303 | + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ | ||
304 | + $(am__cd) $(top_srcdir) && \ | ||
305 | + $(AUTOMAKE) --gnu Makefile | ||
306 | +.PRECIOUS: Makefile | ||
307 | +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
308 | + @case '$?' in \ | ||
309 | + *config.status*) \ | ||
310 | + echo ' $(SHELL) ./config.status'; \ | ||
311 | + $(SHELL) ./config.status;; \ | ||
312 | + *) \ | ||
313 | + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | ||
314 | + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | ||
315 | + esac; | ||
316 | + | ||
317 | +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
318 | + $(SHELL) ./config.status --recheck | ||
319 | + | ||
320 | +$(top_srcdir)/configure: $(am__configure_deps) | ||
321 | + $(am__cd) $(srcdir) && $(AUTOCONF) | ||
322 | +$(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
323 | + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | ||
324 | +$(am__aclocal_m4_deps): | ||
325 | + | ||
326 | +config.h: stamp-h1 | ||
327 | + @if test ! -f $@; then \ | ||
328 | + rm -f stamp-h1; \ | ||
329 | + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | ||
330 | + else :; fi | ||
331 | + | ||
332 | +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status | ||
333 | + @rm -f stamp-h1 | ||
334 | + cd $(top_builddir) && $(SHELL) ./config.status config.h | ||
335 | +$(srcdir)/config.h.in: $(am__configure_deps) | ||
336 | + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) | ||
337 | + rm -f stamp-h1 | ||
338 | + touch $@ | ||
339 | + | ||
340 | +distclean-hdr: | ||
341 | + -rm -f config.h stamp-h1 | ||
342 | +install-libLTLIBRARIES: $(lib_LTLIBRARIES) | ||
343 | + @$(NORMAL_INSTALL) | ||
344 | + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" | ||
345 | + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | ||
346 | + list2=; for p in $$list; do \ | ||
347 | + if test -f $$p; then \ | ||
348 | + list2="$$list2 $$p"; \ | ||
349 | + else :; fi; \ | ||
350 | + done; \ | ||
351 | + test -z "$$list2" || { \ | ||
352 | + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ | ||
353 | + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ | ||
354 | + } | ||
355 | + | ||
356 | +uninstall-libLTLIBRARIES: | ||
357 | + @$(NORMAL_UNINSTALL) | ||
358 | + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ | ||
359 | + for p in $$list; do \ | ||
360 | + $(am__strip_dir) \ | ||
361 | + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ | ||
362 | + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ | ||
363 | + done | ||
364 | + | ||
365 | +clean-libLTLIBRARIES: | ||
366 | + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | ||
367 | + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | ||
368 | + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ | ||
369 | + test "$$dir" != "$$p" || dir=.; \ | ||
370 | + echo "rm -f \"$${dir}/so_locations\""; \ | ||
371 | + rm -f "$${dir}/so_locations"; \ | ||
372 | + done | ||
373 | +libbigpoint.la: $(libbigpoint_la_OBJECTS) $(libbigpoint_la_DEPENDENCIES) | ||
374 | + $(libbigpoint_la_LINK) -rpath $(libdir) $(libbigpoint_la_OBJECTS) $(libbigpoint_la_LIBADD) $(LIBS) | ||
375 | +install-binPROGRAMS: $(bin_PROGRAMS) | ||
376 | + @$(NORMAL_INSTALL) | ||
377 | + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" | ||
378 | + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | ||
379 | + for p in $$list; do echo "$$p $$p"; done | \ | ||
380 | + sed 's/$(EXEEXT)$$//' | \ | ||
381 | + while read p p1; do if test -f $$p || test -f $$p1; \ | ||
382 | + then echo "$$p"; echo "$$p"; else :; fi; \ | ||
383 | + done | \ | ||
384 | + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | ||
385 | + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | ||
386 | + sed 'N;N;N;s,\n, ,g' | \ | ||
387 | + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | ||
388 | + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | ||
389 | + if ($$2 == $$4) files[d] = files[d] " " $$1; \ | ||
390 | + else { print "f", $$3 "/" $$4, $$1; } } \ | ||
391 | + END { for (d in files) print "f", d, files[d] }' | \ | ||
392 | + while read type dir files; do \ | ||
393 | + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | ||
394 | + test -z "$$files" || { \ | ||
395 | + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | ||
396 | + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | ||
397 | + } \ | ||
398 | + ; done | ||
399 | + | ||
400 | +uninstall-binPROGRAMS: | ||
401 | + @$(NORMAL_UNINSTALL) | ||
402 | + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | ||
403 | + files=`for p in $$list; do echo "$$p"; done | \ | ||
404 | + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | ||
405 | + -e 's/$$/$(EXEEXT)/' `; \ | ||
406 | + test -n "$$list" || exit 0; \ | ||
407 | + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | ||
408 | + cd "$(DESTDIR)$(bindir)" && rm -f $$files | ||
409 | + | ||
410 | +clean-binPROGRAMS: | ||
411 | + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ | ||
412 | + echo " rm -f" $$list; \ | ||
413 | + rm -f $$list || exit $$?; \ | ||
414 | + test -n "$(EXEEXT)" || exit 0; \ | ||
415 | + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ | ||
416 | + echo " rm -f" $$list; \ | ||
417 | + rm -f $$list | ||
418 | +create_token$(EXEEXT): $(create_token_OBJECTS) $(create_token_DEPENDENCIES) | ||
419 | + @rm -f create_token$(EXEEXT) | ||
420 | + $(create_token_LINK) $(create_token_OBJECTS) $(create_token_LDADD) $(LIBS) | ||
421 | + | ||
422 | +mostlyclean-compile: | ||
423 | + -rm -f *.$(OBJEXT) | ||
424 | + | ||
425 | +distclean-compile: | ||
426 | + -rm -f *.tab.c | ||
427 | + | ||
428 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/create_token-createToken.Po@am__quote@ | ||
429 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbigpoint_la-base64.Plo@am__quote@ | ||
430 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbigpoint_la-bigpoint_cclass.Plo@am__quote@ | ||
431 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbigpoint_la-bigpoint_crypt.Plo@am__quote@ | ||
432 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbigpoint_la-bigpoint_dyntype.Plo@am__quote@ | ||
433 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbigpoint_la-bigpoint_hash.Plo@am__quote@ | ||
434 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbigpoint_la-bigpoint_packet.Plo@am__quote@ | ||
435 | + | ||
436 | +.c.o: | ||
437 | +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
438 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
439 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
440 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
441 | +@am__fastdepCC_FALSE@ $(COMPILE) -c $< | ||
442 | + | ||
443 | +.c.obj: | ||
444 | +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | ||
445 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | ||
446 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | ||
447 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
448 | +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | ||
449 | + | ||
450 | +.c.lo: | ||
451 | +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | ||
452 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | ||
453 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ | ||
454 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
455 | +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< | ||
456 | + | ||
457 | +libbigpoint_la-base64.lo: base64.c | ||
458 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -MT libbigpoint_la-base64.lo -MD -MP -MF $(DEPDIR)/libbigpoint_la-base64.Tpo -c -o libbigpoint_la-base64.lo `test -f 'base64.c' || echo '$(srcdir)/'`base64.c | ||
459 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbigpoint_la-base64.Tpo $(DEPDIR)/libbigpoint_la-base64.Plo | ||
460 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='base64.c' object='libbigpoint_la-base64.lo' libtool=yes @AMDEPBACKSLASH@ | ||
461 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
462 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -c -o libbigpoint_la-base64.lo `test -f 'base64.c' || echo '$(srcdir)/'`base64.c | ||
463 | + | ||
464 | +libbigpoint_la-bigpoint_cclass.lo: bigpoint_cclass.c | ||
465 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -MT libbigpoint_la-bigpoint_cclass.lo -MD -MP -MF $(DEPDIR)/libbigpoint_la-bigpoint_cclass.Tpo -c -o libbigpoint_la-bigpoint_cclass.lo `test -f 'bigpoint_cclass.c' || echo '$(srcdir)/'`bigpoint_cclass.c | ||
466 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbigpoint_la-bigpoint_cclass.Tpo $(DEPDIR)/libbigpoint_la-bigpoint_cclass.Plo | ||
467 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bigpoint_cclass.c' object='libbigpoint_la-bigpoint_cclass.lo' libtool=yes @AMDEPBACKSLASH@ | ||
468 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
469 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -c -o libbigpoint_la-bigpoint_cclass.lo `test -f 'bigpoint_cclass.c' || echo '$(srcdir)/'`bigpoint_cclass.c | ||
470 | + | ||
471 | +libbigpoint_la-bigpoint_crypt.lo: bigpoint_crypt.c | ||
472 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -MT libbigpoint_la-bigpoint_crypt.lo -MD -MP -MF $(DEPDIR)/libbigpoint_la-bigpoint_crypt.Tpo -c -o libbigpoint_la-bigpoint_crypt.lo `test -f 'bigpoint_crypt.c' || echo '$(srcdir)/'`bigpoint_crypt.c | ||
473 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbigpoint_la-bigpoint_crypt.Tpo $(DEPDIR)/libbigpoint_la-bigpoint_crypt.Plo | ||
474 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bigpoint_crypt.c' object='libbigpoint_la-bigpoint_crypt.lo' libtool=yes @AMDEPBACKSLASH@ | ||
475 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
476 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -c -o libbigpoint_la-bigpoint_crypt.lo `test -f 'bigpoint_crypt.c' || echo '$(srcdir)/'`bigpoint_crypt.c | ||
477 | + | ||
478 | +libbigpoint_la-bigpoint_dyntype.lo: bigpoint_dyntype.c | ||
479 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -MT libbigpoint_la-bigpoint_dyntype.lo -MD -MP -MF $(DEPDIR)/libbigpoint_la-bigpoint_dyntype.Tpo -c -o libbigpoint_la-bigpoint_dyntype.lo `test -f 'bigpoint_dyntype.c' || echo '$(srcdir)/'`bigpoint_dyntype.c | ||
480 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbigpoint_la-bigpoint_dyntype.Tpo $(DEPDIR)/libbigpoint_la-bigpoint_dyntype.Plo | ||
481 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bigpoint_dyntype.c' object='libbigpoint_la-bigpoint_dyntype.lo' libtool=yes @AMDEPBACKSLASH@ | ||
482 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
483 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -c -o libbigpoint_la-bigpoint_dyntype.lo `test -f 'bigpoint_dyntype.c' || echo '$(srcdir)/'`bigpoint_dyntype.c | ||
484 | + | ||
485 | +libbigpoint_la-bigpoint_hash.lo: bigpoint_hash.c | ||
486 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -MT libbigpoint_la-bigpoint_hash.lo -MD -MP -MF $(DEPDIR)/libbigpoint_la-bigpoint_hash.Tpo -c -o libbigpoint_la-bigpoint_hash.lo `test -f 'bigpoint_hash.c' || echo '$(srcdir)/'`bigpoint_hash.c | ||
487 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbigpoint_la-bigpoint_hash.Tpo $(DEPDIR)/libbigpoint_la-bigpoint_hash.Plo | ||
488 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bigpoint_hash.c' object='libbigpoint_la-bigpoint_hash.lo' libtool=yes @AMDEPBACKSLASH@ | ||
489 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
490 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -c -o libbigpoint_la-bigpoint_hash.lo `test -f 'bigpoint_hash.c' || echo '$(srcdir)/'`bigpoint_hash.c | ||
491 | + | ||
492 | +libbigpoint_la-bigpoint_packet.lo: bigpoint_packet.c | ||
493 | +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -MT libbigpoint_la-bigpoint_packet.lo -MD -MP -MF $(DEPDIR)/libbigpoint_la-bigpoint_packet.Tpo -c -o libbigpoint_la-bigpoint_packet.lo `test -f 'bigpoint_packet.c' || echo '$(srcdir)/'`bigpoint_packet.c | ||
494 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libbigpoint_la-bigpoint_packet.Tpo $(DEPDIR)/libbigpoint_la-bigpoint_packet.Plo | ||
495 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bigpoint_packet.c' object='libbigpoint_la-bigpoint_packet.lo' libtool=yes @AMDEPBACKSLASH@ | ||
496 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
497 | +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbigpoint_la_CFLAGS) $(CFLAGS) -c -o libbigpoint_la-bigpoint_packet.lo `test -f 'bigpoint_packet.c' || echo '$(srcdir)/'`bigpoint_packet.c | ||
498 | + | ||
499 | +create_token-createToken.o: createToken.c | ||
500 | +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(create_token_CFLAGS) $(CFLAGS) -MT create_token-createToken.o -MD -MP -MF $(DEPDIR)/create_token-createToken.Tpo -c -o create_token-createToken.o `test -f 'createToken.c' || echo '$(srcdir)/'`createToken.c | ||
501 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/create_token-createToken.Tpo $(DEPDIR)/create_token-createToken.Po | ||
502 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='createToken.c' object='create_token-createToken.o' libtool=no @AMDEPBACKSLASH@ | ||
503 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
504 | +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(create_token_CFLAGS) $(CFLAGS) -c -o create_token-createToken.o `test -f 'createToken.c' || echo '$(srcdir)/'`createToken.c | ||
505 | + | ||
506 | +create_token-createToken.obj: createToken.c | ||
507 | +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(create_token_CFLAGS) $(CFLAGS) -MT create_token-createToken.obj -MD -MP -MF $(DEPDIR)/create_token-createToken.Tpo -c -o create_token-createToken.obj `if test -f 'createToken.c'; then $(CYGPATH_W) 'createToken.c'; else $(CYGPATH_W) '$(srcdir)/createToken.c'; fi` | ||
508 | +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/create_token-createToken.Tpo $(DEPDIR)/create_token-createToken.Po | ||
509 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='createToken.c' object='create_token-createToken.obj' libtool=no @AMDEPBACKSLASH@ | ||
510 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | ||
511 | +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(create_token_CFLAGS) $(CFLAGS) -c -o create_token-createToken.obj `if test -f 'createToken.c'; then $(CYGPATH_W) 'createToken.c'; else $(CYGPATH_W) '$(srcdir)/createToken.c'; fi` | ||
512 | + | ||
513 | +mostlyclean-libtool: | ||
514 | + -rm -f *.lo | ||
515 | + | ||
516 | +clean-libtool: | ||
517 | + -rm -rf .libs _libs | ||
518 | + | ||
519 | +distclean-libtool: | ||
520 | + -rm -f libtool config.lt | ||
521 | + | ||
522 | +# This directory's subdirectories are mostly independent; you can cd | ||
523 | +# into them and run `make' without going through this Makefile. | ||
524 | +# To change the values of `make' variables: instead of editing Makefiles, | ||
525 | +# (1) if the variable is set in `config.status', edit `config.status' | ||
526 | +# (which will cause the Makefiles to be regenerated when you run `make'); | ||
527 | +# (2) otherwise, pass the desired values on the `make' command line. | ||
528 | +$(RECURSIVE_TARGETS): | ||
529 | + @fail= failcom='exit 1'; \ | ||
530 | + for f in x $$MAKEFLAGS; do \ | ||
531 | + case $$f in \ | ||
532 | + *=* | --[!k]*);; \ | ||
533 | + *k*) failcom='fail=yes';; \ | ||
534 | + esac; \ | ||
535 | + done; \ | ||
536 | + dot_seen=no; \ | ||
537 | + target=`echo $@ | sed s/-recursive//`; \ | ||
538 | + list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
539 | + echo "Making $$target in $$subdir"; \ | ||
540 | + if test "$$subdir" = "."; then \ | ||
541 | + dot_seen=yes; \ | ||
542 | + local_target="$$target-am"; \ | ||
543 | + else \ | ||
544 | + local_target="$$target"; \ | ||
545 | + fi; \ | ||
546 | + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
547 | + || eval $$failcom; \ | ||
548 | + done; \ | ||
549 | + if test "$$dot_seen" = "no"; then \ | ||
550 | + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||
551 | + fi; test -z "$$fail" | ||
552 | + | ||
553 | +$(RECURSIVE_CLEAN_TARGETS): | ||
554 | + @fail= failcom='exit 1'; \ | ||
555 | + for f in x $$MAKEFLAGS; do \ | ||
556 | + case $$f in \ | ||
557 | + *=* | --[!k]*);; \ | ||
558 | + *k*) failcom='fail=yes';; \ | ||
559 | + esac; \ | ||
560 | + done; \ | ||
561 | + dot_seen=no; \ | ||
562 | + case "$@" in \ | ||
563 | + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
564 | + *) list='$(SUBDIRS)' ;; \ | ||
565 | + esac; \ | ||
566 | + rev=''; for subdir in $$list; do \ | ||
567 | + if test "$$subdir" = "."; then :; else \ | ||
568 | + rev="$$subdir $$rev"; \ | ||
569 | + fi; \ | ||
570 | + done; \ | ||
571 | + rev="$$rev ."; \ | ||
572 | + target=`echo $@ | sed s/-recursive//`; \ | ||
573 | + for subdir in $$rev; do \ | ||
574 | + echo "Making $$target in $$subdir"; \ | ||
575 | + if test "$$subdir" = "."; then \ | ||
576 | + local_target="$$target-am"; \ | ||
577 | + else \ | ||
578 | + local_target="$$target"; \ | ||
579 | + fi; \ | ||
580 | + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
581 | + || eval $$failcom; \ | ||
582 | + done && test -z "$$fail" | ||
583 | +tags-recursive: | ||
584 | + list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
585 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | ||
586 | + done | ||
587 | +ctags-recursive: | ||
588 | + list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
589 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | ||
590 | + done | ||
591 | + | ||
592 | +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
593 | + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
594 | + unique=`for i in $$list; do \ | ||
595 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
596 | + done | \ | ||
597 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
598 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
599 | + mkid -fID $$unique | ||
600 | +tags: TAGS | ||
601 | + | ||
602 | +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | ||
603 | + $(TAGS_FILES) $(LISP) | ||
604 | + set x; \ | ||
605 | + here=`pwd`; \ | ||
606 | + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||
607 | + include_option=--etags-include; \ | ||
608 | + empty_fix=.; \ | ||
609 | + else \ | ||
610 | + include_option=--include; \ | ||
611 | + empty_fix=; \ | ||
612 | + fi; \ | ||
613 | + list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
614 | + if test "$$subdir" = .; then :; else \ | ||
615 | + test ! -f $$subdir/TAGS || \ | ||
616 | + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||
617 | + fi; \ | ||
618 | + done; \ | ||
619 | + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | ||
620 | + unique=`for i in $$list; do \ | ||
621 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
622 | + done | \ | ||
623 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
624 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
625 | + shift; \ | ||
626 | + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
627 | + test -n "$$unique" || unique=$$empty_fix; \ | ||
628 | + if test $$# -gt 0; then \ | ||
629 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
630 | + "$$@" $$unique; \ | ||
631 | + else \ | ||
632 | + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
633 | + $$unique; \ | ||
634 | + fi; \ | ||
635 | + fi | ||
636 | +ctags: CTAGS | ||
637 | +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | ||
638 | + $(TAGS_FILES) $(LISP) | ||
639 | + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | ||
640 | + unique=`for i in $$list; do \ | ||
641 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
642 | + done | \ | ||
643 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
644 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
645 | + test -z "$(CTAGS_ARGS)$$unique" \ | ||
646 | + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
647 | + $$unique | ||
648 | + | ||
649 | +GTAGS: | ||
650 | + here=`$(am__cd) $(top_builddir) && pwd` \ | ||
651 | + && $(am__cd) $(top_srcdir) \ | ||
652 | + && gtags -i $(GTAGS_ARGS) "$$here" | ||
653 | + | ||
654 | +distclean-tags: | ||
655 | + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
656 | + | ||
657 | +distdir: $(DISTFILES) | ||
658 | + $(am__remove_distdir) | ||
659 | + test -d "$(distdir)" || mkdir "$(distdir)" | ||
660 | + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
661 | + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
662 | + list='$(DISTFILES)'; \ | ||
663 | + dist_files=`for file in $$list; do echo $$file; done | \ | ||
664 | + sed -e "s|^$$srcdirstrip/||;t" \ | ||
665 | + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
666 | + case $$dist_files in \ | ||
667 | + */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
668 | + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
669 | + sort -u` ;; \ | ||
670 | + esac; \ | ||
671 | + for file in $$dist_files; do \ | ||
672 | + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
673 | + if test -d $$d/$$file; then \ | ||
674 | + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
675 | + if test -d "$(distdir)/$$file"; then \ | ||
676 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
677 | + fi; \ | ||
678 | + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
679 | + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
680 | + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
681 | + fi; \ | ||
682 | + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
683 | + else \ | ||
684 | + test -f "$(distdir)/$$file" \ | ||
685 | + || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
686 | + || exit 1; \ | ||
687 | + fi; \ | ||
688 | + done | ||
689 | + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
690 | + if test "$$subdir" = .; then :; else \ | ||
691 | + test -d "$(distdir)/$$subdir" \ | ||
692 | + || $(MKDIR_P) "$(distdir)/$$subdir" \ | ||
693 | + || exit 1; \ | ||
694 | + fi; \ | ||
695 | + done | ||
696 | + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
697 | + if test "$$subdir" = .; then :; else \ | ||
698 | + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||
699 | + $(am__relativize); \ | ||
700 | + new_distdir=$$reldir; \ | ||
701 | + dir1=$$subdir; dir2="$(top_distdir)"; \ | ||
702 | + $(am__relativize); \ | ||
703 | + new_top_distdir=$$reldir; \ | ||
704 | + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | ||
705 | + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | ||
706 | + ($(am__cd) $$subdir && \ | ||
707 | + $(MAKE) $(AM_MAKEFLAGS) \ | ||
708 | + top_distdir="$$new_top_distdir" \ | ||
709 | + distdir="$$new_distdir" \ | ||
710 | + am__remove_distdir=: \ | ||
711 | + am__skip_length_check=: \ | ||
712 | + am__skip_mode_fix=: \ | ||
713 | + distdir) \ | ||
714 | + || exit 1; \ | ||
715 | + fi; \ | ||
716 | + done | ||
717 | + -test -n "$(am__skip_mode_fix)" \ | ||
718 | + || find "$(distdir)" -type d ! -perm -755 \ | ||
719 | + -exec chmod u+rwx,go+rx {} \; -o \ | ||
720 | + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | ||
721 | + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | ||
722 | + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | ||
723 | + || chmod -R a+r "$(distdir)" | ||
724 | +dist-gzip: distdir | ||
725 | + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | ||
726 | + $(am__remove_distdir) | ||
727 | + | ||
728 | +dist-bzip2: distdir | ||
729 | + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | ||
730 | + $(am__remove_distdir) | ||
731 | + | ||
732 | +dist-lzma: distdir | ||
733 | + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | ||
734 | + $(am__remove_distdir) | ||
735 | + | ||
736 | +dist-xz: distdir | ||
737 | + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | ||
738 | + $(am__remove_distdir) | ||
739 | + | ||
740 | +dist-tarZ: distdir | ||
741 | + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | ||
742 | + $(am__remove_distdir) | ||
743 | + | ||
744 | +dist-shar: distdir | ||
745 | + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | ||
746 | + $(am__remove_distdir) | ||
747 | + | ||
748 | +dist-zip: distdir | ||
749 | + -rm -f $(distdir).zip | ||
750 | + zip -rq $(distdir).zip $(distdir) | ||
751 | + $(am__remove_distdir) | ||
752 | + | ||
753 | +dist dist-all: distdir | ||
754 | + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | ||
755 | + $(am__remove_distdir) | ||
756 | + | ||
757 | +# This target untars the dist file and tries a VPATH configuration. Then | ||
758 | +# it guarantees that the distribution is self-contained by making another | ||
759 | +# tarfile. | ||
760 | +distcheck: dist | ||
761 | + case '$(DIST_ARCHIVES)' in \ | ||
762 | + *.tar.gz*) \ | ||
763 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | ||
764 | + *.tar.bz2*) \ | ||
765 | + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ | ||
766 | + *.tar.lzma*) \ | ||
767 | + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | ||
768 | + *.tar.xz*) \ | ||
769 | + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | ||
770 | + *.tar.Z*) \ | ||
771 | + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | ||
772 | + *.shar.gz*) \ | ||
773 | + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | ||
774 | + *.zip*) \ | ||
775 | + unzip $(distdir).zip ;;\ | ||
776 | + esac | ||
777 | + chmod -R a-w $(distdir); chmod a+w $(distdir) | ||
778 | + mkdir $(distdir)/_build | ||
779 | + mkdir $(distdir)/_inst | ||
780 | + chmod a-w $(distdir) | ||
781 | + test -d $(distdir)/_build || exit 0; \ | ||
782 | + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | ||
783 | + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | ||
784 | + && am__cwd=`pwd` \ | ||
785 | + && $(am__cd) $(distdir)/_build \ | ||
786 | + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | ||
787 | + $(DISTCHECK_CONFIGURE_FLAGS) \ | ||
788 | + && $(MAKE) $(AM_MAKEFLAGS) \ | ||
789 | + && $(MAKE) $(AM_MAKEFLAGS) dvi \ | ||
790 | + && $(MAKE) $(AM_MAKEFLAGS) check \ | ||
791 | + && $(MAKE) $(AM_MAKEFLAGS) install \ | ||
792 | + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | ||
793 | + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ | ||
794 | + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | ||
795 | + distuninstallcheck \ | ||
796 | + && chmod -R a-w "$$dc_install_base" \ | ||
797 | + && ({ \ | ||
798 | + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ | ||
799 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ | ||
800 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ | ||
801 | + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ | ||
802 | + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ | ||
803 | + } || { rm -rf "$$dc_destdir"; exit 1; }) \ | ||
804 | + && rm -rf "$$dc_destdir" \ | ||
805 | + && $(MAKE) $(AM_MAKEFLAGS) dist \ | ||
806 | + && rm -rf $(DIST_ARCHIVES) \ | ||
807 | + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ | ||
808 | + && cd "$$am__cwd" \ | ||
809 | + || exit 1 | ||
810 | + $(am__remove_distdir) | ||
811 | + @(echo "$(distdir) archives ready for distribution: "; \ | ||
812 | + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | ||
813 | + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' | ||
814 | +distuninstallcheck: | ||
815 | + @$(am__cd) '$(distuninstallcheck_dir)' \ | ||
816 | + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | ||
817 | + || { echo "ERROR: files left after uninstall:" ; \ | ||
818 | + if test -n "$(DESTDIR)"; then \ | ||
819 | + echo " (check DESTDIR support)"; \ | ||
820 | + fi ; \ | ||
821 | + $(distuninstallcheck_listfiles) ; \ | ||
822 | + exit 1; } >&2 | ||
823 | +distcleancheck: distclean | ||
824 | + @if test '$(srcdir)' = . ; then \ | ||
825 | + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | ||
826 | + exit 1 ; \ | ||
827 | + fi | ||
828 | + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | ||
829 | + || { echo "ERROR: files left in build directory after distclean:" ; \ | ||
830 | + $(distcleancheck_listfiles) ; \ | ||
831 | + exit 1; } >&2 | ||
832 | +check-am: all-am | ||
833 | +check: check-recursive | ||
834 | +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) config.h | ||
835 | +install-binPROGRAMS: install-libLTLIBRARIES | ||
836 | + | ||
837 | +installdirs: installdirs-recursive | ||
838 | +installdirs-am: | ||
839 | + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)"; do \ | ||
840 | + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
841 | + done | ||
842 | +install: install-recursive | ||
843 | +install-exec: install-exec-recursive | ||
844 | +install-data: install-data-recursive | ||
845 | +uninstall: uninstall-recursive | ||
846 | + | ||
847 | +install-am: all-am | ||
848 | + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
849 | + | ||
850 | +installcheck: installcheck-recursive | ||
851 | +install-strip: | ||
852 | + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
853 | + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
854 | + `test -z '$(STRIP)' || \ | ||
855 | + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
856 | +mostlyclean-generic: | ||
857 | + | ||
858 | +clean-generic: | ||
859 | + | ||
860 | +distclean-generic: | ||
861 | + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
862 | + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
863 | + | ||
864 | +maintainer-clean-generic: | ||
865 | + @echo "This command is intended for maintainers to use" | ||
866 | + @echo "it deletes files that may require special tools to rebuild." | ||
867 | +clean: clean-recursive | ||
868 | + | ||
869 | +clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ | ||
870 | + clean-libtool mostlyclean-am | ||
871 | + | ||
872 | +distclean: distclean-recursive | ||
873 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
874 | + -rm -rf ./$(DEPDIR) | ||
875 | + -rm -f Makefile | ||
876 | +distclean-am: clean-am distclean-compile distclean-generic \ | ||
877 | + distclean-hdr distclean-libtool distclean-tags | ||
878 | + | ||
879 | +dvi: dvi-recursive | ||
880 | + | ||
881 | +dvi-am: | ||
882 | + | ||
883 | +html: html-recursive | ||
884 | + | ||
885 | +html-am: | ||
886 | + | ||
887 | +info: info-recursive | ||
888 | + | ||
889 | +info-am: | ||
890 | + | ||
891 | +install-data-am: | ||
892 | + | ||
893 | +install-dvi: install-dvi-recursive | ||
894 | + | ||
895 | +install-dvi-am: | ||
896 | + | ||
897 | +install-exec-am: install-binPROGRAMS install-libLTLIBRARIES | ||
898 | + | ||
899 | +install-html: install-html-recursive | ||
900 | + | ||
901 | +install-html-am: | ||
902 | + | ||
903 | +install-info: install-info-recursive | ||
904 | + | ||
905 | +install-info-am: | ||
906 | + | ||
907 | +install-man: | ||
908 | + | ||
909 | +install-pdf: install-pdf-recursive | ||
910 | + | ||
911 | +install-pdf-am: | ||
912 | + | ||
913 | +install-ps: install-ps-recursive | ||
914 | + | ||
915 | +install-ps-am: | ||
916 | + | ||
917 | +installcheck-am: | ||
918 | + | ||
919 | +maintainer-clean: maintainer-clean-recursive | ||
920 | + -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
921 | + -rm -rf $(top_srcdir)/autom4te.cache | ||
922 | + -rm -rf ./$(DEPDIR) | ||
923 | + -rm -f Makefile | ||
924 | +maintainer-clean-am: distclean-am maintainer-clean-generic | ||
925 | + | ||
926 | +mostlyclean: mostlyclean-recursive | ||
927 | + | ||
928 | +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
929 | + mostlyclean-libtool | ||
930 | + | ||
931 | +pdf: pdf-recursive | ||
932 | + | ||
933 | +pdf-am: | ||
934 | + | ||
935 | +ps: ps-recursive | ||
936 | + | ||
937 | +ps-am: | ||
938 | + | ||
939 | +uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIBRARIES | ||
940 | + | ||
941 | +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | ||
942 | + ctags-recursive install-am install-strip tags-recursive | ||
943 | + | ||
944 | +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | ||
945 | + all all-am am--refresh check check-am clean clean-binPROGRAMS \ | ||
946 | + clean-generic clean-libLTLIBRARIES clean-libtool ctags \ | ||
947 | + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-lzma \ | ||
948 | + dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \ | ||
949 | + distclean-compile distclean-generic distclean-hdr \ | ||
950 | + distclean-libtool distclean-tags distcleancheck distdir \ | ||
951 | + distuninstallcheck dvi dvi-am html html-am info info-am \ | ||
952 | + install install-am install-binPROGRAMS install-data \ | ||
953 | + install-data-am install-dvi install-dvi-am install-exec \ | ||
954 | + install-exec-am install-html install-html-am install-info \ | ||
955 | + install-info-am install-libLTLIBRARIES install-man install-pdf \ | ||
956 | + install-pdf-am install-ps install-ps-am install-strip \ | ||
957 | + installcheck installcheck-am installdirs installdirs-am \ | ||
958 | + maintainer-clean maintainer-clean-generic mostlyclean \ | ||
959 | + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ | ||
960 | + pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ | ||
961 | + uninstall-binPROGRAMS uninstall-libLTLIBRARIES | ||
962 | + | ||
963 | + | ||
964 | +# Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
965 | +# Otherwise a system limit (for SysV at least) may be exceeded. | ||
966 | +.NOEXPORT: |
NEWS
0 → 100644
README
0 → 100644
aclocal.m4
0 → 100644
This diff could not be displayed because it is too large.
1 | -#include "bigpoint_cclass.h" | ||
2 | - | ||
3 | #include <stdarg.h> | 1 | #include <stdarg.h> |
4 | #include <string.h> | 2 | #include <string.h> |
5 | #include <stdlib.h> | 3 | #include <stdlib.h> |
6 | #include <json/json.h> | 4 | #include <json/json.h> |
7 | 5 | ||
6 | +#include "bigpoint/bigpoint_cclass.h" | ||
7 | + | ||
8 | 8 | ||
9 | void * | 9 | void * |
10 | new(const void * _class, ...) | 10 | new(const void * _class, ...) |
@@ -3,8 +3,8 @@ | @@ -3,8 +3,8 @@ | ||
3 | #include <sys/types.h> | 3 | #include <sys/types.h> |
4 | #include <json/json.h> | 4 | #include <json/json.h> |
5 | 5 | ||
6 | -#include "bigpoint_dyntype.h" | ||
7 | -#include "bigpoint_hash.h" | 6 | +#include "bigpoint/bigpoint_dyntype.h" |
7 | +#include "bigpoint/bigpoint_hash.h" | ||
8 | 8 | ||
9 | 9 | ||
10 | static | 10 | static |
compile
0 → 100755
1 | +#! /bin/sh | ||
2 | +# Wrapper for compilers which do not understand `-c -o'. | ||
3 | + | ||
4 | +scriptversion=2009-10-06.20; # UTC | ||
5 | + | ||
6 | +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software | ||
7 | +# Foundation, Inc. | ||
8 | +# Written by Tom Tromey <tromey@cygnus.com>. | ||
9 | +# | ||
10 | +# This program is free software; you can redistribute it and/or modify | ||
11 | +# it under the terms of the GNU General Public License as published by | ||
12 | +# the Free Software Foundation; either version 2, or (at your option) | ||
13 | +# any later version. | ||
14 | +# | ||
15 | +# This program is distributed in the hope that it will be useful, | ||
16 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
17 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
18 | +# GNU General Public License for more details. | ||
19 | +# | ||
20 | +# You should have received a copy of the GNU General Public License | ||
21 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
22 | + | ||
23 | +# As a special exception to the GNU General Public License, if you | ||
24 | +# distribute this file as part of a program that contains a | ||
25 | +# configuration script generated by Autoconf, you may include it under | ||
26 | +# the same distribution terms that you use for the rest of that program. | ||
27 | + | ||
28 | +# This file is maintained in Automake, please report | ||
29 | +# bugs to <bug-automake@gnu.org> or send patches to | ||
30 | +# <automake-patches@gnu.org>. | ||
31 | + | ||
32 | +case $1 in | ||
33 | + '') | ||
34 | + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 | ||
35 | + exit 1; | ||
36 | + ;; | ||
37 | + -h | --h*) | ||
38 | + cat <<\EOF | ||
39 | +Usage: compile [--help] [--version] PROGRAM [ARGS] | ||
40 | + | ||
41 | +Wrapper for compilers which do not understand `-c -o'. | ||
42 | +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining | ||
43 | +arguments, and rename the output as expected. | ||
44 | + | ||
45 | +If you are trying to build a whole package this is not the | ||
46 | +right script to run: please start by reading the file `INSTALL'. | ||
47 | + | ||
48 | +Report bugs to <bug-automake@gnu.org>. | ||
49 | +EOF | ||
50 | + exit $? | ||
51 | + ;; | ||
52 | + -v | --v*) | ||
53 | + echo "compile $scriptversion" | ||
54 | + exit $? | ||
55 | + ;; | ||
56 | +esac | ||
57 | + | ||
58 | +ofile= | ||
59 | +cfile= | ||
60 | +eat= | ||
61 | + | ||
62 | +for arg | ||
63 | +do | ||
64 | + if test -n "$eat"; then | ||
65 | + eat= | ||
66 | + else | ||
67 | + case $1 in | ||
68 | + -o) | ||
69 | + # configure might choose to run compile as `compile cc -o foo foo.c'. | ||
70 | + # So we strip `-o arg' only if arg is an object. | ||
71 | + eat=1 | ||
72 | + case $2 in | ||
73 | + *.o | *.obj) | ||
74 | + ofile=$2 | ||
75 | + ;; | ||
76 | + *) | ||
77 | + set x "$@" -o "$2" | ||
78 | + shift | ||
79 | + ;; | ||
80 | + esac | ||
81 | + ;; | ||
82 | + *.c) | ||
83 | + cfile=$1 | ||
84 | + set x "$@" "$1" | ||
85 | + shift | ||
86 | + ;; | ||
87 | + *) | ||
88 | + set x "$@" "$1" | ||
89 | + shift | ||
90 | + ;; | ||
91 | + esac | ||
92 | + fi | ||
93 | + shift | ||
94 | +done | ||
95 | + | ||
96 | +if test -z "$ofile" || test -z "$cfile"; then | ||
97 | + # If no `-o' option was seen then we might have been invoked from a | ||
98 | + # pattern rule where we don't need one. That is ok -- this is a | ||
99 | + # normal compilation that the losing compiler can handle. If no | ||
100 | + # `.c' file was seen then we are probably linking. That is also | ||
101 | + # ok. | ||
102 | + exec "$@" | ||
103 | +fi | ||
104 | + | ||
105 | +# Name of file we expect compiler to create. | ||
106 | +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` | ||
107 | + | ||
108 | +# Create the lock directory. | ||
109 | +# Note: use `[/\\:.-]' here to ensure that we don't use the same name | ||
110 | +# that we are using for the .o file. Also, base the name on the expected | ||
111 | +# object file name, since that is what matters with a parallel build. | ||
112 | +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d | ||
113 | +while true; do | ||
114 | + if mkdir "$lockdir" >/dev/null 2>&1; then | ||
115 | + break | ||
116 | + fi | ||
117 | + sleep 1 | ||
118 | +done | ||
119 | +# FIXME: race condition here if user kills between mkdir and trap. | ||
120 | +trap "rmdir '$lockdir'; exit 1" 1 2 15 | ||
121 | + | ||
122 | +# Run the compile. | ||
123 | +"$@" | ||
124 | +ret=$? | ||
125 | + | ||
126 | +if test -f "$cofile"; then | ||
127 | + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" | ||
128 | +elif test -f "${cofile}bj"; then | ||
129 | + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" | ||
130 | +fi | ||
131 | + | ||
132 | +rmdir "$lockdir" | ||
133 | +exit $ret | ||
134 | + | ||
135 | +# Local Variables: | ||
136 | +# mode: shell-script | ||
137 | +# sh-indentation: 2 | ||
138 | +# eval: (add-hook 'write-file-hooks 'time-stamp) | ||
139 | +# time-stamp-start: "scriptversion=" | ||
140 | +# time-stamp-format: "%:y-%02m-%02d.%02H" | ||
141 | +# time-stamp-time-zone: "UTC" | ||
142 | +# time-stamp-end: "; # UTC" | ||
143 | +# End: |
config.guess
0 → 100755
1 | +#! /bin/sh | ||
2 | +# Attempt to guess a canonical system name. | ||
3 | +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | ||
4 | +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | ||
5 | +# 2011 Free Software Foundation, Inc. | ||
6 | + | ||
7 | +timestamp='2011-02-02' | ||
8 | + | ||
9 | +# This file is free software; you can redistribute it and/or modify it | ||
10 | +# under the terms of the GNU General Public License as published by | ||
11 | +# the Free Software Foundation; either version 2 of the License, or | ||
12 | +# (at your option) any later version. | ||
13 | +# | ||
14 | +# This program is distributed in the hope that it will be useful, but | ||
15 | +# WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
17 | +# General Public License for more details. | ||
18 | +# | ||
19 | +# You should have received a copy of the GNU General Public License | ||
20 | +# along with this program; if not, write to the Free Software | ||
21 | +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | ||
22 | +# 02110-1301, USA. | ||
23 | +# | ||
24 | +# As a special exception to the GNU General Public License, if you | ||
25 | +# distribute this file as part of a program that contains a | ||
26 | +# configuration script generated by Autoconf, you may include it under | ||
27 | +# the same distribution terms that you use for the rest of that program. | ||
28 | + | ||
29 | + | ||
30 | +# Originally written by Per Bothner. Please send patches (context | ||
31 | +# diff format) to <config-patches@gnu.org> and include a ChangeLog | ||
32 | +# entry. | ||
33 | +# | ||
34 | +# This script attempts to guess a canonical system name similar to | ||
35 | +# config.sub. If it succeeds, it prints the system name on stdout, and | ||
36 | +# exits with 0. Otherwise, it exits with 1. | ||
37 | +# | ||
38 | +# You can get the latest version of this script from: | ||
39 | +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | ||
40 | + | ||
41 | +me=`echo "$0" | sed -e 's,.*/,,'` | ||
42 | + | ||
43 | +usage="\ | ||
44 | +Usage: $0 [OPTION] | ||
45 | + | ||
46 | +Output the configuration name of the system \`$me' is run on. | ||
47 | + | ||
48 | +Operation modes: | ||
49 | + -h, --help print this help, then exit | ||
50 | + -t, --time-stamp print date of last modification, then exit | ||
51 | + -v, --version print version number, then exit | ||
52 | + | ||
53 | +Report bugs and patches to <config-patches@gnu.org>." | ||
54 | + | ||
55 | +version="\ | ||
56 | +GNU config.guess ($timestamp) | ||
57 | + | ||
58 | +Originally written by Per Bothner. | ||
59 | +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | ||
60 | +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free | ||
61 | +Software Foundation, Inc. | ||
62 | + | ||
63 | +This is free software; see the source for copying conditions. There is NO | ||
64 | +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | ||
65 | + | ||
66 | +help=" | ||
67 | +Try \`$me --help' for more information." | ||
68 | + | ||
69 | +# Parse command line | ||
70 | +while test $# -gt 0 ; do | ||
71 | + case $1 in | ||
72 | + --time-stamp | --time* | -t ) | ||
73 | + echo "$timestamp" ; exit ;; | ||
74 | + --version | -v ) | ||
75 | + echo "$version" ; exit ;; | ||
76 | + --help | --h* | -h ) | ||
77 | + echo "$usage"; exit ;; | ||
78 | + -- ) # Stop option processing | ||
79 | + shift; break ;; | ||
80 | + - ) # Use stdin as input. | ||
81 | + break ;; | ||
82 | + -* ) | ||
83 | + echo "$me: invalid option $1$help" >&2 | ||
84 | + exit 1 ;; | ||
85 | + * ) | ||
86 | + break ;; | ||
87 | + esac | ||
88 | +done | ||
89 | + | ||
90 | +if test $# != 0; then | ||
91 | + echo "$me: too many arguments$help" >&2 | ||
92 | + exit 1 | ||
93 | +fi | ||
94 | + | ||
95 | +trap 'exit 1' 1 2 15 | ||
96 | + | ||
97 | +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a | ||
98 | +# compiler to aid in system detection is discouraged as it requires | ||
99 | +# temporary files to be created and, as you can see below, it is a | ||
100 | +# headache to deal with in a portable fashion. | ||
101 | + | ||
102 | +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still | ||
103 | +# use `HOST_CC' if defined, but it is deprecated. | ||
104 | + | ||
105 | +# Portable tmp directory creation inspired by the Autoconf team. | ||
106 | + | ||
107 | +set_cc_for_build=' | ||
108 | +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; | ||
109 | +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; | ||
110 | +: ${TMPDIR=/tmp} ; | ||
111 | + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || | ||
112 | + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || | ||
113 | + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || | ||
114 | + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; | ||
115 | +dummy=$tmp/dummy ; | ||
116 | +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; | ||
117 | +case $CC_FOR_BUILD,$HOST_CC,$CC in | ||
118 | + ,,) echo "int x;" > $dummy.c ; | ||
119 | + for c in cc gcc c89 c99 ; do | ||
120 | + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then | ||
121 | + CC_FOR_BUILD="$c"; break ; | ||
122 | + fi ; | ||
123 | + done ; | ||
124 | + if test x"$CC_FOR_BUILD" = x ; then | ||
125 | + CC_FOR_BUILD=no_compiler_found ; | ||
126 | + fi | ||
127 | + ;; | ||
128 | + ,,*) CC_FOR_BUILD=$CC ;; | ||
129 | + ,*,*) CC_FOR_BUILD=$HOST_CC ;; | ||
130 | +esac ; set_cc_for_build= ;' | ||
131 | + | ||
132 | +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. | ||
133 | +# (ghazi@noc.rutgers.edu 1994-08-24) | ||
134 | +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then | ||
135 | + PATH=$PATH:/.attbin ; export PATH | ||
136 | +fi | ||
137 | + | ||
138 | +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown | ||
139 | +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown | ||
140 | +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown | ||
141 | +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown | ||
142 | + | ||
143 | +case "${UNAME_SYSTEM}" in | ||
144 | +Linux|GNU/*) | ||
145 | + eval $set_cc_for_build | ||
146 | + cat <<-EOF > $dummy.c | ||
147 | + #include <features.h> | ||
148 | + #ifdef __UCLIBC__ | ||
149 | + # ifdef __UCLIBC_CONFIG_VERSION__ | ||
150 | + LIBC=uclibc __UCLIBC_CONFIG_VERSION__ | ||
151 | + # else | ||
152 | + LIBC=uclibc | ||
153 | + # endif | ||
154 | + #else | ||
155 | + # ifdef __dietlibc__ | ||
156 | + LIBC=dietlibc | ||
157 | + # else | ||
158 | + LIBC=gnu | ||
159 | + # endif | ||
160 | + #endif | ||
161 | + EOF | ||
162 | + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | ||
163 | + ;; | ||
164 | +esac | ||
165 | + | ||
166 | +# Note: order is significant - the case branches are not exclusive. | ||
167 | + | ||
168 | +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in | ||
169 | + *:NetBSD:*:*) | ||
170 | + # NetBSD (nbsd) targets should (where applicable) match one or | ||
171 | + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, | ||
172 | + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently | ||
173 | + # switched to ELF, *-*-netbsd* would select the old | ||
174 | + # object file format. This provides both forward | ||
175 | + # compatibility and a consistent mechanism for selecting the | ||
176 | + # object file format. | ||
177 | + # | ||
178 | + # Note: NetBSD doesn't particularly care about the vendor | ||
179 | + # portion of the name. We always set it to "unknown". | ||
180 | + sysctl="sysctl -n hw.machine_arch" | ||
181 | + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ | ||
182 | + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` | ||
183 | + case "${UNAME_MACHINE_ARCH}" in | ||
184 | + armeb) machine=armeb-unknown ;; | ||
185 | + arm*) machine=arm-unknown ;; | ||
186 | + sh3el) machine=shl-unknown ;; | ||
187 | + sh3eb) machine=sh-unknown ;; | ||
188 | + sh5el) machine=sh5le-unknown ;; | ||
189 | + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; | ||
190 | + esac | ||
191 | + # The Operating System including object format, if it has switched | ||
192 | + # to ELF recently, or will in the future. | ||
193 | + case "${UNAME_MACHINE_ARCH}" in | ||
194 | + arm*|i386|m68k|ns32k|sh3*|sparc|vax) | ||
195 | + eval $set_cc_for_build | ||
196 | + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | ||
197 | + | grep -q __ELF__ | ||
198 | + then | ||
199 | + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). | ||
200 | + # Return netbsd for either. FIX? | ||
201 | + os=netbsd | ||
202 | + else | ||
203 | + os=netbsdelf | ||
204 | + fi | ||
205 | + ;; | ||
206 | + *) | ||
207 | + os=netbsd | ||
208 | + ;; | ||
209 | + esac | ||
210 | + # The OS release | ||
211 | + # Debian GNU/NetBSD machines have a different userland, and | ||
212 | + # thus, need a distinct triplet. However, they do not need | ||
213 | + # kernel version information, so it can be replaced with a | ||
214 | + # suitable tag, in the style of linux-gnu. | ||
215 | + case "${UNAME_VERSION}" in | ||
216 | + Debian*) | ||
217 | + release='-gnu' | ||
218 | + ;; | ||
219 | + *) | ||
220 | + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` | ||
221 | + ;; | ||
222 | + esac | ||
223 | + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: | ||
224 | + # contains redundant information, the shorter form: | ||
225 | + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. | ||
226 | + echo "${machine}-${os}${release}" | ||
227 | + exit ;; | ||
228 | + *:OpenBSD:*:*) | ||
229 | + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` | ||
230 | + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} | ||
231 | + exit ;; | ||
232 | + *:ekkoBSD:*:*) | ||
233 | + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} | ||
234 | + exit ;; | ||
235 | + *:SolidBSD:*:*) | ||
236 | + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} | ||
237 | + exit ;; | ||
238 | + macppc:MirBSD:*:*) | ||
239 | + echo powerpc-unknown-mirbsd${UNAME_RELEASE} | ||
240 | + exit ;; | ||
241 | + *:MirBSD:*:*) | ||
242 | + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} | ||
243 | + exit ;; | ||
244 | + alpha:OSF1:*:*) | ||
245 | + case $UNAME_RELEASE in | ||
246 | + *4.0) | ||
247 | + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` | ||
248 | + ;; | ||
249 | + *5.*) | ||
250 | + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` | ||
251 | + ;; | ||
252 | + esac | ||
253 | + # According to Compaq, /usr/sbin/psrinfo has been available on | ||
254 | + # OSF/1 and Tru64 systems produced since 1995. I hope that | ||
255 | + # covers most systems running today. This code pipes the CPU | ||
256 | + # types through head -n 1, so we only detect the type of CPU 0. | ||
257 | + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` | ||
258 | + case "$ALPHA_CPU_TYPE" in | ||
259 | + "EV4 (21064)") | ||
260 | + UNAME_MACHINE="alpha" ;; | ||
261 | + "EV4.5 (21064)") | ||
262 | + UNAME_MACHINE="alpha" ;; | ||
263 | + "LCA4 (21066/21068)") | ||
264 | + UNAME_MACHINE="alpha" ;; | ||
265 | + "EV5 (21164)") | ||
266 | + UNAME_MACHINE="alphaev5" ;; | ||
267 | + "EV5.6 (21164A)") | ||
268 | + UNAME_MACHINE="alphaev56" ;; | ||
269 | + "EV5.6 (21164PC)") | ||
270 | + UNAME_MACHINE="alphapca56" ;; | ||
271 | + "EV5.7 (21164PC)") | ||
272 | + UNAME_MACHINE="alphapca57" ;; | ||
273 | + "EV6 (21264)") | ||
274 | + UNAME_MACHINE="alphaev6" ;; | ||
275 | + "EV6.7 (21264A)") | ||
276 | + UNAME_MACHINE="alphaev67" ;; | ||
277 | + "EV6.8CB (21264C)") | ||
278 | + UNAME_MACHINE="alphaev68" ;; | ||
279 | + "EV6.8AL (21264B)") | ||
280 | + UNAME_MACHINE="alphaev68" ;; | ||
281 | + "EV6.8CX (21264D)") | ||
282 | + UNAME_MACHINE="alphaev68" ;; | ||
283 | + "EV6.9A (21264/EV69A)") | ||
284 | + UNAME_MACHINE="alphaev69" ;; | ||
285 | + "EV7 (21364)") | ||
286 | + UNAME_MACHINE="alphaev7" ;; | ||
287 | + "EV7.9 (21364A)") | ||
288 | + UNAME_MACHINE="alphaev79" ;; | ||
289 | + esac | ||
290 | + # A Pn.n version is a patched version. | ||
291 | + # A Vn.n version is a released version. | ||
292 | + # A Tn.n version is a released field test version. | ||
293 | + # A Xn.n version is an unreleased experimental baselevel. | ||
294 | + # 1.2 uses "1.2" for uname -r. | ||
295 | + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | ||
296 | + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. | ||
297 | + exitcode=$? | ||
298 | + trap '' 0 | ||
299 | + exit $exitcode ;; | ||
300 | + Alpha\ *:Windows_NT*:*) | ||
301 | + # How do we know it's Interix rather than the generic POSIX subsystem? | ||
302 | + # Should we change UNAME_MACHINE based on the output of uname instead | ||
303 | + # of the specific Alpha model? | ||
304 | + echo alpha-pc-interix | ||
305 | + exit ;; | ||
306 | + 21064:Windows_NT:50:3) | ||
307 | + echo alpha-dec-winnt3.5 | ||
308 | + exit ;; | ||
309 | + Amiga*:UNIX_System_V:4.0:*) | ||
310 | + echo m68k-unknown-sysv4 | ||
311 | + exit ;; | ||
312 | + *:[Aa]miga[Oo][Ss]:*:*) | ||
313 | + echo ${UNAME_MACHINE}-unknown-amigaos | ||
314 | + exit ;; | ||
315 | + *:[Mm]orph[Oo][Ss]:*:*) | ||
316 | + echo ${UNAME_MACHINE}-unknown-morphos | ||
317 | + exit ;; | ||
318 | + *:OS/390:*:*) | ||
319 | + echo i370-ibm-openedition | ||
320 | + exit ;; | ||
321 | + *:z/VM:*:*) | ||
322 | + echo s390-ibm-zvmoe | ||
323 | + exit ;; | ||
324 | + *:OS400:*:*) | ||
325 | + echo powerpc-ibm-os400 | ||
326 | + exit ;; | ||
327 | + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) | ||
328 | + echo arm-acorn-riscix${UNAME_RELEASE} | ||
329 | + exit ;; | ||
330 | + arm:riscos:*:*|arm:RISCOS:*:*) | ||
331 | + echo arm-unknown-riscos | ||
332 | + exit ;; | ||
333 | + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) | ||
334 | + echo hppa1.1-hitachi-hiuxmpp | ||
335 | + exit ;; | ||
336 | + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) | ||
337 | + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. | ||
338 | + if test "`(/bin/universe) 2>/dev/null`" = att ; then | ||
339 | + echo pyramid-pyramid-sysv3 | ||
340 | + else | ||
341 | + echo pyramid-pyramid-bsd | ||
342 | + fi | ||
343 | + exit ;; | ||
344 | + NILE*:*:*:dcosx) | ||
345 | + echo pyramid-pyramid-svr4 | ||
346 | + exit ;; | ||
347 | + DRS?6000:unix:4.0:6*) | ||
348 | + echo sparc-icl-nx6 | ||
349 | + exit ;; | ||
350 | + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) | ||
351 | + case `/usr/bin/uname -p` in | ||
352 | + sparc) echo sparc-icl-nx7; exit ;; | ||
353 | + esac ;; | ||
354 | + s390x:SunOS:*:*) | ||
355 | + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
356 | + exit ;; | ||
357 | + sun4H:SunOS:5.*:*) | ||
358 | + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
359 | + exit ;; | ||
360 | + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) | ||
361 | + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
362 | + exit ;; | ||
363 | + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) | ||
364 | + echo i386-pc-auroraux${UNAME_RELEASE} | ||
365 | + exit ;; | ||
366 | + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) | ||
367 | + eval $set_cc_for_build | ||
368 | + SUN_ARCH="i386" | ||
369 | + # If there is a compiler, see if it is configured for 64-bit objects. | ||
370 | + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | ||
371 | + # This test works for both compilers. | ||
372 | + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | ||
373 | + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | ||
374 | + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | ||
375 | + grep IS_64BIT_ARCH >/dev/null | ||
376 | + then | ||
377 | + SUN_ARCH="x86_64" | ||
378 | + fi | ||
379 | + fi | ||
380 | + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
381 | + exit ;; | ||
382 | + sun4*:SunOS:6*:*) | ||
383 | + # According to config.sub, this is the proper way to canonicalize | ||
384 | + # SunOS6. Hard to guess exactly what SunOS6 will be like, but | ||
385 | + # it's likely to be more like Solaris than SunOS4. | ||
386 | + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
387 | + exit ;; | ||
388 | + sun4*:SunOS:*:*) | ||
389 | + case "`/usr/bin/arch -k`" in | ||
390 | + Series*|S4*) | ||
391 | + UNAME_RELEASE=`uname -v` | ||
392 | + ;; | ||
393 | + esac | ||
394 | + # Japanese Language versions have a version number like `4.1.3-JL'. | ||
395 | + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` | ||
396 | + exit ;; | ||
397 | + sun3*:SunOS:*:*) | ||
398 | + echo m68k-sun-sunos${UNAME_RELEASE} | ||
399 | + exit ;; | ||
400 | + sun*:*:4.2BSD:*) | ||
401 | + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` | ||
402 | + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 | ||
403 | + case "`/bin/arch`" in | ||
404 | + sun3) | ||
405 | + echo m68k-sun-sunos${UNAME_RELEASE} | ||
406 | + ;; | ||
407 | + sun4) | ||
408 | + echo sparc-sun-sunos${UNAME_RELEASE} | ||
409 | + ;; | ||
410 | + esac | ||
411 | + exit ;; | ||
412 | + aushp:SunOS:*:*) | ||
413 | + echo sparc-auspex-sunos${UNAME_RELEASE} | ||
414 | + exit ;; | ||
415 | + # The situation for MiNT is a little confusing. The machine name | ||
416 | + # can be virtually everything (everything which is not | ||
417 | + # "atarist" or "atariste" at least should have a processor | ||
418 | + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" | ||
419 | + # to the lowercase version "mint" (or "freemint"). Finally | ||
420 | + # the system name "TOS" denotes a system which is actually not | ||
421 | + # MiNT. But MiNT is downward compatible to TOS, so this should | ||
422 | + # be no problem. | ||
423 | + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) | ||
424 | + echo m68k-atari-mint${UNAME_RELEASE} | ||
425 | + exit ;; | ||
426 | + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) | ||
427 | + echo m68k-atari-mint${UNAME_RELEASE} | ||
428 | + exit ;; | ||
429 | + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) | ||
430 | + echo m68k-atari-mint${UNAME_RELEASE} | ||
431 | + exit ;; | ||
432 | + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) | ||
433 | + echo m68k-milan-mint${UNAME_RELEASE} | ||
434 | + exit ;; | ||
435 | + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) | ||
436 | + echo m68k-hades-mint${UNAME_RELEASE} | ||
437 | + exit ;; | ||
438 | + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) | ||
439 | + echo m68k-unknown-mint${UNAME_RELEASE} | ||
440 | + exit ;; | ||
441 | + m68k:machten:*:*) | ||
442 | + echo m68k-apple-machten${UNAME_RELEASE} | ||
443 | + exit ;; | ||
444 | + powerpc:machten:*:*) | ||
445 | + echo powerpc-apple-machten${UNAME_RELEASE} | ||
446 | + exit ;; | ||
447 | + RISC*:Mach:*:*) | ||
448 | + echo mips-dec-mach_bsd4.3 | ||
449 | + exit ;; | ||
450 | + RISC*:ULTRIX:*:*) | ||
451 | + echo mips-dec-ultrix${UNAME_RELEASE} | ||
452 | + exit ;; | ||
453 | + VAX*:ULTRIX*:*:*) | ||
454 | + echo vax-dec-ultrix${UNAME_RELEASE} | ||
455 | + exit ;; | ||
456 | + 2020:CLIX:*:* | 2430:CLIX:*:*) | ||
457 | + echo clipper-intergraph-clix${UNAME_RELEASE} | ||
458 | + exit ;; | ||
459 | + mips:*:*:UMIPS | mips:*:*:RISCos) | ||
460 | + eval $set_cc_for_build | ||
461 | + sed 's/^ //' << EOF >$dummy.c | ||
462 | +#ifdef __cplusplus | ||
463 | +#include <stdio.h> /* for printf() prototype */ | ||
464 | + int main (int argc, char *argv[]) { | ||
465 | +#else | ||
466 | + int main (argc, argv) int argc; char *argv[]; { | ||
467 | +#endif | ||
468 | + #if defined (host_mips) && defined (MIPSEB) | ||
469 | + #if defined (SYSTYPE_SYSV) | ||
470 | + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); | ||
471 | + #endif | ||
472 | + #if defined (SYSTYPE_SVR4) | ||
473 | + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); | ||
474 | + #endif | ||
475 | + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) | ||
476 | + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); | ||
477 | + #endif | ||
478 | + #endif | ||
479 | + exit (-1); | ||
480 | + } | ||
481 | +EOF | ||
482 | + $CC_FOR_BUILD -o $dummy $dummy.c && | ||
483 | + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && | ||
484 | + SYSTEM_NAME=`$dummy $dummyarg` && | ||
485 | + { echo "$SYSTEM_NAME"; exit; } | ||
486 | + echo mips-mips-riscos${UNAME_RELEASE} | ||
487 | + exit ;; | ||
488 | + Motorola:PowerMAX_OS:*:*) | ||
489 | + echo powerpc-motorola-powermax | ||
490 | + exit ;; | ||
491 | + Motorola:*:4.3:PL8-*) | ||
492 | + echo powerpc-harris-powermax | ||
493 | + exit ;; | ||
494 | + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) | ||
495 | + echo powerpc-harris-powermax | ||
496 | + exit ;; | ||
497 | + Night_Hawk:Power_UNIX:*:*) | ||
498 | + echo powerpc-harris-powerunix | ||
499 | + exit ;; | ||
500 | + m88k:CX/UX:7*:*) | ||
501 | + echo m88k-harris-cxux7 | ||
502 | + exit ;; | ||
503 | + m88k:*:4*:R4*) | ||
504 | + echo m88k-motorola-sysv4 | ||
505 | + exit ;; | ||
506 | + m88k:*:3*:R3*) | ||
507 | + echo m88k-motorola-sysv3 | ||
508 | + exit ;; | ||
509 | + AViiON:dgux:*:*) | ||
510 | + # DG/UX returns AViiON for all architectures | ||
511 | + UNAME_PROCESSOR=`/usr/bin/uname -p` | ||
512 | + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] | ||
513 | + then | ||
514 | + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ | ||
515 | + [ ${TARGET_BINARY_INTERFACE}x = x ] | ||
516 | + then | ||
517 | + echo m88k-dg-dgux${UNAME_RELEASE} | ||
518 | + else | ||
519 | + echo m88k-dg-dguxbcs${UNAME_RELEASE} | ||
520 | + fi | ||
521 | + else | ||
522 | + echo i586-dg-dgux${UNAME_RELEASE} | ||
523 | + fi | ||
524 | + exit ;; | ||
525 | + M88*:DolphinOS:*:*) # DolphinOS (SVR3) | ||
526 | + echo m88k-dolphin-sysv3 | ||
527 | + exit ;; | ||
528 | + M88*:*:R3*:*) | ||
529 | + # Delta 88k system running SVR3 | ||
530 | + echo m88k-motorola-sysv3 | ||
531 | + exit ;; | ||
532 | + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) | ||
533 | + echo m88k-tektronix-sysv3 | ||
534 | + exit ;; | ||
535 | + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) | ||
536 | + echo m68k-tektronix-bsd | ||
537 | + exit ;; | ||
538 | + *:IRIX*:*:*) | ||
539 | + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` | ||
540 | + exit ;; | ||
541 | + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. | ||
542 | + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id | ||
543 | + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' | ||
544 | + i*86:AIX:*:*) | ||
545 | + echo i386-ibm-aix | ||
546 | + exit ;; | ||
547 | + ia64:AIX:*:*) | ||
548 | + if [ -x /usr/bin/oslevel ] ; then | ||
549 | + IBM_REV=`/usr/bin/oslevel` | ||
550 | + else | ||
551 | + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | ||
552 | + fi | ||
553 | + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} | ||
554 | + exit ;; | ||
555 | + *:AIX:2:3) | ||
556 | + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then | ||
557 | + eval $set_cc_for_build | ||
558 | + sed 's/^ //' << EOF >$dummy.c | ||
559 | + #include <sys/systemcfg.h> | ||
560 | + | ||
561 | + main() | ||
562 | + { | ||
563 | + if (!__power_pc()) | ||
564 | + exit(1); | ||
565 | + puts("powerpc-ibm-aix3.2.5"); | ||
566 | + exit(0); | ||
567 | + } | ||
568 | +EOF | ||
569 | + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` | ||
570 | + then | ||
571 | + echo "$SYSTEM_NAME" | ||
572 | + else | ||
573 | + echo rs6000-ibm-aix3.2.5 | ||
574 | + fi | ||
575 | + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then | ||
576 | + echo rs6000-ibm-aix3.2.4 | ||
577 | + else | ||
578 | + echo rs6000-ibm-aix3.2 | ||
579 | + fi | ||
580 | + exit ;; | ||
581 | + *:AIX:*:[4567]) | ||
582 | + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` | ||
583 | + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then | ||
584 | + IBM_ARCH=rs6000 | ||
585 | + else | ||
586 | + IBM_ARCH=powerpc | ||
587 | + fi | ||
588 | + if [ -x /usr/bin/oslevel ] ; then | ||
589 | + IBM_REV=`/usr/bin/oslevel` | ||
590 | + else | ||
591 | + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} | ||
592 | + fi | ||
593 | + echo ${IBM_ARCH}-ibm-aix${IBM_REV} | ||
594 | + exit ;; | ||
595 | + *:AIX:*:*) | ||
596 | + echo rs6000-ibm-aix | ||
597 | + exit ;; | ||
598 | + ibmrt:4.4BSD:*|romp-ibm:BSD:*) | ||
599 | + echo romp-ibm-bsd4.4 | ||
600 | + exit ;; | ||
601 | + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and | ||
602 | + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to | ||
603 | + exit ;; # report: romp-ibm BSD 4.3 | ||
604 | + *:BOSX:*:*) | ||
605 | + echo rs6000-bull-bosx | ||
606 | + exit ;; | ||
607 | + DPX/2?00:B.O.S.:*:*) | ||
608 | + echo m68k-bull-sysv3 | ||
609 | + exit ;; | ||
610 | + 9000/[34]??:4.3bsd:1.*:*) | ||
611 | + echo m68k-hp-bsd | ||
612 | + exit ;; | ||
613 | + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) | ||
614 | + echo m68k-hp-bsd4.4 | ||
615 | + exit ;; | ||
616 | + 9000/[34678]??:HP-UX:*:*) | ||
617 | + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | ||
618 | + case "${UNAME_MACHINE}" in | ||
619 | + 9000/31? ) HP_ARCH=m68000 ;; | ||
620 | + 9000/[34]?? ) HP_ARCH=m68k ;; | ||
621 | + 9000/[678][0-9][0-9]) | ||
622 | + if [ -x /usr/bin/getconf ]; then | ||
623 | + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` | ||
624 | + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` | ||
625 | + case "${sc_cpu_version}" in | ||
626 | + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 | ||
627 | + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 | ||
628 | + 532) # CPU_PA_RISC2_0 | ||
629 | + case "${sc_kernel_bits}" in | ||
630 | + 32) HP_ARCH="hppa2.0n" ;; | ||
631 | + 64) HP_ARCH="hppa2.0w" ;; | ||
632 | + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 | ||
633 | + esac ;; | ||
634 | + esac | ||
635 | + fi | ||
636 | + if [ "${HP_ARCH}" = "" ]; then | ||
637 | + eval $set_cc_for_build | ||
638 | + sed 's/^ //' << EOF >$dummy.c | ||
639 | + | ||
640 | + #define _HPUX_SOURCE | ||
641 | + #include <stdlib.h> | ||
642 | + #include <unistd.h> | ||
643 | + | ||
644 | + int main () | ||
645 | + { | ||
646 | + #if defined(_SC_KERNEL_BITS) | ||
647 | + long bits = sysconf(_SC_KERNEL_BITS); | ||
648 | + #endif | ||
649 | + long cpu = sysconf (_SC_CPU_VERSION); | ||
650 | + | ||
651 | + switch (cpu) | ||
652 | + { | ||
653 | + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; | ||
654 | + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; | ||
655 | + case CPU_PA_RISC2_0: | ||
656 | + #if defined(_SC_KERNEL_BITS) | ||
657 | + switch (bits) | ||
658 | + { | ||
659 | + case 64: puts ("hppa2.0w"); break; | ||
660 | + case 32: puts ("hppa2.0n"); break; | ||
661 | + default: puts ("hppa2.0"); break; | ||
662 | + } break; | ||
663 | + #else /* !defined(_SC_KERNEL_BITS) */ | ||
664 | + puts ("hppa2.0"); break; | ||
665 | + #endif | ||
666 | + default: puts ("hppa1.0"); break; | ||
667 | + } | ||
668 | + exit (0); | ||
669 | + } | ||
670 | +EOF | ||
671 | + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` | ||
672 | + test -z "$HP_ARCH" && HP_ARCH=hppa | ||
673 | + fi ;; | ||
674 | + esac | ||
675 | + if [ ${HP_ARCH} = "hppa2.0w" ] | ||
676 | + then | ||
677 | + eval $set_cc_for_build | ||
678 | + | ||
679 | + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating | ||
680 | + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler | ||
681 | + # generating 64-bit code. GNU and HP use different nomenclature: | ||
682 | + # | ||
683 | + # $ CC_FOR_BUILD=cc ./config.guess | ||
684 | + # => hppa2.0w-hp-hpux11.23 | ||
685 | + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess | ||
686 | + # => hppa64-hp-hpux11.23 | ||
687 | + | ||
688 | + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | | ||
689 | + grep -q __LP64__ | ||
690 | + then | ||
691 | + HP_ARCH="hppa2.0w" | ||
692 | + else | ||
693 | + HP_ARCH="hppa64" | ||
694 | + fi | ||
695 | + fi | ||
696 | + echo ${HP_ARCH}-hp-hpux${HPUX_REV} | ||
697 | + exit ;; | ||
698 | + ia64:HP-UX:*:*) | ||
699 | + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` | ||
700 | + echo ia64-hp-hpux${HPUX_REV} | ||
701 | + exit ;; | ||
702 | + 3050*:HI-UX:*:*) | ||
703 | + eval $set_cc_for_build | ||
704 | + sed 's/^ //' << EOF >$dummy.c | ||
705 | + #include <unistd.h> | ||
706 | + int | ||
707 | + main () | ||
708 | + { | ||
709 | + long cpu = sysconf (_SC_CPU_VERSION); | ||
710 | + /* The order matters, because CPU_IS_HP_MC68K erroneously returns | ||
711 | + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct | ||
712 | + results, however. */ | ||
713 | + if (CPU_IS_PA_RISC (cpu)) | ||
714 | + { | ||
715 | + switch (cpu) | ||
716 | + { | ||
717 | + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; | ||
718 | + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; | ||
719 | + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; | ||
720 | + default: puts ("hppa-hitachi-hiuxwe2"); break; | ||
721 | + } | ||
722 | + } | ||
723 | + else if (CPU_IS_HP_MC68K (cpu)) | ||
724 | + puts ("m68k-hitachi-hiuxwe2"); | ||
725 | + else puts ("unknown-hitachi-hiuxwe2"); | ||
726 | + exit (0); | ||
727 | + } | ||
728 | +EOF | ||
729 | + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && | ||
730 | + { echo "$SYSTEM_NAME"; exit; } | ||
731 | + echo unknown-hitachi-hiuxwe2 | ||
732 | + exit ;; | ||
733 | + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) | ||
734 | + echo hppa1.1-hp-bsd | ||
735 | + exit ;; | ||
736 | + 9000/8??:4.3bsd:*:*) | ||
737 | + echo hppa1.0-hp-bsd | ||
738 | + exit ;; | ||
739 | + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) | ||
740 | + echo hppa1.0-hp-mpeix | ||
741 | + exit ;; | ||
742 | + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) | ||
743 | + echo hppa1.1-hp-osf | ||
744 | + exit ;; | ||
745 | + hp8??:OSF1:*:*) | ||
746 | + echo hppa1.0-hp-osf | ||
747 | + exit ;; | ||
748 | + i*86:OSF1:*:*) | ||
749 | + if [ -x /usr/sbin/sysversion ] ; then | ||
750 | + echo ${UNAME_MACHINE}-unknown-osf1mk | ||
751 | + else | ||
752 | + echo ${UNAME_MACHINE}-unknown-osf1 | ||
753 | + fi | ||
754 | + exit ;; | ||
755 | + parisc*:Lites*:*:*) | ||
756 | + echo hppa1.1-hp-lites | ||
757 | + exit ;; | ||
758 | + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) | ||
759 | + echo c1-convex-bsd | ||
760 | + exit ;; | ||
761 | + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) | ||
762 | + if getsysinfo -f scalar_acc | ||
763 | + then echo c32-convex-bsd | ||
764 | + else echo c2-convex-bsd | ||
765 | + fi | ||
766 | + exit ;; | ||
767 | + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) | ||
768 | + echo c34-convex-bsd | ||
769 | + exit ;; | ||
770 | + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) | ||
771 | + echo c38-convex-bsd | ||
772 | + exit ;; | ||
773 | + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) | ||
774 | + echo c4-convex-bsd | ||
775 | + exit ;; | ||
776 | + CRAY*Y-MP:*:*:*) | ||
777 | + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | ||
778 | + exit ;; | ||
779 | + CRAY*[A-Z]90:*:*:*) | ||
780 | + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | ||
781 | + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ | ||
782 | + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ | ||
783 | + -e 's/\.[^.]*$/.X/' | ||
784 | + exit ;; | ||
785 | + CRAY*TS:*:*:*) | ||
786 | + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | ||
787 | + exit ;; | ||
788 | + CRAY*T3E:*:*:*) | ||
789 | + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | ||
790 | + exit ;; | ||
791 | + CRAY*SV1:*:*:*) | ||
792 | + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | ||
793 | + exit ;; | ||
794 | + *:UNICOS/mp:*:*) | ||
795 | + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' | ||
796 | + exit ;; | ||
797 | + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) | ||
798 | + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` | ||
799 | + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | ||
800 | + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` | ||
801 | + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | ||
802 | + exit ;; | ||
803 | + 5000:UNIX_System_V:4.*:*) | ||
804 | + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` | ||
805 | + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` | ||
806 | + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" | ||
807 | + exit ;; | ||
808 | + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) | ||
809 | + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} | ||
810 | + exit ;; | ||
811 | + sparc*:BSD/OS:*:*) | ||
812 | + echo sparc-unknown-bsdi${UNAME_RELEASE} | ||
813 | + exit ;; | ||
814 | + *:BSD/OS:*:*) | ||
815 | + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} | ||
816 | + exit ;; | ||
817 | + *:FreeBSD:*:*) | ||
818 | + case ${UNAME_MACHINE} in | ||
819 | + pc98) | ||
820 | + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | ||
821 | + amd64) | ||
822 | + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | ||
823 | + *) | ||
824 | + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; | ||
825 | + esac | ||
826 | + exit ;; | ||
827 | + i*:CYGWIN*:*) | ||
828 | + echo ${UNAME_MACHINE}-pc-cygwin | ||
829 | + exit ;; | ||
830 | + *:MINGW*:*) | ||
831 | + echo ${UNAME_MACHINE}-pc-mingw32 | ||
832 | + exit ;; | ||
833 | + i*:windows32*:*) | ||
834 | + # uname -m includes "-pc" on this system. | ||
835 | + echo ${UNAME_MACHINE}-mingw32 | ||
836 | + exit ;; | ||
837 | + i*:PW*:*) | ||
838 | + echo ${UNAME_MACHINE}-pc-pw32 | ||
839 | + exit ;; | ||
840 | + *:Interix*:*) | ||
841 | + case ${UNAME_MACHINE} in | ||
842 | + x86) | ||
843 | + echo i586-pc-interix${UNAME_RELEASE} | ||
844 | + exit ;; | ||
845 | + authenticamd | genuineintel | EM64T) | ||
846 | + echo x86_64-unknown-interix${UNAME_RELEASE} | ||
847 | + exit ;; | ||
848 | + IA64) | ||
849 | + echo ia64-unknown-interix${UNAME_RELEASE} | ||
850 | + exit ;; | ||
851 | + esac ;; | ||
852 | + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) | ||
853 | + echo i${UNAME_MACHINE}-pc-mks | ||
854 | + exit ;; | ||
855 | + 8664:Windows_NT:*) | ||
856 | + echo x86_64-pc-mks | ||
857 | + exit ;; | ||
858 | + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) | ||
859 | + # How do we know it's Interix rather than the generic POSIX subsystem? | ||
860 | + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we | ||
861 | + # UNAME_MACHINE based on the output of uname instead of i386? | ||
862 | + echo i586-pc-interix | ||
863 | + exit ;; | ||
864 | + i*:UWIN*:*) | ||
865 | + echo ${UNAME_MACHINE}-pc-uwin | ||
866 | + exit ;; | ||
867 | + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) | ||
868 | + echo x86_64-unknown-cygwin | ||
869 | + exit ;; | ||
870 | + p*:CYGWIN*:*) | ||
871 | + echo powerpcle-unknown-cygwin | ||
872 | + exit ;; | ||
873 | + prep*:SunOS:5.*:*) | ||
874 | + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` | ||
875 | + exit ;; | ||
876 | + *:GNU:*:*) | ||
877 | + # the GNU system | ||
878 | + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` | ||
879 | + exit ;; | ||
880 | + *:GNU/*:*:*) | ||
881 | + # other systems with GNU libc and userland | ||
882 | + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} | ||
883 | + exit ;; | ||
884 | + i*86:Minix:*:*) | ||
885 | + echo ${UNAME_MACHINE}-pc-minix | ||
886 | + exit ;; | ||
887 | + alpha:Linux:*:*) | ||
888 | + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | ||
889 | + EV5) UNAME_MACHINE=alphaev5 ;; | ||
890 | + EV56) UNAME_MACHINE=alphaev56 ;; | ||
891 | + PCA56) UNAME_MACHINE=alphapca56 ;; | ||
892 | + PCA57) UNAME_MACHINE=alphapca56 ;; | ||
893 | + EV6) UNAME_MACHINE=alphaev6 ;; | ||
894 | + EV67) UNAME_MACHINE=alphaev67 ;; | ||
895 | + EV68*) UNAME_MACHINE=alphaev68 ;; | ||
896 | + esac | ||
897 | + objdump --private-headers /bin/sh | grep -q ld.so.1 | ||
898 | + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi | ||
899 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
900 | + exit ;; | ||
901 | + arm*:Linux:*:*) | ||
902 | + eval $set_cc_for_build | ||
903 | + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | ||
904 | + | grep -q __ARM_EABI__ | ||
905 | + then | ||
906 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
907 | + else | ||
908 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi | ||
909 | + fi | ||
910 | + exit ;; | ||
911 | + avr32*:Linux:*:*) | ||
912 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
913 | + exit ;; | ||
914 | + cris:Linux:*:*) | ||
915 | + echo cris-axis-linux-${LIBC} | ||
916 | + exit ;; | ||
917 | + crisv32:Linux:*:*) | ||
918 | + echo crisv32-axis-linux-${LIBC} | ||
919 | + exit ;; | ||
920 | + frv:Linux:*:*) | ||
921 | + echo frv-unknown-linux-${LIBC} | ||
922 | + exit ;; | ||
923 | + i*86:Linux:*:*) | ||
924 | + echo ${UNAME_MACHINE}-pc-linux-${LIBC} | ||
925 | + exit ;; | ||
926 | + ia64:Linux:*:*) | ||
927 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
928 | + exit ;; | ||
929 | + m32r*:Linux:*:*) | ||
930 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
931 | + exit ;; | ||
932 | + m68*:Linux:*:*) | ||
933 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
934 | + exit ;; | ||
935 | + mips:Linux:*:* | mips64:Linux:*:*) | ||
936 | + eval $set_cc_for_build | ||
937 | + sed 's/^ //' << EOF >$dummy.c | ||
938 | + #undef CPU | ||
939 | + #undef ${UNAME_MACHINE} | ||
940 | + #undef ${UNAME_MACHINE}el | ||
941 | + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) | ||
942 | + CPU=${UNAME_MACHINE}el | ||
943 | + #else | ||
944 | + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) | ||
945 | + CPU=${UNAME_MACHINE} | ||
946 | + #else | ||
947 | + CPU= | ||
948 | + #endif | ||
949 | + #endif | ||
950 | +EOF | ||
951 | + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | ||
952 | + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } | ||
953 | + ;; | ||
954 | + or32:Linux:*:*) | ||
955 | + echo or32-unknown-linux-${LIBC} | ||
956 | + exit ;; | ||
957 | + padre:Linux:*:*) | ||
958 | + echo sparc-unknown-linux-${LIBC} | ||
959 | + exit ;; | ||
960 | + parisc64:Linux:*:* | hppa64:Linux:*:*) | ||
961 | + echo hppa64-unknown-linux-${LIBC} | ||
962 | + exit ;; | ||
963 | + parisc:Linux:*:* | hppa:Linux:*:*) | ||
964 | + # Look for CPU level | ||
965 | + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in | ||
966 | + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; | ||
967 | + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; | ||
968 | + *) echo hppa-unknown-linux-${LIBC} ;; | ||
969 | + esac | ||
970 | + exit ;; | ||
971 | + ppc64:Linux:*:*) | ||
972 | + echo powerpc64-unknown-linux-${LIBC} | ||
973 | + exit ;; | ||
974 | + ppc:Linux:*:*) | ||
975 | + echo powerpc-unknown-linux-${LIBC} | ||
976 | + exit ;; | ||
977 | + s390:Linux:*:* | s390x:Linux:*:*) | ||
978 | + echo ${UNAME_MACHINE}-ibm-linux | ||
979 | + exit ;; | ||
980 | + sh64*:Linux:*:*) | ||
981 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
982 | + exit ;; | ||
983 | + sh*:Linux:*:*) | ||
984 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
985 | + exit ;; | ||
986 | + sparc:Linux:*:* | sparc64:Linux:*:*) | ||
987 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
988 | + exit ;; | ||
989 | + tile*:Linux:*:*) | ||
990 | + echo ${UNAME_MACHINE}-tilera-linux-gnu | ||
991 | + exit ;; | ||
992 | + vax:Linux:*:*) | ||
993 | + echo ${UNAME_MACHINE}-dec-linux-${LIBC} | ||
994 | + exit ;; | ||
995 | + x86_64:Linux:*:*) | ||
996 | + echo x86_64-unknown-linux-${LIBC} | ||
997 | + exit ;; | ||
998 | + xtensa*:Linux:*:*) | ||
999 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} | ||
1000 | + exit ;; | ||
1001 | + i*86:DYNIX/ptx:4*:*) | ||
1002 | + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. | ||
1003 | + # earlier versions are messed up and put the nodename in both | ||
1004 | + # sysname and nodename. | ||
1005 | + echo i386-sequent-sysv4 | ||
1006 | + exit ;; | ||
1007 | + i*86:UNIX_SV:4.2MP:2.*) | ||
1008 | + # Unixware is an offshoot of SVR4, but it has its own version | ||
1009 | + # number series starting with 2... | ||
1010 | + # I am not positive that other SVR4 systems won't match this, | ||
1011 | + # I just have to hope. -- rms. | ||
1012 | + # Use sysv4.2uw... so that sysv4* matches it. | ||
1013 | + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} | ||
1014 | + exit ;; | ||
1015 | + i*86:OS/2:*:*) | ||
1016 | + # If we were able to find `uname', then EMX Unix compatibility | ||
1017 | + # is probably installed. | ||
1018 | + echo ${UNAME_MACHINE}-pc-os2-emx | ||
1019 | + exit ;; | ||
1020 | + i*86:XTS-300:*:STOP) | ||
1021 | + echo ${UNAME_MACHINE}-unknown-stop | ||
1022 | + exit ;; | ||
1023 | + i*86:atheos:*:*) | ||
1024 | + echo ${UNAME_MACHINE}-unknown-atheos | ||
1025 | + exit ;; | ||
1026 | + i*86:syllable:*:*) | ||
1027 | + echo ${UNAME_MACHINE}-pc-syllable | ||
1028 | + exit ;; | ||
1029 | + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) | ||
1030 | + echo i386-unknown-lynxos${UNAME_RELEASE} | ||
1031 | + exit ;; | ||
1032 | + i*86:*DOS:*:*) | ||
1033 | + echo ${UNAME_MACHINE}-pc-msdosdjgpp | ||
1034 | + exit ;; | ||
1035 | + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) | ||
1036 | + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` | ||
1037 | + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then | ||
1038 | + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} | ||
1039 | + else | ||
1040 | + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} | ||
1041 | + fi | ||
1042 | + exit ;; | ||
1043 | + i*86:*:5:[678]*) | ||
1044 | + # UnixWare 7.x, OpenUNIX and OpenServer 6. | ||
1045 | + case `/bin/uname -X | grep "^Machine"` in | ||
1046 | + *486*) UNAME_MACHINE=i486 ;; | ||
1047 | + *Pentium) UNAME_MACHINE=i586 ;; | ||
1048 | + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; | ||
1049 | + esac | ||
1050 | + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} | ||
1051 | + exit ;; | ||
1052 | + i*86:*:3.2:*) | ||
1053 | + if test -f /usr/options/cb.name; then | ||
1054 | + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` | ||
1055 | + echo ${UNAME_MACHINE}-pc-isc$UNAME_REL | ||
1056 | + elif /bin/uname -X 2>/dev/null >/dev/null ; then | ||
1057 | + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` | ||
1058 | + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 | ||
1059 | + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ | ||
1060 | + && UNAME_MACHINE=i586 | ||
1061 | + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ | ||
1062 | + && UNAME_MACHINE=i686 | ||
1063 | + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ | ||
1064 | + && UNAME_MACHINE=i686 | ||
1065 | + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL | ||
1066 | + else | ||
1067 | + echo ${UNAME_MACHINE}-pc-sysv32 | ||
1068 | + fi | ||
1069 | + exit ;; | ||
1070 | + pc:*:*:*) | ||
1071 | + # Left here for compatibility: | ||
1072 | + # uname -m prints for DJGPP always 'pc', but it prints nothing about | ||
1073 | + # the processor, so we play safe by assuming i586. | ||
1074 | + # Note: whatever this is, it MUST be the same as what config.sub | ||
1075 | + # prints for the "djgpp" host, or else GDB configury will decide that | ||
1076 | + # this is a cross-build. | ||
1077 | + echo i586-pc-msdosdjgpp | ||
1078 | + exit ;; | ||
1079 | + Intel:Mach:3*:*) | ||
1080 | + echo i386-pc-mach3 | ||
1081 | + exit ;; | ||
1082 | + paragon:*:*:*) | ||
1083 | + echo i860-intel-osf1 | ||
1084 | + exit ;; | ||
1085 | + i860:*:4.*:*) # i860-SVR4 | ||
1086 | + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then | ||
1087 | + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 | ||
1088 | + else # Add other i860-SVR4 vendors below as they are discovered. | ||
1089 | + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 | ||
1090 | + fi | ||
1091 | + exit ;; | ||
1092 | + mini*:CTIX:SYS*5:*) | ||
1093 | + # "miniframe" | ||
1094 | + echo m68010-convergent-sysv | ||
1095 | + exit ;; | ||
1096 | + mc68k:UNIX:SYSTEM5:3.51m) | ||
1097 | + echo m68k-convergent-sysv | ||
1098 | + exit ;; | ||
1099 | + M680?0:D-NIX:5.3:*) | ||
1100 | + echo m68k-diab-dnix | ||
1101 | + exit ;; | ||
1102 | + M68*:*:R3V[5678]*:*) | ||
1103 | + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; | ||
1104 | + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) | ||
1105 | + OS_REL='' | ||
1106 | + test -r /etc/.relid \ | ||
1107 | + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | ||
1108 | + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | ||
1109 | + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | ||
1110 | + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | ||
1111 | + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | ||
1112 | + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) | ||
1113 | + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | ||
1114 | + && { echo i486-ncr-sysv4; exit; } ;; | ||
1115 | + NCR*:*:4.2:* | MPRAS*:*:4.2:*) | ||
1116 | + OS_REL='.3' | ||
1117 | + test -r /etc/.relid \ | ||
1118 | + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` | ||
1119 | + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ | ||
1120 | + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } | ||
1121 | + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ | ||
1122 | + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } | ||
1123 | + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ | ||
1124 | + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; | ||
1125 | + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) | ||
1126 | + echo m68k-unknown-lynxos${UNAME_RELEASE} | ||
1127 | + exit ;; | ||
1128 | + mc68030:UNIX_System_V:4.*:*) | ||
1129 | + echo m68k-atari-sysv4 | ||
1130 | + exit ;; | ||
1131 | + TSUNAMI:LynxOS:2.*:*) | ||
1132 | + echo sparc-unknown-lynxos${UNAME_RELEASE} | ||
1133 | + exit ;; | ||
1134 | + rs6000:LynxOS:2.*:*) | ||
1135 | + echo rs6000-unknown-lynxos${UNAME_RELEASE} | ||
1136 | + exit ;; | ||
1137 | + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) | ||
1138 | + echo powerpc-unknown-lynxos${UNAME_RELEASE} | ||
1139 | + exit ;; | ||
1140 | + SM[BE]S:UNIX_SV:*:*) | ||
1141 | + echo mips-dde-sysv${UNAME_RELEASE} | ||
1142 | + exit ;; | ||
1143 | + RM*:ReliantUNIX-*:*:*) | ||
1144 | + echo mips-sni-sysv4 | ||
1145 | + exit ;; | ||
1146 | + RM*:SINIX-*:*:*) | ||
1147 | + echo mips-sni-sysv4 | ||
1148 | + exit ;; | ||
1149 | + *:SINIX-*:*:*) | ||
1150 | + if uname -p 2>/dev/null >/dev/null ; then | ||
1151 | + UNAME_MACHINE=`(uname -p) 2>/dev/null` | ||
1152 | + echo ${UNAME_MACHINE}-sni-sysv4 | ||
1153 | + else | ||
1154 | + echo ns32k-sni-sysv | ||
1155 | + fi | ||
1156 | + exit ;; | ||
1157 | + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort | ||
1158 | + # says <Richard.M.Bartel@ccMail.Census.GOV> | ||
1159 | + echo i586-unisys-sysv4 | ||
1160 | + exit ;; | ||
1161 | + *:UNIX_System_V:4*:FTX*) | ||
1162 | + # From Gerald Hewes <hewes@openmarket.com>. | ||
1163 | + # How about differentiating between stratus architectures? -djm | ||
1164 | + echo hppa1.1-stratus-sysv4 | ||
1165 | + exit ;; | ||
1166 | + *:*:*:FTX*) | ||
1167 | + # From seanf@swdc.stratus.com. | ||
1168 | + echo i860-stratus-sysv4 | ||
1169 | + exit ;; | ||
1170 | + i*86:VOS:*:*) | ||
1171 | + # From Paul.Green@stratus.com. | ||
1172 | + echo ${UNAME_MACHINE}-stratus-vos | ||
1173 | + exit ;; | ||
1174 | + *:VOS:*:*) | ||
1175 | + # From Paul.Green@stratus.com. | ||
1176 | + echo hppa1.1-stratus-vos | ||
1177 | + exit ;; | ||
1178 | + mc68*:A/UX:*:*) | ||
1179 | + echo m68k-apple-aux${UNAME_RELEASE} | ||
1180 | + exit ;; | ||
1181 | + news*:NEWS-OS:6*:*) | ||
1182 | + echo mips-sony-newsos6 | ||
1183 | + exit ;; | ||
1184 | + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) | ||
1185 | + if [ -d /usr/nec ]; then | ||
1186 | + echo mips-nec-sysv${UNAME_RELEASE} | ||
1187 | + else | ||
1188 | + echo mips-unknown-sysv${UNAME_RELEASE} | ||
1189 | + fi | ||
1190 | + exit ;; | ||
1191 | + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. | ||
1192 | + echo powerpc-be-beos | ||
1193 | + exit ;; | ||
1194 | + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. | ||
1195 | + echo powerpc-apple-beos | ||
1196 | + exit ;; | ||
1197 | + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. | ||
1198 | + echo i586-pc-beos | ||
1199 | + exit ;; | ||
1200 | + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. | ||
1201 | + echo i586-pc-haiku | ||
1202 | + exit ;; | ||
1203 | + SX-4:SUPER-UX:*:*) | ||
1204 | + echo sx4-nec-superux${UNAME_RELEASE} | ||
1205 | + exit ;; | ||
1206 | + SX-5:SUPER-UX:*:*) | ||
1207 | + echo sx5-nec-superux${UNAME_RELEASE} | ||
1208 | + exit ;; | ||
1209 | + SX-6:SUPER-UX:*:*) | ||
1210 | + echo sx6-nec-superux${UNAME_RELEASE} | ||
1211 | + exit ;; | ||
1212 | + SX-7:SUPER-UX:*:*) | ||
1213 | + echo sx7-nec-superux${UNAME_RELEASE} | ||
1214 | + exit ;; | ||
1215 | + SX-8:SUPER-UX:*:*) | ||
1216 | + echo sx8-nec-superux${UNAME_RELEASE} | ||
1217 | + exit ;; | ||
1218 | + SX-8R:SUPER-UX:*:*) | ||
1219 | + echo sx8r-nec-superux${UNAME_RELEASE} | ||
1220 | + exit ;; | ||
1221 | + Power*:Rhapsody:*:*) | ||
1222 | + echo powerpc-apple-rhapsody${UNAME_RELEASE} | ||
1223 | + exit ;; | ||
1224 | + *:Rhapsody:*:*) | ||
1225 | + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} | ||
1226 | + exit ;; | ||
1227 | + *:Darwin:*:*) | ||
1228 | + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown | ||
1229 | + case $UNAME_PROCESSOR in | ||
1230 | + i386) | ||
1231 | + eval $set_cc_for_build | ||
1232 | + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | ||
1233 | + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | ||
1234 | + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | ||
1235 | + grep IS_64BIT_ARCH >/dev/null | ||
1236 | + then | ||
1237 | + UNAME_PROCESSOR="x86_64" | ||
1238 | + fi | ||
1239 | + fi ;; | ||
1240 | + unknown) UNAME_PROCESSOR=powerpc ;; | ||
1241 | + esac | ||
1242 | + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} | ||
1243 | + exit ;; | ||
1244 | + *:procnto*:*:* | *:QNX:[0123456789]*:*) | ||
1245 | + UNAME_PROCESSOR=`uname -p` | ||
1246 | + if test "$UNAME_PROCESSOR" = "x86"; then | ||
1247 | + UNAME_PROCESSOR=i386 | ||
1248 | + UNAME_MACHINE=pc | ||
1249 | + fi | ||
1250 | + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} | ||
1251 | + exit ;; | ||
1252 | + *:QNX:*:4*) | ||
1253 | + echo i386-pc-qnx | ||
1254 | + exit ;; | ||
1255 | + NEO-?:NONSTOP_KERNEL:*:*) | ||
1256 | + echo neo-tandem-nsk${UNAME_RELEASE} | ||
1257 | + exit ;; | ||
1258 | + NSE-?:NONSTOP_KERNEL:*:*) | ||
1259 | + echo nse-tandem-nsk${UNAME_RELEASE} | ||
1260 | + exit ;; | ||
1261 | + NSR-?:NONSTOP_KERNEL:*:*) | ||
1262 | + echo nsr-tandem-nsk${UNAME_RELEASE} | ||
1263 | + exit ;; | ||
1264 | + *:NonStop-UX:*:*) | ||
1265 | + echo mips-compaq-nonstopux | ||
1266 | + exit ;; | ||
1267 | + BS2000:POSIX*:*:*) | ||
1268 | + echo bs2000-siemens-sysv | ||
1269 | + exit ;; | ||
1270 | + DS/*:UNIX_System_V:*:*) | ||
1271 | + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} | ||
1272 | + exit ;; | ||
1273 | + *:Plan9:*:*) | ||
1274 | + # "uname -m" is not consistent, so use $cputype instead. 386 | ||
1275 | + # is converted to i386 for consistency with other x86 | ||
1276 | + # operating systems. | ||
1277 | + if test "$cputype" = "386"; then | ||
1278 | + UNAME_MACHINE=i386 | ||
1279 | + else | ||
1280 | + UNAME_MACHINE="$cputype" | ||
1281 | + fi | ||
1282 | + echo ${UNAME_MACHINE}-unknown-plan9 | ||
1283 | + exit ;; | ||
1284 | + *:TOPS-10:*:*) | ||
1285 | + echo pdp10-unknown-tops10 | ||
1286 | + exit ;; | ||
1287 | + *:TENEX:*:*) | ||
1288 | + echo pdp10-unknown-tenex | ||
1289 | + exit ;; | ||
1290 | + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) | ||
1291 | + echo pdp10-dec-tops20 | ||
1292 | + exit ;; | ||
1293 | + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) | ||
1294 | + echo pdp10-xkl-tops20 | ||
1295 | + exit ;; | ||
1296 | + *:TOPS-20:*:*) | ||
1297 | + echo pdp10-unknown-tops20 | ||
1298 | + exit ;; | ||
1299 | + *:ITS:*:*) | ||
1300 | + echo pdp10-unknown-its | ||
1301 | + exit ;; | ||
1302 | + SEI:*:*:SEIUX) | ||
1303 | + echo mips-sei-seiux${UNAME_RELEASE} | ||
1304 | + exit ;; | ||
1305 | + *:DragonFly:*:*) | ||
1306 | + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` | ||
1307 | + exit ;; | ||
1308 | + *:*VMS:*:*) | ||
1309 | + UNAME_MACHINE=`(uname -p) 2>/dev/null` | ||
1310 | + case "${UNAME_MACHINE}" in | ||
1311 | + A*) echo alpha-dec-vms ; exit ;; | ||
1312 | + I*) echo ia64-dec-vms ; exit ;; | ||
1313 | + V*) echo vax-dec-vms ; exit ;; | ||
1314 | + esac ;; | ||
1315 | + *:XENIX:*:SysV) | ||
1316 | + echo i386-pc-xenix | ||
1317 | + exit ;; | ||
1318 | + i*86:skyos:*:*) | ||
1319 | + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' | ||
1320 | + exit ;; | ||
1321 | + i*86:rdos:*:*) | ||
1322 | + echo ${UNAME_MACHINE}-pc-rdos | ||
1323 | + exit ;; | ||
1324 | + i*86:AROS:*:*) | ||
1325 | + echo ${UNAME_MACHINE}-pc-aros | ||
1326 | + exit ;; | ||
1327 | +esac | ||
1328 | + | ||
1329 | +#echo '(No uname command or uname output not recognized.)' 1>&2 | ||
1330 | +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 | ||
1331 | + | ||
1332 | +eval $set_cc_for_build | ||
1333 | +cat >$dummy.c <<EOF | ||
1334 | +#ifdef _SEQUENT_ | ||
1335 | +# include <sys/types.h> | ||
1336 | +# include <sys/utsname.h> | ||
1337 | +#endif | ||
1338 | +main () | ||
1339 | +{ | ||
1340 | +#if defined (sony) | ||
1341 | +#if defined (MIPSEB) | ||
1342 | + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, | ||
1343 | + I don't know.... */ | ||
1344 | + printf ("mips-sony-bsd\n"); exit (0); | ||
1345 | +#else | ||
1346 | +#include <sys/param.h> | ||
1347 | + printf ("m68k-sony-newsos%s\n", | ||
1348 | +#ifdef NEWSOS4 | ||
1349 | + "4" | ||
1350 | +#else | ||
1351 | + "" | ||
1352 | +#endif | ||
1353 | + ); exit (0); | ||
1354 | +#endif | ||
1355 | +#endif | ||
1356 | + | ||
1357 | +#if defined (__arm) && defined (__acorn) && defined (__unix) | ||
1358 | + printf ("arm-acorn-riscix\n"); exit (0); | ||
1359 | +#endif | ||
1360 | + | ||
1361 | +#if defined (hp300) && !defined (hpux) | ||
1362 | + printf ("m68k-hp-bsd\n"); exit (0); | ||
1363 | +#endif | ||
1364 | + | ||
1365 | +#if defined (NeXT) | ||
1366 | +#if !defined (__ARCHITECTURE__) | ||
1367 | +#define __ARCHITECTURE__ "m68k" | ||
1368 | +#endif | ||
1369 | + int version; | ||
1370 | + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; | ||
1371 | + if (version < 4) | ||
1372 | + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); | ||
1373 | + else | ||
1374 | + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); | ||
1375 | + exit (0); | ||
1376 | +#endif | ||
1377 | + | ||
1378 | +#if defined (MULTIMAX) || defined (n16) | ||
1379 | +#if defined (UMAXV) | ||
1380 | + printf ("ns32k-encore-sysv\n"); exit (0); | ||
1381 | +#else | ||
1382 | +#if defined (CMU) | ||
1383 | + printf ("ns32k-encore-mach\n"); exit (0); | ||
1384 | +#else | ||
1385 | + printf ("ns32k-encore-bsd\n"); exit (0); | ||
1386 | +#endif | ||
1387 | +#endif | ||
1388 | +#endif | ||
1389 | + | ||
1390 | +#if defined (__386BSD__) | ||
1391 | + printf ("i386-pc-bsd\n"); exit (0); | ||
1392 | +#endif | ||
1393 | + | ||
1394 | +#if defined (sequent) | ||
1395 | +#if defined (i386) | ||
1396 | + printf ("i386-sequent-dynix\n"); exit (0); | ||
1397 | +#endif | ||
1398 | +#if defined (ns32000) | ||
1399 | + printf ("ns32k-sequent-dynix\n"); exit (0); | ||
1400 | +#endif | ||
1401 | +#endif | ||
1402 | + | ||
1403 | +#if defined (_SEQUENT_) | ||
1404 | + struct utsname un; | ||
1405 | + | ||
1406 | + uname(&un); | ||
1407 | + | ||
1408 | + if (strncmp(un.version, "V2", 2) == 0) { | ||
1409 | + printf ("i386-sequent-ptx2\n"); exit (0); | ||
1410 | + } | ||
1411 | + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ | ||
1412 | + printf ("i386-sequent-ptx1\n"); exit (0); | ||
1413 | + } | ||
1414 | + printf ("i386-sequent-ptx\n"); exit (0); | ||
1415 | + | ||
1416 | +#endif | ||
1417 | + | ||
1418 | +#if defined (vax) | ||
1419 | +# if !defined (ultrix) | ||
1420 | +# include <sys/param.h> | ||
1421 | +# if defined (BSD) | ||
1422 | +# if BSD == 43 | ||
1423 | + printf ("vax-dec-bsd4.3\n"); exit (0); | ||
1424 | +# else | ||
1425 | +# if BSD == 199006 | ||
1426 | + printf ("vax-dec-bsd4.3reno\n"); exit (0); | ||
1427 | +# else | ||
1428 | + printf ("vax-dec-bsd\n"); exit (0); | ||
1429 | +# endif | ||
1430 | +# endif | ||
1431 | +# else | ||
1432 | + printf ("vax-dec-bsd\n"); exit (0); | ||
1433 | +# endif | ||
1434 | +# else | ||
1435 | + printf ("vax-dec-ultrix\n"); exit (0); | ||
1436 | +# endif | ||
1437 | +#endif | ||
1438 | + | ||
1439 | +#if defined (alliant) && defined (i860) | ||
1440 | + printf ("i860-alliant-bsd\n"); exit (0); | ||
1441 | +#endif | ||
1442 | + | ||
1443 | + exit (1); | ||
1444 | +} | ||
1445 | +EOF | ||
1446 | + | ||
1447 | +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && | ||
1448 | + { echo "$SYSTEM_NAME"; exit; } | ||
1449 | + | ||
1450 | +# Apollos put the system type in the environment. | ||
1451 | + | ||
1452 | +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } | ||
1453 | + | ||
1454 | +# Convex versions that predate uname can use getsysinfo(1) | ||
1455 | + | ||
1456 | +if [ -x /usr/convex/getsysinfo ] | ||
1457 | +then | ||
1458 | + case `getsysinfo -f cpu_type` in | ||
1459 | + c1*) | ||
1460 | + echo c1-convex-bsd | ||
1461 | + exit ;; | ||
1462 | + c2*) | ||
1463 | + if getsysinfo -f scalar_acc | ||
1464 | + then echo c32-convex-bsd | ||
1465 | + else echo c2-convex-bsd | ||
1466 | + fi | ||
1467 | + exit ;; | ||
1468 | + c34*) | ||
1469 | + echo c34-convex-bsd | ||
1470 | + exit ;; | ||
1471 | + c38*) | ||
1472 | + echo c38-convex-bsd | ||
1473 | + exit ;; | ||
1474 | + c4*) | ||
1475 | + echo c4-convex-bsd | ||
1476 | + exit ;; | ||
1477 | + esac | ||
1478 | +fi | ||
1479 | + | ||
1480 | +cat >&2 <<EOF | ||
1481 | +$0: unable to guess system type | ||
1482 | + | ||
1483 | +This script, last modified $timestamp, has failed to recognize | ||
1484 | +the operating system you are using. It is advised that you | ||
1485 | +download the most up to date version of the config scripts from | ||
1486 | + | ||
1487 | + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | ||
1488 | +and | ||
1489 | + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | ||
1490 | + | ||
1491 | +If the version you run ($0) is already up to date, please | ||
1492 | +send the following data and any information you think might be | ||
1493 | +pertinent to <config-patches@gnu.org> in order to provide the needed | ||
1494 | +information to handle your system. | ||
1495 | + | ||
1496 | +config.guess timestamp = $timestamp | ||
1497 | + | ||
1498 | +uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
1499 | +uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
1500 | +uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1501 | +uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
1502 | + | ||
1503 | +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` | ||
1504 | +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` | ||
1505 | + | ||
1506 | +hostinfo = `(hostinfo) 2>/dev/null` | ||
1507 | +/bin/universe = `(/bin/universe) 2>/dev/null` | ||
1508 | +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` | ||
1509 | +/bin/arch = `(/bin/arch) 2>/dev/null` | ||
1510 | +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` | ||
1511 | +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` | ||
1512 | + | ||
1513 | +UNAME_MACHINE = ${UNAME_MACHINE} | ||
1514 | +UNAME_RELEASE = ${UNAME_RELEASE} | ||
1515 | +UNAME_SYSTEM = ${UNAME_SYSTEM} | ||
1516 | +UNAME_VERSION = ${UNAME_VERSION} | ||
1517 | +EOF | ||
1518 | + | ||
1519 | +exit 1 | ||
1520 | + | ||
1521 | +# Local variables: | ||
1522 | +# eval: (add-hook 'write-file-hooks 'time-stamp) | ||
1523 | +# time-stamp-start: "timestamp='" | ||
1524 | +# time-stamp-format: "%:y-%02m-%02d" | ||
1525 | +# time-stamp-end: "'" | ||
1526 | +# End: |
config.h.in
0 → 100644
1 | +/* config.h.in. Generated from configure.ac by autoheader. */ | ||
2 | + | ||
3 | +/* Define to 1 if you have the <dlfcn.h> header file. */ | ||
4 | +#undef HAVE_DLFCN_H | ||
5 | + | ||
6 | +/* Define to 1 if you have the <fcntl.h> header file. */ | ||
7 | +#undef HAVE_FCNTL_H | ||
8 | + | ||
9 | +/* Define to 1 if you have the <inttypes.h> header file. */ | ||
10 | +#undef HAVE_INTTYPES_H | ||
11 | + | ||
12 | +/* Define to 1 if you have the `json' library (-ljson). */ | ||
13 | +#undef HAVE_LIBJSON | ||
14 | + | ||
15 | +/* Define to 1 if you have the `mcrypt' library (-lmcrypt). */ | ||
16 | +#undef HAVE_LIBMCRYPT | ||
17 | + | ||
18 | +/* Define to 1 if you have the `mhash' library (-lmhash). */ | ||
19 | +#undef HAVE_LIBMHASH | ||
20 | + | ||
21 | +/* Define to 1 if you have the <limits.h> header file. */ | ||
22 | +#undef HAVE_LIMITS_H | ||
23 | + | ||
24 | +/* Define to 1 if you have the `memchr' function. */ | ||
25 | +#undef HAVE_MEMCHR | ||
26 | + | ||
27 | +/* Define to 1 if you have the `memmove' function. */ | ||
28 | +#undef HAVE_MEMMOVE | ||
29 | + | ||
30 | +/* Define to 1 if you have the <memory.h> header file. */ | ||
31 | +#undef HAVE_MEMORY_H | ||
32 | + | ||
33 | +/* Define to 1 if you have the `memset' function. */ | ||
34 | +#undef HAVE_MEMSET | ||
35 | + | ||
36 | +/* Define to 1 if stdbool.h conforms to C99. */ | ||
37 | +#undef HAVE_STDBOOL_H | ||
38 | + | ||
39 | +/* Define to 1 if you have the <stddef.h> header file. */ | ||
40 | +#undef HAVE_STDDEF_H | ||
41 | + | ||
42 | +/* Define to 1 if you have the <stdint.h> header file. */ | ||
43 | +#undef HAVE_STDINT_H | ||
44 | + | ||
45 | +/* Define to 1 if you have the <stdlib.h> header file. */ | ||
46 | +#undef HAVE_STDLIB_H | ||
47 | + | ||
48 | +/* Define to 1 if you have the <strings.h> header file. */ | ||
49 | +#undef HAVE_STRINGS_H | ||
50 | + | ||
51 | +/* Define to 1 if you have the <string.h> header file. */ | ||
52 | +#undef HAVE_STRING_H | ||
53 | + | ||
54 | +/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
55 | +#undef HAVE_SYS_STAT_H | ||
56 | + | ||
57 | +/* Define to 1 if you have the <sys/types.h> header file. */ | ||
58 | +#undef HAVE_SYS_TYPES_H | ||
59 | + | ||
60 | +/* Define to 1 if you have the <unistd.h> header file. */ | ||
61 | +#undef HAVE_UNISTD_H | ||
62 | + | ||
63 | +/* Define to 1 if the system has the type `_Bool'. */ | ||
64 | +#undef HAVE__BOOL | ||
65 | + | ||
66 | +/* Define to the sub-directory in which libtool stores uninstalled libraries. | ||
67 | + */ | ||
68 | +#undef LT_OBJDIR | ||
69 | + | ||
70 | +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ | ||
71 | +#undef NO_MINUS_C_MINUS_O | ||
72 | + | ||
73 | +/* Name of package */ | ||
74 | +#undef PACKAGE | ||
75 | + | ||
76 | +/* Define to the address where bug reports for this package should be sent. */ | ||
77 | +#undef PACKAGE_BUGREPORT | ||
78 | + | ||
79 | +/* Define to the full name of this package. */ | ||
80 | +#undef PACKAGE_NAME | ||
81 | + | ||
82 | +/* Define to the full name and version of this package. */ | ||
83 | +#undef PACKAGE_STRING | ||
84 | + | ||
85 | +/* Define to the one symbol short name of this package. */ | ||
86 | +#undef PACKAGE_TARNAME | ||
87 | + | ||
88 | +/* Define to the home page for this package. */ | ||
89 | +#undef PACKAGE_URL | ||
90 | + | ||
91 | +/* Define to the version of this package. */ | ||
92 | +#undef PACKAGE_VERSION | ||
93 | + | ||
94 | +/* Define to 1 if you have the ANSI C header files. */ | ||
95 | +#undef STDC_HEADERS | ||
96 | + | ||
97 | +/* Version number of package */ | ||
98 | +#undef VERSION | ||
99 | + | ||
100 | +/* Define to `__inline__' or `__inline' if that's what the C compiler | ||
101 | + calls it, or to nothing if 'inline' is not supported under any name. */ | ||
102 | +#ifndef __cplusplus | ||
103 | +#undef inline | ||
104 | +#endif | ||
105 | + | ||
106 | +/* Define to the equivalent of the C99 'restrict' keyword, or to | ||
107 | + nothing if this is not supported. Do not define if restrict is | ||
108 | + supported directly. */ | ||
109 | +#undef restrict | ||
110 | +/* Work around a bug in Sun C++: it does not support _Restrict or | ||
111 | + __restrict__, even though the corresponding Sun C compiler ends up with | ||
112 | + "#define restrict _Restrict" or "#define restrict __restrict__" in the | ||
113 | + previous line. Perhaps some future version of Sun C++ will work with | ||
114 | + restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ | ||
115 | +#if defined __SUNPRO_CC && !defined __RESTRICT | ||
116 | +# define _Restrict | ||
117 | +# define __restrict__ | ||
118 | +#endif | ||
119 | + | ||
120 | +/* Define to `unsigned int' if <sys/types.h> does not define. */ | ||
121 | +#undef size_t |
Please
register
or
login
to post a comment