author | mickeyl <mickeyl> | 2004-03-28 18:29:54 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-28 18:29:54 (UTC) |
commit | dd23aa6470b671250ba57bec095d3bc0fab39102 (patch) (side-by-side diff) | |
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 @@ -SOURCES += core/backends/ocontactaccessbackend_sql.cpp \ +SOURCES += \ core/backends/ocontactaccessbackend_vcard.cpp \ core/backends/ocontactaccessbackend_xml.cpp \ core/backends/ocontactaccess.cpp \ @@ -9,23 +9,31 @@ SOURCES += core/backends/ocontactaccessbackend_sql.cpp \ core/backends/otodoaccesssql.cpp \ core/backends/otodoaccessvcal.cpp \ core/backends/otodoaccessxml.cpp \ - core/backends/odatebookaccess.cpp \ - core/backends/odatebookaccessbackend_sql.cpp + core/backends/odatebookaccess.cpp -HEADERS += core/backends/obackendfactory.h \ +HEADERS += \ + core/backends/obackendfactory.h \ core/backends/ocontactaccessbackend.h \ - core/backends/ocontactaccessbackend_sql.h \ core/backends/ocontactaccessbackend_vcard.h \ core/backends/ocontactaccessbackend_xml.h \ core/backends/ocontactaccess.h \ core/backends/odatebookaccessbackend.h \ - core/backends/odatebookaccessbackend_sql.h \ core/backends/odatebookaccessbackend_xml.h \ core/backends/opimaccessbackend.h \ core/backends/opimaccesstemplate.h \ core/backends/otodoaccessbackend.h \ core/backends/otodoaccess.h \ - core/backends/otodoaccesssql.h \ core/backends/otodoaccessvcal.h \ core/backends/otodoaccessxml.h \ core/backends/odatebookaccess.h + +contains( ENABLE_SQL_PIM_BACKEND, y ) { + DEFINES += __USE_SQL + LIBS += -lopiedb2 + HEADERS += core/backends/otodoaccesssql.h \ + core/backends/ocontactaccessbackend_sql.h \ + core/backends/odatebookaccessbackend_sql.h + SOURCES += core/backends/otodoaccesssql.cpp \ + core/backends/ocontactaccessbackend_sql.cpp \ + core/backends/odatebookaccessbackend_sql.cpp +} |