[Asterisk-Dev] Request Netiquite

BJ Weschke bweschke at gmail.com
Tue Sep 20 11:37:16 MST 2005


Skipped content of type multipart/alternative-------------- next part --------------
--- Makefile.orig	2005-09-13 09:45:40.000000000 -0400
+++ Makefile	2005-09-13 09:48:57.000000000 -0400
@@ -51,6 +51,9 @@
 APPS+=app_osplookup.so
 endif
 
+APPS+=$(shell if [ -f /usr/include/spandsp.h ]; then echo "app_rxfax.so app_txfax.so" ; fi)
+APPS+=$(shell if [ -f /usr/local/include/spandsp.h ]; then echo "app_rxfax.so app_txfax.so" ; fi)
+
 ifeq ($(findstring BSD,${OSARCH}),BSD)
 CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
 endif
@@ -93,6 +96,13 @@
 app_curl.so: app_curl.o
 	$(CC) $(SOLINK) -o $@ $< $(CURLLIBS)
 
+app_rxfax.so : app_rxfax.o
+	$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
+
+app_txfax.so : app_txfax.o
+	$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
+
+
 app_sql_postgres.o: app_sql_postgres.c
 	$(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
 


More information about the asterisk-dev mailing list