mirror of
https://github.com/curl/curl.git
synced 2026-08-25 19:33:32 +03:00
build: tidy up Makefile.inc use in lib and src
- cmake: use `CURL_RCFILES` instead of literal. - cmake: use `LIB_RCFILES` instead of literal. - cmake: fix comments. - autotools: use `CURL_RCFILES` in `EXTRA_DIST`. - autotools: use `LIB_RCFILES` in `EXTRA_DIST`. - autotools: fix comments. - autotools: fix indentation. Closes #17694
This commit is contained in:
parent
97a0ce8f89
commit
7aa8d1eea1
4 changed files with 14 additions and 15 deletions
|
|
@ -23,14 +23,17 @@
|
|||
###########################################################################
|
||||
AUTOMAKE_OPTIONS = foreign nostdinc
|
||||
|
||||
# Get CSOURCES, HHEADERS, LIB_RCFILES variables
|
||||
include Makefile.inc
|
||||
|
||||
CMAKE_DIST = CMakeLists.txt curl_config.h.cmake
|
||||
|
||||
CHECKSRC_DIST = .checksrc vauth/.checksrc vquic/.checksrc vssh/.checksrc \
|
||||
vtls/.checksrc
|
||||
vtls/.checksrc
|
||||
|
||||
EXTRA_DIST = config-mac.h config-os400.h config-plan9.h config-riscos.h \
|
||||
config-win32.h curl_config.h.in libcurl.rc libcurl.def \
|
||||
$(CMAKE_DIST) Makefile.soname optiontable.pl $(CHECKSRC_DIST)
|
||||
config-win32.h curl_config.h.in $(LIB_RCFILES) libcurl.def \
|
||||
$(CMAKE_DIST) Makefile.soname optiontable.pl $(CHECKSRC_DIST)
|
||||
|
||||
lib_LTLIBRARIES = libcurl.la
|
||||
|
||||
|
|
@ -69,9 +72,6 @@ if CURLDEBUG
|
|||
AM_CPPFLAGS += -DCURLDEBUG
|
||||
endif
|
||||
|
||||
# Get CSOURCES, HHEADERS variables
|
||||
include Makefile.inc
|
||||
|
||||
if DOING_NATIVE_WINDOWS
|
||||
CSOURCES += dllmain.c
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue