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/GNUmakefile | |
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/GNUmakefile')
-rwxr-xr-x | src/GNUmakefile | 54 |
1 files changed, 1 insertions, 53 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile index 97b934a..7367ce2 100755 --- a/src/GNUmakefile +++ b/src/GNUmakefile @@ -1,69 +1,17 @@ TOPDIR = .. -SUBDIRS = logger modules - --include $(TOPDIR)/makefiles/gmake/platform.mk - -INCLUDE_CPPFLAGS = \ - - -INCLUDE_DIRS = \ - -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) - -INCLUDE_CFLAGS += \ - -DWITH_SSL - -INCLUDE_LIBS += \ - $(OPENSSL_LIBS) -endif - -STATIC_LIB = libcrawler.a - -DYNAMIC_LIB = libcrawler.so -DYNAMIC_LIB_MAJOR = 0 -DYNAMIC_LIB_MINOR = 0 -DYNAMIC_LIB_PATCH = 0 - -CPP_OBJS = \ - URL.o \ - MIMEType.o \ - SpoolRewindInputStream.o - -CPP_BINS = \ - crawl$(EXE) +SUBDIRS = logger libcrawler modules crawl -include $(TOPDIR)/makefiles/gmake/sub.mk local_all: -modules: $(DYNAMIC_LIB) - local_clean: - @-rm -f $(LOCAL_STATIC_LIB) local_distclean: local_install: - $(INSTALL) -d -m 0755 $(DESTDIR)$(bindir) - $(INSTALL) -m 0775 crawl$(EXE) $(DESTDIR)$(bindir) local_uninstall: - @-rm -f $(DESTDIR)$(bindir)/crawl - @-rmdir $(DESTDIR)$(bindir) local_test: - -run: - @LD_LIBRARY_PATH=$(TOPDIR)/src:$(TOPDIR)/src/logger:$(TOPDIR)/googleurl:$(TOPDIR)/libfetch:$(TOPDIR)/streamhtmlparser ./crawl |