1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 02:23:13 +02:00

BUILD : 1.7.8 (654) BUGS : NOTES : DrSteins Makefile Patches...

git-svn-id: svn://svn.anope.org/anope/trunk@654 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@502 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-03-30 00:01:00 +00:00
parent 7b4c661d80
commit b738b7d6bc
5 changed files with 21 additions and 10 deletions
+12 -7
View File
@@ -1,5 +1,5 @@
OBJS = anopesmtp.o
SRCS = anopesmtp.c
OBJS = $(SRCS:.c=.o)
SRCS = anopesmtp.c db-merger.c epona2anope.c
INCLUDES = ../../include/services.h
@@ -12,7 +12,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
.c.o:
$(CC) $(CFLAGS) -I../include/ -c $<
all: anopesmtp
all: ${OBJS}
distclean: clean spotless
@@ -20,15 +20,20 @@ anopesmpt: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS)
$(OBJS): Makefile
anopesmpt.o: anopesmpt.c $(INCLUDES)
anopesmtp.o: anopesmtp.c $(INCLUDES)
db-merger.o: db-merger.c $(INCLUDES)
epona2anope.o: epona2anope.c $(INCLUDES)
clean:
rm -f *.o anopesmtp a.out
rm -f *.o anopesmtp a.out db-merger epona2anope
spotless: clean
install: anopesmtp
install: anopesmtp db-merger epona2anope
test -d ${BINDEST} || mkdir ${BINDEST}
$(INSTALL) anopesmtp $(BINDEST)/anopesmtp
test -d $(BINDEST)/tools || mkdir $(BINDEST)/tools
$(INSTALL) anopesmtp $(BINDEST)/tools/anopesmtp
$(INSTALL) db-merger $(BINDEST)/tools/db-merger
$(INSTALL) epona2anope $(BINDEST)/tools/epona2anope
DUMMY:
+2 -2
View File
@@ -14,10 +14,10 @@ Anope Bundled Tools
options. To use the SMTP client instead of sendmail, find the line in your
services configuration file (services.conf) that defines SendMailPath. On
that line, change the path to your services installation directory, then
followed by "anopesmtp" and the IP address of a valid SMTP server. It
followed by "tools/anopesmtp" and the IP address of a valid SMTP server. It
should look like this:
SendMailPath "/home/anope/services/anopesmtp 127.0.0.1"
SendMailPath "/home/anope/services/tools/anopesmtp 127.0.0.1"
If the SMTP client doesn't send mail, or if there's an other problem with
it, you can compile it in debug mode. To do this, open smtp.h, and look