-rw-r--r-- | libopie/libopie.pro | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/libopie/libopie.pro b/libopie/libopie.pro index 2148233..0398775 100644 --- a/libopie/libopie.pro +++ b/libopie/libopie.pro | |||
@@ -18,12 +18,13 @@ HEADERS = ofontmenu.h \ | |||
18 | pim/opimaccesstemplate.h \ | 18 | pim/opimaccesstemplate.h \ |
19 | pim/opimaccessbackend.h \ | 19 | pim/opimaccessbackend.h \ |
20 | pim/otodoaccess.h \ | 20 | pim/otodoaccess.h \ |
21 | pim/otodoaccessbackend.h \ | 21 | pim/otodoaccessbackend.h \ |
22 | pim/oconversion.h \ | 22 | pim/oconversion.h \ |
23 | pim/ocontact.h \ | 23 | pim/ocontact.h \ |
24 | pim/ocontactfields.h \ | ||
24 | pim/ocontactaccess.h \ | 25 | pim/ocontactaccess.h \ |
25 | pim/ocontactaccessbackend.h \ | 26 | pim/ocontactaccessbackend.h \ |
26 | pim/ocontactaccessbackend_xml.h \ | 27 | pim/ocontactaccessbackend_xml.h \ |
27 | pim/ocontactaccessbackend_vcard.h \ | 28 | pim/ocontactaccessbackend_vcard.h \ |
28 | pim/obackendfactory.h \ | 29 | pim/obackendfactory.h \ |
29 | pim/opimcache.h \ | 30 | pim/opimcache.h \ |
@@ -62,12 +63,13 @@ SOURCES = ofontmenu.cc \ | |||
62 | pim/opimrecord.cpp \ | 63 | pim/opimrecord.cpp \ |
63 | pim/otodoaccess.cpp \ | 64 | pim/otodoaccess.cpp \ |
64 | pim/otodoaccessbackend.cpp \ | 65 | pim/otodoaccessbackend.cpp \ |
65 | pim/otodoaccessxml.cpp \ | 66 | pim/otodoaccessxml.cpp \ |
66 | pim/oconversion.cpp \ | 67 | pim/oconversion.cpp \ |
67 | pim/ocontact.cpp \ | 68 | pim/ocontact.cpp \ |
69 | pim/ocontactfields.cpp \ | ||
68 | pim/ocontactaccess.cpp \ | 70 | pim/ocontactaccess.cpp \ |
69 | pim/ocontactaccessbackend_vcard.cpp \ | 71 | pim/ocontactaccessbackend_vcard.cpp \ |
70 | pim/ocontactaccessbackend_xml.cpp \ | 72 | pim/ocontactaccessbackend_xml.cpp \ |
71 | pim/otodoaccessvcal.cpp \ | 73 | pim/otodoaccessvcal.cpp \ |
72 | pim/orecur.cpp \ | 74 | pim/orecur.cpp \ |
73 | pim/opimstate.cpp \ | 75 | pim/opimstate.cpp \ |
@@ -88,15 +90,28 @@ SOURCES = ofontmenu.cc \ | |||
88 | oticker.cpp owait.cpp | 90 | oticker.cpp owait.cpp |
89 | 91 | ||
90 | TARGET = opie | 92 | TARGET = opie |
91 | INCLUDEPATH += $(OPIEDIR)/include | 93 | INCLUDEPATH += $(OPIEDIR)/include |
92 | DESTDIR = $(OPIEDIR)/lib$(PROJMAK) | 94 | DESTDIR = $(OPIEDIR)/lib$(PROJMAK) |
93 | 95 | ||
96 | # The following is just for my Notebook ! | ||
97 | # It should never be committed !! (eilers) | ||
98 | # QMAKE_CXXFLAGS += -DQT_NO_SOUND | ||
99 | |||
94 | LIBS += -lqpe | 100 | LIBS += -lqpe |
95 | 101 | ||
96 | # LIBS += -lopiesql | 102 | # Add SQL-Support if selected by config (eilers) |
103 | CONFTEST = $$system( echo $CONFIG_SQL_PIM_BACKEND ) | ||
104 | contains( CONFTEST, y ){ | ||
105 | |||
106 | DEFINES += __USE_SQL | ||
107 | LIBS += -lopiedb2 -lsqlite | ||
108 | HEADERS += pim/otodoaccesssql.h pim/ocontactaccessbackend_sql.h | ||
109 | SOURCES += pim/otodoaccesssql.cpp pim/ocontactaccessbackend_sql.cpp | ||
110 | |||
111 | } | ||
97 | 112 | ||
98 | INTERFACES = otimepickerbase.ui orecurrancebase.ui | 113 | INTERFACES = otimepickerbase.ui orecurrancebase.ui |
99 | TARGET = opie | 114 | TARGET = opie |
100 | 115 | ||
101 | TRANSLATIONS = ../i18n/de/libopie.ts \ | 116 | TRANSLATIONS = ../i18n/de/libopie.ts \ |
102 | ../i18n/nl/libopie.ts \ | 117 | ../i18n/nl/libopie.ts \ |