mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-20 18:24:13 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@753 d0543943-73ff-0310-b7d9-9358b9ac24b2
18 lines
474 B
Makefile
18 lines
474 B
Makefile
LDFLAGS += -liax -L/usr/local/lib
|
|
|
|
all: depends $(MODNAME).$(DYNAMIC_LIB_EXTEN)
|
|
|
|
depends:
|
|
MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install iax --enable-newjb --prefix=$(PREFIX)
|
|
|
|
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c
|
|
$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
|
|
$(CC) $(SOLINK) -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(MODNAME).o $(LDFLAGS)
|
|
|
|
|
|
clean:
|
|
rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~
|
|
|
|
install:
|
|
cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod
|