Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
3590fffe
Commit
3590fffe
authored
20 years ago
by
Gisle Vanem
Browse files
Options
Downloads
Patches
Plain Diff
Added option for using C-ares and libidn.
Dependencies generated from $(CSOURCES).
parent
5e2e87cc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/DOS/common.dj
+25
-3
25 additions, 3 deletions
packages/DOS/common.dj
with
25 additions
and
3 deletions
packages/DOS/common.dj
+
25
−
3
View file @
3590fffe
...
...
@@ -23,11 +23,22 @@ USE_SSL = 0
#
USE_ZLIB = 0
#
# Use libidn for international domain names
#
USE_IDNA = 0
#
# Use Watt-32 IPv6 stack (only IPv6 name resolution working at the moment)
#
USE_IPV6 = 0
#
# Use C-Ares resolver library
# This conflicts with USE_IPV6=1
#
USE_ARES = 0
#
# Enable debug code in libcurl/curl
#
...
...
@@ -42,11 +53,13 @@ default: all
WATT32_ROOT = $(subst \,/,$(WATT_ROOT))
OPENSSL_ROOT = /net/openssl.098
ZLIB_ROOT = /djgpp/contrib/zlib
LIBIDN_ROOT = ../../IDN/libidn
ARES_ROOT = ../ares
CC = gcc
YACC = bison -y
CFLAGS = -g -O2 -I. -I../include -I../lib -Wall -DHAVE_CONFIG_H
CFLAGS = -g -O2 -I. -I../include -I../lib
-I$(WATT32_ROOT)/inc
-Wall -DHAVE_CONFIG_H
ifeq ($(USE_SSL),1)
CFLAGS += -DUSE_SSLEAY -I$(OPENSSL_ROOT)
...
...
@@ -60,6 +73,15 @@ ifeq ($(USE_IPV6),1)
CFLAGS += -DENABLE_IPV6
endif
ifeq ($(USE_ARES),1)
CFLAGS += -DUSE_ARES -I$(ARES_ROOT)
endif
ifeq ($(USE_IDNA),1)
CFLAGS += -DHAVE_LIBIDN -DHAVE_IDN_FREE_H -DHAVE_IDN_FREE -DHAVE_TLD_H \
-DHAVE_TLD_STRERROR -I$(LIBIDN_ROOT)/lib
endif
ifeq ($(USE_DEBUG),1)
CFLAGS += -DDEBUG=1 -DCURLDEBUG #-DMALLOCDEBUG=1 -DDPRINTF_DEBUG2=1
endif
...
...
@@ -86,7 +108,7 @@ depend: $(DEPEND_PREREQ)
@echo "*cpp: %(cpp_cpu) %{posix:-D_POSIX_SOURCE} -remap" > $(MM_SPECS)
sed -e "/^# DO NOT DELETE THIS LINE/,$$d" < Makefile.bak > $(MAKEFILE)
echo "# DO NOT DELETE THIS LINE" >> $(MAKEFILE)
$(CC) -MM -specs=$(MM_SPECS) $(CFLAGS) $(SOURCES) | \
sed -e 's/^\([a-zA-Z0-9_-]*\.o:\)/
'
$(OBJ_DIR)
'
\/\1/' >> $(MAKEFILE)
$(CC) -MM -specs=$(MM_SPECS) $(CFLAGS) $(
C
SOURCES) | \
sed -e 's/^\([a-zA-Z0-9_-]*\.o:\)/
$
$(OBJ_DIR)\/\1/'
>> $(MAKEFILE)
rm -f $(MM_SPECS)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment