author | eilers <eilers> | 2004-04-30 23:04:04 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-04-30 23:04:04 (UTC) |
commit | 9e2e24a67c66c5ccb3d76e63a18908febecde9c3 (patch) (unidiff) | |
tree | 42af8cf7e41cb06fcd0906e4b699f64015222c7f | |
parent | ae8750078b9943f23a5b99100056a379135c10bf (diff) | |
download | opie-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..
-rw-r--r-- | libopie2/opiecore/opiecore.pro | 14 |
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 @@ | |||
1 | TEMPLATE = lib | 1 | TEMPLATE = lib |
2 | CONFIG += qt warn_on | 2 | CONFIG += qt warn_on |
3 | DESTDIR = $(OPIEDIR)/lib | 3 | DESTDIR = $(OPIEDIR)/lib |
4 | HEADERS = oapplication.h \ | 4 | HEADERS = 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 | ||
17 | SOURCES = oapplication.cpp \ | 16 | SOURCES = 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 | |||
31 | CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX ) | ||
32 | !contains( CONFTEST, y ) { | ||
33 | HEADERS += ofilenotify.h | ||
34 | SOURCES += ofilenotify.cpp | ||
35 | } else { | ||
36 | message( "ofilenotify is not available in a mac build !" ) | ||
37 | } | ||
38 | |||
29 | include ( device/device.pro ) | 39 | include ( device/device.pro ) |
30 | 40 | ||
31 | INTERFACES = | 41 | INTERFACES = |
32 | TARGET = opiecore2 | 42 | TARGET = opiecore2 |
33 | VERSION = 1.9.1 | 43 | VERSION = 1.9.1 |
34 | INCLUDEPATH += $(OPIEDIR)/include | 44 | INCLUDEPATH += $(OPIEDIR)/include |
35 | DEPENDPATH += $(OPIEDIR)/include | 45 | DEPENDPATH += $(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 | ||
42 | contains( platform, x11 ) { | 52 | contains( platform, x11 ) { |
43 | LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib | 53 | LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib |
44 | } | 54 | } |