diff --git a/lib/Makefile.Watcom b/lib/Makefile.Watcom
index 646955d1df19ec96a5c136a62e09dfdb12d161e4..e29cc4e9e1cfec5daed1c3aec487b6b40416cb28 100644
--- a/lib/Makefile.Watcom
+++ b/lib/Makefile.Watcom
@@ -43,7 +43,8 @@ OBJS = $(OBJ_DIR)\transfer.obj         $(OBJ_DIR)\file.obj       &
        $(OBJ_DIR)\hostip4.obj          $(OBJ_DIR)\hostthre.obj   &
        $(OBJ_DIR)\hostip6.obj          $(OBJ_DIR)\inet_ntop.obj  &
        $(OBJ_DIR)\hostsyn.obj          $(OBJ_DIR)\parsedate.obj  &
-       $(OBJ_DIR)\select.obj
+       $(OBJ_DIR)\select.obj           $(OBJ_DIR)\sslgen.obj     &
+       $(OBJ_DIR)\gtls.obj
 
 RESOURCE = $(OBJ_DIR)\libcurl.res
 
@@ -355,3 +356,9 @@ $(OBJ_DIR)\parsedate.obj: parsedate.c setup.h config-win32.h ..\include\curl\cur
   ..\include\curl\multi.h ..\include\curl\curl.h
 
 $(OBJ_DIR)\select.obj: select.c setup.h config-win32.h select.h
+
+$(OBJ_DIR)\gtls.obj: gtls.c setup.h config-win32.h
+
+$(OBJ_DIR)\sslgen.obj: sslgen.c setup.h config-win32.h urldata.h cookie.h &
+  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h sslgen.h &
+  ssluse.h gtls.h sendf.h strequal.h url.h memory.h memdebug.h
diff --git a/lib/Makefile.riscos b/lib/Makefile.riscos
index 37b008f4b3b7b3d2ce7c65776d31b019872ef413..ef758b4fb2f5e3454af9338c7fb512c31abd9200 100644
--- a/lib/Makefile.riscos
+++ b/lib/Makefile.riscos
@@ -12,7 +12,7 @@ objs =	o.base64 o.connect o.cookie o.dict \
 	o.memdebug o.mprintf o.netrc o.parsedate o.progress \
 	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.transfer o.url o.version o.strtoofft o.sslgen o.gtls
 
 # Compile options:
 linkopts	= -o libcurl
@@ -119,6 +119,12 @@ o.sendf:	c.sendf
 o.speedcheck:	c.speedcheck
 		gcc $(compileropts) -c -o speedcheck.o c.speedcheck
 
+o.gtls:	c.gtls
+		gcc $(compileropts) -c -o gtls.o c.gtls
+
+o.sslgen:	c.sslgen
+		gcc $(compileropts) -c -o sslgen.o c.sslgen
+
 o.ssluse:	c.ssluse
 		gcc $(compileropts) -c -o ssluse.o c.ssluse
 
diff --git a/lib/makefile.dj b/lib/makefile.dj
index 54309bd54604dc9184f64d729d1772b41d945afa..17616170abd7bf12d519a59df949405d57fdb9ca 100644
--- a/lib/makefile.dj
+++ b/lib/makefile.dj
@@ -272,3 +272,7 @@ $(OBJ_DIR)/parsedate.o: parsedate.c setup.h config.h ../include/curl/curl.h \
   ../include/curl/curlver.h ../include/curl/easy.h \
   ../include/curl/multi.h
 $(OBJ_DIR)/select.o: select.c setup.h config.h select.h
+$(OBJ_DIR)/gtls.obj: gtls.c setup.h config-win32.h
+$(OBJ_DIR)/sslgen.obj: sslgen.c setup.h config-win32.h urldata.h cookie.h \
+  formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h sslgen.h \
+  ssluse.h gtls.h sendf.h strequal.h url.h memory.h memdebug.h