-
Notifications
You must be signed in to change notification settings - Fork 8
/
device-known.pri
71 lines (67 loc) · 2.65 KB
/
device-known.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
# @@@LICENSE
#
# Copyright (c) 2010-2013 LG Electronics, Inc.
#
# 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@@@
MACHINE_NAME = $$(MACHINE)
contains(MACHINE_NAME, "broadway") {
DEFINES += MACHINE_BROADWAY HAS_KEYMAPS PALM_DEVICE HAS_DISPLAY_TIMEOUT HAS_PALM_QPA
CONFIG_BUILD += opengl texturesharing directrendering
CONFIG_BUILD += haptics napp nyx hidlib webosdevice
LIBS += -lqpalm
}
contains(MACHINE_NAME, "mantaray") {
DEFINES += MACHINE_MANTARAY HAS_KEYMAPS PALM_DEVICE HAS_DISPLAY_TIMEOUT HAS_PALM_QPA
CONFIG_BUILD += opengl openglcomposited directrendering
CONFIG_BUILD += haptics napp nyx hidlib webosdevice
LIBS += -lqpalm
}
contains(MACHINE_NAME, "windsornot") {
DEFINES += MACHINE_WINDSORNOT PALM_DEVICE HAS_DISPLAY_TIMEOUT HAS_PALM_QPA
CONFIG_BUILD += opengl openglcomposited directrendering
CONFIG_BUILD += nyx napp hidlib webosdevice
LIBS += -lqpalm
}
contains(MACHINE_NAME, "topaz") {
DEFINES += MACHINE_TOPAZ PALM_DEVICE HAS_DISPLAY_TIMEOUT HAS_PALM_QPA
# DEFINES += ENABLE_JS_DEBUG_VERBOSE
###### Uncomment the following for debug building, e.g. for source debugging via eclipse, etc.
###### Note that this is all really adhoc and quick'n'dirty, and not meant to be a robust method
# CONFIG -= release
# CONFIG += debug
# QMAKE_CXXFLAGS -= $$QMAKE_CXXFLAGS_RELEASE -fomit-frame-pointer -frename-registers -finline-functions
# QMAKE_CXXFLAGS += -O0 -pg -fno-omit-frame-pointer -fno-rename-registers -fno-inline-functions -fno-exceptions -fno-rtti
# PALM_CC_OPT =
# PALM_CXX_OPT =
# PALM_CXX_EXTRA =
# QMAKE_LFLAGS -= $$QMAKE_LFLAGS_RELEASE
# QMAKE_LFLAGS +=
############
CONFIG_BUILD += opengl directrendering # texturesharing fb1poweroptimization
CONFIG_BUILD += affinity haptics napp nyx hidlib webosdevice
LIBS += -lqpalm
}
contains(MACHINE_NAME, "opal") {
DEFINES += MACHINE_OPAL PALM_DEVICE HAS_DISPLAY_TIMEOUT HAS_PALM_QPA
CONFIG_BUILD += opengl texturesharing directrendering
CONFIG_BUILD += affinity haptics napp nyx hidlib webosdevice
LIBS += -lqpalm
}
contains(MACHINE_NAME, "tuna") {
DEFINES += MACHINE_TUNA HAS_DISPLAY_TIMEOUT HAS_PALM_QPA
CONFIG_BUILD += webosdevice nyx
CONFIG_BUILD += opengl
LIBS += -lqpalm
}