Added revision id, test for USE_ARES.

Uses Makefile.inc.
This commit is contained in:
Gisle Vanem 2004-11-15 10:38:34 +00:00
parent 9e7534a46e
commit 16edb15600

View File

@ -1,4 +1,6 @@
#
# $Id$
#
# Adapted for djgpp2 / Watt-32 / DOS by
# Gisle Vanem <giva@bgnett.no>
#
@ -6,22 +8,28 @@
DEPEND_PREREQ = config.h hugehelp.c
include ../packages/DOS/common.dj
include Makefile.inc
ifeq ($(USE_SSL),1)
EX_LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a
endif
ifeq ($(USE_ARES),1)
EX_LIBS += $(ARES_ROOT)/libcares.a
endif
ifeq ($(USE_ZLIB),1)
EX_LIBS += $(ZLIB_ROOT)/libz.a
CFLAGS += -DUSE_MANUAL
endif
EX_LIBS += $(WATT32_ROOT)/lib/libwatt.a
CFLAGS += -DUSE_MANUAL -DUSE_ENVIRONMENT
CFLAGS += -DUSE_ENVIRONMENT
PROGRAM = ../curl.exe
SOURCES = getpass.c homedir.c hugehelp.c main.c urlglob.c writeenv.c writeout.c
OBJECTS = $(addprefix $(OBJ_DIR)/, $(SOURCES:.c=.o))
PROGRAM = curl.exe
CSOURCES = $(CURL_SOURCES)
OBJECTS = $(addprefix $(OBJ_DIR)/, $(CURL_SOURCES:.c=.o))
all: $(OBJ_DIR) config.h $(PROGRAM)
@ -68,4 +76,4 @@ djgpp/writeenv.o: writeenv.c setup.h config.h ../lib/config.dj ../lib/setup.h \
djgpp/writeout.o: writeout.c setup.h config.h ../lib/config.dj ../lib/setup.h \
../lib/config.h ../include/curl/curl.h ../include/curl/curlver.h \
../include/curl/easy.h ../include/curl/multi.h \
../include/curl/mprintf.h writeout.h
../include/curl/mprintf.h writeout.h