[packages] lispmob: Updating the package
[openwrt/svn-archive/archive.git] / net / freeswitch / patches / 002-Makefile.am.patch
1 --- a/Makefile.am
2 +++ b/Makefile.am
3 @@ -1,3 +1,7 @@
4 +BASE=.
5 +
6 +include $(BASE)/build/openwrt_rules.mk
7 +
8 EXTRA_DIST =
9 SUBDIRS = . src
10 AUTOMAKE_OPTIONS = foreign
11 @@ -61,7 +65,7 @@ cd-moh-install: uhd-moh-install sounds-m
12 # (1) if the variable is set in `config.status', edit `config.status'
13 # (which will cause the Makefiles to be regenerated when you run `make');
14 # (2) otherwise, pass the desired values on the `make' command line.
15 -all-recursive: libfreeswitch.la
16 +all-recursive: spandsp-reconf libfreeswitch.la
17 clean-recusive: clean_core
18 install-recursive: install-libLTLIBRARIES install-binPROGRAMS
19 $(RECURSIVE_TARGETS):
20 @@ -586,10 +590,13 @@ speex-reconf:
21
22 tiff-reconf:
23 cd libs/tiff-3.8.2 && autoreconf -fi
24 - cd libs/tiff-3.8.2 && sh ./configure.gnu
25 + cd libs/tiff-3.8.2 && sh ./configure.gnu --host=$(GNU_TARGET_NAME)
26 cd libs/spandsp && autoreconf -fi
27 - cd libs/spandsp && sh ./configure.gnu
28 - make mod_voipcodecs-clean
29 + cd libs/spandsp && sh ./configure.gnu --host=$(GNU_TARGET_NAME) --prefix=$(prefix)
30 + cd libs/tiff-3.8.2 && $(MAKE)
31 +
32 +spandsp-reconf: tiff-reconf
33 + cd libs/spandsp && $(MAKE)
34
35 python-reconf:
36 rm -f src/mod/languages/mod_python/Makefile
37 @@ -612,12 +619,6 @@ iks-reconf:
38 cd libs/iksemel && sh ./configure.gnu --prefix=$(prefix)
39 $(MAKE) mod_dingaling-clean
40
41 -spandsp-reconf:
42 - cd libs/spandsp && $(MAKE) clean || echo
43 - cd libs/spandsp && autoreconf -fi
44 - cd libs/spandsp && sh ./configure.gnu --prefix=$(prefix)
45 - cd libs/spandsp && $(MAKE)
46 -
47 sofia-reconf:
48 cd libs/sofia-sip && sh ./autogen.sh
49 cd libs/sofia-sip && $(MAKE) clean