1 diff -ruN asterisk-1.2.0-old/apps/Makefile asterisk-1.2.0-new/apps/Makefile
2 --- asterisk-1.2.0-old/apps/Makefile 2005-11-11 01:32:45.000000000 +0100
3 +++ asterisk-1.2.0-new/apps/Makefile 2005-12-04 19:26:20.000000000 +0100
5 #CFLAGS+=-DEXTENDED_ODBC_STORAGE
6 # See doc/README.odbcstorage for more information
8 +CFLAGS += $(EXTRA_CFLAGS)
9 +APPS += $(EXTRA_APP_MODULES)
15 app_curl.so: app_curl.o
16 $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
18 +app_sql_mysql.so: app_sql_mysql.o
19 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lmysqlclient
21 app_sql_postgres.o: app_sql_postgres.c
22 - $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
23 + $(CC) -pipe $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
25 app_sql_postgres.so: app_sql_postgres.o
26 - $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -L/usr/local/pgsql/lib -lpq
27 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lpq
29 app_sql_odbc.so: app_sql_odbc.o
30 - $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lodbc
31 + $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lodbc
34 $(CC) -pipe -O6 -g look.c -o look -lncurses