From 3af77639ad7a1f5acf66220fe493df424e40f949 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sun, 28 Mar 2004 23:32:41 +0000 Subject: enabling and disabling the SQL stuff for libopiepim2 should now (finally) work note that you may have to 'make mrproper' after enabling/disabling --- (limited to 'libopie2') diff --git a/libopie2/opiepim/backend/backends.pro b/libopie2/opiepim/backend/backends.pro index 7049aab..f91e98a 100644 --- a/libopie2/opiepim/backend/backends.pro +++ b/libopie2/opiepim/backend/backends.pro @@ -6,7 +6,6 @@ SOURCES += \ core/backends/odatebookaccessbackend_xml.cpp \ core/backends/otodoaccessbackend.cpp \ core/backends/otodoaccess.cpp \ - core/backends/otodoaccesssql.cpp \ core/backends/otodoaccessvcal.cpp \ core/backends/otodoaccessxml.cpp \ core/backends/odatebookaccess.cpp @@ -28,6 +27,7 @@ HEADERS += \ core/backends/odatebookaccess.h contains( ENABLE_SQL_PIM_BACKEND, y ) { + message ( Enabling the SQL Backend for libopiepim2 ) DEFINES += __USE_SQL LIBS += -lopiedb2 HEADERS += core/backends/otodoaccesssql.h \ @@ -37,3 +37,8 @@ contains( ENABLE_SQL_PIM_BACKEND, y ) { core/backends/ocontactaccessbackend_sql.cpp \ core/backends/odatebookaccessbackend_sql.cpp } + +!contains( ENABLE_SQL_PIM_BACKEND, y ) { + message ( No SQL Backend in libopiepim2 ) +} + diff --git a/libopie2/opiepim/opiepim.pro b/libopie2/opiepim/opiepim.pro index 416765e..318aecf 100644 --- a/libopie2/opiepim/opiepim.pro +++ b/libopie2/opiepim/opiepim.pro @@ -8,11 +8,12 @@ SOURCES = opimcontact.cpp opimcontactfields.cpp opimrecord.cpp opimtodo.cpp opimnotifymanager.cpp opimevent.cpp INTERFACES = TARGET = opiepim2 -VERSION = 1.8.5 +VERSION = 1.8.6 INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include LIBS += -lopiecore2 +include ( $(OPIEDIR)/gen.pro ) include ( core/core.pro ) include ( core/backends/backends.pro ) include ( ui/ui.pro ) @@ -24,4 +25,3 @@ include ( ui/ui.pro ) contains( platform, x11 ) { LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib } - -- cgit v0.9.0.2