From 13fc9a7da5111f4ddba942d3c6b6b8654ce395d6 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 6 Sep 2012 22:18:23 +0200 Subject: more splitting into libcrawl, crawl binary moved more public header to 'include' changed approach for dynamic linking on Windows --- src/GNUmakefile | 54 +----------------------------------------------------- 1 file changed, 1 insertion(+), 53 deletions(-) (limited to 'src/GNUmakefile') 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 -- cgit v1.2.3-54-g00ecf