source: packages/net/freeswitch/patches/002-Makefile.am.patch @ 28682

Last change on this file since 28682 was 28682, checked in by mazilo, 5 years ago

git update

File size: 2.1 KB
  • Makefile.am

    a b  
     1BASE=. 
     2 
     3include $(BASE)/build/openwrt_rules.mk 
     4 
    15EXTRA_DIST = 
    26SUBDIRS = . src 
    37AUTOMAKE_OPTS = foreign 
    cd-moh-install: uhd-moh-install sounds-m 
    6165# (1) if the variable is set in `config.status', edit `config.status' 
    6266#     (which will cause the Makefiles to be regenerated when you run `make'); 
    6367# (2) otherwise, pass the desired values on the `make' command line. 
    64 all-recursive: libfreeswitch.la 
     68all-recursive: spandsp-reconf libfreeswitch.la 
    6569clean-recusive: clean_core 
    6670install-recursive: install-libLTLIBRARIES install-binPROGRAMS 
    6771$(RECURSIVE_TARGETS): 
    endif 
    299303## 
    300304fs_encode_SOURCES = src/fs_encode.c 
    301305fs_encode_CFLAGS = $(AM_CFLAGS) 
    302 fs_encode_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS) 
     306fs_encode_LDFLAGS = $(AM_LDFLAGS) -lpthread $(CORE_LIBS) 
    303307fs_encode_LDADD = libfreeswitch.la -lcrypt -lrt 
    304308 
    305309## 
    fs_encode_LDADD = libfreeswitch.la -lcry 
    307311## 
    308312tone2wav_SOURCES = src/tone2wav.c 
    309313tone2wav_CFLAGS  = $(AM_CFLAGS) 
    310 tone2wav_LDFLAGS = $(AM_LDFLAGS) $(CORE_LIBS) 
     314tone2wav_LDFLAGS = $(AM_LDFLAGS) -lpthread $(CORE_LIBS) 
    311315tone2wav_LDADD   = libfreeswitch.la -lcrypt -lrt 
    312316 
    313317## 
    speex-reconf: 
    586590 
    587591tiff-reconf: 
    588592        cd libs/tiff-3.8.2 && autoreconf -fi 
    589         cd libs/tiff-3.8.2 && sh ./configure.gnu 
     593        cd libs/tiff-3.8.2 && sh ./configure.gnu --host=$(GNU_TARGET_NAME) 
    590594        cd libs/spandsp && autoreconf -fi 
    591         cd libs/spandsp && sh ./configure.gnu 
    592         make mod_voipcodecs-clean 
     595        cd libs/spandsp && sh ./configure.gnu --host=$(GNU_TARGET_NAME) --prefix=$(prefix) 
     596        cd libs/tiff-3.8.2 && $(MAKE) 
     597 
     598spandsp-reconf: tiff-reconf 
     599        cd libs/spandsp && $(MAKE) 
    593600 
    594601python-reconf: 
    595602        rm -f src/mod/languages/mod_python/Makefile 
    iks-reconf: 
    612619        cd libs/iksemel && sh ./configure.gnu --prefix=$(prefix) 
    613620        $(MAKE) mod_dingaling-clean 
    614621 
    615 spandsp-reconf: 
    616         cd libs/spandsp && $(MAKE) clean || echo 
    617         cd libs/spandsp && autoreconf -fi 
    618         cd libs/spandsp && sh ./configure.gnu --prefix=$(prefix) 
    619         cd libs/spandsp && $(MAKE) 
    620  
    621622sofia-reconf: 
    622623        cd libs/sofia-sip && sh ./autogen.sh 
    623624        cd libs/sofia-sip && $(MAKE) clean 
Note: See TracBrowser for help on using the repository browser.