diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 20:07:55 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 20:07:55 +0000 |
| commit | bd2cb095aa686c3bf0f662c0029687645142ea9e (patch) | |
| tree | 875737760f27ce0236884d0805db9b4b00f58046 /src/tools | |
| parent | d6bb55476c9aa4771e2b7f24cee05325a1df4117 (diff) | |
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
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tools/Makefile b/src/tools/Makefile index a73df423e..9de555f55 100644 --- a/src/tools/Makefile +++ b/src/tools/Makefile @@ -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: |
