~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/plugins/sqldrivers/psql/psql.pro

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TARGET   = qsqlpsql
 
2
 
 
3
HEADERS         = ../../../sql/drivers/psql/qsql_psql.h
 
4
SOURCES         = main.cpp \
 
5
                  ../../../sql/drivers/psql/qsql_psql.cpp
 
6
unix {
 
7
        !contains( LIBS, .*pq.* ) {
 
8
            LIBS        *= -lpq
 
9
        }
 
10
}
 
11
 
 
12
win32 {
 
13
        !contains(LIBS, .*pq.* ) {
 
14
            LIBS *= libpq.lib
 
15
        }
 
16
        LIBS    *= -lws2_32 -ladvapi32
 
17
#       win32-msvc: {
 
18
#               LIBS *= delayimp.lib
 
19
#               QMAKE_LFLAGS += /DELAYLOAD:libpq.dll
 
20
#       }
 
21
#       win32-borland: {
 
22
#               QMAKE_LFLAGS += /dlibpq.dll
 
23
#       }
 
24
}
 
25
 
 
26
include(../qsqldriverbase.pri)