]> git.pld-linux.org Git - packages/asterisk.git/blame - apps_Makefile.patch
- 1.2.6
[packages/asterisk.git] / apps_Makefile.patch
CommitLineData
d7e66fb6 1--- Makefile.orig 2006-01-11 18:39:21.000000000 +0800
2+++ Makefile 2006-01-11 18:40:46.000000000 +0800
3@@ -52,10 +52,14 @@
4
5 ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/osp/osp.h $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),)
6 APPS+=app_osplookup.so
7 endif
8
9+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/spandsp.h $(CROSS_COMPILE_TARGET)/usr/include/spandsp.h),)
10+APPS+=app_rxfax.so app_txfax.so
11+endif
12+
13 ifeq ($(findstring BSD,${OSARCH}),BSD)
14 CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
15 endif
16
17 CURLLIBS=$(shell $(CROSS_COMPILE_BIN)curl-config --libs)
18@@ -100,10 +104,16 @@
19 rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
20
21 app_curl.so: app_curl.o
22 $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
23
24+app_rxfax.so : app_rxfax.o
25+ $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
26+
27+app_txfax.so : app_txfax.o
28+ $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
29+
30 app_sql_postgres.o: app_sql_postgres.c
31 $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
32
33 app_sql_postgres.so: app_sql_postgres.o
34 $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -L/usr/local/pgsql/lib -lpq
This page took 0.049468 seconds and 4 git commands to generate.