lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | #*************************************************************************** |
| 2 | # _ _ ____ _ |
| 3 | # Project ___| | | | _ \| | |
| 4 | # / __| | | | |_) | | |
| 5 | # | (__| |_| | _ <| |___ |
| 6 | # \___|\___/|_| \_\_____| |
| 7 | # |
| 8 | # Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 9 | # |
| 10 | # This software is licensed as described in the file COPYING, which |
| 11 | # you should have received as part of this distribution. The terms |
| 12 | # are also available at https://curl.haxx.se/docs/copyright.html. |
| 13 | # |
| 14 | # You may opt to use, copy, modify, merge, publish, distribute and/or sell |
| 15 | # copies of the Software, and permit persons to whom the Software is |
| 16 | # furnished to do so, under the terms of the COPYING file. |
| 17 | # |
| 18 | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 19 | # KIND, either express or implied. |
| 20 | # |
| 21 | ########################################################################### |
| 22 | pkginclude_HEADERS = \ |
| 23 | curl.h curlver.h easy.h mprintf.h stdcheaders.h multi.h \ |
| 24 | typecheck-gcc.h curlbuild.h curlrules.h system.h |
| 25 | |
| 26 | pkgincludedir= $(includedir)/curl |
| 27 | |
| 28 | # curlbuild.h does not exist in the git tree. When the original libcurl |
| 29 | # source code distribution archive file is created, curlbuild.h.dist is |
| 30 | # renamed to curlbuild.h and included in the tarball so that it can be |
| 31 | # used directly on non-configure systems. |
| 32 | # |
| 33 | # The distributed curlbuild.h will be overwritten on configure systems |
| 34 | # when the configure script runs, with one that is suitable and specific |
| 35 | # to the library being configured and built. |
| 36 | # |
| 37 | # curlbuild.h.in is the distributed template file from which the configure |
| 38 | # script creates curlbuild.h at library configuration time, overwiting the |
| 39 | # one included in the distribution archive. |
| 40 | # |
| 41 | # curlbuild.h.dist is not included in the source code distribution archive. |
| 42 | |
| 43 | EXTRA_DIST = curlbuild.h.in |
| 44 | |
| 45 | DISTCLEANFILES = curlbuild.h |
| 46 | |
| 47 | checksrc: |
| 48 | @@PERL@ $(top_srcdir)/lib/checksrc.pl -Wcurlbuild.h -D$(top_srcdir)/include/curl $(pkginclude_HEADERS) $(EXTRA_DIST) |
| 49 | |
| 50 | if CURLDEBUG |
| 51 | # for debug builds, we scan the sources on all regular make invokes |
| 52 | all-local: checksrc |
| 53 | endif |