aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-21 21:29:06 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-21 21:29:06 +0000
commit5d4c4f64862250667867dfac7de291db048b0f82 (patch)
tree4f6bddb54ce1f8f30d26daefaa7ac0d58a04f953 /apps/Makefile
parent99dadca03b14705759fced73dfa07ec836cb831f (diff)
clean up formatting to conform to coding guidelines and fix some typos (issue #6260)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8407 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 2930309e5..1b40ca73f 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -30,7 +30,7 @@ APPS=app_adsiprog.so app_alarmreceiver.so app_authenticate.so app_cdr.so \
#
# Obsolete things...
#
-#APPS+=app_sql_postgres.so
+APPS+=app_sql_postgres.so
#APPS+=app_sql_odbc.so
#
@@ -96,7 +96,7 @@ app_curl.so: app_curl.o
$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
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
+ $(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
app_sql_postgres.so: app_sql_postgres.o
$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -L/usr/local/pgsql/lib -lpq