diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-29 21:20:03 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-29 21:20:03 +0100 |
commit | 18f75db039a69f0e5df8cdb62da8b6aaec6a8dc4 (patch) | |
tree | d82ff0062d92b2ddcf2e32638d463f92d607a60e | |
download | merchant-18f75db039a69f0e5df8cdb62da8b6aaec6a8dc4.tar.gz merchant-18f75db039a69f0e5df8cdb62da8b6aaec6a8dc4.zip |
initial import of merchant logic (FTBFS)
33 files changed, 7408 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 00000000..b52c8ae5 --- /dev/null +++ b/AUTHORS | |||
@@ -0,0 +1,4 @@ | |||
1 | Sree Harsha Totakura <sreeharsha@totakura.in> | ||
2 | Florian Dold | ||
3 | Christian Grothoff | ||
4 | Benedikt Mueller | ||
diff --git a/COPYING b/COPYING new file mode 100644 index 00000000..9b3e553b --- /dev/null +++ b/COPYING | |||
@@ -0,0 +1,510 @@ | |||
1 | Some of this code is DUAL-LICENSED. If you use MHD without HTTPS/SSL | ||
2 | support, you are free to choose between the LGPL and the eCos License | ||
3 | (http://ecos.sourceware.org/license-overview.html). If you compile | ||
4 | MHD with HTTPS support, you must obey the terms of the GNU LGPL. | ||
5 | |||
6 | |||
7 | GNU LESSER GENERAL PUBLIC LICENSE | ||
8 | Version 2.1, February 1999 | ||
9 | |||
10 | Copyright (C) 1991, 1999 Free Software Foundation, Inc. | ||
11 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
12 | Everyone is permitted to copy and distribute verbatim copies | ||
13 | of this license document, but changing it is not allowed. | ||
14 | |||
15 | [This is the first released version of the Lesser GPL. It also counts | ||
16 | as the successor of the GNU Library Public License, version 2, hence | ||
17 | the version number 2.1.] | ||
18 | |||
19 | Preamble | ||
20 | |||
21 | The licenses for most software are designed to take away your | ||
22 | freedom to share and change it. By contrast, the GNU General Public | ||
23 | Licenses are intended to guarantee your freedom to share and change | ||
24 | free software--to make sure the software is free for all its users. | ||
25 | |||
26 | This license, the Lesser General Public License, applies to some | ||
27 | specially designated software packages--typically libraries--of the | ||
28 | Free Software Foundation and other authors who decide to use it. You | ||
29 | can use it too, but we suggest you first think carefully about whether | ||
30 | this license or the ordinary General Public License is the better | ||
31 | strategy to use in any particular case, based on the explanations below. | ||
32 | |||
33 | When we speak of free software, we are referring to freedom of use, | ||
34 | not price. Our General Public Licenses are designed to make sure that | ||
35 | you have the freedom to distribute copies of free software (and charge | ||
36 | for this service if you wish); that you receive source code or can get | ||
37 | it if you want it; that you can change the software and use pieces of | ||
38 | it in new free programs; and that you are informed that you can do | ||
39 | these things. | ||
40 | |||
41 | To protect your rights, we need to make restrictions that forbid | ||
42 | distributors to deny you these rights or to ask you to surrender these | ||
43 | rights. These restrictions translate to certain responsibilities for | ||
44 | you if you distribute copies of the library or if you modify it. | ||
45 | |||
46 | For example, if you distribute copies of the library, whether gratis | ||
47 | or for a fee, you must give the recipients all the rights that we gave | ||
48 | you. You must make sure that they, too, receive or can get the source | ||
49 | code. If you link other code with the library, you must provide | ||
50 | complete object files to the recipients, so that they can relink them | ||
51 | with the library after making changes to the library and recompiling | ||
52 | it. And you must show them these terms so they know their rights. | ||
53 | |||
54 | We protect your rights with a two-step method: (1) we copyright the | ||
55 | library, and (2) we offer you this license, which gives you legal | ||
56 | permission to copy, distribute and/or modify the library. | ||
57 | |||
58 | To protect each distributor, we want to make it very clear that | ||
59 | there is no warranty for the free library. Also, if the library is | ||
60 | modified by someone else and passed on, the recipients should know | ||
61 | that what they have is not the original version, so that the original | ||
62 | author's reputation will not be affected by problems that might be | ||
63 | introduced by others. | ||
64 | |||
65 | Finally, software patents pose a constant threat to the existence of | ||
66 | any free program. We wish to make sure that a company cannot | ||
67 | effectively restrict the users of a free program by obtaining a | ||
68 | restrictive license from a patent holder. Therefore, we insist that | ||
69 | any patent license obtained for a version of the library must be | ||
70 | consistent with the full freedom of use specified in this license. | ||
71 | |||
72 | Most GNU software, including some libraries, is covered by the | ||
73 | ordinary GNU General Public License. This license, the GNU Lesser | ||
74 | General Public License, applies to certain designated libraries, and | ||
75 | is quite different from the ordinary General Public License. We use | ||
76 | this license for certain libraries in order to permit linking those | ||
77 | libraries into non-free programs. | ||
78 | |||
79 | When a program is linked with a library, whether statically or using | ||
80 | a shared library, the combination of the two is legally speaking a | ||
81 | combined work, a derivative of the original library. The ordinary | ||
82 | General Public License therefore permits such linking only if the | ||
83 | entire combination fits its criteria of freedom. The Lesser General | ||
84 | Public License permits more lax criteria for linking other code with | ||
85 | the library. | ||
86 | |||
87 | We call this license the "Lesser" General Public License because it | ||
88 | does Less to protect the user's freedom than the ordinary General | ||
89 | Public License. It also provides other free software developers Less | ||
90 | of an advantage over competing non-free programs. These disadvantages | ||
91 | are the reason we use the ordinary General Public License for many | ||
92 | libraries. However, the Lesser license provides advantages in certain | ||
93 | special circumstances. | ||
94 | |||
95 | For example, on rare occasions, there may be a special need to | ||
96 | encourage the widest possible use of a certain library, so that it becomes | ||
97 | a de-facto standard. To achieve this, non-free programs must be | ||
98 | allowed to use the library. A more frequent case is that a free | ||
99 | library does the same job as widely used non-free libraries. In this | ||
100 | case, there is little to gain by limiting the free library to free | ||
101 | software only, so we use the Lesser General Public License. | ||
102 | |||
103 | In other cases, permission to use a particular library in non-free | ||
104 | programs enables a greater number of people to use a large body of | ||
105 | free software. For example, permission to use the GNU C Library in | ||
106 | non-free programs enables many more people to use the whole GNU | ||
107 | operating system, as well as its variant, the GNU/Linux operating | ||
108 | system. | ||
109 | |||
110 | Although the Lesser General Public License is Less protective of the | ||
111 | users' freedom, it does ensure that the user of a program that is | ||
112 | linked with the Library has the freedom and the wherewithal to run | ||
113 | that program using a modified version of the Library. | ||
114 | |||
115 | The precise terms and conditions for copying, distribution and | ||
116 | modification follow. Pay close attention to the difference between a | ||
117 | "work based on the library" and a "work that uses the library". The | ||
118 | former contains code derived from the library, whereas the latter must | ||
119 | be combined with the library in order to run. | ||
120 | |||
121 | GNU LESSER GENERAL PUBLIC LICENSE | ||
122 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
123 | |||
124 | 0. This License Agreement applies to any software library or other | ||
125 | program which contains a notice placed by the copyright holder or | ||
126 | other authorized party saying it may be distributed under the terms of | ||
127 | this Lesser General Public License (also called "this License"). | ||
128 | Each licensee is addressed as "you". | ||
129 | |||
130 | A "library" means a collection of software functions and/or data | ||
131 | prepared so as to be conveniently linked with application programs | ||
132 | (which use some of those functions and data) to form executables. | ||
133 | |||
134 | The "Library", below, refers to any such software library or work | ||
135 | which has been distributed under these terms. A "work based on the | ||
136 | Library" means either the Library or any derivative work under | ||
137 | copyright law: that is to say, a work containing the Library or a | ||
138 | portion of it, either verbatim or with modifications and/or translated | ||
139 | straightforwardly into another language. (Hereinafter, translation is | ||
140 | included without limitation in the term "modification".) | ||
141 | |||
142 | "Source code" for a work means the preferred form of the work for | ||
143 | making modifications to it. For a library, complete source code means | ||
144 | all the source code for all modules it contains, plus any associated | ||
145 | interface definition files, plus the scripts used to control compilation | ||
146 | and installation of the library. | ||
147 | |||
148 | Activities other than copying, distribution and modification are not | ||
149 | covered by this License; they are outside its scope. The act of | ||
150 | running a program using the Library is not restricted, and output from | ||
151 | such a program is covered only if its contents constitute a work based | ||
152 | on the Library (independent of the use of the Library in a tool for | ||
153 | writing it). Whether that is true depends on what the Library does | ||
154 | and what the program that uses the Library does. | ||
155 | |||
156 | 1. You may copy and distribute verbatim copies of the Library's | ||
157 | complete source code as you receive it, in any medium, provided that | ||
158 | you conspicuously and appropriately publish on each copy an | ||
159 | appropriate copyright notice and disclaimer of warranty; keep intact | ||
160 | all the notices that refer to this License and to the absence of any | ||
161 | warranty; and distribute a copy of this License along with the | ||
162 | Library. | ||
163 | |||
164 | You may charge a fee for the physical act of transferring a copy, | ||
165 | and you may at your option offer warranty protection in exchange for a | ||
166 | fee. | ||
167 | |||
168 | 2. You may modify your copy or copies of the Library or any portion | ||
169 | of it, thus forming a work based on the Library, and copy and | ||
170 | distribute such modifications or work under the terms of Section 1 | ||
171 | above, provided that you also meet all of these conditions: | ||
172 | |||
173 | a) The modified work must itself be a software library. | ||
174 | |||
175 | b) You must cause the files modified to carry prominent notices | ||
176 | stating that you changed the files and the date of any change. | ||
177 | |||
178 | c) You must cause the whole of the work to be licensed at no | ||
179 | charge to all third parties under the terms of this License. | ||
180 | |||
181 | d) If a facility in the modified Library refers to a function or a | ||
182 | table of data to be supplied by an application program that uses | ||
183 | the facility, other than as an argument passed when the facility | ||
184 | is invoked, then you must make a good faith effort to ensure that, | ||
185 | in the event an application does not supply such function or | ||
186 | table, the facility still operates, and performs whatever part of | ||
187 | its purpose remains meaningful. | ||
188 | |||
189 | (For example, a function in a library to compute square roots has | ||
190 | a purpose that is entirely well-defined independent of the | ||
191 | application. Therefore, Subsection 2d requires that any | ||
192 | application-supplied function or table used by this function must | ||
193 | be optional: if the application does not supply it, the square | ||
194 | root function must still compute square roots.) | ||
195 | |||
196 | These requirements apply to the modified work as a whole. If | ||
197 | identifiable sections of that work are not derived from the Library, | ||
198 | and can be reasonably considered independent and separate works in | ||
199 | themselves, then this License, and its terms, do not apply to those | ||
200 | sections when you distribute them as separate works. But when you | ||
201 | distribute the same sections as part of a whole which is a work based | ||
202 | on the Library, the distribution of the whole must be on the terms of | ||
203 | this License, whose permissions for other licensees extend to the | ||
204 | entire whole, and thus to each and every part regardless of who wrote | ||
205 | it. | ||
206 | |||
207 | Thus, it is not the intent of this section to claim rights or contest | ||
208 | your rights to work written entirely by you; rather, the intent is to | ||
209 | exercise the right to control the distribution of derivative or | ||
210 | collective works based on the Library. | ||
211 | |||
212 | In addition, mere aggregation of another work not based on the Library | ||
213 | with the Library (or with a work based on the Library) on a volume of | ||
214 | a storage or distribution medium does not bring the other work under | ||
215 | the scope of this License. | ||
216 | |||
217 | 3. You may opt to apply the terms of the ordinary GNU General Public | ||
218 | License instead of this License to a given copy of the Library. To do | ||
219 | this, you must alter all the notices that refer to this License, so | ||
220 | that they refer to the ordinary GNU General Public License, version 2, | ||
221 | instead of to this License. (If a newer version than version 2 of the | ||
222 | ordinary GNU General Public License has appeared, then you can specify | ||
223 | that version instead if you wish.) Do not make any other change in | ||
224 | these notices. | ||
225 | |||
226 | Once this change is made in a given copy, it is irreversible for | ||
227 | that copy, so the ordinary GNU General Public License applies to all | ||
228 | subsequent copies and derivative works made from that copy. | ||
229 | |||
230 | This option is useful when you wish to copy part of the code of | ||
231 | the Library into a program that is not a library. | ||
232 | |||
233 | 4. You may copy and distribute the Library (or a portion or | ||
234 | derivative of it, under Section 2) in object code or executable form | ||
235 | under the terms of Sections 1 and 2 above provided that you accompany | ||
236 | it with the complete corresponding machine-readable source code, which | ||
237 | must be distributed under the terms of Sections 1 and 2 above on a | ||
238 | medium customarily used for software interchange. | ||
239 | |||
240 | If distribution of object code is made by offering access to copy | ||
241 | from a designated place, then offering equivalent access to copy the | ||
242 | source code from the same place satisfies the requirement to | ||
243 | distribute the source code, even though third parties are not | ||
244 | compelled to copy the source along with the object code. | ||
245 | |||
246 | 5. A program that contains no derivative of any portion of the | ||
247 | Library, but is designed to work with the Library by being compiled or | ||
248 | linked with it, is called a "work that uses the Library". Such a | ||
249 | work, in isolation, is not a derivative work of the Library, and | ||
250 | therefore falls outside the scope of this License. | ||
251 | |||
252 | However, linking a "work that uses the Library" with the Library | ||
253 | creates an executable that is a derivative of the Library (because it | ||
254 | contains portions of the Library), rather than a "work that uses the | ||
255 | library". The executable is therefore covered by this License. | ||
256 | Section 6 states terms for distribution of such executables. | ||
257 | |||
258 | When a "work that uses the Library" uses material from a header file | ||
259 | that is part of the Library, the object code for the work may be a | ||
260 | derivative work of the Library even though the source code is not. | ||
261 | Whether this is true is especially significant if the work can be | ||
262 | linked without the Library, or if the work is itself a library. The | ||
263 | threshold for this to be true is not precisely defined by law. | ||
264 | |||
265 | If such an object file uses only numerical parameters, data | ||
266 | structure layouts and accessors, and small macros and small inline | ||
267 | functions (ten lines or less in length), then the use of the object | ||
268 | file is unrestricted, regardless of whether it is legally a derivative | ||
269 | work. (Executables containing this object code plus portions of the | ||
270 | Library will still fall under Section 6.) | ||
271 | |||
272 | Otherwise, if the work is a derivative of the Library, you may | ||
273 | distribute the object code for the work under the terms of Section 6. | ||
274 | Any executables containing that work also fall under Section 6, | ||
275 | whether or not they are linked directly with the Library itself. | ||
276 | |||
277 | 6. As an exception to the Sections above, you may also combine or | ||
278 | link a "work that uses the Library" with the Library to produce a | ||
279 | work containing portions of the Library, and distribute that work | ||
280 | under terms of your choice, provided that the terms permit | ||
281 | modification of the work for the customer's own use and reverse | ||
282 | engineering for debugging such modifications. | ||
283 | |||
284 | You must give prominent notice with each copy of the work that the | ||
285 | Library is used in it and that the Library and its use are covered by | ||
286 | this License. You must supply a copy of this License. If the work | ||
287 | during execution displays copyright notices, you must include the | ||
288 | copyright notice for the Library among them, as well as a reference | ||
289 | directing the user to the copy of this License. Also, you must do one | ||
290 | of these things: | ||
291 | |||
292 | a) Accompany the work with the complete corresponding | ||
293 | machine-readable source code for the Library including whatever | ||
294 | changes were used in the work (which must be distributed under | ||
295 | Sections 1 and 2 above); and, if the work is an executable linked | ||
296 | with the Library, with the complete machine-readable "work that | ||
297 | uses the Library", as object code and/or source code, so that the | ||
298 | user can modify the Library and then relink to produce a modified | ||
299 | executable containing the modified Library. (It is understood | ||
300 | that the user who changes the contents of definitions files in the | ||
301 | Library will not necessarily be able to recompile the application | ||
302 | to use the modified definitions.) | ||
303 | |||
304 | b) Use a suitable shared library mechanism for linking with the | ||
305 | Library. A suitable mechanism is one that (1) uses at run time a | ||
306 | copy of the library already present on the user's computer system, | ||
307 | rather than copying library functions into the executable, and (2) | ||
308 | will operate properly with a modified version of the library, if | ||
309 | the user installs one, as long as the modified version is | ||
310 | interface-compatible with the version that the work was made with. | ||
311 | |||
312 | c) Accompany the work with a written offer, valid for at | ||
313 | least three years, to give the same user the materials | ||
314 | specified in Subsection 6a, above, for a charge no more | ||
315 | than the cost of performing this distribution. | ||
316 | |||
317 | d) If distribution of the work is made by offering access to copy | ||
318 | from a designated place, offer equivalent access to copy the above | ||
319 | specified materials from the same place. | ||
320 | |||
321 | e) Verify that the user has already received a copy of these | ||
322 | materials or that you have already sent this user a copy. | ||
323 | |||
324 | For an executable, the required form of the "work that uses the | ||
325 | Library" must include any data and utility programs needed for | ||
326 | reproducing the executable from it. However, as a special exception, | ||
327 | the materials to be distributed need not include anything that is | ||
328 | normally distributed (in either source or binary form) with the major | ||
329 | components (compiler, kernel, and so on) of the operating system on | ||
330 | which the executable runs, unless that component itself accompanies | ||
331 | the executable. | ||
332 | |||
333 | It may happen that this requirement contradicts the license | ||
334 | restrictions of other proprietary libraries that do not normally | ||
335 | accompany the operating system. Such a contradiction means you cannot | ||
336 | use both them and the Library together in an executable that you | ||
337 | distribute. | ||
338 | |||
339 | 7. You may place library facilities that are a work based on the | ||
340 | Library side-by-side in a single library together with other library | ||
341 | facilities not covered by this License, and distribute such a combined | ||
342 | library, provided that the separate distribution of the work based on | ||
343 | the Library and of the other library facilities is otherwise | ||
344 | permitted, and provided that you do these two things: | ||
345 | |||
346 | a) Accompany the combined library with a copy of the same work | ||
347 | based on the Library, uncombined with any other library | ||
348 | facilities. This must be distributed under the terms of the | ||
349 | Sections above. | ||
350 | |||
351 | b) Give prominent notice with the combined library of the fact | ||
352 | that part of it is a work based on the Library, and explaining | ||
353 | where to find the accompanying uncombined form of the same work. | ||
354 | |||
355 | 8. You may not copy, modify, sublicense, link with, or distribute | ||
356 | the Library except as expressly provided under this License. Any | ||
357 | attempt otherwise to copy, modify, sublicense, link with, or | ||
358 | distribute the Library is void, and will automatically terminate your | ||
359 | rights under this License. However, parties who have received copies, | ||
360 | or rights, from you under this License will not have their licenses | ||
361 | terminated so long as such parties remain in full compliance. | ||
362 | |||
363 | 9. You are not required to accept this License, since you have not | ||
364 | signed it. However, nothing else grants you permission to modify or | ||
365 | distribute the Library or its derivative works. These actions are | ||
366 | prohibited by law if you do not accept this License. Therefore, by | ||
367 | modifying or distributing the Library (or any work based on the | ||
368 | Library), you indicate your acceptance of this License to do so, and | ||
369 | all its terms and conditions for copying, distributing or modifying | ||
370 | the Library or works based on it. | ||
371 | |||
372 | 10. Each time you redistribute the Library (or any work based on the | ||
373 | Library), the recipient automatically receives a license from the | ||
374 | original licensor to copy, distribute, link with or modify the Library | ||
375 | subject to these terms and conditions. You may not impose any further | ||
376 | restrictions on the recipients' exercise of the rights granted herein. | ||
377 | You are not responsible for enforcing compliance by third parties with | ||
378 | this License. | ||
379 | |||
380 | 11. If, as a consequence of a court judgment or allegation of patent | ||
381 | infringement or for any other reason (not limited to patent issues), | ||
382 | conditions are imposed on you (whether by court order, agreement or | ||
383 | otherwise) that contradict the conditions of this License, they do not | ||
384 | excuse you from the conditions of this License. If you cannot | ||
385 | distribute so as to satisfy simultaneously your obligations under this | ||
386 | License and any other pertinent obligations, then as a consequence you | ||
387 | may not distribute the Library at all. For example, if a patent | ||
388 | license would not permit royalty-free redistribution of the Library by | ||
389 | all those who receive copies directly or indirectly through you, then | ||
390 | the only way you could satisfy both it and this License would be to | ||
391 | refrain entirely from distribution of the Library. | ||
392 | |||
393 | If any portion of this section is held invalid or unenforceable under any | ||
394 | particular circumstance, the balance of the section is intended to apply, | ||
395 | and the section as a whole is intended to apply in other circumstances. | ||
396 | |||
397 | It is not the purpose of this section to induce you to infringe any | ||
398 | patents or other property right claims or to contest validity of any | ||
399 | such claims; this section has the sole purpose of protecting the | ||
400 | integrity of the free software distribution system which is | ||
401 | implemented by public license practices. Many people have made | ||
402 | generous contributions to the wide range of software distributed | ||
403 | through that system in reliance on consistent application of that | ||
404 | system; it is up to the author/donor to decide if he or she is willing | ||
405 | to distribute software through any other system and a licensee cannot | ||
406 | impose that choice. | ||
407 | |||
408 | This section is intended to make thoroughly clear what is believed to | ||
409 | be a consequence of the rest of this License. | ||
410 | |||
411 | 12. If the distribution and/or use of the Library is restricted in | ||
412 | certain countries either by patents or by copyrighted interfaces, the | ||
413 | original copyright holder who places the Library under this License may add | ||
414 | an explicit geographical distribution limitation excluding those countries, | ||
415 | so that distribution is permitted only in or among countries not thus | ||
416 | excluded. In such case, this License incorporates the limitation as if | ||
417 | written in the body of this License. | ||
418 | |||
419 | 13. The Free Software Foundation may publish revised and/or new | ||
420 | versions of the Lesser General Public License from time to time. | ||
421 | Such new versions will be similar in spirit to the present version, | ||
422 | but may differ in detail to address new problems or concerns. | ||
423 | |||
424 | Each version is given a distinguishing version number. If the Library | ||
425 | specifies a version number of this License which applies to it and | ||
426 | "any later version", you have the option of following the terms and | ||
427 | conditions either of that version or of any later version published by | ||
428 | the Free Software Foundation. If the Library does not specify a | ||
429 | license version number, you may choose any version ever published by | ||
430 | the Free Software Foundation. | ||
431 | |||
432 | 14. If you wish to incorporate parts of the Library into other free | ||
433 | programs whose distribution conditions are incompatible with these, | ||
434 | write to the author to ask for permission. For software which is | ||
435 | copyrighted by the Free Software Foundation, write to the Free | ||
436 | Software Foundation; we sometimes make exceptions for this. Our | ||
437 | decision will be guided by the two goals of preserving the free status | ||
438 | of all derivatives of our free software and of promoting the sharing | ||
439 | and reuse of software generally. | ||
440 | |||
441 | NO WARRANTY | ||
442 | |||
443 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO | ||
444 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. | ||
445 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR | ||
446 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY | ||
447 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE | ||
448 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
449 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE | ||
450 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME | ||
451 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | ||
452 | |||
453 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN | ||
454 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY | ||
455 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU | ||
456 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR | ||
457 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE | ||
458 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING | ||
459 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A | ||
460 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF | ||
461 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH | ||
462 | DAMAGES. | ||
463 | |||
464 | END OF TERMS AND CONDITIONS | ||
465 | |||
466 | How to Apply These Terms to Your New Libraries | ||
467 | |||
468 | If you develop a new library, and you want it to be of the greatest | ||
469 | possible use to the public, we recommend making it free software that | ||
470 | everyone can redistribute and change. You can do so by permitting | ||
471 | redistribution under these terms (or, alternatively, under the terms of the | ||
472 | ordinary General Public License). | ||
473 | |||
474 | To apply these terms, attach the following notices to the library. It is | ||
475 | safest to attach them to the start of each source file to most effectively | ||
476 | convey the exclusion of warranty; and each file should have at least the | ||
477 | "copyright" line and a pointer to where the full notice is found. | ||
478 | |||
479 | <one line to give the library's name and a brief idea of what it does.> | ||
480 | Copyright (C) <year> <name of author> | ||
481 | |||
482 | This library is free software; you can redistribute it and/or | ||
483 | modify it under the terms of the GNU Lesser General Public | ||
484 | License as published by the Free Software Foundation; either | ||
485 | version 2.1 of the License, or (at your option) any later version. | ||
486 | |||
487 | This library is distributed in the hope that it will be useful, | ||
488 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
489 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
490 | Lesser General Public License for more details. | ||
491 | |||
492 | You should have received a copy of the GNU Lesser General Public | ||
493 | License along with this library; if not, write to the Free Software | ||
494 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
495 | |||
496 | Also add information on how to contact you by electronic and paper mail. | ||
497 | |||
498 | You should also get your employer (if you work as a programmer) or your | ||
499 | school, if any, to sign a "copyright disclaimer" for the library, if | ||
500 | necessary. Here is a sample; alter the names: | ||
501 | |||
502 | Yoyodyne, Inc., hereby disclaims all copyright interest in the | ||
503 | library `Frob' (a library for tweaking knobs) written by James Random Hacker. | ||
504 | |||
505 | <signature of Ty Coon>, 1 April 1990 | ||
506 | Ty Coon, President of Vice | ||
507 | |||
508 | That's all there is to it! | ||
509 | |||
510 | |||
diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/ChangeLog | |||
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 00000000..ea5a667e --- /dev/null +++ b/Makefile.am | |||
@@ -0,0 +1,3 @@ | |||
1 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
2 | SUBDIRS = src doc | ||
3 | ACLOCAL_AMFLAGS = -I m4 | ||
diff --git a/bootstrap b/bootstrap new file mode 100755 index 00000000..4e7cc053 --- /dev/null +++ b/bootstrap | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | autoreconf -if | ||
diff --git a/configure.ac b/configure.ac new file mode 100644 index 00000000..d013ab2e --- /dev/null +++ b/configure.ac | |||
@@ -0,0 +1,154 @@ | |||
1 | # -*- Autoconf -*- | ||
2 | # Process this file with autoconf to produce a configure script. | ||
3 | |||
4 | AC_PREREQ([2.69]) | ||
5 | AC_INIT([taler], [0.0.0], [taler-bug@gnunet.org]) | ||
6 | AC_CONFIG_SRCDIR([src/merchant/merchant.c]) | ||
7 | AC_CONFIG_HEADERS([taler_config.h]) | ||
8 | # support for non-recursive builds | ||
9 | AM_INIT_AUTOMAKE([subdir-objects]) | ||
10 | |||
11 | # pretty build rules | ||
12 | AM_SILENT_RULES([yes]) | ||
13 | |||
14 | AC_CONFIG_MACRO_DIR([m4]) | ||
15 | |||
16 | LT_INIT | ||
17 | |||
18 | # Checks for programs. | ||
19 | AC_PROG_CC | ||
20 | |||
21 | CFLAGS="-Wall $CFLAGS" | ||
22 | |||
23 | # Checks for header files. | ||
24 | AC_CHECK_HEADERS([stdint.h stdlib.h string.h unistd.h]) | ||
25 | |||
26 | # Check for GNUnet's libgnunetutil. | ||
27 | libgnunetutil=0 | ||
28 | AC_MSG_CHECKING([for libgnunetutil]) | ||
29 | AC_ARG_WITH(gnunet, | ||
30 | [AS_HELP_STRING([--with-gnunet=PFX], [base of GNUnet installation])], | ||
31 | [AC_MSG_RESULT([given as $with_gnunet])], | ||
32 | [AC_MSG_RESULT(not given) | ||
33 | with_gnunet=yes]) | ||
34 | AS_CASE([$with_gnunet], | ||
35 | [yes], [], | ||
36 | [no], [AC_MSG_ERROR([--with-gnunet is required])], | ||
37 | [LDFLAGS="-L$with_gnunet/lib $LDFLAGS" | ||
38 | CPPFLAGS="-I$with_gnunet/include $CPPFLAGS"]) | ||
39 | AC_CHECK_HEADERS([gnunet/platform.h gnunet/gnunet_util_lib.h], | ||
40 | [AC_CHECK_LIB([gnunetutil], [GNUNET_SCHEDULER_run], libgnunetutil=1)], | ||
41 | [], [#ifdef HAVE_GNUNET_PLATFORM_H | ||
42 | #include <gnunet/platform.h> | ||
43 | #endif]) | ||
44 | AS_IF([test $libgnunetutil != 1], | ||
45 | [AC_MSG_ERROR([[ | ||
46 | *** | ||
47 | *** You need libgnunetutil to build this program. | ||
48 | *** This library is part of GNUnet, available at | ||
49 | *** https://gnunet.org | ||
50 | *** ]])]) | ||
51 | |||
52 | |||
53 | # check for libmicrohttpd | ||
54 | microhttpd=0 | ||
55 | AC_MSG_CHECKING([for microhttpd]) | ||
56 | AC_ARG_WITH([microhttpd], | ||
57 | [AS_HELP_STRING([--with-microhttpd=PFX], [base of microhttpd installation])], | ||
58 | [AC_MSG_RESULT([given as $with_microhttpd])], | ||
59 | [AC_MSG_RESULT([not given]) | ||
60 | with_microhttpd=yes]) | ||
61 | AS_CASE([$with_microhttpd], | ||
62 | [yes], [], | ||
63 | [no], [AC_MSG_ERROR([--with-microhttpd is required])], | ||
64 | [LDFLAGS="-L$with_microhttpd/lib $LDFLAGS" | ||
65 | CPPFLAGS="-I$with_microhttpd/include $CPPFLAGS"]) | ||
66 | AC_CHECK_LIB(microhttpd,MHD_start_daemon, | ||
67 | [AC_CHECK_HEADER([microhttpd.h],[microhttpd=1])]) | ||
68 | AS_IF([test $microhttpd = 0], | ||
69 | [AC_MSG_ERROR([[ | ||
70 | *** | ||
71 | *** You need libmicrohttpd to build this program. | ||
72 | *** ]])]) | ||
73 | |||
74 | |||
75 | # check for libpq (postgresql) | ||
76 | AX_LIB_POSTGRESQL([9.3]) | ||
77 | AS_IF([test ! "$found_postgresql" = "yes"], | ||
78 | [AC_MSG_ERROR([[ | ||
79 | *** | ||
80 | *** You need postgresql / libpq to build this program. | ||
81 | *** ]])]) | ||
82 | |||
83 | |||
84 | # check for libjansson (Jansson JSON library) | ||
85 | jansson=0 | ||
86 | AC_MSG_CHECKING([for jansson]) | ||
87 | AC_ARG_WITH([jansson], | ||
88 | [AS_HELP_STRING([--with-jansson=PFX], [base of jansson installation])], | ||
89 | [AC_MSG_RESULT([given as $with_jansson])], | ||
90 | [AC_MSG_RESULT([not given]) | ||
91 | with_jansson=yes]) | ||
92 | AS_CASE([$with_jansson], | ||
93 | [yes], [], | ||
94 | [no], [AC_MSG_ERROR([--with-jansson is required])], | ||
95 | [LDFLAGS="-L$with_jansson/lib $LDFLAGS" | ||
96 | CPPFLAGS="-I$with_jansson/include $CPPFLAGS"]) | ||
97 | AC_CHECK_LIB(jansson,json_pack, | ||
98 | [AC_CHECK_HEADER([jansson.h],[jansson=1])]) | ||
99 | AS_IF([test $jansson = 0], | ||
100 | [AC_MSG_ERROR([[ | ||
101 | *** | ||
102 | *** You need libjansson to build this program. | ||
103 | *** ]])]) | ||
104 | |||
105 | # check for libgnurl | ||
106 | LIBGNURL_CHECK_CONFIG([], [7.34.0], [gnurl=1], [gnurl=0]) | ||
107 | if test "$gnurl" = 1 | ||
108 | then | ||
109 | AM_CONDITIONAL(HAVE_LIBGNURL, true) | ||
110 | AC_DEFINE([HAVE_LIBGNURL],[1],[Have libgnurl]) | ||
111 | else | ||
112 | AM_CONDITIONAL(HAVE_LIBGNURL, false) | ||
113 | fi | ||
114 | AS_IF([test $gnurl = 0], | ||
115 | [AC_MSG_ERROR([[ | ||
116 | *** | ||
117 | *** You need libgnurl to build this program. | ||
118 | *** ]])]) | ||
119 | |||
120 | # Require minimum libgcrypt version | ||
121 | need_libgcrypt_version=1.6.1 | ||
122 | AC_DEFINE_UNQUOTED([NEED_LIBGCRYPT_VERSION], ["$need_libgcrypt_version"], | ||
123 | [minimum version of libgcrypt required]) | ||
124 | AM_PATH_LIBGCRYPT([$need_libgcrypt_version]) | ||
125 | |||
126 | # logging | ||
127 | extra_logging=0 | ||
128 | AC_ARG_ENABLE([logging], | ||
129 | AS_HELP_STRING([--enable-logging@<:@=value@:>@],[Enable logging calls. Possible values: yes,no,verbose ('yes' is the default)]), | ||
130 | [AS_IF([test "x$enableval" = "xyes"], [], | ||
131 | [test "x$enableval" = "xno"], [AC_DEFINE([GNUNET_CULL_LOGGING],[],[Define to cull all logging calls])], | ||
132 | [test "x$enableval" = "xverbose"], [extra_logging=1] | ||
133 | [test "x$enableval" = "xveryverbose"], [extra_logging=2]) | ||
134 | ], []) | ||
135 | AC_DEFINE_UNQUOTED([GNUNET_EXTRA_LOGGING],[$extra_logging],[1 if extra logging is enabled, 2 for very verbose extra logging, 0 otherwise]) | ||
136 | |||
137 | # Checks for typedefs, structures, and compiler characteristics. | ||
138 | AC_TYPE_PID_T | ||
139 | AC_TYPE_SIZE_T | ||
140 | AC_TYPE_UINT16_T | ||
141 | AC_TYPE_UINT32_T | ||
142 | AC_TYPE_UINT64_T | ||
143 | AC_TYPE_INTMAX_T | ||
144 | AC_TYPE_UINTMAX_T | ||
145 | |||
146 | # Checks for library functions. | ||
147 | AC_CHECK_FUNCS([strdup]) | ||
148 | |||
149 | AC_CONFIG_FILES([Makefile | ||
150 | doc/Makefile | ||
151 | src/Makefile | ||
152 | src/include/Makefile | ||
153 | src/merchant/Makefile]) | ||
154 | AC_OUTPUT | ||
diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/doc/Makefile.am | |||
diff --git a/m4/ax_lib_postgresql.m4 b/m4/ax_lib_postgresql.m4 new file mode 100644 index 00000000..e81c0996 --- /dev/null +++ b/m4/ax_lib_postgresql.m4 | |||
@@ -0,0 +1,156 @@ | |||
1 | # =========================================================================== | ||
2 | # http://www.gnu.org/software/autoconf-archive/ax_lib_postgresql.html | ||
3 | # =========================================================================== | ||
4 | # | ||
5 | # SYNOPSIS | ||
6 | # | ||
7 | # AX_LIB_POSTGRESQL([MINIMUM-VERSION]) | ||
8 | # | ||
9 | # DESCRIPTION | ||
10 | # | ||
11 | # This macro provides tests of availability of PostgreSQL 'libpq' library | ||
12 | # of particular version or newer. | ||
13 | # | ||
14 | # AX_LIB_POSTGRESQL macro takes only one argument which is optional. If | ||
15 | # there is no required version passed, then macro does not run version | ||
16 | # test. | ||
17 | # | ||
18 | # The --with-postgresql option takes one of three possible values: | ||
19 | # | ||
20 | # no - do not check for PostgreSQL client library | ||
21 | # | ||
22 | # yes - do check for PostgreSQL library in standard locations (pg_config | ||
23 | # should be in the PATH) | ||
24 | # | ||
25 | # path - complete path to pg_config utility, use this option if pg_config | ||
26 | # can't be found in the PATH | ||
27 | # | ||
28 | # This macro calls: | ||
29 | # | ||
30 | # AC_SUBST(POSTGRESQL_CPPFLAGS) | ||
31 | # AC_SUBST(POSTGRESQL_LDFLAGS) | ||
32 | # AC_SUBST(POSTGRESQL_VERSION) | ||
33 | # | ||
34 | # And sets: | ||
35 | # | ||
36 | # HAVE_POSTGRESQL | ||
37 | # | ||
38 | # LICENSE | ||
39 | # | ||
40 | # Copyright (c) 2008 Mateusz Loskot <mateusz@loskot.net> | ||
41 | # Copyright (c) 2014 Sree Harsha Totakura <sreeharsha@totakura.in> | ||
42 | # | ||
43 | # Copying and distribution of this file, with or without modification, are | ||
44 | # permitted in any medium without royalty provided the copyright notice | ||
45 | # and this notice are preserved. This file is offered as-is, without any | ||
46 | # warranty. | ||
47 | |||
48 | #serial 9 | ||
49 | |||
50 | AC_DEFUN([AX_LIB_POSTGRESQL], | ||
51 | [ | ||
52 | AC_ARG_WITH([postgresql], | ||
53 | AS_HELP_STRING([--with-postgresql=@<:@ARG@:>@], | ||
54 | [use PostgreSQL library @<:@default=yes@:>@, optionally specify path to pg_config] | ||
55 | ), | ||
56 | [ | ||
57 | if test "$withval" = "no"; then | ||
58 | want_postgresql="no" | ||
59 | elif test "$withval" = "yes"; then | ||
60 | want_postgresql="yes" | ||
61 | else | ||
62 | want_postgresql="yes" | ||
63 | PG_CONFIG="$withval" | ||
64 | fi | ||
65 | ], | ||
66 | [want_postgresql="yes"] | ||
67 | ) | ||
68 | |||
69 | POSTGRESQL_CPPFLAGS="" | ||
70 | POSTGRESQL_LDFLAGS="" | ||
71 | POSTGRESQL_VERSION="" | ||
72 | |||
73 | dnl | ||
74 | dnl Check PostgreSQL libraries (libpq) | ||
75 | dnl | ||
76 | |||
77 | if test "$want_postgresql" = "yes"; then | ||
78 | |||
79 | if test -z "$PG_CONFIG" -o test; then | ||
80 | AC_PATH_PROG([PG_CONFIG], [pg_config], []) | ||
81 | fi | ||
82 | |||
83 | if test ! -x "$PG_CONFIG"; then | ||
84 | AC_MSG_ERROR([$PG_CONFIG does not exist or it is not an exectuable file]) | ||
85 | PG_CONFIG="no" | ||
86 | found_postgresql="no" | ||
87 | fi | ||
88 | |||
89 | if test "$PG_CONFIG" != "no"; then | ||
90 | AC_MSG_CHECKING([for PostgreSQL libraries]) | ||
91 | |||
92 | POSTGRESQL_CPPFLAGS="-I`$PG_CONFIG --includedir`" | ||
93 | POSTGRESQL_LDFLAGS="-L`$PG_CONFIG --libdir`" | ||
94 | |||
95 | POSTGRESQL_VERSION=`$PG_CONFIG --version | sed -e 's#PostgreSQL ##'` | ||
96 | |||
97 | AC_DEFINE([HAVE_POSTGRESQL], [1], | ||
98 | [Define to 1 if PostgreSQL libraries are available]) | ||
99 | |||
100 | found_postgresql="yes" | ||
101 | AC_MSG_RESULT([yes]) | ||
102 | else | ||
103 | found_postgresql="no" | ||
104 | AC_MSG_RESULT([no]) | ||
105 | fi | ||
106 | fi | ||
107 | |||
108 | dnl | ||
109 | dnl Check if required version of PostgreSQL is available | ||
110 | dnl | ||
111 | |||
112 | |||
113 | postgresql_version_req=ifelse([$1], [], [], [$1]) | ||
114 | |||
115 | if test "$found_postgresql" = "yes" -a -n "$postgresql_version_req"; then | ||
116 | |||
117 | AC_MSG_CHECKING([if PostgreSQL version is >= $postgresql_version_req]) | ||
118 | |||
119 | dnl Decompose required version string of PostgreSQL | ||
120 | dnl and calculate its number representation | ||
121 | postgresql_version_req_major=`expr $postgresql_version_req : '\([[0-9]]*\)'` | ||
122 | postgresql_version_req_minor=`expr $postgresql_version_req : '[[0-9]]*\.\([[0-9]]*\)'` | ||
123 | postgresql_version_req_micro=`expr $postgresql_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` | ||
124 | if test "x$postgresql_version_req_micro" = "x"; then | ||
125 | postgresql_version_req_micro="0" | ||
126 | fi | ||
127 | |||
128 | postgresql_version_req_number=`expr $postgresql_version_req_major \* 1000000 \ | ||
129 | \+ $postgresql_version_req_minor \* 1000 \ | ||
130 | \+ $postgresql_version_req_micro` | ||
131 | |||
132 | dnl Decompose version string of installed PostgreSQL | ||
133 | dnl and calculate its number representation | ||
134 | postgresql_version_major=`expr $POSTGRESQL_VERSION : '\([[0-9]]*\)'` | ||
135 | postgresql_version_minor=`expr $POSTGRESQL_VERSION : '[[0-9]]*\.\([[0-9]]*\)'` | ||
136 | postgresql_version_micro=`expr $POSTGRESQL_VERSION : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` | ||
137 | if test "x$postgresql_version_micro" = "x"; then | ||
138 | postgresql_version_micro="0" | ||
139 | fi | ||
140 | |||
141 | postgresql_version_number=`expr $postgresql_version_major \* 1000000 \ | ||
142 | \+ $postgresql_version_minor \* 1000 \ | ||
143 | \+ $postgresql_version_micro` | ||
144 | |||
145 | postgresql_version_check=`expr $postgresql_version_number \>\= $postgresql_version_req_number` | ||
146 | if test "$postgresql_version_check" = "1"; then | ||
147 | AC_MSG_RESULT([yes]) | ||
148 | else | ||
149 | AC_MSG_RESULT([no]) | ||
150 | fi | ||
151 | fi | ||
152 | |||
153 | AC_SUBST([POSTGRESQL_VERSION]) | ||
154 | AC_SUBST([POSTGRESQL_CPPFLAGS]) | ||
155 | AC_SUBST([POSTGRESQL_LDFLAGS]) | ||
156 | ]) | ||
diff --git a/m4/libgnurl.m4 b/m4/libgnurl.m4 new file mode 100644 index 00000000..69aa1660 --- /dev/null +++ b/m4/libgnurl.m4 | |||
@@ -0,0 +1,250 @@ | |||
1 | # LIBGNURL_CHECK_CONFIG ([DEFAULT-ACTION], [MINIMUM-VERSION], | ||
2 | # [ACTION-IF-YES], [ACTION-IF-NO]) | ||
3 | # ---------------------------------------------------------- | ||
4 | # David Shaw <dshaw@jabberwocky.com> May-09-2006 | ||
5 | # | ||
6 | # Checks for libgnurl. DEFAULT-ACTION is the string yes or no to | ||
7 | # specify whether to default to --with-libgnurl or --without-libgnurl. | ||
8 | # If not supplied, DEFAULT-ACTION is yes. MINIMUM-VERSION is the | ||
9 | # minimum version of libgnurl to accept. Pass the version as a regular | ||
10 | # version number like 7.10.1. If not supplied, any version is | ||
11 | # accepted. ACTION-IF-YES is a list of shell commands to run if | ||
12 | # libgnurl was successfully found and passed the various tests. | ||
13 | # ACTION-IF-NO is a list of shell commands that are run otherwise. | ||
14 | # Note that using --without-libgnurl does run ACTION-IF-NO. | ||
15 | # | ||
16 | # This macro #defines HAVE_LIBGNURL if a working libgnurl setup is | ||
17 | # found, and sets @LIBGNURL@ and @LIBGNURL_CPPFLAGS@ to the necessary | ||
18 | # values. Other useful defines are LIBGNURL_FEATURE_xxx where xxx are | ||
19 | # the various features supported by libgnurl, and LIBGNURL_PROTOCOL_yyy | ||
20 | # where yyy are the various protocols supported by libgnurl. Both xxx | ||
21 | # and yyy are capitalized. See the list of AH_TEMPLATEs at the top of | ||
22 | # the macro for the complete list of possible defines. Shell | ||
23 | # variables $libgnurl_feature_xxx and $libgnurl_protocol_yyy are also | ||
24 | # defined to 'yes' for those features and protocols that were found. | ||
25 | # Note that xxx and yyy keep the same capitalization as in the | ||
26 | # gnurl-config list (e.g. it's "HTTP" and not "http"). | ||
27 | # | ||
28 | # Users may override the detected values by doing something like: | ||
29 | # LIBGNURL="-lgnurl" LIBGNURL_CPPFLAGS="-I/usr/myinclude" ./configure | ||
30 | # | ||
31 | # For the sake of sanity, this macro assumes that any libgnurl that is | ||
32 | # found is after version 7.7.2, the first version that included the | ||
33 | # gnurl-config script. Note that it is very important for people | ||
34 | # packaging binary versions of libgnurl to include this script! | ||
35 | # Without gnurl-config, we can only guess what protocols are available, | ||
36 | # or use gnurl_version_info to figure it out at runtime. | ||
37 | |||
38 | AC_DEFUN([LIBGNURL_CHECK_CONFIG], | ||
39 | [ | ||
40 | AH_TEMPLATE([LIBGNURL_FEATURE_SSL],[Defined if libgnurl supports SSL]) | ||
41 | AH_TEMPLATE([LIBGNURL_FEATURE_KRB4],[Defined if libgnurl supports KRB4]) | ||
42 | AH_TEMPLATE([LIBGNURL_FEATURE_IPV6],[Defined if libgnurl supports IPv6]) | ||
43 | AH_TEMPLATE([LIBGNURL_FEATURE_LIBZ],[Defined if libgnurl supports libz]) | ||
44 | AH_TEMPLATE([LIBGNURL_FEATURE_ASYNCHDNS],[Defined if libgnurl supports AsynchDNS]) | ||
45 | AH_TEMPLATE([LIBGNURL_FEATURE_IDN],[Defined if libgnurl supports IDN]) | ||
46 | AH_TEMPLATE([LIBGNURL_FEATURE_SSPI],[Defined if libgnurl supports SSPI]) | ||
47 | AH_TEMPLATE([LIBGNURL_FEATURE_NTLM],[Defined if libgnurl supports NTLM]) | ||
48 | |||
49 | AH_TEMPLATE([LIBGNURL_PROTOCOL_HTTP],[Defined if libgnurl supports HTTP]) | ||
50 | AH_TEMPLATE([LIBGNURL_PROTOCOL_HTTPS],[Defined if libgnurl supports HTTPS]) | ||
51 | AH_TEMPLATE([LIBGNURL_PROTOCOL_FTP],[Defined if libgnurl supports FTP]) | ||
52 | AH_TEMPLATE([LIBGNURL_PROTOCOL_FTPS],[Defined if libgnurl supports FTPS]) | ||
53 | AH_TEMPLATE([LIBGNURL_PROTOCOL_FILE],[Defined if libgnurl supports FILE]) | ||
54 | AH_TEMPLATE([LIBGNURL_PROTOCOL_TELNET],[Defined if libgnurl supports TELNET]) | ||
55 | AH_TEMPLATE([LIBGNURL_PROTOCOL_LDAP],[Defined if libgnurl supports LDAP]) | ||
56 | AH_TEMPLATE([LIBGNURL_PROTOCOL_DICT],[Defined if libgnurl supports DICT]) | ||
57 | AH_TEMPLATE([LIBGNURL_PROTOCOL_TFTP],[Defined if libgnurl supports TFTP]) | ||
58 | AH_TEMPLATE([LIBGNURL_PROTOCOL_RTSP],[Defined if libgnurl supports RTSP]) | ||
59 | AH_TEMPLATE([LIBGNURL_PROTOCOL_POP3],[Defined if libgnurl supports POP3]) | ||
60 | AH_TEMPLATE([LIBGNURL_PROTOCOL_IMAP],[Defined if libgnurl supports IMAP]) | ||
61 | AH_TEMPLATE([LIBGNURL_PROTOCOL_SMTP],[Defined if libgnurl supports SMTP]) | ||
62 | |||
63 | AC_ARG_WITH(libgnurl, | ||
64 | AC_HELP_STRING([--with-libgnurl=PREFIX],[look for the gnurl library in PREFIX/lib and headers in PREFIX/include]), | ||
65 | [_libgnurl_with=$withval],[_libgnurl_with=ifelse([$1],,[yes],[$1])]) | ||
66 | |||
67 | if test "$_libgnurl_with" != "no" ; then | ||
68 | |||
69 | AC_PROG_AWK | ||
70 | |||
71 | _libgnurl_version_parse="eval $AWK '{split(\$NF,A,\".\"); X=256*256*A[[1]]+256*A[[2]]+A[[3]]; print X;}'" | ||
72 | |||
73 | _libgnurl_try_link=yes | ||
74 | |||
75 | if test -d "$_libgnurl_with" ; then | ||
76 | LIBGNURL_CPPFLAGS="-I$withval/include" | ||
77 | _libgnurl_ldflags="-L$withval/lib" | ||
78 | AC_PATH_PROG([_libgnurl_config],[gnurl-config],[], | ||
79 | ["$withval/bin"]) | ||
80 | else | ||
81 | AC_PATH_PROG([_libgnurl_config],[gnurl-config],[],[$PATH]) | ||
82 | fi | ||
83 | |||
84 | if test x$_libgnurl_config != "x" ; then | ||
85 | AC_CACHE_CHECK([for the version of libgnurl], | ||
86 | [libgnurl_cv_lib_gnurl_version], | ||
87 | [libgnurl_cv_lib_gnurl_version=`$_libgnurl_config --version | $AWK '{print $[]2}'`]) | ||
88 | |||
89 | _libgnurl_version=`echo $libgnurl_cv_lib_gnurl_version | $_libgnurl_version_parse` | ||
90 | _libgnurl_wanted=`echo ifelse([$2],,[0],[$2]) | $_libgnurl_version_parse` | ||
91 | |||
92 | if test $_libgnurl_wanted -gt 0 ; then | ||
93 | AC_CACHE_CHECK([for libgnurl >= version $2], | ||
94 | [libgnurl_cv_lib_version_ok], | ||
95 | [ | ||
96 | if test $_libgnurl_version -ge $_libgnurl_wanted ; then | ||
97 | libgnurl_cv_lib_version_ok=yes | ||
98 | else | ||
99 | libgnurl_cv_lib_version_ok=no | ||
100 | fi | ||
101 | ]) | ||
102 | fi | ||
103 | |||
104 | if test $_libgnurl_wanted -eq 0 || test x$libgnurl_cv_lib_version_ok = xyes ; then | ||
105 | if test x"$LIBGNURL_CPPFLAGS" = "x" ; then | ||
106 | LIBGNURL_CPPFLAGS=`$_libgnurl_config --cflags` | ||
107 | fi | ||
108 | if test x"$LIBGNURL" = "x" ; then | ||
109 | LIBGNURL=`$_libgnurl_config --libs` | ||
110 | |||
111 | # This is so silly, but Apple actually has a bug in their | ||
112 | # gnurl-config script. Fixed in Tiger, but there are still | ||
113 | # lots of Panther installs around. | ||
114 | case "${host}" in | ||
115 | powerpc-apple-darwin7*) | ||
116 | LIBGNURL=`echo $LIBGNURL | sed -e 's|-arch i386||g'` | ||
117 | ;; | ||
118 | esac | ||
119 | fi | ||
120 | |||
121 | # All gnurl-config scripts support --feature | ||
122 | _libgnurl_features=`$_libgnurl_config --feature` | ||
123 | |||
124 | # Is it modern enough to have --protocols? (7.12.4) | ||
125 | if test $_libgnurl_version -ge 461828 ; then | ||
126 | _libgnurl_protocols=`$_libgnurl_config --protocols` | ||
127 | fi | ||
128 | else | ||
129 | _libgnurl_try_link=no | ||
130 | fi | ||
131 | |||
132 | unset _libgnurl_wanted | ||
133 | fi | ||
134 | |||
135 | if test $_libgnurl_try_link = yes ; then | ||
136 | |||
137 | # we didn't find gnurl-config, so let's see if the user-supplied | ||
138 | # link line (or failing that, "-lgnurl") is enough. | ||
139 | LIBGNURL=${LIBGNURL-"$_libgnurl_ldflags -lgnurl"} | ||
140 | |||
141 | AC_CACHE_CHECK([whether libgnurl is usable], | ||
142 | [libgnurl_cv_lib_gnurl_usable], | ||
143 | [ | ||
144 | _libgnurl_save_cppflags=$CPPFLAGS | ||
145 | CPPFLAGS="$LIBGNURL_CPPFLAGS $CPPFLAGS" | ||
146 | _libgnurl_save_libs=$LIBS | ||
147 | LIBS="$LIBGNURL $LIBS" | ||
148 | |||
149 | AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <curl/curl.h>],[ | ||
150 | /* Try and use a few common options to force a failure if we are | ||
151 | missing symbols or can't link. */ | ||
152 | int x; | ||
153 | curl_easy_setopt(NULL,CURLOPT_URL,NULL); | ||
154 | x=CURL_ERROR_SIZE; | ||
155 | x=CURLOPT_WRITEFUNCTION; | ||
156 | x=CURLOPT_FILE; | ||
157 | x=CURLOPT_ERRORBUFFER; | ||
158 | x=CURLOPT_STDERR; | ||
159 | x=CURLOPT_VERBOSE; | ||
160 | ])],libgnurl_cv_lib_gnurl_usable=yes,libgnurl_cv_lib_gnurl_usable=no) | ||
161 | |||
162 | CPPFLAGS=$_libgnurl_save_cppflags | ||
163 | LIBS=$_libgnurl_save_libs | ||
164 | unset _libgnurl_save_cppflags | ||
165 | unset _libgnurl_save_libs | ||
166 | ]) | ||
167 | |||
168 | if test $libgnurl_cv_lib_gnurl_usable = yes ; then | ||
169 | |||
170 | # Does gnurl_free() exist in this version of libgnurl? | ||
171 | # If not, fake it with free() | ||
172 | |||
173 | _libgnurl_save_cppflags=$CPPFLAGS | ||
174 | CPPFLAGS="$CPPFLAGS $LIBGNURL_CPPFLAGS" | ||
175 | _libgnurl_save_libs=$LIBS | ||
176 | LIBS="$LIBS $LIBGNURL" | ||
177 | |||
178 | AC_CHECK_FUNC(curl_free,, | ||
179 | AC_DEFINE(curl_free,free, | ||
180 | [Define curl_free() as free() if our version of gnurl lacks curl_free.])) | ||
181 | |||
182 | CPPFLAGS=$_libgnurl_save_cppflags | ||
183 | LIBS=$_libgnurl_save_libs | ||
184 | unset _libgnurl_save_cppflags | ||
185 | unset _libgnurl_save_libs | ||
186 | |||
187 | AC_DEFINE(HAVE_LIBGNURL,1, | ||
188 | [Define to 1 if you have a functional gnurl library.]) | ||
189 | AC_SUBST(LIBGNURL_CPPFLAGS) | ||
190 | AC_SUBST(LIBGNURL) | ||
191 | |||
192 | for _libgnurl_feature in $_libgnurl_features ; do | ||
193 | AC_DEFINE_UNQUOTED(AS_TR_CPP(libgnurl_feature_$_libgnurl_feature),[1]) | ||
194 | eval AS_TR_SH(libgnurl_feature_$_libgnurl_feature)=yes | ||
195 | done | ||
196 | |||
197 | if test "x$_libgnurl_protocols" = "x" ; then | ||
198 | |||
199 | # We don't have --protocols, so just assume that all | ||
200 | # protocols are available | ||
201 | _libgnurl_protocols="HTTP FTP FILE TELNET LDAP DICT TFTP" | ||
202 | |||
203 | if test x$libgnurl_feature_SSL = xyes ; then | ||
204 | _libgnurl_protocols="$_libgnurl_protocols HTTPS" | ||
205 | |||
206 | # FTPS wasn't standards-compliant until version | ||
207 | # 7.11.0 (0x070b00 == 461568) | ||
208 | if test $_libgnurl_version -ge 461568; then | ||
209 | _libgnurl_protocols="$_libgnurl_protocols FTPS" | ||
210 | fi | ||
211 | fi | ||
212 | |||
213 | # RTSP, IMAP, POP3 and SMTP were added in | ||
214 | # 7.20.0 (0x071400 == 463872) | ||
215 | if test $_libgnurl_version -ge 463872; then | ||
216 | _libgnurl_protocols="$_libgnurl_protocols RTSP IMAP POP3 SMTP" | ||
217 | fi | ||
218 | fi | ||
219 | |||
220 | for _libgnurl_protocol in $_libgnurl_protocols ; do | ||
221 | AC_DEFINE_UNQUOTED(AS_TR_CPP(libgnurl_protocol_$_libgnurl_protocol),[1]) | ||
222 | eval AS_TR_SH(libgnurl_protocol_$_libgnurl_protocol)=yes | ||
223 | done | ||
224 | else | ||
225 | unset LIBGNURL | ||
226 | unset LIBGNURL_CPPFLAGS | ||
227 | fi | ||
228 | fi | ||
229 | |||
230 | unset _libgnurl_try_link | ||
231 | unset _libgnurl_version_parse | ||
232 | unset _libgnurl_config | ||
233 | unset _libgnurl_feature | ||
234 | unset _libgnurl_features | ||
235 | unset _libgnurl_protocol | ||
236 | unset _libgnurl_protocols | ||
237 | unset _libgnurl_version | ||
238 | unset _libgnurl_ldflags | ||
239 | fi | ||
240 | |||
241 | if test x$_libgnurl_with = xno || test x$libgnurl_cv_lib_gnurl_usable != xyes ; then | ||
242 | # This is the IF-NO path | ||
243 | ifelse([$4],,:,[$4]) | ||
244 | else | ||
245 | # This is the IF-YES path | ||
246 | ifelse([$3],,:,[$3]) | ||
247 | fi | ||
248 | |||
249 | unset _libgnurl_with | ||
250 | ])dnl | ||
diff --git a/src/.gitignore b/src/.gitignore new file mode 100644 index 00000000..90ea1a04 --- /dev/null +++ b/src/.gitignore | |||
@@ -0,0 +1,9 @@ | |||
1 | *.o | ||
2 | *.deps | ||
3 | *.libs | ||
4 | *.lo | ||
5 | *.la | ||
6 | *.log | ||
7 | *.trs | ||
8 | */__pycache__ | ||
9 | test-* \ No newline at end of file | ||
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 00000000..e8165ad1 --- /dev/null +++ b/src/Makefile | |||
@@ -0,0 +1,614 @@ | |||
1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | ||
2 | # src/Makefile. Generated from Makefile.in by configure. | ||
3 | |||
4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | ||
5 | |||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | |||
16 | |||
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | ||
18 | am__make_running_with_option = \ | ||
19 | case $${target_option-} in \ | ||
20 | ?) ;; \ | ||
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
22 | "target option '$${target_option-}' specified" >&2; \ | ||
23 | exit 1;; \ | ||
24 | esac; \ | ||
25 | has_opt=no; \ | ||
26 | sane_makeflags=$$MAKEFLAGS; \ | ||
27 | if $(am__is_gnu_make); then \ | ||
28 | sane_makeflags=$$MFLAGS; \ | ||
29 | else \ | ||
30 | case $$MAKEFLAGS in \ | ||
31 | *\\[\ \ ]*) \ | ||
32 | bs=\\; \ | ||
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
35 | esac; \ | ||
36 | fi; \ | ||
37 | skip_next=no; \ | ||
38 | strip_trailopt () \ | ||
39 | { \ | ||
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
41 | }; \ | ||
42 | for flg in $$sane_makeflags; do \ | ||
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
44 | case $$flg in \ | ||
45 | *=*|--*) continue;; \ | ||
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
47 | -*I?*) strip_trailopt 'I';; \ | ||
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
49 | -*O?*) strip_trailopt 'O';; \ | ||
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
51 | -*l?*) strip_trailopt 'l';; \ | ||
52 | -[dEDm]) skip_next=yes;; \ | ||
53 | -[JT]) skip_next=yes;; \ | ||
54 | esac; \ | ||
55 | case $$flg in \ | ||
56 | *$$target_option*) has_opt=yes; break;; \ | ||
57 | esac; \ | ||
58 | done; \ | ||
59 | test $$has_opt = yes | ||
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
62 | pkgdatadir = $(datadir)/taler | ||
63 | pkgincludedir = $(includedir)/taler | ||
64 | pkglibdir = $(libdir)/taler | ||
65 | pkglibexecdir = $(libexecdir)/taler | ||
66 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
67 | install_sh_DATA = $(install_sh) -c -m 644 | ||
68 | install_sh_PROGRAM = $(install_sh) -c | ||
69 | install_sh_SCRIPT = $(install_sh) -c | ||
70 | INSTALL_HEADER = $(INSTALL_DATA) | ||
71 | transform = $(program_transform_name) | ||
72 | NORMAL_INSTALL = : | ||
73 | PRE_INSTALL = : | ||
74 | POST_INSTALL = : | ||
75 | NORMAL_UNINSTALL = : | ||
76 | PRE_UNINSTALL = : | ||
77 | POST_UNINSTALL = : | ||
78 | build_triplet = x86_64-unknown-linux-gnu | ||
79 | host_triplet = x86_64-unknown-linux-gnu | ||
80 | subdir = src | ||
81 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am | ||
82 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
83 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_postgresql.m4 \ | ||
84 | $(top_srcdir)/m4/libgnurl.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
85 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
86 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
87 | $(top_srcdir)/configure.ac | ||
88 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
89 | $(ACLOCAL_M4) | ||
90 | mkinstalldirs = $(install_sh) -d | ||
91 | CONFIG_HEADER = $(top_builddir)/taler_config.h | ||
92 | CONFIG_CLEAN_FILES = | ||
93 | CONFIG_CLEAN_VPATH_FILES = | ||
94 | AM_V_P = $(am__v_P_$(V)) | ||
95 | am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) | ||
96 | am__v_P_0 = false | ||
97 | am__v_P_1 = : | ||
98 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
99 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
100 | am__v_GEN_0 = @echo " GEN " $@; | ||
101 | am__v_GEN_1 = | ||
102 | AM_V_at = $(am__v_at_$(V)) | ||
103 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
104 | am__v_at_0 = @ | ||
105 | am__v_at_1 = | ||
106 | SOURCES = | ||
107 | DIST_SOURCES = | ||
108 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | ||
109 | ctags-recursive dvi-recursive html-recursive info-recursive \ | ||
110 | install-data-recursive install-dvi-recursive \ | ||
111 | install-exec-recursive install-html-recursive \ | ||
112 | install-info-recursive install-pdf-recursive \ | ||
113 | install-ps-recursive install-recursive installcheck-recursive \ | ||
114 | installdirs-recursive pdf-recursive ps-recursive \ | ||
115 | tags-recursive uninstall-recursive | ||
116 | am__can_run_installinfo = \ | ||
117 | case $$AM_UPDATE_INFO_DIR in \ | ||
118 | n|no|NO) false;; \ | ||
119 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
120 | esac | ||
121 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
122 | distclean-recursive maintainer-clean-recursive | ||
123 | am__recursive_targets = \ | ||
124 | $(RECURSIVE_TARGETS) \ | ||
125 | $(RECURSIVE_CLEAN_TARGETS) \ | ||
126 | $(am__extra_recursive_targets) | ||
127 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | ||
128 | distdir | ||
129 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
130 | # Read a list of newline-separated strings from the standard input, | ||
131 | # and print each of them once, without duplicates. Input order is | ||
132 | # *not* preserved. | ||
133 | am__uniquify_input = $(AWK) '\ | ||
134 | BEGIN { nonempty = 0; } \ | ||
135 | { items[$$0] = 1; nonempty = 1; } \ | ||
136 | END { if (nonempty) { for (i in items) print i; }; } \ | ||
137 | ' | ||
138 | # Make sure the list of sources is unique. This is necessary because, | ||
139 | # e.g., the same source file might be shared among _SOURCES variables | ||
140 | # for different programs/libraries. | ||
141 | am__define_uniq_tagged_files = \ | ||
142 | list='$(am__tagged_files)'; \ | ||
143 | unique=`for i in $$list; do \ | ||
144 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
145 | done | $(am__uniquify_input)` | ||
146 | ETAGS = etags | ||
147 | CTAGS = ctags | ||
148 | DIST_SUBDIRS = $(SUBDIRS) | ||
149 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
150 | am__relativize = \ | ||
151 | dir0=`pwd`; \ | ||
152 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
153 | sed_rest='s,^[^/]*/*,,'; \ | ||
154 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
155 | sed_butlast='s,/*[^/]*$$,,'; \ | ||
156 | while test -n "$$dir1"; do \ | ||
157 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
158 | if test "$$first" != "."; then \ | ||
159 | if test "$$first" = ".."; then \ | ||
160 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
161 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
162 | else \ | ||
163 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
164 | if test "$$first2" = "$$first"; then \ | ||
165 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
166 | else \ | ||
167 | dir2="../$$dir2"; \ | ||
168 | fi; \ | ||
169 | dir0="$$dir0"/"$$first"; \ | ||
170 | fi; \ | ||
171 | fi; \ | ||
172 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
173 | done; \ | ||
174 | reldir="$$dir2" | ||
175 | ACLOCAL = ${SHELL} /home/grothoff/research/merchant/missing aclocal-1.14 | ||
176 | AMTAR = $${TAR-tar} | ||
177 | AM_DEFAULT_VERBOSITY = 0 | ||
178 | AR = ar | ||
179 | AUTOCONF = ${SHELL} /home/grothoff/research/merchant/missing autoconf | ||
180 | AUTOHEADER = ${SHELL} /home/grothoff/research/merchant/missing autoheader | ||
181 | AUTOMAKE = ${SHELL} /home/grothoff/research/merchant/missing automake-1.14 | ||
182 | AWK = gawk | ||
183 | CC = gcc | ||
184 | CCDEPMODE = depmode=gcc3 | ||
185 | CFLAGS = -Wall -g -O0 -Wall | ||
186 | CPP = gcc -E | ||
187 | CPPFLAGS = -I/home/grothoff//include | ||
188 | CYGPATH_W = echo | ||
189 | DEFS = -DHAVE_CONFIG_H | ||
190 | DEPDIR = .deps | ||
191 | DLLTOOL = false | ||
192 | DSYMUTIL = | ||
193 | DUMPBIN = | ||
194 | ECHO_C = | ||
195 | ECHO_N = -n | ||
196 | ECHO_T = | ||
197 | EGREP = /bin/grep -E | ||
198 | EXEEXT = | ||
199 | FGREP = /bin/grep -F | ||
200 | GREP = /bin/grep | ||
201 | INSTALL = /usr/bin/install -c | ||
202 | INSTALL_DATA = ${INSTALL} -m 644 | ||
203 | INSTALL_PROGRAM = ${INSTALL} | ||
204 | INSTALL_SCRIPT = ${INSTALL} | ||
205 | INSTALL_STRIP_PROGRAM = $(install_sh) -c -s | ||
206 | LD = /usr/bin/ld -m elf_x86_64 | ||
207 | LDFLAGS = -L/home/grothoff//lib | ||
208 | LIBGCRYPT_CFLAGS = | ||
209 | LIBGCRYPT_CONFIG = /usr/bin/libgcrypt-config | ||
210 | LIBGCRYPT_LIBS = -lgcrypt | ||
211 | LIBGNURL = -L/home/grothoff/lib -lgnurl | ||
212 | LIBGNURL_CPPFLAGS = -I/home/grothoff/include | ||
213 | LIBOBJS = | ||
214 | LIBS = | ||
215 | LIBTOOL = $(SHELL) $(top_builddir)/libtool | ||
216 | LIPO = | ||
217 | LN_S = ln -s | ||
218 | LTLIBOBJS = | ||
219 | MAKEINFO = ${SHELL} /home/grothoff/research/merchant/missing makeinfo | ||
220 | MANIFEST_TOOL = : | ||
221 | MKDIR_P = /bin/mkdir -p | ||
222 | NM = /usr/bin/nm -B | ||
223 | NMEDIT = | ||
224 | OBJDUMP = objdump | ||
225 | OBJEXT = o | ||
226 | OTOOL = | ||
227 | OTOOL64 = | ||
228 | PACKAGE = taler | ||
229 | PACKAGE_BUGREPORT = taler-bug@gnunet.org | ||
230 | PACKAGE_NAME = taler | ||
231 | PACKAGE_STRING = taler 0.0.0 | ||
232 | PACKAGE_TARNAME = taler | ||
233 | PACKAGE_URL = | ||
234 | PACKAGE_VERSION = 0.0.0 | ||
235 | PATH_SEPARATOR = : | ||
236 | PG_CONFIG = /usr/bin/pg_config | ||
237 | POSTGRESQL_CPPFLAGS = -I/usr/include/postgresql | ||
238 | POSTGRESQL_LDFLAGS = -L/usr/lib/x86_64-linux-gnu | ||
239 | POSTGRESQL_VERSION = 9.4.0 | ||
240 | RANLIB = ranlib | ||
241 | SED = /bin/sed | ||
242 | SET_MAKE = | ||
243 | SHELL = /bin/bash | ||
244 | STRIP = strip | ||
245 | VERSION = 0.0.0 | ||
246 | _libgnurl_config = | ||
247 | abs_builddir = /home/grothoff/research/merchant/src | ||
248 | abs_srcdir = /home/grothoff/research/merchant/src | ||
249 | abs_top_builddir = /home/grothoff/research/merchant | ||
250 | abs_top_srcdir = /home/grothoff/research/merchant | ||
251 | ac_ct_AR = ar | ||
252 | ac_ct_CC = gcc | ||
253 | ac_ct_DUMPBIN = | ||
254 | am__include = include | ||
255 | am__leading_dot = . | ||
256 | am__quote = | ||
257 | am__tar = $${TAR-tar} chof - "$$tardir" | ||
258 | am__untar = $${TAR-tar} xf - | ||
259 | bindir = ${exec_prefix}/bin | ||
260 | build = x86_64-unknown-linux-gnu | ||
261 | build_alias = | ||
262 | build_cpu = x86_64 | ||
263 | build_os = linux-gnu | ||
264 | build_vendor = unknown | ||
265 | builddir = . | ||
266 | datadir = ${datarootdir} | ||
267 | datarootdir = ${prefix}/share | ||
268 | docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} | ||
269 | dvidir = ${docdir} | ||
270 | exec_prefix = ${prefix} | ||
271 | host = x86_64-unknown-linux-gnu | ||
272 | host_alias = | ||
273 | host_cpu = x86_64 | ||
274 | host_os = linux-gnu | ||
275 | host_vendor = unknown | ||
276 | htmldir = ${docdir} | ||
277 | includedir = ${prefix}/include | ||
278 | infodir = ${datarootdir}/info | ||
279 | install_sh = ${SHELL} /home/grothoff/research/merchant/install-sh | ||
280 | libdir = ${exec_prefix}/lib | ||
281 | libexecdir = ${exec_prefix}/libexec | ||
282 | localedir = ${datarootdir}/locale | ||
283 | localstatedir = ${prefix}/var | ||
284 | mandir = ${datarootdir}/man | ||
285 | mkdir_p = $(MKDIR_P) | ||
286 | oldincludedir = /usr/include | ||
287 | pdfdir = ${docdir} | ||
288 | prefix = /usr/local | ||
289 | program_transform_name = s,x,x, | ||
290 | psdir = ${docdir} | ||
291 | sbindir = ${exec_prefix}/sbin | ||
292 | sharedstatedir = ${prefix}/com | ||
293 | srcdir = . | ||
294 | sysconfdir = ${prefix}/etc | ||
295 | target_alias = | ||
296 | top_build_prefix = ../ | ||
297 | top_builddir = .. | ||
298 | top_srcdir = .. | ||
299 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
300 | SUBDIRS = include merchant | ||
301 | all: all-recursive | ||
302 | |||
303 | .SUFFIXES: | ||
304 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
305 | @for dep in $?; do \ | ||
306 | case '$(am__configure_deps)' in \ | ||
307 | *$$dep*) \ | ||
308 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
309 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
310 | exit 1;; \ | ||
311 | esac; \ | ||
312 | done; \ | ||
313 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ | ||
314 | $(am__cd) $(top_srcdir) && \ | ||
315 | $(AUTOMAKE) --gnu src/Makefile | ||
316 | .PRECIOUS: Makefile | ||
317 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
318 | @case '$?' in \ | ||
319 | *config.status*) \ | ||
320 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
321 | *) \ | ||
322 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
323 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
324 | esac; | ||
325 | |||
326 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
327 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
328 | |||
329 | $(top_srcdir)/configure: $(am__configure_deps) | ||
330 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
331 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
332 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
333 | $(am__aclocal_m4_deps): | ||
334 | |||
335 | mostlyclean-libtool: | ||
336 | -rm -f *.lo | ||
337 | |||
338 | clean-libtool: | ||
339 | -rm -rf .libs _libs | ||
340 | |||
341 | # This directory's subdirectories are mostly independent; you can cd | ||
342 | # into them and run 'make' without going through this Makefile. | ||
343 | # To change the values of 'make' variables: instead of editing Makefiles, | ||
344 | # (1) if the variable is set in 'config.status', edit 'config.status' | ||
345 | # (which will cause the Makefiles to be regenerated when you run 'make'); | ||
346 | # (2) otherwise, pass the desired values on the 'make' command line. | ||
347 | $(am__recursive_targets): | ||
348 | @fail=; \ | ||
349 | if $(am__make_keepgoing); then \ | ||
350 | failcom='fail=yes'; \ | ||
351 | else \ | ||
352 | failcom='exit 1'; \ | ||
353 | fi; \ | ||
354 | dot_seen=no; \ | ||
355 | target=`echo $@ | sed s/-recursive//`; \ | ||
356 | case "$@" in \ | ||
357 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
358 | *) list='$(SUBDIRS)' ;; \ | ||
359 | esac; \ | ||
360 | for subdir in $$list; do \ | ||
361 | echo "Making $$target in $$subdir"; \ | ||
362 | if test "$$subdir" = "."; then \ | ||
363 | dot_seen=yes; \ | ||
364 | local_target="$$target-am"; \ | ||
365 | else \ | ||
366 | local_target="$$target"; \ | ||
367 | fi; \ | ||
368 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
369 | || eval $$failcom; \ | ||
370 | done; \ | ||
371 | if test "$$dot_seen" = "no"; then \ | ||
372 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||
373 | fi; test -z "$$fail" | ||
374 | |||
375 | ID: $(am__tagged_files) | ||
376 | $(am__define_uniq_tagged_files); mkid -fID $$unique | ||
377 | tags: tags-recursive | ||
378 | TAGS: tags | ||
379 | |||
380 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
381 | set x; \ | ||
382 | here=`pwd`; \ | ||
383 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||
384 | include_option=--etags-include; \ | ||
385 | empty_fix=.; \ | ||
386 | else \ | ||
387 | include_option=--include; \ | ||
388 | empty_fix=; \ | ||
389 | fi; \ | ||
390 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
391 | if test "$$subdir" = .; then :; else \ | ||
392 | test ! -f $$subdir/TAGS || \ | ||
393 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||
394 | fi; \ | ||
395 | done; \ | ||
396 | $(am__define_uniq_tagged_files); \ | ||
397 | shift; \ | ||
398 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
399 | test -n "$$unique" || unique=$$empty_fix; \ | ||
400 | if test $$# -gt 0; then \ | ||
401 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
402 | "$$@" $$unique; \ | ||
403 | else \ | ||
404 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
405 | $$unique; \ | ||
406 | fi; \ | ||
407 | fi | ||
408 | ctags: ctags-recursive | ||
409 | |||
410 | CTAGS: ctags | ||
411 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
412 | $(am__define_uniq_tagged_files); \ | ||
413 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
414 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
415 | $$unique | ||
416 | |||
417 | GTAGS: | ||
418 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
419 | && $(am__cd) $(top_srcdir) \ | ||
420 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
421 | cscopelist: cscopelist-recursive | ||
422 | |||
423 | cscopelist-am: $(am__tagged_files) | ||
424 | list='$(am__tagged_files)'; \ | ||
425 | case "$(srcdir)" in \ | ||
426 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | ||
427 | *) sdir=$(subdir)/$(srcdir) ;; \ | ||
428 | esac; \ | ||
429 | for i in $$list; do \ | ||
430 | if test -f "$$i"; then \ | ||
431 | echo "$(subdir)/$$i"; \ | ||
432 | else \ | ||
433 | echo "$$sdir/$$i"; \ | ||
434 | fi; \ | ||
435 | done >> $(top_builddir)/cscope.files | ||
436 | |||
437 | distclean-tags: | ||
438 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
439 | |||
440 | distdir: $(DISTFILES) | ||
441 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
442 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
443 | list='$(DISTFILES)'; \ | ||
444 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
445 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
446 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
447 | case $$dist_files in \ | ||
448 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
449 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
450 | sort -u` ;; \ | ||
451 | esac; \ | ||
452 | for file in $$dist_files; do \ | ||
453 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
454 | if test -d $$d/$$file; then \ | ||
455 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
456 | if test -d "$(distdir)/$$file"; then \ | ||
457 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
458 | fi; \ | ||
459 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
460 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
461 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
462 | fi; \ | ||
463 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
464 | else \ | ||
465 | test -f "$(distdir)/$$file" \ | ||
466 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
467 | || exit 1; \ | ||
468 | fi; \ | ||
469 | done | ||
470 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
471 | if test "$$subdir" = .; then :; else \ | ||
472 | $(am__make_dryrun) \ | ||
473 | || test -d "$(distdir)/$$subdir" \ | ||
474 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | ||
475 | || exit 1; \ | ||
476 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||
477 | $(am__relativize); \ | ||
478 | new_distdir=$$reldir; \ | ||
479 | dir1=$$subdir; dir2="$(top_distdir)"; \ | ||
480 | $(am__relativize); \ | ||
481 | new_top_distdir=$$reldir; \ | ||
482 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | ||
483 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | ||
484 | ($(am__cd) $$subdir && \ | ||
485 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
486 | top_distdir="$$new_top_distdir" \ | ||
487 | distdir="$$new_distdir" \ | ||
488 | am__remove_distdir=: \ | ||
489 | am__skip_length_check=: \ | ||
490 | am__skip_mode_fix=: \ | ||
491 | distdir) \ | ||
492 | || exit 1; \ | ||
493 | fi; \ | ||
494 | done | ||
495 | check-am: all-am | ||
496 | check: check-recursive | ||
497 | all-am: Makefile | ||
498 | installdirs: installdirs-recursive | ||
499 | installdirs-am: | ||
500 | install: install-recursive | ||
501 | install-exec: install-exec-recursive | ||
502 | install-data: install-data-recursive | ||
503 | uninstall: uninstall-recursive | ||
504 | |||
505 | install-am: all-am | ||
506 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
507 | |||
508 | installcheck: installcheck-recursive | ||
509 | install-strip: | ||
510 | if test -z '$(STRIP)'; then \ | ||
511 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
512 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
513 | install; \ | ||
514 | else \ | ||
515 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
516 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
517 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
518 | fi | ||
519 | mostlyclean-generic: | ||
520 | |||
521 | clean-generic: | ||
522 | |||
523 | distclean-generic: | ||
524 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
525 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
526 | |||
527 | maintainer-clean-generic: | ||
528 | @echo "This command is intended for maintainers to use" | ||
529 | @echo "it deletes files that may require special tools to rebuild." | ||
530 | clean: clean-recursive | ||
531 | |||
532 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
533 | |||
534 | distclean: distclean-recursive | ||
535 | -rm -f Makefile | ||
536 | distclean-am: clean-am distclean-generic distclean-tags | ||
537 | |||
538 | dvi: dvi-recursive | ||
539 | |||
540 | dvi-am: | ||
541 | |||
542 | html: html-recursive | ||
543 | |||
544 | html-am: | ||
545 | |||
546 | info: info-recursive | ||
547 | |||
548 | info-am: | ||
549 | |||
550 | install-data-am: | ||
551 | |||
552 | install-dvi: install-dvi-recursive | ||
553 | |||
554 | install-dvi-am: | ||
555 | |||
556 | install-exec-am: | ||
557 | |||
558 | install-html: install-html-recursive | ||
559 | |||
560 | install-html-am: | ||
561 | |||
562 | install-info: install-info-recursive | ||
563 | |||
564 | install-info-am: | ||
565 | |||
566 | install-man: | ||
567 | |||
568 | install-pdf: install-pdf-recursive | ||
569 | |||
570 | install-pdf-am: | ||
571 | |||
572 | install-ps: install-ps-recursive | ||
573 | |||
574 | install-ps-am: | ||
575 | |||
576 | installcheck-am: | ||
577 | |||
578 | maintainer-clean: maintainer-clean-recursive | ||
579 | -rm -f Makefile | ||
580 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
581 | |||
582 | mostlyclean: mostlyclean-recursive | ||
583 | |||
584 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
585 | |||
586 | pdf: pdf-recursive | ||
587 | |||
588 | pdf-am: | ||
589 | |||
590 | ps: ps-recursive | ||
591 | |||
592 | ps-am: | ||
593 | |||
594 | uninstall-am: | ||
595 | |||
596 | .MAKE: $(am__recursive_targets) install-am install-strip | ||
597 | |||
598 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ | ||
599 | check-am clean clean-generic clean-libtool cscopelist-am ctags \ | ||
600 | ctags-am distclean distclean-generic distclean-libtool \ | ||
601 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | ||
602 | install install-am install-data install-data-am install-dvi \ | ||
603 | install-dvi-am install-exec install-exec-am install-html \ | ||
604 | install-html-am install-info install-info-am install-man \ | ||
605 | install-pdf install-pdf-am install-ps install-ps-am \ | ||
606 | install-strip installcheck installcheck-am installdirs \ | ||
607 | installdirs-am maintainer-clean maintainer-clean-generic \ | ||
608 | mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ | ||
609 | ps ps-am tags tags-am uninstall uninstall-am | ||
610 | |||
611 | |||
612 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
613 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
614 | .NOEXPORT: | ||
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 00000000..0bd932c0 --- /dev/null +++ b/src/Makefile.am | |||
@@ -0,0 +1,2 @@ | |||
1 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
2 | SUBDIRS = include merchant | ||
diff --git a/src/Makefile.in b/src/Makefile.in new file mode 100644 index 00000000..0f54bdf4 --- /dev/null +++ b/src/Makefile.in | |||
@@ -0,0 +1,614 @@ | |||
1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | ||
5 | |||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | @SET_MAKE@ | ||
16 | VPATH = @srcdir@ | ||
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | ||
18 | am__make_running_with_option = \ | ||
19 | case $${target_option-} in \ | ||
20 | ?) ;; \ | ||
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
22 | "target option '$${target_option-}' specified" >&2; \ | ||
23 | exit 1;; \ | ||
24 | esac; \ | ||
25 | has_opt=no; \ | ||
26 | sane_makeflags=$$MAKEFLAGS; \ | ||
27 | if $(am__is_gnu_make); then \ | ||
28 | sane_makeflags=$$MFLAGS; \ | ||
29 | else \ | ||
30 | case $$MAKEFLAGS in \ | ||
31 | *\\[\ \ ]*) \ | ||
32 | bs=\\; \ | ||
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
35 | esac; \ | ||
36 | fi; \ | ||
37 | skip_next=no; \ | ||
38 | strip_trailopt () \ | ||
39 | { \ | ||
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
41 | }; \ | ||
42 | for flg in $$sane_makeflags; do \ | ||
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
44 | case $$flg in \ | ||
45 | *=*|--*) continue;; \ | ||
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
47 | -*I?*) strip_trailopt 'I';; \ | ||
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
49 | -*O?*) strip_trailopt 'O';; \ | ||
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
51 | -*l?*) strip_trailopt 'l';; \ | ||
52 | -[dEDm]) skip_next=yes;; \ | ||
53 | -[JT]) skip_next=yes;; \ | ||
54 | esac; \ | ||
55 | case $$flg in \ | ||
56 | *$$target_option*) has_opt=yes; break;; \ | ||
57 | esac; \ | ||
58 | done; \ | ||
59 | test $$has_opt = yes | ||
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
62 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
63 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
64 | pkglibdir = $(libdir)/@PACKAGE@ | ||
65 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
66 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
67 | install_sh_DATA = $(install_sh) -c -m 644 | ||
68 | install_sh_PROGRAM = $(install_sh) -c | ||
69 | install_sh_SCRIPT = $(install_sh) -c | ||
70 | INSTALL_HEADER = $(INSTALL_DATA) | ||
71 | transform = $(program_transform_name) | ||
72 | NORMAL_INSTALL = : | ||
73 | PRE_INSTALL = : | ||
74 | POST_INSTALL = : | ||
75 | NORMAL_UNINSTALL = : | ||
76 | PRE_UNINSTALL = : | ||
77 | POST_UNINSTALL = : | ||
78 | build_triplet = @build@ | ||
79 | host_triplet = @host@ | ||
80 | subdir = src | ||
81 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am | ||
82 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
83 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_postgresql.m4 \ | ||
84 | $(top_srcdir)/m4/libgnurl.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
85 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
86 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
87 | $(top_srcdir)/configure.ac | ||
88 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
89 | $(ACLOCAL_M4) | ||
90 | mkinstalldirs = $(install_sh) -d | ||
91 | CONFIG_HEADER = $(top_builddir)/taler_config.h | ||
92 | CONFIG_CLEAN_FILES = | ||
93 | CONFIG_CLEAN_VPATH_FILES = | ||
94 | AM_V_P = $(am__v_P_@AM_V@) | ||
95 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
96 | am__v_P_0 = false | ||
97 | am__v_P_1 = : | ||
98 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
99 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
100 | am__v_GEN_0 = @echo " GEN " $@; | ||
101 | am__v_GEN_1 = | ||
102 | AM_V_at = $(am__v_at_@AM_V@) | ||
103 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
104 | am__v_at_0 = @ | ||
105 | am__v_at_1 = | ||
106 | SOURCES = | ||
107 | DIST_SOURCES = | ||
108 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | ||
109 | ctags-recursive dvi-recursive html-recursive info-recursive \ | ||
110 | install-data-recursive install-dvi-recursive \ | ||
111 | install-exec-recursive install-html-recursive \ | ||
112 | install-info-recursive install-pdf-recursive \ | ||
113 | install-ps-recursive install-recursive installcheck-recursive \ | ||
114 | installdirs-recursive pdf-recursive ps-recursive \ | ||
115 | tags-recursive uninstall-recursive | ||
116 | am__can_run_installinfo = \ | ||
117 | case $$AM_UPDATE_INFO_DIR in \ | ||
118 | n|no|NO) false;; \ | ||
119 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
120 | esac | ||
121 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
122 | distclean-recursive maintainer-clean-recursive | ||
123 | am__recursive_targets = \ | ||
124 | $(RECURSIVE_TARGETS) \ | ||
125 | $(RECURSIVE_CLEAN_TARGETS) \ | ||
126 | $(am__extra_recursive_targets) | ||
127 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | ||
128 | distdir | ||
129 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
130 | # Read a list of newline-separated strings from the standard input, | ||
131 | # and print each of them once, without duplicates. Input order is | ||
132 | # *not* preserved. | ||
133 | am__uniquify_input = $(AWK) '\ | ||
134 | BEGIN { nonempty = 0; } \ | ||
135 | { items[$$0] = 1; nonempty = 1; } \ | ||
136 | END { if (nonempty) { for (i in items) print i; }; } \ | ||
137 | ' | ||
138 | # Make sure the list of sources is unique. This is necessary because, | ||
139 | # e.g., the same source file might be shared among _SOURCES variables | ||
140 | # for different programs/libraries. | ||
141 | am__define_uniq_tagged_files = \ | ||
142 | list='$(am__tagged_files)'; \ | ||
143 | unique=`for i in $$list; do \ | ||
144 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
145 | done | $(am__uniquify_input)` | ||
146 | ETAGS = etags | ||
147 | CTAGS = ctags | ||
148 | DIST_SUBDIRS = $(SUBDIRS) | ||
149 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
150 | am__relativize = \ | ||
151 | dir0=`pwd`; \ | ||
152 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
153 | sed_rest='s,^[^/]*/*,,'; \ | ||
154 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
155 | sed_butlast='s,/*[^/]*$$,,'; \ | ||
156 | while test -n "$$dir1"; do \ | ||
157 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
158 | if test "$$first" != "."; then \ | ||
159 | if test "$$first" = ".."; then \ | ||
160 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
161 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
162 | else \ | ||
163 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
164 | if test "$$first2" = "$$first"; then \ | ||
165 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
166 | else \ | ||
167 | dir2="../$$dir2"; \ | ||
168 | fi; \ | ||
169 | dir0="$$dir0"/"$$first"; \ | ||
170 | fi; \ | ||
171 | fi; \ | ||
172 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
173 | done; \ | ||
174 | reldir="$$dir2" | ||
175 | ACLOCAL = @ACLOCAL@ | ||
176 | AMTAR = @AMTAR@ | ||
177 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
178 | AR = @AR@ | ||
179 | AUTOCONF = @AUTOCONF@ | ||
180 | AUTOHEADER = @AUTOHEADER@ | ||
181 | AUTOMAKE = @AUTOMAKE@ | ||
182 | AWK = @AWK@ | ||
183 | CC = @CC@ | ||
184 | CCDEPMODE = @CCDEPMODE@ | ||
185 | CFLAGS = @CFLAGS@ | ||
186 | CPP = @CPP@ | ||
187 | CPPFLAGS = @CPPFLAGS@ | ||
188 | CYGPATH_W = @CYGPATH_W@ | ||
189 | DEFS = @DEFS@ | ||
190 | DEPDIR = @DEPDIR@ | ||
191 | DLLTOOL = @DLLTOOL@ | ||
192 | DSYMUTIL = @DSYMUTIL@ | ||
193 | DUMPBIN = @DUMPBIN@ | ||
194 | ECHO_C = @ECHO_C@ | ||
195 | ECHO_N = @ECHO_N@ | ||
196 | ECHO_T = @ECHO_T@ | ||
197 | EGREP = @EGREP@ | ||
198 | EXEEXT = @EXEEXT@ | ||
199 | FGREP = @FGREP@ | ||
200 | GREP = @GREP@ | ||
201 | INSTALL = @INSTALL@ | ||
202 | INSTALL_DATA = @INSTALL_DATA@ | ||
203 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
204 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
205 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
206 | LD = @LD@ | ||
207 | LDFLAGS = @LDFLAGS@ | ||
208 | LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ | ||
209 | LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ | ||
210 | LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ | ||
211 | LIBGNURL = @LIBGNURL@ | ||
212 | LIBGNURL_CPPFLAGS = @LIBGNURL_CPPFLAGS@ | ||
213 | LIBOBJS = @LIBOBJS@ | ||
214 | LIBS = @LIBS@ | ||
215 | LIBTOOL = @LIBTOOL@ | ||
216 | LIPO = @LIPO@ | ||
217 | LN_S = @LN_S@ | ||
218 | LTLIBOBJS = @LTLIBOBJS@ | ||
219 | MAKEINFO = @MAKEINFO@ | ||
220 | MANIFEST_TOOL = @MANIFEST_TOOL@ | ||
221 | MKDIR_P = @MKDIR_P@ | ||
222 | NM = @NM@ | ||
223 | NMEDIT = @NMEDIT@ | ||
224 | OBJDUMP = @OBJDUMP@ | ||
225 | OBJEXT = @OBJEXT@ | ||
226 | OTOOL = @OTOOL@ | ||
227 | OTOOL64 = @OTOOL64@ | ||
228 | PACKAGE = @PACKAGE@ | ||
229 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
230 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
231 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
232 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
233 | PACKAGE_URL = @PACKAGE_URL@ | ||
234 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
235 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
236 | PG_CONFIG = @PG_CONFIG@ | ||
237 | POSTGRESQL_CPPFLAGS = @POSTGRESQL_CPPFLAGS@ | ||
238 | POSTGRESQL_LDFLAGS = @POSTGRESQL_LDFLAGS@ | ||
239 | POSTGRESQL_VERSION = @POSTGRESQL_VERSION@ | ||
240 | RANLIB = @RANLIB@ | ||
241 | SED = @SED@ | ||
242 | SET_MAKE = @SET_MAKE@ | ||
243 | SHELL = @SHELL@ | ||
244 | STRIP = @STRIP@ | ||
245 | VERSION = @VERSION@ | ||
246 | _libgnurl_config = @_libgnurl_config@ | ||
247 | abs_builddir = @abs_builddir@ | ||
248 | abs_srcdir = @abs_srcdir@ | ||
249 | abs_top_builddir = @abs_top_builddir@ | ||
250 | abs_top_srcdir = @abs_top_srcdir@ | ||
251 | ac_ct_AR = @ac_ct_AR@ | ||
252 | ac_ct_CC = @ac_ct_CC@ | ||
253 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
254 | am__include = @am__include@ | ||
255 | am__leading_dot = @am__leading_dot@ | ||
256 | am__quote = @am__quote@ | ||
257 | am__tar = @am__tar@ | ||
258 | am__untar = @am__untar@ | ||
259 | bindir = @bindir@ | ||
260 | build = @build@ | ||
261 | build_alias = @build_alias@ | ||
262 | build_cpu = @build_cpu@ | ||
263 | build_os = @build_os@ | ||
264 | build_vendor = @build_vendor@ | ||
265 | builddir = @builddir@ | ||
266 | datadir = @datadir@ | ||
267 | datarootdir = @datarootdir@ | ||
268 | docdir = @docdir@ | ||
269 | dvidir = @dvidir@ | ||
270 | exec_prefix = @exec_prefix@ | ||
271 | host = @host@ | ||
272 | host_alias = @host_alias@ | ||
273 | host_cpu = @host_cpu@ | ||
274 | host_os = @host_os@ | ||
275 | host_vendor = @host_vendor@ | ||
276 | htmldir = @htmldir@ | ||
277 | includedir = @includedir@ | ||
278 | infodir = @infodir@ | ||
279 | install_sh = @install_sh@ | ||
280 | libdir = @libdir@ | ||
281 | libexecdir = @libexecdir@ | ||
282 | localedir = @localedir@ | ||
283 | localstatedir = @localstatedir@ | ||
284 | mandir = @mandir@ | ||
285 | mkdir_p = @mkdir_p@ | ||
286 | oldincludedir = @oldincludedir@ | ||
287 | pdfdir = @pdfdir@ | ||
288 | prefix = @prefix@ | ||
289 | program_transform_name = @program_transform_name@ | ||
290 | psdir = @psdir@ | ||
291 | sbindir = @sbindir@ | ||
292 | sharedstatedir = @sharedstatedir@ | ||
293 | srcdir = @srcdir@ | ||
294 | sysconfdir = @sysconfdir@ | ||
295 | target_alias = @target_alias@ | ||
296 | top_build_prefix = @top_build_prefix@ | ||
297 | top_builddir = @top_builddir@ | ||
298 | top_srcdir = @top_srcdir@ | ||
299 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
300 | SUBDIRS = include merchant | ||
301 | all: all-recursive | ||
302 | |||
303 | .SUFFIXES: | ||
304 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
305 | @for dep in $?; do \ | ||
306 | case '$(am__configure_deps)' in \ | ||
307 | *$$dep*) \ | ||
308 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
309 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
310 | exit 1;; \ | ||
311 | esac; \ | ||
312 | done; \ | ||
313 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ | ||
314 | $(am__cd) $(top_srcdir) && \ | ||
315 | $(AUTOMAKE) --gnu src/Makefile | ||
316 | .PRECIOUS: Makefile | ||
317 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
318 | @case '$?' in \ | ||
319 | *config.status*) \ | ||
320 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
321 | *) \ | ||
322 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
323 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
324 | esac; | ||
325 | |||
326 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
327 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
328 | |||
329 | $(top_srcdir)/configure: $(am__configure_deps) | ||
330 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
331 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
332 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
333 | $(am__aclocal_m4_deps): | ||
334 | |||
335 | mostlyclean-libtool: | ||
336 | -rm -f *.lo | ||
337 | |||
338 | clean-libtool: | ||
339 | -rm -rf .libs _libs | ||
340 | |||
341 | # This directory's subdirectories are mostly independent; you can cd | ||
342 | # into them and run 'make' without going through this Makefile. | ||
343 | # To change the values of 'make' variables: instead of editing Makefiles, | ||
344 | # (1) if the variable is set in 'config.status', edit 'config.status' | ||
345 | # (which will cause the Makefiles to be regenerated when you run 'make'); | ||
346 | # (2) otherwise, pass the desired values on the 'make' command line. | ||
347 | $(am__recursive_targets): | ||
348 | @fail=; \ | ||
349 | if $(am__make_keepgoing); then \ | ||
350 | failcom='fail=yes'; \ | ||
351 | else \ | ||
352 | failcom='exit 1'; \ | ||
353 | fi; \ | ||
354 | dot_seen=no; \ | ||
355 | target=`echo $@ | sed s/-recursive//`; \ | ||
356 | case "$@" in \ | ||
357 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
358 | *) list='$(SUBDIRS)' ;; \ | ||
359 | esac; \ | ||
360 | for subdir in $$list; do \ | ||
361 | echo "Making $$target in $$subdir"; \ | ||
362 | if test "$$subdir" = "."; then \ | ||
363 | dot_seen=yes; \ | ||
364 | local_target="$$target-am"; \ | ||
365 | else \ | ||
366 | local_target="$$target"; \ | ||
367 | fi; \ | ||
368 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
369 | || eval $$failcom; \ | ||
370 | done; \ | ||
371 | if test "$$dot_seen" = "no"; then \ | ||
372 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||
373 | fi; test -z "$$fail" | ||
374 | |||
375 | ID: $(am__tagged_files) | ||
376 | $(am__define_uniq_tagged_files); mkid -fID $$unique | ||
377 | tags: tags-recursive | ||
378 | TAGS: tags | ||
379 | |||
380 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
381 | set x; \ | ||
382 | here=`pwd`; \ | ||
383 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||
384 | include_option=--etags-include; \ | ||
385 | empty_fix=.; \ | ||
386 | else \ | ||
387 | include_option=--include; \ | ||
388 | empty_fix=; \ | ||
389 | fi; \ | ||
390 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
391 | if test "$$subdir" = .; then :; else \ | ||
392 | test ! -f $$subdir/TAGS || \ | ||
393 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||
394 | fi; \ | ||
395 | done; \ | ||
396 | $(am__define_uniq_tagged_files); \ | ||
397 | shift; \ | ||
398 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
399 | test -n "$$unique" || unique=$$empty_fix; \ | ||
400 | if test $$# -gt 0; then \ | ||
401 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
402 | "$$@" $$unique; \ | ||
403 | else \ | ||
404 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
405 | $$unique; \ | ||
406 | fi; \ | ||
407 | fi | ||
408 | ctags: ctags-recursive | ||
409 | |||
410 | CTAGS: ctags | ||
411 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
412 | $(am__define_uniq_tagged_files); \ | ||
413 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
414 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
415 | $$unique | ||
416 | |||
417 | GTAGS: | ||
418 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
419 | && $(am__cd) $(top_srcdir) \ | ||
420 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
421 | cscopelist: cscopelist-recursive | ||
422 | |||
423 | cscopelist-am: $(am__tagged_files) | ||
424 | list='$(am__tagged_files)'; \ | ||
425 | case "$(srcdir)" in \ | ||
426 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | ||
427 | *) sdir=$(subdir)/$(srcdir) ;; \ | ||
428 | esac; \ | ||
429 | for i in $$list; do \ | ||
430 | if test -f "$$i"; then \ | ||
431 | echo "$(subdir)/$$i"; \ | ||
432 | else \ | ||
433 | echo "$$sdir/$$i"; \ | ||
434 | fi; \ | ||
435 | done >> $(top_builddir)/cscope.files | ||
436 | |||
437 | distclean-tags: | ||
438 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
439 | |||
440 | distdir: $(DISTFILES) | ||
441 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
442 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
443 | list='$(DISTFILES)'; \ | ||
444 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
445 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
446 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
447 | case $$dist_files in \ | ||
448 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
449 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
450 | sort -u` ;; \ | ||
451 | esac; \ | ||
452 | for file in $$dist_files; do \ | ||
453 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
454 | if test -d $$d/$$file; then \ | ||
455 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
456 | if test -d "$(distdir)/$$file"; then \ | ||
457 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
458 | fi; \ | ||
459 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
460 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
461 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
462 | fi; \ | ||
463 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
464 | else \ | ||
465 | test -f "$(distdir)/$$file" \ | ||
466 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
467 | || exit 1; \ | ||
468 | fi; \ | ||
469 | done | ||
470 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
471 | if test "$$subdir" = .; then :; else \ | ||
472 | $(am__make_dryrun) \ | ||
473 | || test -d "$(distdir)/$$subdir" \ | ||
474 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | ||
475 | || exit 1; \ | ||
476 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||
477 | $(am__relativize); \ | ||
478 | new_distdir=$$reldir; \ | ||
479 | dir1=$$subdir; dir2="$(top_distdir)"; \ | ||
480 | $(am__relativize); \ | ||
481 | new_top_distdir=$$reldir; \ | ||
482 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | ||
483 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | ||
484 | ($(am__cd) $$subdir && \ | ||
485 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
486 | top_distdir="$$new_top_distdir" \ | ||
487 | distdir="$$new_distdir" \ | ||
488 | am__remove_distdir=: \ | ||
489 | am__skip_length_check=: \ | ||
490 | am__skip_mode_fix=: \ | ||
491 | distdir) \ | ||
492 | || exit 1; \ | ||
493 | fi; \ | ||
494 | done | ||
495 | check-am: all-am | ||
496 | check: check-recursive | ||
497 | all-am: Makefile | ||
498 | installdirs: installdirs-recursive | ||
499 | installdirs-am: | ||
500 | install: install-recursive | ||
501 | install-exec: install-exec-recursive | ||
502 | install-data: install-data-recursive | ||
503 | uninstall: uninstall-recursive | ||
504 | |||
505 | install-am: all-am | ||
506 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
507 | |||
508 | installcheck: installcheck-recursive | ||
509 | install-strip: | ||
510 | if test -z '$(STRIP)'; then \ | ||
511 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
512 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
513 | install; \ | ||
514 | else \ | ||
515 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
516 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
517 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
518 | fi | ||
519 | mostlyclean-generic: | ||
520 | |||
521 | clean-generic: | ||
522 | |||
523 | distclean-generic: | ||
524 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
525 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
526 | |||
527 | maintainer-clean-generic: | ||
528 | @echo "This command is intended for maintainers to use" | ||
529 | @echo "it deletes files that may require special tools to rebuild." | ||
530 | clean: clean-recursive | ||
531 | |||
532 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
533 | |||
534 | distclean: distclean-recursive | ||
535 | -rm -f Makefile | ||
536 | distclean-am: clean-am distclean-generic distclean-tags | ||
537 | |||
538 | dvi: dvi-recursive | ||
539 | |||
540 | dvi-am: | ||
541 | |||
542 | html: html-recursive | ||
543 | |||
544 | html-am: | ||
545 | |||
546 | info: info-recursive | ||
547 | |||
548 | info-am: | ||
549 | |||
550 | install-data-am: | ||
551 | |||
552 | install-dvi: install-dvi-recursive | ||
553 | |||
554 | install-dvi-am: | ||
555 | |||
556 | install-exec-am: | ||
557 | |||
558 | install-html: install-html-recursive | ||
559 | |||
560 | install-html-am: | ||
561 | |||
562 | install-info: install-info-recursive | ||
563 | |||
564 | install-info-am: | ||
565 | |||
566 | install-man: | ||
567 | |||
568 | install-pdf: install-pdf-recursive | ||
569 | |||
570 | install-pdf-am: | ||
571 | |||
572 | install-ps: install-ps-recursive | ||
573 | |||
574 | install-ps-am: | ||
575 | |||
576 | installcheck-am: | ||
577 | |||
578 | maintainer-clean: maintainer-clean-recursive | ||
579 | -rm -f Makefile | ||
580 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
581 | |||
582 | mostlyclean: mostlyclean-recursive | ||
583 | |||
584 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
585 | |||
586 | pdf: pdf-recursive | ||
587 | |||
588 | pdf-am: | ||
589 | |||
590 | ps: ps-recursive | ||
591 | |||
592 | ps-am: | ||
593 | |||
594 | uninstall-am: | ||
595 | |||
596 | .MAKE: $(am__recursive_targets) install-am install-strip | ||
597 | |||
598 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ | ||
599 | check-am clean clean-generic clean-libtool cscopelist-am ctags \ | ||
600 | ctags-am distclean distclean-generic distclean-libtool \ | ||
601 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | ||
602 | install install-am install-data install-data-am install-dvi \ | ||
603 | install-dvi-am install-exec install-exec-am install-html \ | ||
604 | install-html-am install-info install-info-am install-man \ | ||
605 | install-pdf install-pdf-am install-ps install-ps-am \ | ||
606 | install-strip installcheck installcheck-am installdirs \ | ||
607 | installdirs-am maintainer-clean maintainer-clean-generic \ | ||
608 | mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ | ||
609 | ps ps-am tags tags-am uninstall uninstall-am | ||
610 | |||
611 | |||
612 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
613 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
614 | .NOEXPORT: | ||
diff --git a/src/include/Makefile b/src/include/Makefile new file mode 100644 index 00000000..5bd27d29 --- /dev/null +++ b/src/include/Makefile | |||
@@ -0,0 +1,435 @@ | |||
1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | ||
2 | # src/include/Makefile. Generated from Makefile.in by configure. | ||
3 | |||
4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | ||
5 | |||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | |||
16 | |||
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | ||
18 | am__make_running_with_option = \ | ||
19 | case $${target_option-} in \ | ||
20 | ?) ;; \ | ||
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
22 | "target option '$${target_option-}' specified" >&2; \ | ||
23 | exit 1;; \ | ||
24 | esac; \ | ||
25 | has_opt=no; \ | ||
26 | sane_makeflags=$$MAKEFLAGS; \ | ||
27 | if $(am__is_gnu_make); then \ | ||
28 | sane_makeflags=$$MFLAGS; \ | ||
29 | else \ | ||
30 | case $$MAKEFLAGS in \ | ||
31 | *\\[\ \ ]*) \ | ||
32 | bs=\\; \ | ||
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
35 | esac; \ | ||
36 | fi; \ | ||
37 | skip_next=no; \ | ||
38 | strip_trailopt () \ | ||
39 | { \ | ||
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
41 | }; \ | ||
42 | for flg in $$sane_makeflags; do \ | ||
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
44 | case $$flg in \ | ||
45 | *=*|--*) continue;; \ | ||
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
47 | -*I?*) strip_trailopt 'I';; \ | ||
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
49 | -*O?*) strip_trailopt 'O';; \ | ||
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
51 | -*l?*) strip_trailopt 'l';; \ | ||
52 | -[dEDm]) skip_next=yes;; \ | ||
53 | -[JT]) skip_next=yes;; \ | ||
54 | esac; \ | ||
55 | case $$flg in \ | ||
56 | *$$target_option*) has_opt=yes; break;; \ | ||
57 | esac; \ | ||
58 | done; \ | ||
59 | test $$has_opt = yes | ||
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
62 | pkgdatadir = $(datadir)/taler | ||
63 | pkgincludedir = $(includedir)/taler | ||
64 | pkglibdir = $(libdir)/taler | ||
65 | pkglibexecdir = $(libexecdir)/taler | ||
66 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
67 | install_sh_DATA = $(install_sh) -c -m 644 | ||
68 | install_sh_PROGRAM = $(install_sh) -c | ||
69 | install_sh_SCRIPT = $(install_sh) -c | ||
70 | INSTALL_HEADER = $(INSTALL_DATA) | ||
71 | transform = $(program_transform_name) | ||
72 | NORMAL_INSTALL = : | ||
73 | PRE_INSTALL = : | ||
74 | POST_INSTALL = : | ||
75 | NORMAL_UNINSTALL = : | ||
76 | PRE_UNINSTALL = : | ||
77 | POST_UNINSTALL = : | ||
78 | build_triplet = x86_64-unknown-linux-gnu | ||
79 | host_triplet = x86_64-unknown-linux-gnu | ||
80 | subdir = src/include | ||
81 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am | ||
82 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
83 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_postgresql.m4 \ | ||
84 | $(top_srcdir)/m4/libgnurl.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
85 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
86 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
87 | $(top_srcdir)/configure.ac | ||
88 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
89 | $(ACLOCAL_M4) | ||
90 | mkinstalldirs = $(install_sh) -d | ||
91 | CONFIG_HEADER = $(top_builddir)/taler_config.h | ||
92 | CONFIG_CLEAN_FILES = | ||
93 | CONFIG_CLEAN_VPATH_FILES = | ||
94 | AM_V_P = $(am__v_P_$(V)) | ||
95 | am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) | ||
96 | am__v_P_0 = false | ||
97 | am__v_P_1 = : | ||
98 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
99 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
100 | am__v_GEN_0 = @echo " GEN " $@; | ||
101 | am__v_GEN_1 = | ||
102 | AM_V_at = $(am__v_at_$(V)) | ||
103 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
104 | am__v_at_0 = @ | ||
105 | am__v_at_1 = | ||
106 | SOURCES = | ||
107 | DIST_SOURCES = | ||
108 | am__can_run_installinfo = \ | ||
109 | case $$AM_UPDATE_INFO_DIR in \ | ||
110 | n|no|NO) false;; \ | ||
111 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
112 | esac | ||
113 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
114 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
115 | ACLOCAL = ${SHELL} /home/grothoff/research/merchant/missing aclocal-1.14 | ||
116 | AMTAR = $${TAR-tar} | ||
117 | AM_DEFAULT_VERBOSITY = 0 | ||
118 | AR = ar | ||
119 | AUTOCONF = ${SHELL} /home/grothoff/research/merchant/missing autoconf | ||
120 | AUTOHEADER = ${SHELL} /home/grothoff/research/merchant/missing autoheader | ||
121 | AUTOMAKE = ${SHELL} /home/grothoff/research/merchant/missing automake-1.14 | ||
122 | AWK = gawk | ||
123 | CC = gcc | ||
124 | CCDEPMODE = depmode=gcc3 | ||
125 | CFLAGS = -Wall -g -O0 -Wall | ||
126 | CPP = gcc -E | ||
127 | CPPFLAGS = -I/home/grothoff//include | ||
128 | CYGPATH_W = echo | ||
129 | DEFS = -DHAVE_CONFIG_H | ||
130 | DEPDIR = .deps | ||
131 | DLLTOOL = false | ||
132 | DSYMUTIL = | ||
133 | DUMPBIN = | ||
134 | ECHO_C = | ||
135 | ECHO_N = -n | ||
136 | ECHO_T = | ||
137 | EGREP = /bin/grep -E | ||
138 | EXEEXT = | ||
139 | FGREP = /bin/grep -F | ||
140 | GREP = /bin/grep | ||
141 | INSTALL = /usr/bin/install -c | ||
142 | INSTALL_DATA = ${INSTALL} -m 644 | ||
143 | INSTALL_PROGRAM = ${INSTALL} | ||
144 | INSTALL_SCRIPT = ${INSTALL} | ||
145 | INSTALL_STRIP_PROGRAM = $(install_sh) -c -s | ||
146 | LD = /usr/bin/ld -m elf_x86_64 | ||
147 | LDFLAGS = -L/home/grothoff//lib | ||
148 | LIBGCRYPT_CFLAGS = | ||
149 | LIBGCRYPT_CONFIG = /usr/bin/libgcrypt-config | ||
150 | LIBGCRYPT_LIBS = -lgcrypt | ||
151 | LIBGNURL = -L/home/grothoff/lib -lgnurl | ||
152 | LIBGNURL_CPPFLAGS = -I/home/grothoff/include | ||
153 | LIBOBJS = | ||
154 | LIBS = | ||
155 | LIBTOOL = $(SHELL) $(top_builddir)/libtool | ||
156 | LIPO = | ||
157 | LN_S = ln -s | ||
158 | LTLIBOBJS = | ||
159 | MAKEINFO = ${SHELL} /home/grothoff/research/merchant/missing makeinfo | ||
160 | MANIFEST_TOOL = : | ||
161 | MKDIR_P = /bin/mkdir -p | ||
162 | NM = /usr/bin/nm -B | ||
163 | NMEDIT = | ||
164 | OBJDUMP = objdump | ||
165 | OBJEXT = o | ||
166 | OTOOL = | ||
167 | OTOOL64 = | ||
168 | PACKAGE = taler | ||
169 | PACKAGE_BUGREPORT = taler-bug@gnunet.org | ||
170 | PACKAGE_NAME = taler | ||
171 | PACKAGE_STRING = taler 0.0.0 | ||
172 | PACKAGE_TARNAME = taler | ||
173 | PACKAGE_URL = | ||
174 | PACKAGE_VERSION = 0.0.0 | ||
175 | PATH_SEPARATOR = : | ||
176 | PG_CONFIG = /usr/bin/pg_config | ||
177 | POSTGRESQL_CPPFLAGS = -I/usr/include/postgresql | ||
178 | POSTGRESQL_LDFLAGS = -L/usr/lib/x86_64-linux-gnu | ||
179 | POSTGRESQL_VERSION = 9.4.0 | ||
180 | RANLIB = ranlib | ||
181 | SED = /bin/sed | ||
182 | SET_MAKE = | ||
183 | SHELL = /bin/bash | ||
184 | STRIP = strip | ||
185 | VERSION = 0.0.0 | ||
186 | _libgnurl_config = | ||
187 | abs_builddir = /home/grothoff/research/merchant/src/include | ||
188 | abs_srcdir = /home/grothoff/research/merchant/src/include | ||
189 | abs_top_builddir = /home/grothoff/research/merchant | ||
190 | abs_top_srcdir = /home/grothoff/research/merchant | ||
191 | ac_ct_AR = ar | ||
192 | ac_ct_CC = gcc | ||
193 | ac_ct_DUMPBIN = | ||
194 | am__include = include | ||
195 | am__leading_dot = . | ||
196 | am__quote = | ||
197 | am__tar = $${TAR-tar} chof - "$$tardir" | ||
198 | am__untar = $${TAR-tar} xf - | ||
199 | bindir = ${exec_prefix}/bin | ||
200 | build = x86_64-unknown-linux-gnu | ||
201 | build_alias = | ||
202 | build_cpu = x86_64 | ||
203 | build_os = linux-gnu | ||
204 | build_vendor = unknown | ||
205 | builddir = . | ||
206 | datadir = ${datarootdir} | ||
207 | datarootdir = ${prefix}/share | ||
208 | docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} | ||
209 | dvidir = ${docdir} | ||
210 | exec_prefix = ${prefix} | ||
211 | host = x86_64-unknown-linux-gnu | ||
212 | host_alias = | ||
213 | host_cpu = x86_64 | ||
214 | host_os = linux-gnu | ||
215 | host_vendor = unknown | ||
216 | htmldir = ${docdir} | ||
217 | includedir = ${prefix}/include | ||
218 | infodir = ${datarootdir}/info | ||
219 | install_sh = ${SHELL} /home/grothoff/research/merchant/install-sh | ||
220 | libdir = ${exec_prefix}/lib | ||
221 | libexecdir = ${exec_prefix}/libexec | ||
222 | localedir = ${datarootdir}/locale | ||
223 | localstatedir = ${prefix}/var | ||
224 | mandir = ${datarootdir}/man | ||
225 | mkdir_p = $(MKDIR_P) | ||
226 | oldincludedir = /usr/include | ||
227 | pdfdir = ${docdir} | ||
228 | prefix = /usr/local | ||
229 | program_transform_name = s,x,x, | ||
230 | psdir = ${docdir} | ||
231 | sbindir = ${exec_prefix}/sbin | ||
232 | sharedstatedir = ${prefix}/com | ||
233 | srcdir = . | ||
234 | sysconfdir = ${prefix}/etc | ||
235 | target_alias = | ||
236 | top_build_prefix = ../../ | ||
237 | top_builddir = ../.. | ||
238 | top_srcdir = ../.. | ||
239 | EXTRA_DIST = \ | ||
240 | platform.h | ||
241 | |||
242 | all: all-am | ||
243 | |||
244 | .SUFFIXES: | ||
245 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
246 | @for dep in $?; do \ | ||
247 | case '$(am__configure_deps)' in \ | ||
248 | *$$dep*) \ | ||
249 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
250 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
251 | exit 1;; \ | ||
252 | esac; \ | ||
253 | done; \ | ||
254 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile'; \ | ||
255 | $(am__cd) $(top_srcdir) && \ | ||
256 | $(AUTOMAKE) --gnu src/include/Makefile | ||
257 | .PRECIOUS: Makefile | ||
258 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
259 | @case '$?' in \ | ||
260 | *config.status*) \ | ||
261 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
262 | *) \ | ||
263 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
264 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
265 | esac; | ||
266 | |||
267 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
268 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
269 | |||
270 | $(top_srcdir)/configure: $(am__configure_deps) | ||
271 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
272 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
273 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
274 | $(am__aclocal_m4_deps): | ||
275 | |||
276 | mostlyclean-libtool: | ||
277 | -rm -f *.lo | ||
278 | |||
279 | clean-libtool: | ||
280 | -rm -rf .libs _libs | ||
281 | tags TAGS: | ||
282 | |||
283 | ctags CTAGS: | ||
284 | |||
285 | cscope cscopelist: | ||
286 | |||
287 | |||
288 | distdir: $(DISTFILES) | ||
289 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
290 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
291 | list='$(DISTFILES)'; \ | ||
292 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
293 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
294 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
295 | case $$dist_files in \ | ||
296 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
297 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
298 | sort -u` ;; \ | ||
299 | esac; \ | ||
300 | for file in $$dist_files; do \ | ||
301 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
302 | if test -d $$d/$$file; then \ | ||
303 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
304 | if test -d "$(distdir)/$$file"; then \ | ||
305 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
306 | fi; \ | ||
307 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
308 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
309 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
310 | fi; \ | ||
311 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
312 | else \ | ||
313 | test -f "$(distdir)/$$file" \ | ||
314 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
315 | || exit 1; \ | ||
316 | fi; \ | ||
317 | done | ||
318 | check-am: all-am | ||
319 | check: check-am | ||
320 | all-am: Makefile | ||
321 | installdirs: | ||
322 | install: install-am | ||
323 | install-exec: install-exec-am | ||
324 | install-data: install-data-am | ||
325 | uninstall: uninstall-am | ||
326 | |||
327 | install-am: all-am | ||
328 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
329 | |||
330 | installcheck: installcheck-am | ||
331 | install-strip: | ||
332 | if test -z '$(STRIP)'; then \ | ||
333 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
334 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
335 | install; \ | ||
336 | else \ | ||
337 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
338 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
339 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
340 | fi | ||
341 | mostlyclean-generic: | ||
342 | |||
343 | clean-generic: | ||
344 | |||
345 | distclean-generic: | ||
346 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
347 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
348 | |||
349 | maintainer-clean-generic: | ||
350 | @echo "This command is intended for maintainers to use" | ||
351 | @echo "it deletes files that may require special tools to rebuild." | ||
352 | clean: clean-am | ||
353 | |||
354 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
355 | |||
356 | distclean: distclean-am | ||
357 | -rm -f Makefile | ||
358 | distclean-am: clean-am distclean-generic | ||
359 | |||
360 | dvi: dvi-am | ||
361 | |||
362 | dvi-am: | ||
363 | |||
364 | html: html-am | ||
365 | |||
366 | html-am: | ||
367 | |||
368 | info: info-am | ||
369 | |||
370 | info-am: | ||
371 | |||
372 | install-data-am: | ||
373 | |||
374 | install-dvi: install-dvi-am | ||
375 | |||
376 | install-dvi-am: | ||
377 | |||
378 | install-exec-am: | ||
379 | |||
380 | install-html: install-html-am | ||
381 | |||
382 | install-html-am: | ||
383 | |||
384 | install-info: install-info-am | ||
385 | |||
386 | install-info-am: | ||
387 | |||
388 | install-man: | ||
389 | |||
390 | install-pdf: install-pdf-am | ||
391 | |||
392 | install-pdf-am: | ||
393 | |||
394 | install-ps: install-ps-am | ||
395 | |||
396 | install-ps-am: | ||
397 | |||
398 | installcheck-am: | ||
399 | |||
400 | maintainer-clean: maintainer-clean-am | ||
401 | -rm -f Makefile | ||
402 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
403 | |||
404 | mostlyclean: mostlyclean-am | ||
405 | |||
406 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
407 | |||
408 | pdf: pdf-am | ||
409 | |||
410 | pdf-am: | ||
411 | |||
412 | ps: ps-am | ||
413 | |||
414 | ps-am: | ||
415 | |||
416 | uninstall-am: | ||
417 | |||
418 | .MAKE: install-am install-strip | ||
419 | |||
420 | .PHONY: all all-am check check-am clean clean-generic clean-libtool \ | ||
421 | cscopelist-am ctags-am distclean distclean-generic \ | ||
422 | distclean-libtool distdir dvi dvi-am html html-am info info-am \ | ||
423 | install install-am install-data install-data-am install-dvi \ | ||
424 | install-dvi-am install-exec install-exec-am install-html \ | ||
425 | install-html-am install-info install-info-am install-man \ | ||
426 | install-pdf install-pdf-am install-ps install-ps-am \ | ||
427 | install-strip installcheck installcheck-am installdirs \ | ||
428 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
429 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
430 | tags-am uninstall uninstall-am | ||
431 | |||
432 | |||
433 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
434 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
435 | .NOEXPORT: | ||
diff --git a/src/include/Makefile.am b/src/include/Makefile.am new file mode 100644 index 00000000..3db59c88 --- /dev/null +++ b/src/include/Makefile.am | |||
@@ -0,0 +1,2 @@ | |||
1 | EXTRA_DIST = \ | ||
2 | platform.h | ||
diff --git a/src/include/Makefile.in b/src/include/Makefile.in new file mode 100644 index 00000000..6959557a --- /dev/null +++ b/src/include/Makefile.in | |||
@@ -0,0 +1,435 @@ | |||
1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | ||
5 | |||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | @SET_MAKE@ | ||
16 | VPATH = @srcdir@ | ||
17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | ||
18 | am__make_running_with_option = \ | ||
19 | case $${target_option-} in \ | ||
20 | ?) ;; \ | ||
21 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
22 | "target option '$${target_option-}' specified" >&2; \ | ||
23 | exit 1;; \ | ||
24 | esac; \ | ||
25 | has_opt=no; \ | ||
26 | sane_makeflags=$$MAKEFLAGS; \ | ||
27 | if $(am__is_gnu_make); then \ | ||
28 | sane_makeflags=$$MFLAGS; \ | ||
29 | else \ | ||
30 | case $$MAKEFLAGS in \ | ||
31 | *\\[\ \ ]*) \ | ||
32 | bs=\\; \ | ||
33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
35 | esac; \ | ||
36 | fi; \ | ||
37 | skip_next=no; \ | ||
38 | strip_trailopt () \ | ||
39 | { \ | ||
40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
41 | }; \ | ||
42 | for flg in $$sane_makeflags; do \ | ||
43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
44 | case $$flg in \ | ||
45 | *=*|--*) continue;; \ | ||
46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
47 | -*I?*) strip_trailopt 'I';; \ | ||
48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
49 | -*O?*) strip_trailopt 'O';; \ | ||
50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
51 | -*l?*) strip_trailopt 'l';; \ | ||
52 | -[dEDm]) skip_next=yes;; \ | ||
53 | -[JT]) skip_next=yes;; \ | ||
54 | esac; \ | ||
55 | case $$flg in \ | ||
56 | *$$target_option*) has_opt=yes; break;; \ | ||
57 | esac; \ | ||
58 | done; \ | ||
59 | test $$has_opt = yes | ||
60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
62 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
63 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
64 | pkglibdir = $(libdir)/@PACKAGE@ | ||
65 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
66 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
67 | install_sh_DATA = $(install_sh) -c -m 644 | ||
68 | install_sh_PROGRAM = $(install_sh) -c | ||
69 | install_sh_SCRIPT = $(install_sh) -c | ||
70 | INSTALL_HEADER = $(INSTALL_DATA) | ||
71 | transform = $(program_transform_name) | ||
72 | NORMAL_INSTALL = : | ||
73 | PRE_INSTALL = : | ||
74 | POST_INSTALL = : | ||
75 | NORMAL_UNINSTALL = : | ||
76 | PRE_UNINSTALL = : | ||
77 | POST_UNINSTALL = : | ||
78 | build_triplet = @build@ | ||
79 | host_triplet = @host@ | ||
80 | subdir = src/include | ||
81 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am | ||
82 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
83 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_postgresql.m4 \ | ||
84 | $(top_srcdir)/m4/libgnurl.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
85 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
86 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
87 | $(top_srcdir)/configure.ac | ||
88 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
89 | $(ACLOCAL_M4) | ||
90 | mkinstalldirs = $(install_sh) -d | ||
91 | CONFIG_HEADER = $(top_builddir)/taler_config.h | ||
92 | CONFIG_CLEAN_FILES = | ||
93 | CONFIG_CLEAN_VPATH_FILES = | ||
94 | AM_V_P = $(am__v_P_@AM_V@) | ||
95 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
96 | am__v_P_0 = false | ||
97 | am__v_P_1 = : | ||
98 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
99 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
100 | am__v_GEN_0 = @echo " GEN " $@; | ||
101 | am__v_GEN_1 = | ||
102 | AM_V_at = $(am__v_at_@AM_V@) | ||
103 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
104 | am__v_at_0 = @ | ||
105 | am__v_at_1 = | ||
106 | SOURCES = | ||
107 | DIST_SOURCES = | ||
108 | am__can_run_installinfo = \ | ||
109 | case $$AM_UPDATE_INFO_DIR in \ | ||
110 | n|no|NO) false;; \ | ||
111 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
112 | esac | ||
113 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
114 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
115 | ACLOCAL = @ACLOCAL@ | ||
116 | AMTAR = @AMTAR@ | ||
117 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
118 | AR = @AR@ | ||
119 | AUTOCONF = @AUTOCONF@ | ||
120 | AUTOHEADER = @AUTOHEADER@ | ||
121 | AUTOMAKE = @AUTOMAKE@ | ||
122 | AWK = @AWK@ | ||
123 | CC = @CC@ | ||
124 | CCDEPMODE = @CCDEPMODE@ | ||
125 | CFLAGS = @CFLAGS@ | ||
126 | CPP = @CPP@ | ||
127 | CPPFLAGS = @CPPFLAGS@ | ||
128 | CYGPATH_W = @CYGPATH_W@ | ||
129 | DEFS = @DEFS@ | ||
130 | DEPDIR = @DEPDIR@ | ||
131 | DLLTOOL = @DLLTOOL@ | ||
132 | DSYMUTIL = @DSYMUTIL@ | ||
133 | DUMPBIN = @DUMPBIN@ | ||
134 | ECHO_C = @ECHO_C@ | ||
135 | ECHO_N = @ECHO_N@ | ||
136 | ECHO_T = @ECHO_T@ | ||
137 | EGREP = @EGREP@ | ||
138 | EXEEXT = @EXEEXT@ | ||
139 | FGREP = @FGREP@ | ||
140 | GREP = @GREP@ | ||
141 | INSTALL = @INSTALL@ | ||
142 | INSTALL_DATA = @INSTALL_DATA@ | ||
143 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
144 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
145 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
146 | LD = @LD@ | ||
147 | LDFLAGS = @LDFLAGS@ | ||
148 | LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ | ||
149 | LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ | ||
150 | LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ | ||
151 | LIBGNURL = @LIBGNURL@ | ||
152 | LIBGNURL_CPPFLAGS = @LIBGNURL_CPPFLAGS@ | ||
153 | LIBOBJS = @LIBOBJS@ | ||
154 | LIBS = @LIBS@ | ||
155 | LIBTOOL = @LIBTOOL@ | ||
156 | LIPO = @LIPO@ | ||
157 | LN_S = @LN_S@ | ||
158 | LTLIBOBJS = @LTLIBOBJS@ | ||
159 | MAKEINFO = @MAKEINFO@ | ||
160 | MANIFEST_TOOL = @MANIFEST_TOOL@ | ||
161 | MKDIR_P = @MKDIR_P@ | ||
162 | NM = @NM@ | ||
163 | NMEDIT = @NMEDIT@ | ||
164 | OBJDUMP = @OBJDUMP@ | ||
165 | OBJEXT = @OBJEXT@ | ||
166 | OTOOL = @OTOOL@ | ||
167 | OTOOL64 = @OTOOL64@ | ||
168 | PACKAGE = @PACKAGE@ | ||
169 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
170 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
171 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
172 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
173 | PACKAGE_URL = @PACKAGE_URL@ | ||
174 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
175 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
176 | PG_CONFIG = @PG_CONFIG@ | ||
177 | POSTGRESQL_CPPFLAGS = @POSTGRESQL_CPPFLAGS@ | ||
178 | POSTGRESQL_LDFLAGS = @POSTGRESQL_LDFLAGS@ | ||
179 | POSTGRESQL_VERSION = @POSTGRESQL_VERSION@ | ||
180 | RANLIB = @RANLIB@ | ||
181 | SED = @SED@ | ||
182 | SET_MAKE = @SET_MAKE@ | ||
183 | SHELL = @SHELL@ | ||
184 | STRIP = @STRIP@ | ||
185 | VERSION = @VERSION@ | ||
186 | _libgnurl_config = @_libgnurl_config@ | ||
187 | abs_builddir = @abs_builddir@ | ||
188 | abs_srcdir = @abs_srcdir@ | ||
189 | abs_top_builddir = @abs_top_builddir@ | ||
190 | abs_top_srcdir = @abs_top_srcdir@ | ||
191 | ac_ct_AR = @ac_ct_AR@ | ||
192 | ac_ct_CC = @ac_ct_CC@ | ||
193 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
194 | am__include = @am__include@ | ||
195 | am__leading_dot = @am__leading_dot@ | ||
196 | am__quote = @am__quote@ | ||
197 | am__tar = @am__tar@ | ||
198 | am__untar = @am__untar@ | ||
199 | bindir = @bindir@ | ||
200 | build = @build@ | ||
201 | build_alias = @build_alias@ | ||
202 | build_cpu = @build_cpu@ | ||
203 | build_os = @build_os@ | ||
204 | build_vendor = @build_vendor@ | ||
205 | builddir = @builddir@ | ||
206 | datadir = @datadir@ | ||
207 | datarootdir = @datarootdir@ | ||
208 | docdir = @docdir@ | ||
209 | dvidir = @dvidir@ | ||
210 | exec_prefix = @exec_prefix@ | ||
211 | host = @host@ | ||
212 | host_alias = @host_alias@ | ||
213 | host_cpu = @host_cpu@ | ||
214 | host_os = @host_os@ | ||
215 | host_vendor = @host_vendor@ | ||
216 | htmldir = @htmldir@ | ||
217 | includedir = @includedir@ | ||
218 | infodir = @infodir@ | ||
219 | install_sh = @install_sh@ | ||
220 | libdir = @libdir@ | ||
221 | libexecdir = @libexecdir@ | ||
222 | localedir = @localedir@ | ||
223 | localstatedir = @localstatedir@ | ||
224 | mandir = @mandir@ | ||
225 | mkdir_p = @mkdir_p@ | ||
226 | oldincludedir = @oldincludedir@ | ||
227 | pdfdir = @pdfdir@ | ||
228 | prefix = @prefix@ | ||
229 | program_transform_name = @program_transform_name@ | ||
230 | psdir = @psdir@ | ||
231 | sbindir = @sbindir@ | ||
232 | sharedstatedir = @sharedstatedir@ | ||
233 | srcdir = @srcdir@ | ||
234 | sysconfdir = @sysconfdir@ | ||
235 | target_alias = @target_alias@ | ||
236 | top_build_prefix = @top_build_prefix@ | ||
237 | top_builddir = @top_builddir@ | ||
238 | top_srcdir = @top_srcdir@ | ||
239 | EXTRA_DIST = \ | ||
240 | platform.h | ||
241 | |||
242 | all: all-am | ||
243 | |||
244 | .SUFFIXES: | ||
245 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
246 | @for dep in $?; do \ | ||
247 | case '$(am__configure_deps)' in \ | ||
248 | *$$dep*) \ | ||
249 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
250 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
251 | exit 1;; \ | ||
252 | esac; \ | ||
253 | done; \ | ||
254 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/include/Makefile'; \ | ||
255 | $(am__cd) $(top_srcdir) && \ | ||
256 | $(AUTOMAKE) --gnu src/include/Makefile | ||
257 | .PRECIOUS: Makefile | ||
258 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
259 | @case '$?' in \ | ||
260 | *config.status*) \ | ||
261 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
262 | *) \ | ||
263 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
264 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
265 | esac; | ||
266 | |||
267 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
268 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
269 | |||
270 | $(top_srcdir)/configure: $(am__configure_deps) | ||
271 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
272 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
273 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
274 | $(am__aclocal_m4_deps): | ||
275 | |||
276 | mostlyclean-libtool: | ||
277 | -rm -f *.lo | ||
278 | |||
279 | clean-libtool: | ||
280 | -rm -rf .libs _libs | ||
281 | tags TAGS: | ||
282 | |||
283 | ctags CTAGS: | ||
284 | |||
285 | cscope cscopelist: | ||
286 | |||
287 | |||
288 | distdir: $(DISTFILES) | ||
289 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
290 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
291 | list='$(DISTFILES)'; \ | ||
292 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
293 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
294 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
295 | case $$dist_files in \ | ||
296 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
297 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
298 | sort -u` ;; \ | ||
299 | esac; \ | ||
300 | for file in $$dist_files; do \ | ||
301 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
302 | if test -d $$d/$$file; then \ | ||
303 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
304 | if test -d "$(distdir)/$$file"; then \ | ||
305 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
306 | fi; \ | ||
307 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
308 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
309 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
310 | fi; \ | ||
311 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
312 | else \ | ||
313 | test -f "$(distdir)/$$file" \ | ||
314 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
315 | || exit 1; \ | ||
316 | fi; \ | ||
317 | done | ||
318 | check-am: all-am | ||
319 | check: check-am | ||
320 | all-am: Makefile | ||
321 | installdirs: | ||
322 | install: install-am | ||
323 | install-exec: install-exec-am | ||
324 | install-data: install-data-am | ||
325 | uninstall: uninstall-am | ||
326 | |||
327 | install-am: all-am | ||
328 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
329 | |||
330 | installcheck: installcheck-am | ||
331 | install-strip: | ||
332 | if test -z '$(STRIP)'; then \ | ||
333 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
334 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
335 | install; \ | ||
336 | else \ | ||
337 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
338 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
339 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
340 | fi | ||
341 | mostlyclean-generic: | ||
342 | |||
343 | clean-generic: | ||
344 | |||
345 | distclean-generic: | ||
346 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
347 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
348 | |||
349 | maintainer-clean-generic: | ||
350 | @echo "This command is intended for maintainers to use" | ||
351 | @echo "it deletes files that may require special tools to rebuild." | ||
352 | clean: clean-am | ||
353 | |||
354 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
355 | |||
356 | distclean: distclean-am | ||
357 | -rm -f Makefile | ||
358 | distclean-am: clean-am distclean-generic | ||
359 | |||
360 | dvi: dvi-am | ||
361 | |||
362 | dvi-am: | ||
363 | |||
364 | html: html-am | ||
365 | |||
366 | html-am: | ||
367 | |||
368 | info: info-am | ||
369 | |||
370 | info-am: | ||
371 | |||
372 | install-data-am: | ||
373 | |||
374 | install-dvi: install-dvi-am | ||
375 | |||
376 | install-dvi-am: | ||
377 | |||
378 | install-exec-am: | ||
379 | |||
380 | install-html: install-html-am | ||
381 | |||
382 | install-html-am: | ||
383 | |||
384 | install-info: install-info-am | ||
385 | |||
386 | install-info-am: | ||
387 | |||
388 | install-man: | ||
389 | |||
390 | install-pdf: install-pdf-am | ||
391 | |||
392 | install-pdf-am: | ||
393 | |||
394 | install-ps: install-ps-am | ||
395 | |||
396 | install-ps-am: | ||
397 | |||
398 | installcheck-am: | ||
399 | |||
400 | maintainer-clean: maintainer-clean-am | ||
401 | -rm -f Makefile | ||
402 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
403 | |||
404 | mostlyclean: mostlyclean-am | ||
405 | |||
406 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
407 | |||
408 | pdf: pdf-am | ||
409 | |||
410 | pdf-am: | ||
411 | |||
412 | ps: ps-am | ||
413 | |||
414 | ps-am: | ||
415 | |||
416 | uninstall-am: | ||
417 | |||
418 | .MAKE: install-am install-strip | ||
419 | |||
420 | .PHONY: all all-am check check-am clean clean-generic clean-libtool \ | ||
421 | cscopelist-am ctags-am distclean distclean-generic \ | ||
422 | distclean-libtool distdir dvi dvi-am html html-am info info-am \ | ||
423 | install install-am install-data install-data-am install-dvi \ | ||
424 | install-dvi-am install-exec install-exec-am install-html \ | ||
425 | install-html-am install-info install-info-am install-man \ | ||
426 | install-pdf install-pdf-am install-ps install-ps-am \ | ||
427 | install-strip installcheck installcheck-am installdirs \ | ||
428 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
429 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
430 | tags-am uninstall uninstall-am | ||
431 | |||
432 | |||
433 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
434 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
435 | .NOEXPORT: | ||
diff --git a/src/include/platform.h b/src/include/platform.h new file mode 100644 index 00000000..4cba7abf --- /dev/null +++ b/src/include/platform.h | |||
@@ -0,0 +1,56 @@ | |||
1 | /* | ||
2 | This file is part of TALER | ||
3 | (C) 2014 Chrisitan Grothoff (and other contributing authors) | ||
4 | |||
5 | TALER is free software; you can redistribute it and/or modify it under the | ||
6 | terms of the GNU General Public License as published by the Free Software | ||
7 | Foundation; either version 3, or (at your option) any later version. | ||
8 | |||
9 | TALER is distributed in the hope that it will be useful, but WITHOUT ANY | ||
10 | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR | ||
11 | A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
12 | |||
13 | You should have received a copy of the GNU General Public License along with | ||
14 | TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> | ||
15 | */ | ||
16 | |||
17 | /** | ||
18 | * @file include/platform.h | ||
19 | * @brief This file contains the includes and definitions which are used by the | ||
20 | * rest of the modules | ||
21 | * @author Sree Harsha Totakura <sreeharsha@totakura.in> | ||
22 | */ | ||
23 | |||
24 | #ifndef PLATFORM_H_ | ||
25 | #define PLATFORM_H_ | ||
26 | |||
27 | /* Include our configuration header */ | ||
28 | #ifndef HAVE_USED_CONFIG_H | ||
29 | # define HAVE_USED_CONFIG_H | ||
30 | # ifdef HAVE_CONFIG_H | ||
31 | # include "taler_config.h" | ||
32 | # endif | ||
33 | #endif | ||
34 | |||
35 | |||
36 | #if (GNUNET_EXTRA_LOGGING >= 1) | ||
37 | #define VERBOSE(cmd) cmd | ||
38 | #else | ||
39 | #define VERBOSE(cmd) do { break; }while(0) | ||
40 | #endif | ||
41 | |||
42 | /* Include the features available for GNU source */ | ||
43 | #define _GNU_SOURCE | ||
44 | |||
45 | /* Include GNUnet's platform file */ | ||
46 | #include <gnunet/platform.h> | ||
47 | |||
48 | /* Do not use shortcuts for gcrypt mpi */ | ||
49 | #define GCRYPT_NO_MPI_MACROS 1 | ||
50 | |||
51 | /* Do not use deprecated functions from gcrypt */ | ||
52 | #define GCRYPT_NO_DEPRECATED 1 | ||
53 | |||
54 | #endif /* PLATFORM_H_ */ | ||
55 | |||
56 | /* end of platform.h */ | ||
diff --git a/src/merchant/.gitignore b/src/merchant/.gitignore new file mode 100644 index 00000000..ebe41680 --- /dev/null +++ b/src/merchant/.gitignore | |||
@@ -0,0 +1 @@ | |||
taler-merchant-* | |||
diff --git a/src/merchant/Makefile b/src/merchant/Makefile new file mode 100644 index 00000000..bbc16e7b --- /dev/null +++ b/src/merchant/Makefile | |||
@@ -0,0 +1,731 @@ | |||
1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | ||
2 | # src/merchant/Makefile. Generated from Makefile.in by configure. | ||
3 | |||
4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | ||
5 | |||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | |||
16 | |||
17 | |||
18 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | ||
19 | am__make_running_with_option = \ | ||
20 | case $${target_option-} in \ | ||
21 | ?) ;; \ | ||
22 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
23 | "target option '$${target_option-}' specified" >&2; \ | ||
24 | exit 1;; \ | ||
25 | esac; \ | ||
26 | has_opt=no; \ | ||
27 | sane_makeflags=$$MAKEFLAGS; \ | ||
28 | if $(am__is_gnu_make); then \ | ||
29 | sane_makeflags=$$MFLAGS; \ | ||
30 | else \ | ||
31 | case $$MAKEFLAGS in \ | ||
32 | *\\[\ \ ]*) \ | ||
33 | bs=\\; \ | ||
34 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
35 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
36 | esac; \ | ||
37 | fi; \ | ||
38 | skip_next=no; \ | ||
39 | strip_trailopt () \ | ||
40 | { \ | ||
41 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
42 | }; \ | ||
43 | for flg in $$sane_makeflags; do \ | ||
44 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
45 | case $$flg in \ | ||
46 | *=*|--*) continue;; \ | ||
47 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
48 | -*I?*) strip_trailopt 'I';; \ | ||
49 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
50 | -*O?*) strip_trailopt 'O';; \ | ||
51 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
52 | -*l?*) strip_trailopt 'l';; \ | ||
53 | -[dEDm]) skip_next=yes;; \ | ||
54 | -[JT]) skip_next=yes;; \ | ||
55 | esac; \ | ||
56 | case $$flg in \ | ||
57 | *$$target_option*) has_opt=yes; break;; \ | ||
58 | esac; \ | ||
59 | done; \ | ||
60 | test $$has_opt = yes | ||
61 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
62 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
63 | pkgdatadir = $(datadir)/taler | ||
64 | pkgincludedir = $(includedir)/taler | ||
65 | pkglibdir = $(libdir)/taler | ||
66 | pkglibexecdir = $(libexecdir)/taler | ||
67 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
68 | install_sh_DATA = $(install_sh) -c -m 644 | ||
69 | install_sh_PROGRAM = $(install_sh) -c | ||
70 | install_sh_SCRIPT = $(install_sh) -c | ||
71 | INSTALL_HEADER = $(INSTALL_DATA) | ||
72 | transform = $(program_transform_name) | ||
73 | NORMAL_INSTALL = : | ||
74 | PRE_INSTALL = : | ||
75 | POST_INSTALL = : | ||
76 | NORMAL_UNINSTALL = : | ||
77 | PRE_UNINSTALL = : | ||
78 | POST_UNINSTALL = : | ||
79 | build_triplet = x86_64-unknown-linux-gnu | ||
80 | host_triplet = x86_64-unknown-linux-gnu | ||
81 | bin_PROGRAMS = taler-merchant-dbinit$(EXEEXT) \ | ||
82 | taler-merchant-serve$(EXEEXT) | ||
83 | check_PROGRAMS = test-merchant$(EXEEXT) test-merchant-db$(EXEEXT) | ||
84 | subdir = src/merchant | ||
85 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | ||
86 | $(top_srcdir)/depcomp | ||
87 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
88 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_postgresql.m4 \ | ||
89 | $(top_srcdir)/m4/libgnurl.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
90 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
91 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
92 | $(top_srcdir)/configure.ac | ||
93 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
94 | $(ACLOCAL_M4) | ||
95 | mkinstalldirs = $(install_sh) -d | ||
96 | CONFIG_HEADER = $(top_builddir)/taler_config.h | ||
97 | CONFIG_CLEAN_FILES = | ||
98 | CONFIG_CLEAN_VPATH_FILES = | ||
99 | am__installdirs = "$(DESTDIR)$(bindir)" | ||
100 | PROGRAMS = $(bin_PROGRAMS) | ||
101 | am__objects_1 = merchant_db.$(OBJEXT) | ||
102 | am_taler_merchant_dbinit_OBJECTS = taler_merchant_dbinit.$(OBJEXT) \ | ||
103 | $(am__objects_1) | ||
104 | taler_merchant_dbinit_OBJECTS = $(am_taler_merchant_dbinit_OBJECTS) | ||
105 | taler_merchant_dbinit_DEPENDENCIES = | ||
106 | AM_V_lt = $(am__v_lt_$(V)) | ||
107 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) | ||
108 | am__v_lt_0 = --silent | ||
109 | am__v_lt_1 = | ||
110 | taler_merchant_dbinit_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
111 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
112 | $(AM_CFLAGS) $(CFLAGS) $(taler_merchant_dbinit_LDFLAGS) \ | ||
113 | $(LDFLAGS) -o $@ | ||
114 | am_taler_merchant_serve_OBJECTS = taler_merchant_serve.$(OBJEXT) \ | ||
115 | merchant.$(OBJEXT) $(am__objects_1) | ||
116 | taler_merchant_serve_OBJECTS = $(am_taler_merchant_serve_OBJECTS) | ||
117 | taler_merchant_serve_DEPENDENCIES = | ||
118 | taler_merchant_serve_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
119 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
120 | $(AM_CFLAGS) $(CFLAGS) $(taler_merchant_serve_LDFLAGS) \ | ||
121 | $(LDFLAGS) -o $@ | ||
122 | am_test_merchant_OBJECTS = merchant.$(OBJEXT) test_merchant.$(OBJEXT) | ||
123 | test_merchant_OBJECTS = $(am_test_merchant_OBJECTS) | ||
124 | test_merchant_DEPENDENCIES = | ||
125 | am_test_merchant_db_OBJECTS = $(am__objects_1) \ | ||
126 | test_merchant_db.$(OBJEXT) | ||
127 | test_merchant_db_OBJECTS = $(am_test_merchant_db_OBJECTS) | ||
128 | test_merchant_db_DEPENDENCIES = | ||
129 | AM_V_P = $(am__v_P_$(V)) | ||
130 | am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) | ||
131 | am__v_P_0 = false | ||
132 | am__v_P_1 = : | ||
133 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
134 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
135 | am__v_GEN_0 = @echo " GEN " $@; | ||
136 | am__v_GEN_1 = | ||
137 | AM_V_at = $(am__v_at_$(V)) | ||
138 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
139 | am__v_at_0 = @ | ||
140 | am__v_at_1 = | ||
141 | DEFAULT_INCLUDES = -I. -I$(top_builddir) | ||
142 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
143 | am__depfiles_maybe = depfiles | ||
144 | am__mv = mv -f | ||
145 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
146 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
147 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
148 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
149 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
150 | $(AM_CFLAGS) $(CFLAGS) | ||
151 | AM_V_CC = $(am__v_CC_$(V)) | ||
152 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) | ||
153 | am__v_CC_0 = @echo " CC " $@; | ||
154 | am__v_CC_1 = | ||
155 | CCLD = $(CC) | ||
156 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
157 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
158 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
159 | AM_V_CCLD = $(am__v_CCLD_$(V)) | ||
160 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) | ||
161 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
162 | am__v_CCLD_1 = | ||
163 | SOURCES = $(taler_merchant_dbinit_SOURCES) \ | ||
164 | $(taler_merchant_serve_SOURCES) $(test_merchant_SOURCES) \ | ||
165 | $(test_merchant_db_SOURCES) | ||
166 | DIST_SOURCES = $(taler_merchant_dbinit_SOURCES) \ | ||
167 | $(taler_merchant_serve_SOURCES) $(test_merchant_SOURCES) \ | ||
168 | $(test_merchant_db_SOURCES) | ||
169 | am__can_run_installinfo = \ | ||
170 | case $$AM_UPDATE_INFO_DIR in \ | ||
171 | n|no|NO) false;; \ | ||
172 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
173 | esac | ||
174 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
175 | # Read a list of newline-separated strings from the standard input, | ||
176 | # and print each of them once, without duplicates. Input order is | ||
177 | # *not* preserved. | ||
178 | am__uniquify_input = $(AWK) '\ | ||
179 | BEGIN { nonempty = 0; } \ | ||
180 | { items[$$0] = 1; nonempty = 1; } \ | ||
181 | END { if (nonempty) { for (i in items) print i; }; } \ | ||
182 | ' | ||
183 | # Make sure the list of sources is unique. This is necessary because, | ||
184 | # e.g., the same source file might be shared among _SOURCES variables | ||
185 | # for different programs/libraries. | ||
186 | am__define_uniq_tagged_files = \ | ||
187 | list='$(am__tagged_files)'; \ | ||
188 | unique=`for i in $$list; do \ | ||
189 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
190 | done | $(am__uniquify_input)` | ||
191 | ETAGS = etags | ||
192 | CTAGS = ctags | ||
193 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
194 | ACLOCAL = ${SHELL} /home/grothoff/research/merchant/missing aclocal-1.14 | ||
195 | AMTAR = $${TAR-tar} | ||
196 | AM_DEFAULT_VERBOSITY = 0 | ||
197 | AR = ar | ||
198 | AUTOCONF = ${SHELL} /home/grothoff/research/merchant/missing autoconf | ||
199 | AUTOHEADER = ${SHELL} /home/grothoff/research/merchant/missing autoheader | ||
200 | AUTOMAKE = ${SHELL} /home/grothoff/research/merchant/missing automake-1.14 | ||
201 | AWK = gawk | ||
202 | CC = gcc | ||
203 | CCDEPMODE = depmode=gcc3 | ||
204 | CFLAGS = -Wall -g -O0 -Wall | ||
205 | CPP = gcc -E | ||
206 | CPPFLAGS = -I/home/grothoff//include | ||
207 | CYGPATH_W = echo | ||
208 | DEFS = -DHAVE_CONFIG_H | ||
209 | DEPDIR = .deps | ||
210 | DLLTOOL = false | ||
211 | DSYMUTIL = | ||
212 | DUMPBIN = | ||
213 | ECHO_C = | ||
214 | ECHO_N = -n | ||
215 | ECHO_T = | ||
216 | EGREP = /bin/grep -E | ||
217 | EXEEXT = | ||
218 | FGREP = /bin/grep -F | ||
219 | GREP = /bin/grep | ||
220 | INSTALL = /usr/bin/install -c | ||
221 | INSTALL_DATA = ${INSTALL} -m 644 | ||
222 | INSTALL_PROGRAM = ${INSTALL} | ||
223 | INSTALL_SCRIPT = ${INSTALL} | ||
224 | INSTALL_STRIP_PROGRAM = $(install_sh) -c -s | ||
225 | LD = /usr/bin/ld -m elf_x86_64 | ||
226 | LDFLAGS = -L/home/grothoff//lib | ||
227 | LIBGCRYPT_CFLAGS = | ||
228 | LIBGCRYPT_CONFIG = /usr/bin/libgcrypt-config | ||
229 | LIBGCRYPT_LIBS = -lgcrypt | ||
230 | LIBGNURL = -L/home/grothoff/lib -lgnurl | ||
231 | LIBGNURL_CPPFLAGS = -I/home/grothoff/include | ||
232 | LIBOBJS = | ||
233 | LIBS = | ||
234 | LIBTOOL = $(SHELL) $(top_builddir)/libtool | ||
235 | LIPO = | ||
236 | LN_S = ln -s | ||
237 | LTLIBOBJS = | ||
238 | MAKEINFO = ${SHELL} /home/grothoff/research/merchant/missing makeinfo | ||
239 | MANIFEST_TOOL = : | ||
240 | MKDIR_P = /bin/mkdir -p | ||
241 | NM = /usr/bin/nm -B | ||
242 | NMEDIT = | ||
243 | OBJDUMP = objdump | ||
244 | OBJEXT = o | ||
245 | OTOOL = | ||
246 | OTOOL64 = | ||
247 | PACKAGE = taler | ||
248 | PACKAGE_BUGREPORT = taler-bug@gnunet.org | ||
249 | PACKAGE_NAME = taler | ||
250 | PACKAGE_STRING = taler 0.0.0 | ||
251 | PACKAGE_TARNAME = taler | ||
252 | PACKAGE_URL = | ||
253 | PACKAGE_VERSION = 0.0.0 | ||
254 | PATH_SEPARATOR = : | ||
255 | PG_CONFIG = /usr/bin/pg_config | ||
256 | POSTGRESQL_CPPFLAGS = -I/usr/include/postgresql | ||
257 | POSTGRESQL_LDFLAGS = -L/usr/lib/x86_64-linux-gnu | ||
258 | POSTGRESQL_VERSION = 9.4.0 | ||
259 | RANLIB = ranlib | ||
260 | SED = /bin/sed | ||
261 | SET_MAKE = | ||
262 | SHELL = /bin/bash | ||
263 | STRIP = strip | ||
264 | VERSION = 0.0.0 | ||
265 | _libgnurl_config = | ||
266 | abs_builddir = /home/grothoff/research/merchant/src/merchant | ||
267 | abs_srcdir = /home/grothoff/research/merchant/src/merchant | ||
268 | abs_top_builddir = /home/grothoff/research/merchant | ||
269 | abs_top_srcdir = /home/grothoff/research/merchant | ||
270 | ac_ct_AR = ar | ||
271 | ac_ct_CC = gcc | ||
272 | ac_ct_DUMPBIN = | ||
273 | am__include = include | ||
274 | am__leading_dot = . | ||
275 | am__quote = | ||
276 | am__tar = $${TAR-tar} chof - "$$tardir" | ||
277 | am__untar = $${TAR-tar} xf - | ||
278 | bindir = ${exec_prefix}/bin | ||
279 | build = x86_64-unknown-linux-gnu | ||
280 | build_alias = | ||
281 | build_cpu = x86_64 | ||
282 | build_os = linux-gnu | ||
283 | build_vendor = unknown | ||
284 | builddir = . | ||
285 | datadir = ${datarootdir} | ||
286 | datarootdir = ${prefix}/share | ||
287 | docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} | ||
288 | dvidir = ${docdir} | ||
289 | exec_prefix = ${prefix} | ||
290 | host = x86_64-unknown-linux-gnu | ||
291 | host_alias = | ||
292 | host_cpu = x86_64 | ||
293 | host_os = linux-gnu | ||
294 | host_vendor = unknown | ||
295 | htmldir = ${docdir} | ||
296 | includedir = ${prefix}/include | ||
297 | infodir = ${datarootdir}/info | ||
298 | install_sh = ${SHELL} /home/grothoff/research/merchant/install-sh | ||
299 | libdir = ${exec_prefix}/lib | ||
300 | libexecdir = ${exec_prefix}/libexec | ||
301 | localedir = ${datarootdir}/locale | ||
302 | localstatedir = ${prefix}/var | ||
303 | mandir = ${datarootdir}/man | ||
304 | mkdir_p = $(MKDIR_P) | ||
305 | oldincludedir = /usr/include | ||
306 | pdfdir = ${docdir} | ||
307 | prefix = /usr/local | ||
308 | program_transform_name = s,x,x, | ||
309 | psdir = ${docdir} | ||
310 | sbindir = ${exec_prefix}/sbin | ||
311 | sharedstatedir = ${prefix}/com | ||
312 | srcdir = . | ||
313 | sysconfdir = ${prefix}/etc | ||
314 | target_alias = | ||
315 | top_build_prefix = ../../ | ||
316 | top_builddir = ../.. | ||
317 | top_srcdir = ../.. | ||
318 | AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS) | ||
319 | MERCHANT_DB = merchant_db.c merchant_db.h | ||
320 | taler_merchant_dbinit_SOURCES = \ | ||
321 | taler_merchant_dbinit.c \ | ||
322 | $(MERCHANT_DB) | ||
323 | |||
324 | taler_merchant_dbinit_LDADD = \ | ||
325 | -lpq \ | ||
326 | -lgnunetutil \ | ||
327 | -ltalerutil \ | ||
328 | -lgnunetpostgres | ||
329 | |||
330 | taler_merchant_dbinit_LDFLAGS = \ | ||
331 | $(POSTGRESQL_LDFLAGS) | ||
332 | |||
333 | test_merchant_SOURCES = \ | ||
334 | merchant.c \ | ||
335 | test_merchant.c | ||
336 | |||
337 | test_merchant_LDADD = \ | ||
338 | -ltalerutil \ | ||
339 | -lgnunetutil | ||
340 | |||
341 | test_merchant_db_SOURCES = \ | ||
342 | $(MERCHANT_DB) \ | ||
343 | test_merchant_db.c | ||
344 | |||
345 | test_merchant_db_LDADD = \ | ||
346 | -ltalerutil \ | ||
347 | -lgnunetutil \ | ||
348 | -lgnunetpostgres \ | ||
349 | -lpq | ||
350 | |||
351 | taler_merchant_serve_SOURCES = \ | ||
352 | taler_merchant_serve.c \ | ||
353 | merchant.c merchant.h \ | ||
354 | $(MERCHANT_DB) | ||
355 | |||
356 | taler_merchant_serve_LDADD = \ | ||
357 | -lpq \ | ||
358 | -lgnunetutil \ | ||
359 | -lgnunetpostgres \ | ||
360 | -lmicrohttpd \ | ||
361 | -ltalermintapi \ | ||
362 | -ltalerutil \ | ||
363 | -ljansson | ||
364 | |||
365 | taler_merchant_serve_LDFLAGS = \ | ||
366 | $(POSTGRESQL_LDFLAGS) | ||
367 | |||
368 | all: all-am | ||
369 | |||
370 | .SUFFIXES: | ||
371 | .SUFFIXES: .c .lo .o .obj | ||
372 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | ||
373 | @for dep in $?; do \ | ||
374 | case '$(am__configure_deps)' in \ | ||
375 | *$$dep*) \ | ||
376 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
377 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
378 | exit 1;; \ | ||
379 | esac; \ | ||
380 | done; \ | ||
381 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/merchant/Makefile'; \ | ||
382 | $(am__cd) $(top_srcdir) && \ | ||
383 | $(AUTOMAKE) --gnu src/merchant/Makefile | ||
384 | .PRECIOUS: Makefile | ||
385 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
386 | @case '$?' in \ | ||
387 | *config.status*) \ | ||
388 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
389 | *) \ | ||
390 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
391 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
392 | esac; | ||
393 | |||
394 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
395 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
396 | |||
397 | $(top_srcdir)/configure: $(am__configure_deps) | ||
398 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
399 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | ||
400 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
401 | $(am__aclocal_m4_deps): | ||
402 | install-binPROGRAMS: $(bin_PROGRAMS) | ||
403 | @$(NORMAL_INSTALL) | ||
404 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | ||
405 | if test -n "$$list"; then \ | ||
406 | echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ | ||
407 | $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ | ||
408 | fi; \ | ||
409 | for p in $$list; do echo "$$p $$p"; done | \ | ||
410 | sed 's/$(EXEEXT)$$//' | \ | ||
411 | while read p p1; do if test -f $$p \ | ||
412 | || test -f $$p1 \ | ||
413 | ; then echo "$$p"; echo "$$p"; else :; fi; \ | ||
414 | done | \ | ||
415 | sed -e 'p;s,.*/,,;n;h' \ | ||
416 | -e 's|.*|.|' \ | ||
417 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | ||
418 | sed 'N;N;N;s,\n, ,g' | \ | ||
419 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | ||
420 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | ||
421 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | ||
422 | else { print "f", $$3 "/" $$4, $$1; } } \ | ||
423 | END { for (d in files) print "f", d, files[d] }' | \ | ||
424 | while read type dir files; do \ | ||
425 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | ||
426 | test -z "$$files" || { \ | ||
427 | echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | ||
428 | $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | ||
429 | } \ | ||
430 | ; done | ||
431 | |||
432 | uninstall-binPROGRAMS: | ||
433 | @$(NORMAL_UNINSTALL) | ||
434 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | ||
435 | files=`for p in $$list; do echo "$$p"; done | \ | ||
436 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | ||
437 | -e 's/$$/$(EXEEXT)/' \ | ||
438 | `; \ | ||
439 | test -n "$$list" || exit 0; \ | ||
440 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | ||
441 | cd "$(DESTDIR)$(bindir)" && rm -f $$files | ||
442 | |||
443 | clean-binPROGRAMS: | ||
444 | @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ | ||
445 | echo " rm -f" $$list; \ | ||
446 | rm -f $$list || exit $$?; \ | ||
447 | test -n "$(EXEEXT)" || exit 0; \ | ||
448 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ | ||
449 | echo " rm -f" $$list; \ | ||
450 | rm -f $$list | ||
451 | |||
452 | clean-checkPROGRAMS: | ||
453 | @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ | ||
454 | echo " rm -f" $$list; \ | ||
455 | rm -f $$list || exit $$?; \ | ||
456 | test -n "$(EXEEXT)" || exit 0; \ | ||
457 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ | ||
458 | echo " rm -f" $$list; \ | ||
459 | rm -f $$list | ||
460 | |||
461 | taler-merchant-dbinit$(EXEEXT): $(taler_merchant_dbinit_OBJECTS) $(taler_merchant_dbinit_DEPENDENCIES) $(EXTRA_taler_merchant_dbinit_DEPENDENCIES) | ||
462 | @rm -f taler-merchant-dbinit$(EXEEXT) | ||
463 | $(AM_V_CCLD)$(taler_merchant_dbinit_LINK) $(taler_merchant_dbinit_OBJECTS) $(taler_merchant_dbinit_LDADD) $(LIBS) | ||
464 | |||
465 | taler-merchant-serve$(EXEEXT): $(taler_merchant_serve_OBJECTS) $(taler_merchant_serve_DEPENDENCIES) $(EXTRA_taler_merchant_serve_DEPENDENCIES) | ||
466 | @rm -f taler-merchant-serve$(EXEEXT) | ||
467 | $(AM_V_CCLD)$(taler_merchant_serve_LINK) $(taler_merchant_serve_OBJECTS) $(taler_merchant_serve_LDADD) $(LIBS) | ||
468 | |||
469 | test-merchant$(EXEEXT): $(test_merchant_OBJECTS) $(test_merchant_DEPENDENCIES) $(EXTRA_test_merchant_DEPENDENCIES) | ||
470 | @rm -f test-merchant$(EXEEXT) | ||
471 | $(AM_V_CCLD)$(LINK) $(test_merchant_OBJECTS) $(test_merchant_LDADD) $(LIBS) | ||
472 | |||
473 | test-merchant-db$(EXEEXT): $(test_merchant_db_OBJECTS) $(test_merchant_db_DEPENDENCIES) $(EXTRA_test_merchant_db_DEPENDENCIES) | ||
474 | @rm -f test-merchant-db$(EXEEXT) | ||
475 | $(AM_V_CCLD)$(LINK) $(test_merchant_db_OBJECTS) $(test_merchant_db_LDADD) $(LIBS) | ||
476 | |||
477 | mostlyclean-compile: | ||
478 | -rm -f *.$(OBJEXT) | ||
479 | |||
480 | distclean-compile: | ||
481 | -rm -f *.tab.c | ||
482 | |||
483 | include ./$(DEPDIR)/merchant.Po | ||
484 | include ./$(DEPDIR)/merchant_db.Po | ||
485 | include ./$(DEPDIR)/taler_merchant_dbinit.Po | ||
486 | include ./$(DEPDIR)/taler_merchant_serve.Po | ||
487 | include ./$(DEPDIR)/test_merchant.Po | ||
488 | include ./$(DEPDIR)/test_merchant_db.Po | ||
489 | |||
490 | .c.o: | ||
491 | $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ | ||
492 | $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ | ||
493 | $(am__mv) $$depbase.Tpo $$depbase.Po | ||
494 | # $(AM_V_CC)source='$<' object='$@' libtool=no \ | ||
495 | # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ | ||
496 | # $(AM_V_CC_no)$(COMPILE) -c -o $@ $< | ||
497 | |||
498 | .c.obj: | ||
499 | $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ | ||
500 | $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ | ||
501 | $(am__mv) $$depbase.Tpo $$depbase.Po | ||
502 | # $(AM_V_CC)source='$<' object='$@' libtool=no \ | ||
503 | # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ | ||
504 | # $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` | ||
505 | |||
506 | .c.lo: | ||
507 | $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ | ||
508 | $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ | ||
509 | $(am__mv) $$depbase.Tpo $$depbase.Plo | ||
510 | # $(AM_V_CC)source='$<' object='$@' libtool=yes \ | ||
511 | # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ | ||
512 | # $(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $< | ||
513 | |||
514 | mostlyclean-libtool: | ||
515 | -rm -f *.lo | ||
516 | |||
517 | clean-libtool: | ||
518 | -rm -rf .libs _libs | ||
519 | |||
520 | ID: $(am__tagged_files) | ||
521 | $(am__define_uniq_tagged_files); mkid -fID $$unique | ||
522 | tags: tags-am | ||
523 | TAGS: tags | ||
524 | |||
525 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
526 | set x; \ | ||
527 | here=`pwd`; \ | ||
528 | $(am__define_uniq_tagged_files); \ | ||
529 | shift; \ | ||
530 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
531 | test -n "$$unique" || unique=$$empty_fix; \ | ||
532 | if test $$# -gt 0; then \ | ||
533 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
534 | "$$@" $$unique; \ | ||
535 | else \ | ||
536 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
537 | $$unique; \ | ||
538 | fi; \ | ||
539 | fi | ||
540 | ctags: ctags-am | ||
541 | |||
542 | CTAGS: ctags | ||
543 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ||
544 | $(am__define_uniq_tagged_files); \ | ||
545 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
546 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
547 | $$unique | ||
548 | |||
549 | GTAGS: | ||
550 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
551 | && $(am__cd) $(top_srcdir) \ | ||
552 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
553 | cscopelist: cscopelist-am | ||
554 | |||
555 | cscopelist-am: $(am__tagged_files) | ||
556 | list='$(am__tagged_files)'; \ | ||
557 | case "$(srcdir)" in \ | ||
558 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | ||
559 | *) sdir=$(subdir)/$(srcdir) ;; \ | ||
560 | esac; \ | ||
561 | for i in $$list; do \ | ||
562 | if test -f "$$i"; then \ | ||
563 | echo "$(subdir)/$$i"; \ | ||
564 | else \ | ||
565 | echo "$$sdir/$$i"; \ | ||
566 | fi; \ | ||
567 | done >> $(top_builddir)/cscope.files | ||
568 | |||
569 | distclean-tags: | ||
570 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
571 | |||
572 | distdir: $(DISTFILES) | ||
573 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
574 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
575 | list='$(DISTFILES)'; \ | ||
576 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
577 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
578 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
579 | case $$dist_files in \ | ||
580 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
581 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
582 | sort -u` ;; \ | ||
583 | esac; \ | ||
584 | for file in $$dist_files; do \ | ||
585 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
586 | if test -d $$d/$$file; then \ | ||
587 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
588 | if test -d "$(distdir)/$$file"; then \ | ||
589 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
590 | fi; \ | ||
591 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
592 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
593 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
594 | fi; \ | ||
595 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
596 | else \ | ||
597 | test -f "$(distdir)/$$file" \ | ||
598 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
599 | || exit 1; \ | ||
600 | fi; \ | ||
601 | done | ||
602 | check-am: all-am | ||
603 | $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) | ||
604 | check: check-am | ||
605 | all-am: Makefile $(PROGRAMS) | ||
606 | installdirs: | ||
607 | for dir in "$(DESTDIR)$(bindir)"; do \ | ||
608 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
609 | done | ||
610 | install: install-am | ||
611 | install-exec: install-exec-am | ||
612 | install-data: install-data-am | ||
613 | uninstall: uninstall-am | ||
614 | |||
615 | install-am: all-am | ||
616 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
617 | |||
618 | installcheck: installcheck-am | ||
619 | install-strip: | ||
620 | if test -z '$(STRIP)'; then \ | ||
621 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
622 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
623 | install; \ | ||
624 | else \ | ||
625 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
626 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
627 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
628 | fi | ||
629 | mostlyclean-generic: | ||
630 | |||
631 | clean-generic: | ||
632 | |||
633 | distclean-generic: | ||
634 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
635 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
636 | |||
637 | maintainer-clean-generic: | ||
638 | @echo "This command is intended for maintainers to use" | ||
639 | @echo "it deletes files that may require special tools to rebuild." | ||
640 | clean: clean-am | ||
641 | |||
642 | clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ | ||
643 | clean-libtool mostlyclean-am | ||
644 | |||
645 | distclean: distclean-am | ||
646 | -rm -rf ./$(DEPDIR) | ||
647 | -rm -f Makefile | ||
648 | distclean-am: clean-am distclean-compile distclean-generic \ | ||
649 | distclean-tags | ||
650 | |||
651 | dvi: dvi-am | ||
652 | |||
653 | dvi-am: | ||
654 | |||
655 | html: html-am | ||
656 | |||
657 | html-am: | ||
658 | |||
659 | info: info-am | ||
660 | |||
661 | info-am: | ||
662 | |||
663 | install-data-am: | ||
664 | |||
665 | install-dvi: install-dvi-am | ||
666 | |||
667 | install-dvi-am: | ||
668 | |||
669 | install-exec-am: install-binPROGRAMS | ||
670 | |||
671 | install-html: install-html-am | ||
672 | |||
673 | install-html-am: | ||
674 | |||
675 | install-info: install-info-am | ||
676 | |||
677 | install-info-am: | ||
678 | |||
679 | install-man: | ||
680 | |||
681 | install-pdf: install-pdf-am | ||
682 | |||
683 | install-pdf-am: | ||
684 | |||
685 | install-ps: install-ps-am | ||
686 | |||
687 | install-ps-am: | ||
688 | |||
689 | installcheck-am: | ||
690 | |||
691 | maintainer-clean: maintainer-clean-am | ||
692 | -rm -rf ./$(DEPDIR) | ||
693 | -rm -f Makefile | ||
694 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
695 | |||
696 | mostlyclean: mostlyclean-am | ||
697 | |||
698 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | ||
699 | mostlyclean-libtool | ||
700 | |||
701 | pdf: pdf-am | ||
702 | |||
703 | pdf-am: | ||
704 | |||
705 | ps: ps-am | ||
706 | |||
707 | ps-am: | ||
708 | |||
709 | uninstall-am: uninstall-binPROGRAMS | ||
710 | |||
711 | .MAKE: check-am install-am install-strip | ||
712 | |||
713 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ | ||
714 | clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ | ||
715 | clean-libtool cscopelist-am ctags ctags-am distclean \ | ||
716 | distclean-compile distclean-generic distclean-libtool \ | ||
717 | distclean-tags distdir dvi dvi-am html html-am info info-am \ | ||
718 | install install-am install-binPROGRAMS install-data \ | ||
719 | install-data-am install-dvi install-dvi-am install-exec \ | ||
720 | install-exec-am install-html install-html-am install-info \ | ||
721 | install-info-am install-man install-pdf install-pdf-am \ | ||
722 | install-ps install-ps-am install-strip installcheck \ | ||
723 | installcheck-am installdirs maintainer-clean \ | ||
724 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | ||
725 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
726 | tags tags-am uninstall uninstall-am uninstall-binPROGRAMS | ||
727 | |||
728 | |||
729 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
730 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
731 | .NOEXPORT: | ||
diff --git a/src/merchant/Makefile.am b/src/merchant/Makefile.am new file mode 100644 index 00000000..701b3ee8 --- /dev/null +++ b/src/merchant/Makefile.am | |||
@@ -0,0 +1,52 @@ | |||
1 | AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS) | ||
2 | |||
3 | MERCHANT_DB = merchant_db.c merchant_db.h | ||
4 | bin_PROGRAMS = \ | ||
5 | taler-merchant-dbinit \ | ||
6 | taler-merchant-serve | ||
7 | |||
8 | taler_merchant_dbinit_SOURCES = \ | ||
9 | taler_merchant_dbinit.c \ | ||
10 | $(MERCHANT_DB) | ||
11 | taler_merchant_dbinit_LDADD = \ | ||
12 | -lpq \ | ||
13 | -lgnunetutil \ | ||
14 | -ltalerutil \ | ||
15 | -lgnunetpostgres | ||
16 | taler_merchant_dbinit_LDFLAGS = \ | ||
17 | $(POSTGRESQL_LDFLAGS) | ||
18 | |||
19 | check_PROGRAMS = \ | ||
20 | test-merchant \ | ||
21 | test-merchant-db | ||
22 | |||
23 | test_merchant_SOURCES = \ | ||
24 | merchant.c \ | ||
25 | test_merchant.c | ||
26 | test_merchant_LDADD = \ | ||
27 | -ltalerutil \ | ||
28 | -lgnunetutil | ||
29 | |||
30 | test_merchant_db_SOURCES = \ | ||
31 | $(MERCHANT_DB) \ | ||
32 | test_merchant_db.c | ||
33 | test_merchant_db_LDADD = \ | ||
34 | -ltalerutil \ | ||
35 | -lgnunetutil \ | ||
36 | -lgnunetpostgres \ | ||
37 | -lpq | ||
38 | |||
39 | taler_merchant_serve_SOURCES = \ | ||
40 | taler_merchant_serve.c \ | ||
41 | merchant.c merchant.h \ | ||
42 | $(MERCHANT_DB) | ||
43 | taler_merchant_serve_LDADD = \ | ||
44 | -lpq \ | ||
45 | -lgnunetutil \ | ||
46 | -lgnunetpostgres \ | ||
47 | -lmicrohttpd \ | ||
48 | -ltalermintapi \ | ||
49 | -ltalerutil \ | ||
50 | -ljansson | ||
51 | taler_merchant_serve_LDFLAGS = \ | ||
52 | $(POSTGRESQL_LDFLAGS) | ||
diff --git a/src/merchant/Makefile.in b/src/merchant/Makefile.in new file mode 100644 index 00000000..33fcb832 --- /dev/null +++ b/src/merchant/Makefile.in | |||
@@ -0,0 +1,731 @@ | |||
1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | ||
2 | # @configure_input@ | ||
3 | |||
4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | ||
5 | |||
6 | # This Makefile.in is free software; the Free Software Foundation | ||
7 | # gives unlimited permission to copy and/or distribute it, | ||
8 | # with or without modifications, as long as this notice is preserved. | ||
9 | |||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
13 | # PARTICULAR PURPOSE. | ||
14 | |||
15 | @SET_MAKE@ | ||
16 | |||
17 | VPATH = @srcdir@ | ||
18 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | ||
19 | am__make_running_with_option = \ | ||
20 | case $${target_option-} in \ | ||
21 | ?) ;; \ | ||
22 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
23 | "target option '$${target_option-}' specified" >&2; \ | ||
24 | exit 1;; \ | ||
25 | esac; \ | ||
26 | has_opt=no; \ | ||
27 | sane_makeflags=$$MAKEFLAGS; \ | ||
28 | if $(am__is_gnu_make); then \ | ||
29 | sane_makeflags=$$MFLAGS; \ | ||
30 | else \ | ||
31 | case $$MAKEFLAGS in \ | ||
32 | *\\[\ \ ]*) \ | ||
33 | bs=\\; \ | ||
34 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
35 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
36 | esac; \ | ||
37 | fi; \ | ||
38 | skip_next=no; \ | ||
39 | strip_trailopt () \ | ||
40 | { \ | ||
41 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
42 | }; \ | ||
43 | for flg in $$sane_makeflags; do \ | ||
44 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
45 | case $$flg in \ | ||
46 | *=*|--*) continue;; \ | ||
47 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
48 | -*I?*) strip_trailopt 'I';; \ | ||
49 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
50 | -*O?*) strip_trailopt 'O';; \ | ||
51 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
52 | -*l?*) strip_trailopt 'l';; \ | ||
53 | -[dEDm]) skip_next=yes;; \ | ||
54 | -[JT]) skip_next=yes;; \ | ||
55 | esac; \ | ||
56 | case $$flg in \ | ||
57 | *$$target_option*) has_opt=yes; break;; \ | ||
58 | esac; \ | ||
59 | done; \ | ||
60 | test $$has_opt = yes | ||
61 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
62 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
63 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
64 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
65 | pkglibdir = $(libdir)/@PACKAGE@ | ||
66 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
67 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
68 | install_sh_DATA = $(install_sh) -c -m 644 | ||
69 | install_sh_PROGRAM = $(install_sh) -c | ||
70 | install_sh_SCRIPT = $(install_sh) -c | ||
71 | INSTALL_HEADER = $(INSTALL_DATA) | ||
72 | transform = $(program_transform_name) | ||
73 | NORMAL_INSTALL = : | ||
74 | PRE_INSTALL = : | ||
75 | POST_INSTALL = : | ||
76 | NORMAL_UNINSTALL = : | ||
77 | PRE_UNINSTALL = : | ||
78 | POST_UNINSTALL = : | ||
79 | build_triplet = @build@ | ||
80 | host_triplet = @host@ | ||
81 | bin_PROGRAMS = taler-merchant-dbinit$(EXEEXT) \ | ||
82 | taler-merchant-serve$(EXEEXT) | ||
83 | check_PROGRAMS = test-merchant$(EXEEXT) test-merchant-db$(EXEEXT) | ||
84 | subdir = src/merchant | ||
85 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | ||
86 | $(top_srcdir)/depcomp | ||
87 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
88 | am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_postgresql.m4 \ | ||
89 | $(top_srcdir)/m4/libgnurl.m4 $(top_srcdir)/m4/libtool.m4 \ | ||
90 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | ||
91 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
92 | $(top_srcdir)/configure.ac | ||
93 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
94 | $(ACLOCAL_M4) | ||
95 | mkinstalldirs = $(install_sh) -d | ||
96 | CONFIG_HEADER = $(top_builddir)/taler_config.h | ||
97 | CONFIG_CLEAN_FILES = | ||
98 | CONFIG_CLEAN_VPATH_FILES = | ||
99 | am__installdirs = "$(DESTDIR)$(bindir)" | ||
100 | PROGRAMS = $(bin_PROGRAMS) | ||
101 | am__objects_1 = merchant_db.$(OBJEXT) | ||
102 | am_taler_merchant_dbinit_OBJECTS = taler_merchant_dbinit.$(OBJEXT) \ | ||
103 | $(am__objects_1) | ||
104 | taler_merchant_dbinit_OBJECTS = $(am_taler_merchant_dbinit_OBJECTS) | ||
105 | taler_merchant_dbinit_DEPENDENCIES = | ||
106 | AM_V_lt = $(am__v_lt_@AM_V@) | ||
107 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | ||
108 | am__v_lt_0 = --silent | ||
109 | am__v_lt_1 = | ||
110 | taler_merchant_dbinit_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
111 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
112 | $(AM_CFLAGS) $(CFLAGS) $(taler_merchant_dbinit_LDFLAGS) \ | ||
113 | $(LDFLAGS) -o $@ | ||
114 | am_taler_merchant_serve_OBJECTS = taler_merchant_serve.$(OBJEXT) \ | ||
115 | merchant.$(OBJEXT) $(am__objects_1) | ||
116 | taler_merchant_serve_OBJECTS = $(am_taler_merchant_serve_OBJECTS) | ||
117 | taler_merchant_serve_DEPENDENCIES = | ||
118 | taler_merchant_serve_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | ||
119 | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | ||
120 | $(AM_CFLAGS) $(CFLAGS) $(taler_merchant_serve_LDFLAGS) \ | ||
121 | $(LDFLAGS) -o $@ | ||
122 | am_test_merchant_OBJECTS = merchant.$(OBJEXT) test_merchant.$(OBJEXT) | ||
123 | test_merchant_OBJECTS = $(am_test_merchant_OBJECTS) | ||
124 | test_merchant_DEPENDENCIES = | ||
125 | am_test_merchant_db_OBJECTS = $(am__objects_1) \ | ||
126 | test_merchant_db.$(OBJEXT) | ||
127 | test_merchant_db_OBJECTS = $(am_test_merchant_db_OBJECTS) | ||
128 | test_merchant_db_DEPENDENCIES = | ||
129 | AM_V_P = $(am__v_P_@AM_V@) | ||
130 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
131 | am__v_P_0 = false | ||
132 | am__v_P_1 = : | ||
133 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
134 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
135 | am__v_GEN_0 = @echo " GEN " $@; | ||
136 | am__v_GEN_1 = | ||
137 | AM_V_at = $(am__v_at_@AM_V@) | ||
138 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
139 | am__v_at_0 = @ | ||
140 | am__v_at_1 = | ||
141 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) | ||
142 | depcomp = $(SHELL) $(top_srcdir)/depcomp | ||
143 | am__depfiles_maybe = depfiles | ||
144 | am__mv = mv -f | ||
145 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | ||
146 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
147 | LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
148 | $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ | ||
149 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | ||
150 | $(AM_CFLAGS) $(CFLAGS) | ||
151 | AM_V_CC = $(am__v_CC_@AM_V@) | ||
152 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) | ||
153 | am__v_CC_0 = @echo " CC " $@; | ||
154 | am__v_CC_1 = | ||
155 | CCLD = $(CC) | ||
156 | LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||
157 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | ||
158 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | ||
159 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) | ||
160 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | ||
161 | am__v_CCLD_0 = @echo " CCLD " $@; | ||
162 | am__v_CCLD_1 = | ||
163 | SOURCES = $(taler_merchant_dbinit_SOURCES) \ | ||
164 | $(taler_merchant_serve_SOURCES) $(test_merchant_SOURCES) \ | ||
165 | $(test_merchant_db_SOURCES) | ||
166 | DIST_SOURCES = $(taler_merchant_dbinit_SOURCES) \ | ||
167 | $(taler_merchant_serve_SOURCES) $(test_merchant_SOURCES) \ | ||
168 | $(test_merchant_db_SOURCES) | ||
169 | am__can_run_installinfo = \ | ||
170 | case $$AM_UPDATE_INFO_DIR in \ | ||
171 | n|no|NO) false;; \ | ||
172 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
173 | esac | ||
174 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
175 |