1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 03:03:12 +02:00

Modifications to the Autotools build system to try to make it work with the changes made from CMake, still untested (again, don't use this commit).

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1877 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2008-12-29 20:07:55 +00:00
parent d6bb55476c
commit bd2cb095aa
17 changed files with 2417 additions and 1830 deletions
+8 -8
View File
@@ -4,9 +4,9 @@ OBJS = $(SRCS:.c=.o)
INCLUDES = ../../include/services.h
MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
'LDFLAGS=${LDFLAGS}' 'BINDEST=${BINDEST}' 'INSTALL=${INSTALL}' \
'LDFLAGS=${LDFLAGS}' 'INSTDIR=${INSTDIR}' 'INSTALL=${INSTALL}' \
'INCLUDEDIR=${INCLUDEDIR}' 'RM=${RM}' 'CP=${CP}' \
'TOUCH=${TOUCH}' 'SHELL=${SHELL}' 'DATDEST=${DATDEST}' \
'TOUCH=${TOUCH}' 'SHELL=${SHELL}' \
'RUNGROUP=${RUNGROUP}' 'MAKEBIN=${MAKEBIN}'
.c.o:
@@ -17,7 +17,7 @@ all: ${OBJS}
distclean: spotless
anopesmpt: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS)
$(CC) $(CFLAGS) $(OBJS) $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS)
$(OBJS): Makefile
anopesmtp.o: anopesmtp.c $(INCLUDES)
@@ -30,10 +30,10 @@ clean:
spotless: clean
install: anopesmtp db-merger db-convert
test -d ${BINDEST} || mkdir ${BINDEST}
test -d $(BINDEST)/tools || mkdir $(BINDEST)/tools
$(INSTALL) anopesmtp $(BINDEST)/tools/anopesmtp
$(INSTALL) db-merger $(BINDEST)/tools/db-merger
$(INSTALL) db-convert $(BINDEST)/tools/db-convert
test -d ${INSTDIR} || mkdir ${INSTDIR}
test -d $(INSTDIR)/tools || mkdir $(INSTDIR)/tools
$(INSTALL) anopesmtp $(INSTDIR)/tools/anopesmtp
$(INSTALL) db-merger $(INSTDIR)/tools/db-merger
$(INSTALL) db-convert $(INSTDIR)/tools/db-convert
DUMMY: