aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-21 08:08:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-21 08:08:48 +0000
commitd5043133e63290e0abedc34ddd1889bbd4bb953e (patch)
tree50ff25c5d923a49b999cd078bdfae19439b4d1a6 /docs
parent509f69a45769bf3fa3ae6d08daeab944b051beb4 (diff)
Gisle Vanem made curl build with djgpp on DOS.
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/Makefile.am2
-rw-r--r--docs/examples/makefile.dj31
2 files changed, 32 insertions, 1 deletions
diff --git a/docs/examples/Makefile.am b/docs/examples/Makefile.am
index b2ddad406..c21d00bdf 100644
--- a/docs/examples/Makefile.am
+++ b/docs/examples/Makefile.am
@@ -9,7 +9,7 @@ EXTRA_DIST = README curlgtk.c sepheaders.c simple.c postit2.c \
multithread.c getinmemory.c ftpupload.c httpput.c \
simplessl.c ftpgetresp.c http-post.c post-callback.c \
multi-app.c multi-double.c multi-single.c multi-post.c \
- fopen.c simplepost.c
+ fopen.c simplepost.c makefile.dj
all:
@echo "done"
diff --git a/docs/examples/makefile.dj b/docs/examples/makefile.dj
new file mode 100644
index 000000000..6b3cb9d39
--- /dev/null
+++ b/docs/examples/makefile.dj
@@ -0,0 +1,31 @@
+#
+# 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)
+