]> git.pld-linux.org Git - packages/asterisk.git/blame - asterisk-txfax-Makefile.patch
- update to 1.6.1.12
[packages/asterisk.git] / asterisk-txfax-Makefile.patch
CommitLineData
80a1e033
AM
1--- Makefile.org 2006-06-10 22:05:42.747469000 +0000
2+++ Makefile 2006-06-10 22:06:57.080114500 +0000
3@@ -54,6 +54,10 @@
4 APPS+=app_osplookup.so
5 endif
6
7+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/spandsp.h $(CROSS_COMPILE_TARGET)/usr/include/spandsp.h),)
8+APPS+=app_rxfax.so app_txfax.so
9+endif
10+
11 ifeq ($(findstring BSD,${OSARCH}),BSD)
12 CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
13 endif
14@@ -102,6 +106,12 @@
15 app_curl.so: app_curl.o
16 $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
17
18+app_rxfax.so : app_rxfax.o
19+ $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
20+
21+app_txfax.so : app_txfax.o
22+ $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
23+
24 app_sql_postgres.o: app_sql_postgres.c
25 $(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
26
This page took 0.065549 seconds and 4 git commands to generate.