mirror of
https://github.com/anope/anope.git
synced 2026-07-10 06:03:14 +02:00
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
This commit is contained in:
parent
5dd84294b7
commit
6bb8ba1f1f
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Vendored
+5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user