diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-05-08 19:05:30 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-05-08 19:05:30 +0400 |
commit | 70c78281e3957bdbaa1204e40f2419a4a1918eb7 (patch) | |
tree | 29720ef474513c582f8d1faa855b2e81c5e1d3ae /Makefile.in | |
download | rspamd-70c78281e3957bdbaa1204e40f2419a4a1918eb7.tar.gz rspamd-70c78281e3957bdbaa1204e40f2419a4a1918eb7.zip |
* Add skeleton
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 000000000..5685d6c32 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,30 @@ + +all: $(TARGETS) + +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 + $(CC) $(OPT_FLAGS) $(CFLAGS) $(PTHREAD_CFLAGS) -c memcached-test.c + $(CC) $(OPT_FLAGS) $(PTHREAD_LDFLAGS) $(LD_PATH) upstream.o memcached.o memcached-test.o $(LIBS) -o memcached-test + +install: $(EXEC) rmilter.8 rmilter.conf.sample + $(INSTALL) -b $(EXEC) $(PREFIX)/sbin/$(EXEC) + $(INSTALL) -v $(EXEC).sh $(PREFIX)/etc/rc.d + #$(INSTALL) -m0644 rspamd.8 $(MANPATH)/man8 + #$(INSTALL) -m0644 rspamd.conf.sample $(PREFIX)/etc + $(MKDIR) -o $(RSPAMD_USER) -g $(RSPAMD_GROUP) /var/run/rspamd + +clean: + rm -f *.o $(EXEC) *.core + rm -f cfg_lex.c cfg_yacc.c cfg_yacc.h + +dist-clean: clean + rm -f Makefile + rm -f config.log + rm -f md5.h md5.c strlcpy.h strlcpy.c queue.h + +creategroup: + @echo "Create group $(RSPAMD_GROUP) before installing!" + +createuser: + @echo "Create user $(RSPAMD_USER) before installing!" |