summaryrefslogtreecommitdiff
authoreilers <eilers>2004-04-30 23:04:04 (UTC)
committer eilers <eilers>2004-04-30 23:04:04 (UTC)
commit9e2e24a67c66c5ccb3d76e63a18908febecde9c3 (patch) (unidiff)
tree42af8cf7e41cb06fcd0906e4b699f64015222c7f
parentae8750078b9943f23a5b99100056a379135c10bf (diff)
downloadopie-9e2e24a67c66c5ccb3d76e63a18908febecde9c3.zip
opie-9e2e24a67c66c5ccb3d76e63a18908febecde9c3.tar.gz
opie-9e2e24a67c66c5ccb3d76e63a18908febecde9c3.tar.bz2
I had to remove ofilenotify out of the build for Darwin (MacOS X). It
uses calls to fcntl which is not supported. We should use kqueue instead..
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/opiecore.pro14
1 files changed, 12 insertions, 2 deletions
diff --git a/libopie2/opiecore/opiecore.pro b/libopie2/opiecore/opiecore.pro
index ee42368..a9562b5 100644
--- a/libopie2/opiecore/opiecore.pro
+++ b/libopie2/opiecore/opiecore.pro
@@ -1,44 +1,54 @@
1TEMPLATE = lib 1TEMPLATE = lib
2CONFIG += qt warn_on 2CONFIG += qt warn_on
3DESTDIR = $(OPIEDIR)/lib 3DESTDIR = $(OPIEDIR)/lib
4HEADERS = oapplication.h \ 4HEADERS = oapplication.h \
5 oconfig.h \ 5 oconfig.h \
6 odebug.h \ 6 odebug.h \
7 ofilenotify.h \
8 oglobal.h \ 7 oglobal.h \
9 oglobalsettings.h \ 8 oglobalsettings.h \
10 okeyconfigmanager.h \ 9 okeyconfigmanager.h \
11 oprocess.h \ 10 oprocess.h \
12 oprocctrl.h \ 11 oprocctrl.h \
13 osmartpointer.h \ 12 osmartpointer.h \
14 ostorageinfo.h \ 13 ostorageinfo.h \
15 xmltree.h 14 xmltree.h
16 15
17SOURCES = oapplication.cpp \ 16SOURCES = oapplication.cpp \
18 oconfig.cpp \ 17 oconfig.cpp \
19 odebug.cpp \ 18 odebug.cpp \
20 ofilenotify.cpp \
21 oglobal.cpp \ 19 oglobal.cpp \
22 oglobalsettings.cpp \ 20 oglobalsettings.cpp \
23 okeyconfigmanager.cpp \ 21 okeyconfigmanager.cpp \
24 oprocess.cpp \ 22 oprocess.cpp \
25 oprocctrl.cpp \ 23 oprocctrl.cpp \
26 ostorageinfo.cpp \ 24 ostorageinfo.cpp \
27 xmltree.cpp 25 xmltree.cpp
28 26
27
28# The following files are currently not compileable on mac !
29# Therfore I removed them from the build .. (eilers)
30
31CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX )
32!contains( CONFTEST, y ) {
33HEADERS += ofilenotify.h
34SOURCES += ofilenotify.cpp
35} else {
36 message( "ofilenotify is not available in a mac build !" )
37}
38
29include ( device/device.pro ) 39include ( device/device.pro )
30 40
31INTERFACES = 41INTERFACES =
32TARGET = opiecore2 42TARGET = opiecore2
33VERSION = 1.9.1 43VERSION = 1.9.1
34INCLUDEPATH += $(OPIEDIR)/include 44INCLUDEPATH += $(OPIEDIR)/include
35DEPENDPATH += $(OPIEDIR)/include 45DEPENDPATH += $(OPIEDIR)/include
36 46
37!contains( platform, x11 ) { 47!contains( platform, x11 ) {
38 LIBS = -lqpe 48 LIBS = -lqpe
39 include ( $(OPIEDIR)/include.pro ) 49 include ( $(OPIEDIR)/include.pro )
40} 50}
41 51
42contains( platform, x11 ) { 52contains( platform, x11 ) {
43 LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib 53 LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
44} 54}