]>
Commit | Line | Data |
---|---|---|
758fc55d | 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 @@ | |
d7e66fb6 | 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 | |
758fc55d | 15 | @@ -102,6 +106,12 @@ |
d7e66fb6 | 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 | |
758fc55d | 21 | + |
d7e66fb6 | 22 | +app_txfax.so : app_txfax.o |
23 | + $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff | |
758fc55d | 24 | + |
d7e66fb6 | 25 | app_sql_postgres.o: app_sql_postgres.c |
758fc55d | 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 |
d7e66fb6 | 27 | |
758fc55d | 28 | Only in asterisk-1.2.7.1/apps: Makefile~ |
29 | Only in asterisk-1.2.7.1/apps: Makefile.orig |