summaryrefslogtreecommitdiff
path: root/libfetch
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-07-12 23:20:04 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-07-12 23:20:04 +0200
commita441d2f44ca233c9d3f0228e76b3072e9cdb7fda (patch)
tree1daedd331468d22477842fdb083b2dd5f2a2b3c1 /libfetch
parent701352f84ddd204d738407c29a4b6e501694a59c (diff)
downloadcrawler-a441d2f44ca233c9d3f0228e76b3072e9cdb7fda.tar.gz
crawler-a441d2f44ca233c9d3f0228e76b3072e9cdb7fda.tar.bz2
fixed tests and added a libfetch test
Diffstat (limited to 'libfetch')
-rw-r--r--libfetch/GNUmakefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/libfetch/GNUmakefile b/libfetch/GNUmakefile
index 75598b8..181270d 100644
--- a/libfetch/GNUmakefile
+++ b/libfetch/GNUmakefile
@@ -5,7 +5,8 @@ SUBDIRS =
-include $(TOPDIR)/makefiles/gmake/platform.mk
INCLUDE_CFLAGS = \
- -DHAVE_CONFIG_H=0 -D_XOPEN_SOURCE=600
+ -DHAVE_CONFIG_H=0 -D_XOPEN_SOURCE=600 -DFTP_COMBINE_CWDS \
+ -DINET6
INCLUDE_LDFLAGS = \
@@ -14,6 +15,16 @@ INCLUDE_DIRS = \
INCLUDE_LIBS = \
+# openssl
+ifeq ($(WITH_SSL),1)
+
+INCLUDE_CFLAGS += \
+ -DWITH_SSL
+
+INCLUDE_LIBS += \
+ $(OPENSSL_LIBS)
+endif
+
OBJS = \
common.o \
fetch.o \