summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/opiepim.pro
blob: c3283150813d643c751329f16cdf5921e05bbf3e (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
TEMPLATE    = lib
CONFIG      += qt warn_on debug
DESTDIR     = $(OPIEDIR)/lib
HEADERS     = opimcontact.h opimcontactfields.h opimrecord.h opimtodo.h opimnotify.h \
              opimnotifymanager.h opimevent.h

SOURCES     = opimcontact.cpp opimcontactfields.cpp opimrecord.cpp opimtodo.cpp opimnotify.cpp \
              opimnotifymanager.cpp opimevent.cpp
INTERFACES  =
TARGET      = opiepim2
VERSION     = 1.8.4
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH  += $(OPIEDIR)/include
LIBS        += -lopiecore2

include ( core/core.pro )
include ( core/backends/backends.pro )
include ( ui/ui.pro )

contains( ENABLE_SQL_PIM_BACKEND, y )
  LIBS += -lopiedb2

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

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