]> git.pld-linux.org Git - packages/asterisk.git/blob - apps_Makefile.patch
- updated
[packages/asterisk.git] / apps_Makefile.patch
1 diff -ur asterisk-1.2.7.1-o/apps/Makefile asterisk-1.2.7.1/apps/Makefile
2 --- asterisk-1.2.7.1-o/apps/Makefile    2006-02-08 19:31:21.000000000 -0700
3 +++ asterisk-1.2.7.1/apps/Makefile      2006-05-05 18:20:40.000000000 -0600
4 @@ -54,6 +54,10 @@
5  APPS+=app_osplookup.so
6  endif
7  
8 +ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/spandsp.h $(CROSS_COMPILE_TARGET)/usr/include/spandsp.h),)
9 +APPS+=app_rxfax.so app_txfax.so
10 +endif
11 +
12  ifeq ($(findstring BSD,${OSARCH}),BSD)
13  CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
14  endif
15 @@ -102,6 +106,12 @@
16  app_curl.so: app_curl.o
17         $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
18  
19 +app_rxfax.so : app_rxfax.o
20 +       $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
21
22 +app_txfax.so : app_txfax.o
23 +       $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
24
25  app_sql_postgres.o: app_sql_postgres.c
26         $(CC) -pipe -I$(CROSS_COMPILE_TARGET)/usr/local/pgsql/include -I$(CROSS_COMPILE_TARGET)/usr/include/postgresql $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
27  
28 Only in asterisk-1.2.7.1/apps: Makefile~
29 Only in asterisk-1.2.7.1/apps: Makefile.orig
This page took 0.040094 seconds and 3 git commands to generate.