diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-26 21:43:33 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-06-26 21:43:33 +0000 |
commit | 6bb8ba1f1f5f7532ac9e1944745a0c01d9264d4e (patch) | |
tree | 5b8440a012a72d408f9cea3f3426cbab0d89df91 /src | |
parent | 5dd84294b7a0239b9721822f34394ad26c291ad6 (diff) |
BUILD : 1.7.14 (1075) BUGS : N/A NOTES : multiple file modules now respect mod_version, and ./configure is checked for and executed.
git-svn-id: svn://svn.anope.org/anope/trunk@1075 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@799 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/Makefile | 2 | ||||
-rw-r--r-- | src/modules/Makefile.sub | 2 | ||||
-rwxr-xr-x | src/modules/configure | 5 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/modules/Makefile b/src/modules/Makefile index 346e32ffb..0e5a363f7 100644 --- a/src/modules/Makefile +++ b/src/modules/Makefile @@ -24,7 +24,7 @@ distclean: spotless $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../${INCLUDEDIR} -c $< .o.s: - $(CC) ${SHARED} ../mod_version.o $< -o $*.so ${PROFILE} + $(CC) ${SHARED} ../mod_version.o $< -o $*.so ${LDFLAGS} ${PROFILE} @$(TOUCH) $*.s subs: diff --git a/src/modules/Makefile.sub b/src/modules/Makefile.sub index 5e53fa5dd..4890b46e6 100644 --- a/src/modules/Makefile.sub +++ b/src/modules/Makefile.sub @@ -19,7 +19,7 @@ distclean: spotless $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../ -I../../${INCLUDEDIR} -c $< so: - $(CC) ${SHARED} $(OBJECTS) -o ../$(TARGET).so ${PROFILE} + $(CC) ${SHARED}../../mod_version.o $(OBJECTS) -o ../$(TARGET).so ${LDFLAGS} ${PROFILE} clean: rm -f *.o *.so *.c~ core diff --git a/src/modules/configure b/src/modules/configure index 68d2b7713..cf2158d66 100755 --- a/src/modules/configure +++ b/src/modules/configure @@ -37,6 +37,11 @@ FIRST=1 for dir in * do if [ -d $dir ] ; then + if [ -f $dir/configure ] ; then + cd $dir + ./configure + cd .. + fi if [ -f $dir/Makefile ] ; then if [ "$FIRST" = 1 ] ; then echo2 " "$dir >> ./Makefile.inc |