aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES4
-rw-r--r--lib/Makefile.Watcom7
-rw-r--r--lib/Makefile.riscos5
-rw-r--r--lib/makefile.amiga2
-rw-r--r--packages/Symbian/group/curl.mmp2
-rw-r--r--packages/Symbian/group/libcurl.mmp2
-rw-r--r--packages/TPF/curl.mak1
-rw-r--r--src/Makefile.Watcom12
-rw-r--r--src/Makefile.riscos5
-rw-r--r--src/Makefile.vc66
-rw-r--r--src/makefile.amiga2
-rw-r--r--src/vc6curlsrc.dsp8
12 files changed, 49 insertions, 7 deletions
diff --git a/CHANGES b/CHANGES
index 507cf7300..7ac0a4887 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
Changelog
+Daniel Fandrich (15 Jul 2009)
+- Added nonblock.c to the non-automake makefiles (note that the dependencies
+ in the Watcom makefiles aren't quite correct).
+
Michal Marek (15 Jul 2009)
- Changed the description of CURLINFO_OS_ERRNO to make it clear that the
errno is not reset on success.
diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom
index cb7b8e969..1572c33ca 100644
--- a/lib/Makefile.Watcom
+++ b/lib/Makefile.Watcom
@@ -69,7 +69,7 @@ OBJS = $(OBJ_DIR)\base64.obj $(OBJ_DIR)\connect.obj &
$(OBJ_DIR)\telnet.obj $(OBJ_DIR)\tftp.obj &
$(OBJ_DIR)\timeval.obj $(OBJ_DIR)\transfer.obj &
$(OBJ_DIR)\url.obj $(OBJ_DIR)\version.obj &
- $(OBJ_DIR)\slist.obj
+ $(OBJ_DIR)\slist.obj $(OBJ_DIR)\nonblock.obj
#
# Use $(OBJS) as a template to generate $(OBJS_STAT) and $(OBJS_DYN).
@@ -525,6 +525,11 @@ $(OBJ_DIR)\nss.obj: nss.c setup.h config-win32.h ..\include\curl\curlbuild.h &
url.h connect.h strequal.h select.h sslgen.h ..\include\curl\mprintf.h
$(OBJ_DIR)\qssl.obj: qssl.c setup.h config-win32.h ..\include\curl\curlbuild.h &
..\include\curl\curlrules.h setup_once.h
+$(OBJ_DIR)\nonblock.obj: nonblock.c setup.h config-win32.h ..\include\curl\curlbuild.h &
+ ..\include\curl\curlrules.h setup_once.h nonblock.h &
+ ..\include\curl\curl.h ..\include\curl\curlver.h &
+ ..\include\curl\curlrules.h ..\include\curl\easy.h &
+ ..\include\curl\multi.h ..\include\curl\curl.h
$(OBJ_DIR)\rawstr.obj: rawstr.c setup.h config-win32.h ..\include\curl\curlbuild.h &
..\include\curl\curlrules.h setup_once.h rawstr.h &
..\include\curl\curl.h ..\include\curl\curlver.h &
diff --git a/lib/Makefile.riscos b/lib/Makefile.riscos
index 8d5c1beb1..e34c97e67 100644
--- a/lib/Makefile.riscos
+++ b/lib/Makefile.riscos
@@ -13,7 +13,7 @@ objs = o.base64 o.connect o.cookie o.dict \
o.security o.select o.sendf o.speedcheck o.ssluse \
o.strequal o.strtok o.telnet o.timeval \
o.transfer o.url o.version o.strtoofft o.sslgen o.gtls \
- o.rawstr o.curl_addrinfo o.slist
+ o.rawstr o.curl_addrinfo o.slist o.nonblock
# Compile options:
linkopts = -o libcurl
@@ -135,6 +135,9 @@ o.sslgen: c.sslgen
o.ssluse: c.ssluse
gcc $(compileropts) -c -o ssluse.o c.ssluse
+o.nonblock: c.nonblock
+ gcc $(compileropts) -c -o nonblock.o c.nonblock
+
o.rawstr: c.rawstr
gcc $(compileropts) -c -o rawstr.o c.rawstr
diff --git a/lib/makefile.amiga b/lib/makefile.amiga
index d211d31e5..d88707672 100644
--- a/lib/makefile.amiga
+++ b/lib/makefile.amiga
@@ -18,7 +18,7 @@ OBJS = amigaos.c base64.c connect.c content_encoding.c cookie.c dict.c easy.c \
progress.c security.c select.c sendf.c share.c speedcheck.c ssluse.c \
strequal.c strtok.c telnet.c timeval.c transfer.c url.c version.c \
sslgen.c gtls.c strerror.c rawstr.c curl_addrinfo.c \
- socks_gssapi.c socks_sspi.c curl_sspi.c slist.c
+ socks_gssapi.c socks_sspi.c curl_sspi.c slist.c nonblock.c
all: $(OBJS:.c=.o)
ar cru libcurl.a $(OBJS:.c=.o)
diff --git a/packages/Symbian/group/curl.mmp b/packages/Symbian/group/curl.mmp
index ae4537b12..b25013c33 100644
--- a/packages/Symbian/group/curl.mmp
+++ b/packages/Symbian/group/curl.mmp
@@ -13,7 +13,7 @@ SOURCE \
SOURCEPATH ../../../lib
SOURCE \
- rawstr.c
+ rawstr.c nonblock.c
USERINCLUDE ../../../src ../../../lib ../../../include/curl
diff --git a/packages/Symbian/group/libcurl.mmp b/packages/Symbian/group/libcurl.mmp
index 356106bb4..e4995bad1 100644
--- a/packages/Symbian/group/libcurl.mmp
+++ b/packages/Symbian/group/libcurl.mmp
@@ -31,7 +31,7 @@ SOURCE \
hostares.c hostasyn.c hostip4.c hostip6.c hostsyn.c hostthre.c \
inet_ntop.c parsedate.c select.c gtls.c sslgen.c tftp.c splay.c \
strdup.c socks.c ssh.c nss.c qssl.c rawstr.c curl_addrinfo.c \
- socks_gssapi.c socks_sspi.c curl_sspi.c slist.c
+ socks_gssapi.c socks_sspi.c curl_sspi.c slist.c nonblock.c
USERINCLUDE ../../../lib ../../../include/curl
#ifdef ENABLE_SSL
diff --git a/packages/TPF/curl.mak b/packages/TPF/curl.mak
index c865b391a..7a45c2bb5 100644
--- a/packages/TPF/curl.mak
+++ b/packages/TPF/curl.mak
@@ -70,6 +70,7 @@ C_SRC += memdebug.c
C_SRC += mprintf.c
C_SRC += multi.c
C_SRC += netrc.c
+C_SRC += nonblock.c
C_SRC += nss.c
C_SRC += parsedate.c
C_SRC += progress.c
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 1853bcc6b..7d38c393a 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -52,6 +52,10 @@ $(RESOURCE): curl.rc
$(OBJ_DIR)\rawstr.obj: ..\lib\rawstr.c
$(CC) $[@ $(CFLAGS) -fo=$@
+.ERASE
+$(OBJ_DIR)\nonblock.obj: ..\lib\nonblock.c
+ $(CC) $[@ $(CFLAGS) -fo=$@
+
#
# Dependencies based on "gcc -MM .."
#
@@ -111,3 +115,11 @@ $(OBJ_DIR)\rawstr.obj: ..\lib\rawstr.c ..\lib\setup.h ..\lib\config-win32.h &
..\lib\strerror.h ..\lib\urldata.h ..\lib\cookie.h ..\lib\formdata.h &
..\lib\timeval.h ..\lib\http_chunks.h ..\lib\hostip.h ..\lib\hash.h &
..\lib\llist.h ..\lib\splay.h ..\include\curl\mprintf.h
+
+$(OBJ_DIR)\nonblock.obj: ..\lib\nonblock.c ..\lib\setup.h ..\lib\config-win32.h &
+ ..\include\curl\curlbuild.h ..\include\curl\curlrules.h ..\lib\setup_once.h &
+ ..\include\curl\curl.h ..\include\curl\curlver.h ..\include\curl\curlrules.h &
+ ..\include\curl\easy.h ..\include\curl\multi.h ..\include\curl\curl.h &
+ ..\lib\strerror.h ..\lib\urldata.h ..\lib\cookie.h ..\lib\formdata.h &
+ ..\lib\timeval.h ..\lib\http_chunks.h ..\lib\hostip.h ..\lib\hash.h &
+ ..\lib\llist.h ..\lib\splay.h ..\include\curl\mprintf.h ..\lib\nonblock.h
diff --git a/src/Makefile.riscos b/src/Makefile.riscos
index ad7dc6de5..d0e13d212 100644
--- a/src/Makefile.riscos
+++ b/src/Makefile.riscos
@@ -4,7 +4,7 @@
# Contact: easygcc@melotech.co.uk
# Project objects:
-objs = o.hugehelp o.main o.urlglob o.writeout o.writeenv o.rawstr
+objs = o.hugehelp o.main o.urlglob o.writeout o.writeenv o.rawstr o.nonblock
# Compile options:
@@ -37,6 +37,9 @@ o.writeenv: c.writeenv
o.rawstr: ../lib/c.rawstr
gcc $(compileropts) -c -o rawstr.o ../lib/c.rawstr
+o.nonblock: ../lib/c.nonblock
+ gcc $(compileropts) -c -o nonblock.o ../lib/c.nonblock
+
# Dynamic dependancies:
o.hugehelp: c.hugehelp
diff --git a/src/Makefile.vc6 b/src/Makefile.vc6
index a3be9c232..a906967c5 100644
--- a/src/Makefile.vc6
+++ b/src/Makefile.vc6
@@ -99,6 +99,7 @@ RELEASE_OBJS= \
homedirr.obj \
curlutilr.obj \
os-specificr.obj \
+ nonblockr.obj \
rawstrr.obj \
strtoofftr.obj \
mainr.obj \
@@ -112,6 +113,7 @@ DEBUG_OBJS= \
homedird.obj \
curlutild.obj \
os-specificd.obj \
+ nonblockd.obj \
rawstrd.obj \
strtoofftd.obj \
maind.obj \
@@ -251,6 +253,8 @@ curlutilr.obj: curlutil.c
$(CCR) $(CFLAGS) /Fo"$@" curlutil.c
os-specificr.obj: os-specific.c
$(CCR) $(CFLAGS) /Fo"$@" os-specific.c
+nonblockr.obj: ../lib/nonblock.c
+ $(CCR) $(CFLAGS) /Fo"$@" ../lib/nonblock.c
rawstrr.obj: ../lib/rawstr.c
$(CCR) $(CFLAGS) /Fo"$@" ../lib/rawstr.c
strtoofftr.obj: ../lib/strtoofft.c
@@ -275,6 +279,8 @@ curlutild.obj: curlutil.c
$(CCD) $(CFLAGS) /Fo"$@" curlutil.c
os-specificd.obj: os-specific.c
$(CCD) $(CFLAGS) /Fo"$@" os-specific.c
+nonblockd.obj: ../lib/nonblock.c
+ $(CCD) $(CFLAGS) /Fo"$@" ../lib/nonblock.c
rawstrd.obj: ../lib/rawstr.c
$(CCD) $(CFLAGS) /Fo"$@" ../lib/rawstr.c
strtoofftd.obj: ../lib/strtoofft.c
diff --git a/src/makefile.amiga b/src/makefile.amiga
index c2371a6cc..a242950f5 100644
--- a/src/makefile.amiga
+++ b/src/makefile.amiga
@@ -14,7 +14,7 @@ MANPAGE = ../docs/curl.1
README = ../docs/MANUAL
MKHELP = ../src/mkhelp.pl
-OBJS = getpass.c hugehelp.c main.c urlglob.c writeenv.c writeout.c curlutil.c os-specific.c ../lib/rawstr.c
+OBJS = getpass.c hugehelp.c main.c urlglob.c writeenv.c writeout.c curlutil.c os-specific.c ../lib/rawstr.c ../lib/nonblock.c
all: hugehelp.c $(OBJS:.c=.o)
diff --git a/src/vc6curlsrc.dsp b/src/vc6curlsrc.dsp
index e888451dd..642cd5d39 100644
--- a/src/vc6curlsrc.dsp
+++ b/src/vc6curlsrc.dsp
@@ -163,6 +163,10 @@ SOURCE=.\os-specific.c
# End Source File
# Begin Source File
+SOURCE=..\lib\nonblock.c
+# End Source File
+# Begin Source File
+
SOURCE=..\lib\rawstr.c
# End Source File
# Begin Source File
@@ -215,6 +219,10 @@ SOURCE=.\setup.h
# End Source File
# Begin Source File
+SOURCE=..\lib\nonblock.h
+# End Source File
+# Begin Source File
+
SOURCE=..\lib\rawstr.h
# End Source File
# Begin Source File