aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-08-20 17:09:13 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-08-20 17:09:13 +0400
commite90352d20a0d5f615c906b7719f95599cb2aaeac (patch)
tree61c2a5a7efc21fb03b4ba9a9779af8e76e641702 /Makefile.in
parent86fd197a95f72d09e5cccbc059829ff5f6b03b87 (diff)
downloadrspamd-e90352d20a0d5f615c906b7719f95599cb2aaeac.tar.gz
rspamd-e90352d20a0d5f615c906b7719f95599cb2aaeac.zip
* Rewrite perl module for new XS, now perl filters got only object of rspamd module that provides access to every part of message
* Add memcached access api for perl * Reorganize Makefile, add .PHONY targets * Fix memcached module as now we cannot write or read several keys in async mode
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 65cd1a405..df7400786 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,9 +1,13 @@
+.PHONY: perl clean
all: perl $(TARGETS)
-perl:
+perl: perl/Makefile
cd perl && make && cd ..
+perl/Makefile: perl/Makefile.PL
+ cd perl && perl Makefile.PL && cd ..
+
memctest: upstream.c memcached.c memcached-test.c
$(CC) $(OPT_FLAGS) $(CFLAGS) $(PTHREAD_CFLAGS) -c upstream.c
$(CC) $(OPT_FLAGS) $(CFLAGS) $(PTHREAD_CFLAGS) -c memcached.c
@@ -11,6 +15,7 @@ memctest: upstream.c memcached.c memcached-test.c
$(CC) $(OPT_FLAGS) $(PTHREAD_LDFLAGS) $(LD_PATH) upstream.o memcached.o memcached-test.o $(LIBS) -o memcached-test
install: $(EXEC)
+ cd perl && make install && cd ..
$(INSTALL) -b $(EXEC) $(PREFIX)/sbin/$(EXEC)
$(INSTALL) -v $(EXEC).sh $(PREFIX)/etc/rc.d
#$(INSTALL) -m0644 rspamd.8 $(MANPATH)/man8