1 --- Makefile.org 2006-06-10 22:05:42.747469000 +0000
2 +++ Makefile 2006-06-10 22:06:57.080114500 +0000
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
11 ifeq ($(findstring BSD,${OSARCH}),BSD)
12 CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
15 app_curl.so: app_curl.o
16 $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
18 +app_rxfax.so : app_rxfax.o
19 + $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
21 +app_txfax.so : app_txfax.o
22 + $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
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