author | mickeyl <mickeyl> | 2004-03-28 18:29:54 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-28 18:29:54 (UTC) |
commit | dd23aa6470b671250ba57bec095d3bc0fab39102 (patch) (unidiff) | |
tree | d70c1925dc14a72b81f09cceb6afb26b0eb1c4b4 /libopie2/opiepim/backend | |
parent | 78960cc882a2ecdfd3bde55b67cb8f78829d2a36 (diff) | |
download | opie-dd23aa6470b671250ba57bec095d3bc0fab39102.zip opie-dd23aa6470b671250ba57bec095d3bc0fab39102.tar.gz opie-dd23aa6470b671250ba57bec095d3bc0fab39102.tar.bz2 |
- remove optional SQL support from libopie1
- add optional SQL support to libopie2
-rw-r--r-- | libopie2/opiepim/backend/backends.pro | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/libopie2/opiepim/backend/backends.pro b/libopie2/opiepim/backend/backends.pro index 953d928..7049aab 100644 --- a/libopie2/opiepim/backend/backends.pro +++ b/libopie2/opiepim/backend/backends.pro | |||
@@ -1,4 +1,4 @@ | |||
1 | SOURCES += core/backends/ocontactaccessbackend_sql.cpp \ | 1 | SOURCES += \ |
2 | core/backends/ocontactaccessbackend_vcard.cpp \ | 2 | core/backends/ocontactaccessbackend_vcard.cpp \ |
3 | core/backends/ocontactaccessbackend_xml.cpp \ | 3 | core/backends/ocontactaccessbackend_xml.cpp \ |
4 | core/backends/ocontactaccess.cpp \ | 4 | core/backends/ocontactaccess.cpp \ |
@@ -9,23 +9,31 @@ SOURCES += core/backends/ocontactaccessbackend_sql.cpp \ | |||
9 | core/backends/otodoaccesssql.cpp \ | 9 | core/backends/otodoaccesssql.cpp \ |
10 | core/backends/otodoaccessvcal.cpp \ | 10 | core/backends/otodoaccessvcal.cpp \ |
11 | core/backends/otodoaccessxml.cpp \ | 11 | core/backends/otodoaccessxml.cpp \ |
12 | core/backends/odatebookaccess.cpp \ | 12 | core/backends/odatebookaccess.cpp |
13 | core/backends/odatebookaccessbackend_sql.cpp | ||
14 | 13 | ||
15 | HEADERS += core/backends/obackendfactory.h \ | 14 | HEADERS += \ |
15 | core/backends/obackendfactory.h \ | ||
16 | core/backends/ocontactaccessbackend.h \ | 16 | core/backends/ocontactaccessbackend.h \ |
17 | core/backends/ocontactaccessbackend_sql.h \ | ||
18 | core/backends/ocontactaccessbackend_vcard.h \ | 17 | core/backends/ocontactaccessbackend_vcard.h \ |
19 | core/backends/ocontactaccessbackend_xml.h \ | 18 | core/backends/ocontactaccessbackend_xml.h \ |
20 | core/backends/ocontactaccess.h \ | 19 | core/backends/ocontactaccess.h \ |
21 | core/backends/odatebookaccessbackend.h \ | 20 | core/backends/odatebookaccessbackend.h \ |
22 | core/backends/odatebookaccessbackend_sql.h \ | ||
23 | core/backends/odatebookaccessbackend_xml.h \ | 21 | core/backends/odatebookaccessbackend_xml.h \ |
24 | core/backends/opimaccessbackend.h \ | 22 | core/backends/opimaccessbackend.h \ |
25 | core/backends/opimaccesstemplate.h \ | 23 | core/backends/opimaccesstemplate.h \ |
26 | core/backends/otodoaccessbackend.h \ | 24 | core/backends/otodoaccessbackend.h \ |
27 | core/backends/otodoaccess.h \ | 25 | core/backends/otodoaccess.h \ |
28 | core/backends/otodoaccesssql.h \ | ||
29 | core/backends/otodoaccessvcal.h \ | 26 | core/backends/otodoaccessvcal.h \ |
30 | core/backends/otodoaccessxml.h \ | 27 | core/backends/otodoaccessxml.h \ |
31 | core/backends/odatebookaccess.h | 28 | core/backends/odatebookaccess.h |
29 | |||
30 | contains( ENABLE_SQL_PIM_BACKEND, y ) { | ||
31 | DEFINES += __USE_SQL | ||
32 | LIBS += -lopiedb2 | ||
33 | HEADERS += core/backends/otodoaccesssql.h \ | ||
34 | core/backends/ocontactaccessbackend_sql.h \ | ||
35 | core/backends/odatebookaccessbackend_sql.h | ||
36 | SOURCES += core/backends/otodoaccesssql.cpp \ | ||
37 | core/backends/ocontactaccessbackend_sql.cpp \ | ||
38 | core/backends/odatebookaccessbackend_sql.cpp | ||
39 | } | ||