[Freeswitch-svn] [commit] r4528 - freeswitch/trunk
Freeswitch SVN
mikej at freeswitch.org
Sun Mar 11 05:05:56 EDT 2007
Author: mikej
Date: Sun Mar 11 05:05:56 2007
New Revision: 4528
Modified:
freeswitch/trunk/generic_mod.mk
Log:
move all the generic modules to use libtool to link.
Modified: freeswitch/trunk/generic_mod.mk
==============================================================================
--- freeswitch/trunk/generic_mod.mk (original)
+++ freeswitch/trunk/generic_mod.mk Sun Mar 11 05:05:56 2007
@@ -2,10 +2,10 @@
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c
$(CC) $(CFLAGS) -c $(MODNAME).c -o $(MODNAME).o
- $(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS)
+ $(LINK) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS)
clean:
- rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~
+ rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~ .libs
install:
- cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod
+ $(LTINSTALL) $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(DESTDIR)$(PREFIX)/mod
More information about the Freeswitch-svn
mailing list