summaryrefslogtreecommitdiff
path: root/libopie2
authoreilers <eilers>2004-04-30 23:04:04 (UTC)
committer eilers <eilers>2004-04-30 23:04:04 (UTC)
commit9e2e24a67c66c5ccb3d76e63a18908febecde9c3 (patch) (side-by-side diff)
tree42af8cf7e41cb06fcd0906e4b699f64015222c7f /libopie2
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 (limited to 'libopie2') (more/less context) (show 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
@@ -4,7 +4,6 @@ DESTDIR = $(OPIEDIR)/lib
HEADERS = oapplication.h \
oconfig.h \
odebug.h \
- ofilenotify.h \
oglobal.h \
oglobalsettings.h \
okeyconfigmanager.h \
@@ -17,7 +16,6 @@ HEADERS = oapplication.h \
SOURCES = oapplication.cpp \
oconfig.cpp \
odebug.cpp \
- ofilenotify.cpp \
oglobal.cpp \
oglobalsettings.cpp \
okeyconfigmanager.cpp \
@@ -26,6 +24,18 @@ SOURCES = oapplication.cpp \
ostorageinfo.cpp \
xmltree.cpp
+
+# The following files are currently not compileable on mac !
+# Therfore I removed them from the build .. (eilers)
+
+CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX )
+!contains( CONFTEST, y ) {
+HEADERS += ofilenotify.h
+SOURCES += ofilenotify.cpp
+} else {
+ message( "ofilenotify is not available in a mac build !" )
+}
+
include ( device/device.pro )
INTERFACES =