summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/opiedb.pro
blob: 6a4e8f11c2224215d7ba4bf7b797d8cb0097805e (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
TEMPLATE    = lib
#CONFIG      += qt warn_on debug
CONFIG      += qt warn_on release
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
INTERFACES  =
TARGET      = opiedb2
VERSION     = 1.8.1
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH  += $(OPIEDIR)/include

MOC_DIR     = moc
OBJECTS_DIR = obj

LIBS += -lsqlite -lqpe

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

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