move all the generic modules to use libtool to link.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4528 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-03-11 09:05:56 +00:00
parent 8f7f8a4531
commit 4dc2397ab3
1 changed files with 3 additions and 3 deletions

View File

@ -2,10 +2,10 @@ all: $(MODNAME).$(DYNAMIC_LIB_EXTEN)
$(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