diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-30 19:04:43 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-30 19:04:43 +0000 |
commit | 8287325d4dcd3065ce970a9772b6a3ff7f80e8aa (patch) | |
tree | 6674c9ab6a204b93380fdb8fcfc6089a69f2e64b /src | |
parent | 7974747cc2718fcc4fb6825b6853ca459ffaefef (diff) |
Fix install errors with Autotools build system.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1891 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 1 | ||||
-rw-r--r-- | src/tools/Makefile | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 6395963bb..b8e41db96 100644 --- a/src/Makefile +++ b/src/Makefile @@ -111,6 +111,7 @@ install: services test -d ${INSTDIR} || mkdir ${INSTDIR} $(INSTALL) services $(INSTDIR)/services $(INSTALL) bin/anoperc $(INSTDIR)/anoperc + test -d ${INSTDIR}/data || mkdir ${INSTDIR}/data (cd ../lang ; $(MAKE) install) $(CP) ../data/* $(INSTDIR)/data $(INSTALL) bin/mydbgen $(INSTDIR)/data/mydbgen diff --git a/src/tools/Makefile b/src/tools/Makefile index 5e8ec178c..eb8b115ad 100644 --- a/src/tools/Makefile +++ b/src/tools/Makefile @@ -16,8 +16,12 @@ all: ${OBJS} distclean: spotless -anopesmpt: $(OBJS) - $(CC) $(CFLAGS) $(OBJS) $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS) +anopesmtp: anopesmtp.o + $(CC) $(CFLAGS) anopesmtp.o $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS) +db-merger: db-merger.o + $(CC) $(CFLAGS) db-merger.o $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS) +db-convert: db-convert.o + $(CC) $(CFLAGS) db-convert.o $(ANOPELIBS) $(MLIBS) -o $@ $(LDFLAGS) $(OBJS): Makefile anopesmtp.o: anopesmtp.c $(INCLUDES) |