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
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
12 ifeq ($(findstring BSD,${OSARCH}),BSD)
13 CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
16 app_curl.so: app_curl.o
17 $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
19 +app_rxfax.so : app_rxfax.o
20 + $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
22 +app_txfax.so : app_txfax.o
23 + $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
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
28 Only in asterisk-1.2.7.1/apps: Makefile~
29 Only in asterisk-1.2.7.1/apps: Makefile.orig