Another Gisle update

This commit is contained in:
Daniel Stenberg 2004-06-30 12:34:33 +00:00
parent ce945bd2f0
commit 574e911375
1 changed files with 33 additions and 64 deletions

View File

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