forked from woce/LunaSysMgr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
desktop.pri
95 lines (84 loc) · 2.83 KB
/
desktop.pri
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# @@@LICENSE
#
# Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# LICENSE@@@
# @@@LICENSE
#
# Copyright (c) 2010 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# LICENSE@@@
CONFIG += debug
debug {
QMAKE_MAKEFILE = Makefile.Ubuntu
BUILD_TYPE = debug
} else {
QMAKE_MAKEFILE = Makefile.Ubuntu.Release
BUILD_TYPE = release
}
MACHINE_NAME = x86
LUNA_SRC_BASE = $$(LUNA_SRC_BASE)
isEmpty (LUNA_SRC_BASE) {
TOP_DIR_REL = ".."
} else:exists ($${LUNA_SRC_BASE}) {
TOP_DIR_REL = "$${LUNA_SRC_BASE}"
} else {
error("LUNA_SRC_BASE environment variable defined to $${LUNA_SRC_BASE}, but it doesn't exist")
}
TOP_DIR_ABS = $$system(cd $$TOP_DIR_REL; pwd)
WEBKIT_PATH = $$(WEBKIT_PATH)
isEmpty (WEBKIT_PATH) {
WEBKIT_PATH = $$TOP_DIR_ABS/webkit4v8
}
DEFINES += TARGET_DESKTOP
CONFIG_BUILD += opengl openglcomposited
SOURCES += HostQtDesktop.cpp FlickGestureRecognizer.cpp SoundPlayerDummy.cpp PreKeymap.cpp
HEADERS += HostQtDesktop.h FlickGestureRecognizer.h FlickGesture.h SoundPlayerDummy.h PreKeymap.h
LIBS += \
-Wl,-rpath $$(LUNA_STAGING)/lib \
-L$$(LUNA_STAGING)/lib
INCLUDEPATH += \
$$(LUNA_STAGING)/include \
$$(LUNA_STAGING)/include/Qt \
$$(LUNA_STAGING)/include/QtCore \
$$(LUNA_STAGING)/include/QtGui \
$$(LUNA_STAGING)/include/QtNetwork \
$$(LUNA_STAGING)/include/QtOpenGL \
$$(LUNA_STAGING)/include/QtSql \
$$(LUNA_STAGING)/include/QtDeclarative \
$$(LUNA_STAGING)/include/sysmgr-ipc \
$$(LUNA_STAGING)/include/webkit \
$$(LUNA_STAGING)/include/webkit/npapi \
$$WEBKIT_PATH/WebKit/palm/webkit \
$$WEBKIT_PATH/WebKit/palm/Api \
$$WEBKIT_PATH/WebKit/palm/WebCoreSupport \
$$WEBKIT_PATH/WebCore/platform/graphics/pg \
$$(LUNA_STAGING)/include/Piranha \
$$(LUNA_STAGING)/include/ime
#install
target.path = $$(LUNA_STAGING)/bin
INSTALLS += target