summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-07-13 14:02:06 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-07-13 14:02:06 +0200
commit1454c6b21144b57dc556676313643baf5bc0f31a (patch)
tree391cfeeb035738eb18fb087000c990f9a6007a2b /src/GNUmakefile
parenta441d2f44ca233c9d3f0228e76b3072e9cdb7fda (diff)
downloadcrawler-1454c6b21144b57dc556676313643baf5bc0f31a.tar.gz
crawler-1454c6b21144b57dc556676313643baf5bc0f31a.tar.bz2
added a test for a libfetch_streambuf
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index b60a865..d9c8234 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -4,17 +4,31 @@ SUBDIRS =
-include $(TOPDIR)/makefiles/gmake/platform.mk
-INCLUDE_CXXFLAGS =
+INCLUDE_CPPFLAGS = \
INCLUDE_LDFLAGS = \
INCLUDE_DIRS = \
+ -I$(TOPDIR)/libfetch
INCLUDE_LIBS = \
+ $(TOPDIR)/libfetch/libfetch.a
+
+# openssl
+ifeq ($(WITH_SSL),1)
+
+INCLUDE_CFLAGS += \
+ -DWITH_SSL
+
+INCLUDE_LIBS += \
+ $(OPENSSL_LIBS)
+endif
CPP_OBJS = \
URL.o \
Fetcher.o \
+ LibFetchFetcher.o \
+ LibFetchRewindInputStream.o \
Frontier.o \
Deduper.o