/
libshell.pro
104 lines (92 loc) · 2.96 KB
/
libshell.pro
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
96
97
98
99
100
101
102
103
104
# The Doomsday Engine Project: Server Shell -- Common Functionality
# Copyright (c) 2013 Jaakko Keränen <jaakko.keranen@iki.fi>
#
# This program is distributed under the GNU General Public License
# version 2 (or, at your option, any later version). Please visit
# http://www.gnu.org/licenses/gpl.html for details.
include(../config.pri)
TEMPLATE = lib
TARGET = deng_shell
VERSION = 0.1.0
include(../dep_deng2.pri)
win32 {
# Keep the version number out of the file name.
TARGET_EXT = .dll
}
DEFINES += __LIBSHELL__
INCLUDEPATH += include
# Public headers.
HEADERS += \
include/de/shell/Action \
include/de/shell/ChoiceWidget \
include/de/shell/CommandLineWidget \
include/de/shell/DialogWidget \
include/de/shell/DoomsdayInfo \
include/de/shell/InputDialog \
include/de/shell/KeyEvent \
include/de/shell/LabelWidget \
include/de/shell/Lexicon \
include/de/shell/LineEditWidget \
include/de/shell/Link \
include/de/shell/LocalServer \
include/de/shell/LogWidget \
include/de/shell/MenuWidget \
include/de/shell/Protocol \
include/de/shell/ServerFinder \
include/de/shell/TextCanvas \
include/de/shell/TextRootWidget \
include/de/shell/TextWidget \
\
include/de/shell/action.h \
include/de/shell/choicewidget.h \
include/de/shell/commandlinewidget.h \
include/de/shell/dialogwidget.h \
include/de/shell/doomsdayinfo.h \
include/de/shell/inputdialog.h \
include/de/shell/keyevent.h \
include/de/shell/labelwidget.h \
include/de/shell/lexicon.h \
include/de/shell/libshell.h \
include/de/shell/lineeditwidget.h \
include/de/shell/link.h \
include/de/shell/localserver.h \
include/de/shell/logwidget.h \
include/de/shell/menuwidget.h \
include/de/shell/protocol.h \
include/de/shell/serverfinder.h \
include/de/shell/textcanvas.h \
include/de/shell/textrootwidget.h \
include/de/shell/textwidget.h
# Sources and private headers.
SOURCES += \
src/action.cpp \
src/choicewidget.cpp \
src/commandlinewidget.cpp \
src/dialogwidget.cpp \
src/doomsdayinfo.cpp \
src/inputdialog.cpp \
src/labelwidget.cpp \
src/lexicon.cpp \
src/libshell.cpp \
src/lineeditwidget.cpp \
src/link.cpp \
src/localserver.cpp \
src/logwidget.cpp \
src/menuwidget.cpp \
src/protocol.cpp \
src/serverfinder.cpp \
src/textcanvas.cpp \
src/textrootwidget.cpp \
src/textwidget.cpp
# Installation ---------------------------------------------------------------
macx {
linkDylibToBundledLibdeng2(libdeng_shell)
doPostLink("install_name_tool -id @executable_path/../Frameworks/libdeng_shell.0.dylib libdeng_shell.0.dylib")
# Update the library included in the main app bundle.
doPostLink("mkdir -p ../client/Doomsday.app/Contents/Frameworks")
doPostLink("cp -fRp libdeng_shell*dylib ../client/Doomsday.app/Contents/Frameworks")
}
else {
INSTALLS += target
target.path = $$DENG_LIB_DIR
}