move all the in tree libs to use subst of the core configure, move all module builds to link with libtool to the .la, static when possible

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4548 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-03-11 14:03:58 +00:00
parent 5312a255a2
commit ee3fc89f69
37 changed files with 216 additions and 185 deletions
+3 -4
View File
@@ -14,12 +14,12 @@ depends:
MAKE=$(MAKE) PY_CFLAGS=-fPIC $(BASE)/build/buildlib.sh $(BASE) install Python-2.4.3.tgz --prefix=$(PREFIX) --enable-threads
%.o: %.cpp
$(CPPCC) -Wall -Werror -fPIC $(CFLAGS) -c -o $@ $<
$(CPPCC) $(CFLAGS) -c -o $@ $<
%.o: %.c
$(CC) $(LCFLAGS) $(CFLAGS) -c $< -o $@
od_python.c:
mod_python.c:
$(CC) $(LCFLAGS) $(CFLAGS) -c mod_python.c -o mod_python.o
reswig:
@@ -48,7 +48,6 @@ clean:
rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~
install:
# cp -f py_$(PYMOD).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod
cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod
$(LTINSTALL) $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(DESTDIR)$(PREFIX)/mod
cp -f freeswitch.py $(PREFIX)/lib/python2.4/site-packages/