summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/opiedb.pro
blob: 0f50883fbff85ed26d43ed0cc937a3665fd208b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
TEMPLATE    = lib
CONFIG     += qt warn_on
DESTDIR     = $(OPIEDIR)/lib
HEADERS     = osqlbackend.h    \
              osqldriver.h     \
              osqlerror.h      \
              osqlmanager.h    \
              osqlquery.h      \
              osqlresult.h     \
              osqltable.h      \
              osqlbackendmanager.h \
              osqlitedriver.h

SOURCES     = osqlbackend.cpp   \
              osqldriver.cpp   \
              osqlerror.cpp    \
              osqlmanager.cpp  \
              osqlquery.cpp    \
              osqlresult.cpp   \
              osqltable.cpp    \
              osqlbackendmanager.cpp \
              osqlitedriver.cpp

TARGET      = opiedb2
VERSION     = 1.9.0
INCLUDEPATH = $(OPIEDIR)/include
DEPENDPATH  = $(OPIEDIR)/include
LIBS       += -lopiecore2 -lqpe -lsqlite3

!contains( platform, x11 ) {
  include( $(OPIEDIR)/include.pro )
}

contains( platform, x11 ) {
  LIBS        += -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
}

!isEmpty( LIBSQLITE_INC_DIR ) {
    INCLUDEPATH = $$LIBSQLITE_INC_DIR $$INCLUDEPATH
}
!isEmpty( LIBSQLITE_LIB_DIR ) {
    LIBS = -L$$LIBSQLITE_LIB_DIR $$LIBS
}