summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-01-21 21:29:06 +0000
committerRussell Bryant <russell@russellbryant.com>2006-01-21 21:29:06 +0000
commita163eaa03c808c610a66d3972a526f7ad60c9e0e (patch)
tree4f6bddb54ce1f8f30d26daefaa7ac0d58a04f953 /apps/Makefile
parent475b2cc0cfc7c20c49d4f01df50e697701fdfc2d (diff)
clean up formatting to conform to coding guidelines and fix some typos (issue #6260)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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