summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-07-28 18:07:26 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-07-28 18:07:26 +0200
commit3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044 (patch)
tree456ce7af97f65c94bcf30319c218b45ddab2632f /src/GNUmakefile
parentcbec8f229bb4d995c9fb05babf176e82a6f6db7c (diff)
downloadcrawler-3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044.tar.gz
crawler-3856d7214b3b3eb3e5b8c3ac025b7aeeb93cd044.tar.bz2
started to add URL normalizers and testing environment for URLs
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index 816d6be..3d3d7b8 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -26,7 +26,7 @@ INCLUDE_LIBS += \
$(OPENSSL_LIBS)
endif
-CPP_OBJS = \
+LOCAL_STATIC_LIB_OBJS = \
URL.o \
LibFetchFetcher.o \
LibFetchRewindInputStream.o \
@@ -35,14 +35,24 @@ CPP_OBJS = \
ProtocolURLFilter.o \
DomainURLFilter.o \
ChainURLFilter.o \
- MemoryURLSeen.o
+ MemoryURLSeen.o \
+ SimpleURLNormalizer.o
+
+CPP_OBJS = \
+ $(LOCAL_STATIC_LIB_OBJS)
+
+LOCAL_STATIC_LIB = \
+ libcrawlingwolf.a
CPP_BINS = \
crawlingwolf$(EXE)
-include $(TOPDIR)/makefiles/gmake/sub.mk
-local_all:
+local_all: $(LOCAL_STATIC_LIB)
+
+$(LOCAL_STATIC_LIB): $(LOCAL_STATIC_LIB_OBJS)
+ ar rcs $(LOCAL_STATIC_LIB) $(LOCAL_STATIC_LIB_OBJS)
local_clean: