summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-09-05 18:51:26 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-09-05 18:51:26 +0200
commitdf2c44401f8dd736a903e73813e5f83fb15b36b6 (patch)
treeb845f54b2dbb3f14dab435d2640c58b7b85e7975 /src/GNUmakefile
parent43aaf39cc828f4e1cec12a944560571993fb24f7 (diff)
downloadcrawler-df2c44401f8dd736a903e73813e5f83fb15b36b6.tar.gz
crawler-df2c44401f8dd736a903e73813e5f83fb15b36b6.tar.bz2
split away util, logger, and module
made a liblogger adapted all tests
Diffstat (limited to 'src/GNUmakefile')
-rwxr-xr-xsrc/GNUmakefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index d44dd97..97b934a 100755
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -1,17 +1,23 @@
TOPDIR = ..
-SUBDIRS = modules
+SUBDIRS = logger modules
-include $(TOPDIR)/makefiles/gmake/platform.mk
INCLUDE_CPPFLAGS = \
-INCLUDE_LDFLAGS = \
INCLUDE_DIRS = \
- -I.
+ -I. \
+ -I$(TOPDIR)/include/logger \
+ -I$(TOPDIR)/include/util \
+ -I$(TOPDIR)/include/module
+
+INCLUDE_LDFLAGS = \
+ -L$(TOPDIR)/src/logger
INCLUDE_LIBS = \
+ -llogger
# openssl
ifeq ($(WITH_SSL),1)
@@ -31,10 +37,6 @@ DYNAMIC_LIB_MINOR = 0
DYNAMIC_LIB_PATCH = 0
CPP_OBJS = \
- Logger.o \
- ConsoleLogSink.o \
- FileLogSink.o \
- SyslogLogSink.o \
URL.o \
MIMEType.o \
SpoolRewindInputStream.o
@@ -64,4 +66,4 @@ local_uninstall:
local_test:
run:
- @LD_LIBRARY_PATH=$(TOPDIR)/src:$(TOPDIR)/googleurl:$(TOPDIR)/libfetch:$(TOPDIR)/streamhtmlparser ./crawl
+ @LD_LIBRARY_PATH=$(TOPDIR)/src:$(TOPDIR)/src/logger:$(TOPDIR)/googleurl:$(TOPDIR)/libfetch:$(TOPDIR)/streamhtmlparser ./crawl