diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-09-06 22:18:23 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-09-06 22:18:23 +0200 |
commit | 13fc9a7da5111f4ddba942d3c6b6b8654ce395d6 (patch) | |
tree | e86210e3d939911e35f930a6dc73c3ebb591243b /src/modules | |
parent | f5c586f7231f7e033c5528bcefea357e4e64441c (diff) | |
download | crawler-13fc9a7da5111f4ddba942d3c6b6b8654ce395d6.tar.gz crawler-13fc9a7da5111f4ddba942d3c6b6b8654ce395d6.tar.bz2 |
more splitting into libcrawl, crawl binary
moved more public header to 'include'
changed approach for dynamic linking on Windows
Diffstat (limited to 'src/modules')
-rwxr-xr-x | src/modules/deduper/null/Makefile.W32 | 13 | ||||
-rwxr-xr-x | src/modules/fetcher/file/Makefile.W32 | 5 | ||||
-rwxr-xr-x | src/modules/fetcher/winhttp/Makefile.W32 | 5 | ||||
-rwxr-xr-x | src/modules/frontier/memory/Makefile.W32 | 5 | ||||
-rwxr-xr-x | src/modules/urlfilter/chain/Makefile.W32 | 4 | ||||
-rwxr-xr-x | src/modules/urlfilter/host/Makefile.W32 | 5 | ||||
-rwxr-xr-x | src/modules/urlfilter/protocol/Makefile.W32 | 5 | ||||
-rwxr-xr-x | src/modules/urlnormalizer/googleurl/Makefile.W32 | 3 | ||||
-rwxr-xr-x | src/modules/urlnormalizer/simpleurl/Makefile.W32 | 5 |
9 files changed, 33 insertions, 17 deletions
diff --git a/src/modules/deduper/null/Makefile.W32 b/src/modules/deduper/null/Makefile.W32 index e01235f..e0d6c60 100755 --- a/src/modules/deduper/null/Makefile.W32 +++ b/src/modules/deduper/null/Makefile.W32 @@ -11,12 +11,21 @@ INCLUDE_DIRS = \ /I. \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include\module \ - /I$(TOPDIR)\include\util + /I$(TOPDIR)\include\util \ + /I$(TOPDIR)\include\crawler + +copy_prereq: + @-copy "$(ICU_DIR)\bin\icuuc49.dll" . >NUL + @-copy "$(ICU_DIR)\bin\icudt49.dll" . >NUL + @-copy "$(TOPDIR)\src\logger\logger.dll" . >NUL + +run: copy_prereq + @-crawl.exe INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ - $(TOPDIR)\src\crawler.lib + $(TOPDIR)\src\libcrawler\crawler.lib DYNAMIC_MODULE = \ mod_deduper_null.dll diff --git a/src/modules/fetcher/file/Makefile.W32 b/src/modules/fetcher/file/Makefile.W32 index 3203d6d..a77daa6 100755 --- a/src/modules/fetcher/file/Makefile.W32 +++ b/src/modules/fetcher/file/Makefile.W32 @@ -11,12 +11,13 @@ INCLUDE_DIRS = \ /I. \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include\module \ - /I$(TOPDIR)\include\util + /I$(TOPDIR)\include\util \ + /I$(TOPDIR)\include\crawler INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ - $(TOPDIR)\src\crawler.lib + $(TOPDIR)\src\libcrawler\crawler.lib DYNAMIC_MODULE = \ mod_fetcher_file.dll diff --git a/src/modules/fetcher/winhttp/Makefile.W32 b/src/modules/fetcher/winhttp/Makefile.W32 index b46aa88..4cedb9c 100755 --- a/src/modules/fetcher/winhttp/Makefile.W32 +++ b/src/modules/fetcher/winhttp/Makefile.W32 @@ -12,12 +12,13 @@ INCLUDE_DIRS = \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include\module \ /I$(TOPDIR)\include\util \ - /I$(TOPDIR)\include\logger + /I$(TOPDIR)\include\logger \ + /I$(TOPDIR)\include\crawler INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ - $(TOPDIR)\src\crawler.lib \ + $(TOPDIR)\src\libcrawler\crawler.lib \ $(TOPDIR)\src\logger\logger.lib \ WinHttp.lib diff --git a/src/modules/frontier/memory/Makefile.W32 b/src/modules/frontier/memory/Makefile.W32 index b44d95f..b12e4ca 100755 --- a/src/modules/frontier/memory/Makefile.W32 +++ b/src/modules/frontier/memory/Makefile.W32 @@ -12,12 +12,13 @@ INCLUDE_DIRS = \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include\module \ /I$(TOPDIR)\include\util \ - /I$(TOPDIR)\include\logger + /I$(TOPDIR)\include\logger \ + /I$(TOPDIR)\include\crawler INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ - $(TOPDIR)\src\crawler.lib \ + $(TOPDIR)\src\libcrawler\crawler.lib \ $(TOPDIR)\src\logger\logger.lib DYNAMIC_MODULE = \ diff --git a/src/modules/urlfilter/chain/Makefile.W32 b/src/modules/urlfilter/chain/Makefile.W32 index 5a766ab..d3ad373 100755 --- a/src/modules/urlfilter/chain/Makefile.W32 +++ b/src/modules/urlfilter/chain/Makefile.W32 @@ -12,12 +12,12 @@ INCLUDE_DIRS = \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include\module \ /I$(TOPDIR)\include\util \ - /I$(TOPDIR)\include\logger + /I$(TOPDIR)\include\crawler INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ - $(TOPDIR)\src\crawler.lib + $(TOPDIR)\src\libcrawler\crawler.lib DYNAMIC_MODULE = \ mod_urlfilter_chain.dll diff --git a/src/modules/urlfilter/host/Makefile.W32 b/src/modules/urlfilter/host/Makefile.W32 index 3b99125..024dc67 100755 --- a/src/modules/urlfilter/host/Makefile.W32 +++ b/src/modules/urlfilter/host/Makefile.W32 @@ -12,12 +12,13 @@ INCLUDE_DIRS = \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include\module \ /I$(TOPDIR)\include\util \ - /I$(TOPDIR)\include\logger + /I$(TOPDIR)\include\logger \ + /I$(TOPDIR)\include\crawler INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ - $(TOPDIR)\src\crawler.lib \ + $(TOPDIR)\src\libcrawler\crawler.lib \ $(TOPDIR)\src\logger\logger.lib DYNAMIC_MODULE = \ diff --git a/src/modules/urlfilter/protocol/Makefile.W32 b/src/modules/urlfilter/protocol/Makefile.W32 index 747d714..e859829 100755 --- a/src/modules/urlfilter/protocol/Makefile.W32 +++ b/src/modules/urlfilter/protocol/Makefile.W32 @@ -12,12 +12,13 @@ INCLUDE_DIRS = \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include\module \ /I$(TOPDIR)\include\util \ - /I$(TOPDIR)\include\logger + /I$(TOPDIR)\include\logger \ + /I$(TOPDIR)\include\crawler INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ - $(TOPDIR)\src\crawler.lib \ + $(TOPDIR)\src\libcrawler\crawler.lib \ $(TOPDIR)\src\logger\logger.lib DYNAMIC_MODULE = \ diff --git a/src/modules/urlnormalizer/googleurl/Makefile.W32 b/src/modules/urlnormalizer/googleurl/Makefile.W32 index 4cc09c1..a906404 100755 --- a/src/modules/urlnormalizer/googleurl/Makefile.W32 +++ b/src/modules/urlnormalizer/googleurl/Makefile.W32 @@ -12,13 +12,14 @@ INCLUDE_DIRS = \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include\module \ /I$(TOPDIR)\include\util \ + /I$(TOPDIR)\include\crawler \ /I$(TOPDIR)\googleurl INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ $(TOPDIR)\googleurl\googleurl.lib \ - $(TOPDIR)\src\crawler.lib \ + $(TOPDIR)\src\libcrawler\crawler.lib \ "$(ICU_DIR)\lib\icuuc.lib" DYNAMIC_MODULE = \ diff --git a/src/modules/urlnormalizer/simpleurl/Makefile.W32 b/src/modules/urlnormalizer/simpleurl/Makefile.W32 index 69e732a..2a26e9c 100755 --- a/src/modules/urlnormalizer/simpleurl/Makefile.W32 +++ b/src/modules/urlnormalizer/simpleurl/Makefile.W32 @@ -11,12 +11,13 @@ INCLUDE_DIRS = \ /I. \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include\module \ - /I$(TOPDIR)\include\util + /I$(TOPDIR)\include\util \ + /I$(TOPDIR)\include\crawler INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ - $(TOPDIR)\src\crawler.lib + $(TOPDIR)\src\libcrawler\crawler.lib DYNAMIC_MODULE = \ mod_urlnormalizer_simple.dll |