]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
build: Renamed CURLX_ONES file list definition to CURLX_CFILES
authorSteve Holme <steve_holme@hotmail.com>
Wed, 21 May 2014 21:51:03 +0000 (22:51 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 21 May 2014 22:11:51 +0000 (23:11 +0100)
Renamed the CURLX_ONES file list definition in order to a) try and be
consistent with other file lists and b) to allow for the addition of
the curlx header files, which will assist with Visual Studio project
files generation rather than hard coding those files.

packages/Android/Android.mk
src/CMakeLists.txt
src/Makefile.Watcom
src/Makefile.b32
src/Makefile.inc
src/Makefile.m32
src/Makefile.netware
src/makefile.amiga
winbuild/Makefile.vc

index 3e94b80e8ac15449b7355dbcd0d3b737e45912f5..301ab9e7c6d07c1741a092f7cdc33af83b55c7cf 100644 (file)
@@ -104,7 +104,7 @@ LOCAL_SYSTEM_SHARED_LIBRARIES := libc
 
 LOCAL_C_INCLUDES += $(LOCAL_PATH)/include $(LOCAL_PATH)/lib
 
-# This may also need to include $(CURLX_ONES) in order to correctly link
+# This may also need to include $(CURLX_CFILES) in order to correctly link
 # if libcurl is changed to be built as a dynamic library
 LOCAL_CFLAGS += $(common_CFLAGS)
 
index 0b4556f2c8cc09a46e8be4ce71a43decc9b27e0e..2822c5bc2426160f9768ed32d80495c515a0c104 100644 (file)
@@ -20,7 +20,7 @@ add_executable(
   ${curl_SOURCES}
   )
 
-source_group("cURLX source files" FILES ${CURLX_ONES})
+source_group("cURLX source files" FILES ${CURLX_CFILES})
 source_group("cURL source files" FILES ${CURL_CFILES})
 source_group("cURL header files" FILES ${CURL_HFILES})
 
index b0c6566198e0cd9876d3120d0d71de6012b2da9b..8d9754f0d5e6fad4d8fa37021f8cf2e21c3b9723 100644 (file)
@@ -124,7 +124,7 @@ LINK_ARG = $(OBJ_DIR)/wlink.arg
 
 OBJS1 = $(OBJ_DIR)/$(CURL_CFILES)
 !ifndef %curl_static
-OBJS1 += $(CURLX_ONES:../lib/=)
+OBJS1 += $(CURLX_CFILES:../lib/=)
 !endif
 OBJS2 = $(OBJS1: = $(OBJ_DIR)/)
 OBJS = $(OBJS2:.c=.obj)
index b0ee5b610ddb48e0fb9695317db34ef855c88dcd..9f9885a7fc2f72f3103a8d1678dc8b58a0e775cb 100644 (file)
@@ -81,7 +81,7 @@ LINKLIB  = $(LINKLIB) $(OPENSSL_PATH)\out32\ssleay32.lib $(OPENSSL_PATH)\out32\l
 # Makefile.inc provides the CSOURCES and HHEADERS defines
 !include Makefile.inc
 
-CSOURCES = $(CURL_CFILES) $(CURLX_ONES:../lib/=)
+CSOURCES = $(CURL_CFILES) $(CURLX_CFILES:../lib/=)
 OBJECTS  = $(CSOURCES:.c=.obj)
 PREPROCESSED = $(CSOURCES:.c=.int)
 
index 3f9044d65301a0b7728bce4ff973f44e618366b9..4137ad2c09db57ef3c2eaefeaff1076f2a6f66e4 100644 (file)
@@ -9,7 +9,7 @@
 
 # libcurl has sources that provide functions named curlx_* that aren't part of
 # the official API, but we re-use the code here to avoid duplication.
-CURLX_ONES = \
+CURLX_CFILES = \
        ../lib/strtoofft.c \
        ../lib/strdup.c \
        ../lib/rawstr.c \
@@ -101,5 +101,5 @@ CURL_HFILES = \
 
 CURL_RCFILES = curl.rc
 
-curl_SOURCES = $(CURL_CFILES) $(CURLX_ONES) $(CURL_HFILES)
+curl_SOURCES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES)
 
index b4b1b0b6063c208418da8ea1d7ab035f495705b6..1c22dd074fd936b2ca4d7d3de71071433bd7afe5 100644 (file)
@@ -287,7 +287,7 @@ include Makefile.inc
 
 curl_PROGRAMS = curl.exe
 curl_OBJECTS := $(patsubst %.c,%.o,$(strip $(CURL_CFILES)))
-curlx_OBJECTS := $(patsubst %.c,%.o,$(notdir $(strip $(CURLX_ONES))))
+curlx_OBJECTS := $(patsubst %.c,%.o,$(notdir $(strip $(CURLX_CFILES))))
 ifdef DYN
 curl_OBJECTS += $(curlx_OBJECTS)
 vpath %.c $(PROOT)/lib
index 0ecc753b0a60c462da78edb1fbde254278b7aedb..85a117368ed9e41b84417278ef1bdd7e8caea4eb 100644 (file)
@@ -353,7 +353,7 @@ endif
 # Makefile.inc provides the CSOURCES and HHEADERS defines
 include Makefile.inc
 
-OBJX   := $(patsubst %.c,$(OBJDIR)/%.o,$(notdir $(strip $(CURLX_ONES))))
+OBJX   := $(patsubst %.c,$(OBJDIR)/%.o,$(notdir $(strip $(CURLX_CFILES))))
 OBJS   := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CURL_CFILES)))
 ifndef LINK_STATIC
 OBJS   += $(OBJX)
index 7b9b1c0becd2dee8a13aaccf801153264fc2d546..25449a6dca25018a1d2e47a9e7ccb10a3a693730 100644 (file)
@@ -16,7 +16,7 @@ MKHELP        =       ../src/mkhelp.pl
 
 include Makefile.inc
 
-OBJS = $(CURL_CFILES:.c=.o) $(CURLX_ONES:.c=.o)
+OBJS = $(CURL_CFILES:.c=.o) $(CURLX_CFILES:.c=.o)
 
 all:   tool_hugehelp.c $(OBJS)
        $(CC) $(CFLAGS) -o cURL $(OBJS) $(LIBS) -Wl,-Map,cURL.map,--cref
index 2bfc17a5348b0bd4c456580e8255016154f17593..16235de05f9dd2dd811d858c054a968afe345832 100644 (file)
@@ -199,4 +199,4 @@ $(MODE):
 \r
 copy_from_lib:\r
        echo copying .c...\r
-       FOR %%i IN ($(CURLX_ONES:/=\)) DO copy %%i ..\src\\r
+       FOR %%i IN ($(CURLX_CFILES:/=\)) DO copy %%i ..\src\\r