]> granicus.if.org Git - curl/commitdiff
Another Gisle update
authorDaniel Stenberg <daniel@haxx.se>
Wed, 30 Jun 2004 12:34:33 +0000 (12:34 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Jun 2004 12:34:33 +0000 (12:34 +0000)
docs/examples/makefile.dj

index 642a5b090c1b3eacee589f0af34ad35360fe1d7f..4200520be638b940c80974626b5f7ebfe87e0f2f 100644 (file)
@@ -1,64 +1,33 @@
-#
-#  Adapted for djgpp / Watt-32 / DOS by
-#  Gisle Vanem <giva@bgnett.no>
-#
-
-include ../../packages/DOS/common.dj
-
-CFLAGS += -I../../include
-
-LIBS = ../../lib/libcurl.a
-
-ifeq ($(USE_SSL),1)
-  LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a
-endif
-
-LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a
-
-PROGRAMS  = fopen.exe ftpget.exe ftpgetre.exe ftpuploa.exe getinmem.exe \
-            http-pos.exe httpput.exe multi-ap.exe multi-do.exe          \
-            multi-po.exe multi-si.exe persista.exe post-cal.exe         \
-            postit2.exe sepheade.exe simple.exe simpless.exe
-
-all: $(PROGRAMS)
-
-.c.exe:
-       $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
-       @echo
-
-clean:
-       rm -f $(PROGRAMS)
-
-- 1,32 ----
-#
-#  Adapted for djgpp / Watt-32 / DOS by
-#  Gisle Vanem <giva@bgnett.no>
-#
-
-include ../../packages/DOS/common.dj
-
-CFLAGS += -I../../include
-
-LIBS = ../../lib/libcurl.a
-
-ifeq ($(USE_SSL),1)
-  LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a
-endif
-
-LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a
-
-PROGRAMS  = fopen.exe ftpget.exe ftpgetre.exe ftpuploa.exe getinmem.exe \
-            http-pos.exe httpput.exe multi-ap.exe multi-do.exe          \
-            multi-po.exe multi-si.exe persista.exe post-cal.exe         \
-            postit2.exe sepheade.exe simple.exe simpless.exe https.exe  \
-            ftp3rdpa.exe getinfo.exe
-
-all: $(PROGRAMS)
-
-%.exe: %.c
-       $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
-       @echo
-
-clean:
-       rm -f $(PROGRAMS)
-
+#\r
+#  Adapted for djgpp / Watt-32 / DOS by\r
+#  Gisle Vanem <giva@bgnett.no>\r
+#\r
+\r
+include ../../packages/DOS/common.dj\r
+\r
+CFLAGS += -I../../include -DFALSE=0 -DTRUE=1\r
+\r
+LIBS = ../../lib/libcurl.a\r
+\r
+ifeq ($(USE_SSL),1)\r
+  LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a\r
+endif\r
+\r
+LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a\r
+\r
+PROGRAMS  = fopen.exe ftpget.exe ftpgetresp.exe ftpupload.exe \\r
+            getinmemory.exe http-post.exe httpput.exe multi-app.exe \\r
+            multi-double.exe multi-post.exe multi-single.exe \\r
+            persistant.exe post-callback.exe postit2.exe \\r
+            sepheaders.exe simple.exe simplessl.exe https.exe \\r
+            ftp3rdparty.exe getinfo.exe\r
+\r
+all: $(PROGRAMS)\r
+\r
+%.exe: %.c\r
+       $(CC) $(CFLAGS) -o $@ $^ $(LIBS)\r
+       @echo\r
+\r
+clean:\r
+       rm -f $(PROGRAMS)\r
+\r