/
hexen.pro
114 lines (102 loc) · 2.46 KB
/
hexen.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
105
106
107
108
109
110
111
112
113
114
# The Doomsday Engine Project
# Copyright (c) 2011-2013 Jaakko Keränen <jaakko.keranen@iki.fi>
# Copyright (c) 2011-2013 Daniel Swanson <danij@dengine.net>
include(../config_plugin.pri)
include(../common/common.pri)
include(../../dep_lzss.pri)
include(../../dep_gui.pri)
TEMPLATE = lib
TARGET = hexen
VERSION = $$JHEXEN_VERSION
DEFINES += __JHEXEN__
gamedata.files = $$OUT_PWD/../../libhexen.pk3
macx {
gamedata.path = Contents/Resources
QMAKE_BUNDLE_DATA += gamedata
}
else {
INSTALLS += gamedata
gamedata.path = $$DENG_DATA_DIR/jhexen
}
INCLUDEPATH += include
HEADERS += \
include/a_action.h \
include/acfnlink.h \
include/acscript.h \
include/dstrings.h \
include/g_game.h \
include/h2def.h \
include/intermission.h \
include/info.h \
include/jhexen.h \
include/lightninganimator.h \
include/m_cheat.h \
include/m_random.h \
include/p_enemy.h \
include/p_inter.h \
include/p_lights.h \
include/p_local.h \
include/p_maputl.h \
include/p_mobj.h \
include/p_pillar.h \
include/p_pspr.h \
include/p_setup.h \
include/p_spec.h \
include/p_telept.h \
include/p_things.h \
include/p_waggle.h \
include/r_defs.h \
include/r_local.h \
include/s_sequence.h \
include/st_stuff.h \
include/textdefs.h \
include/version.h \
include/x_api.h \
include/x_config.h \
include/x_console.h \
include/x_event.h \
include/x_items.h \
include/x_main.h \
include/x_player.h \
include/x_refresh.h \
include/x_state.h \
include/x_think.h \
include/xddefs.h
SOURCES += \
src/a_action.c \
src/acfnlink.c \
src/acscript.cpp \
src/h2_main.cpp \
src/hconsole.cpp \
src/hrefresh.cpp \
src/intermission.cpp \
src/lightninganimator.cpp \
src/m_cheat.cpp \
src/m_random.c \
src/p_enemy.c \
src/p_inter.c \
src/p_lights.cpp \
src/p_maputl.c \
src/p_mobj.c \
src/p_pillar.cpp \
src/p_pspr.c \
src/p_setup.c \
src/p_spec.cpp \
src/p_telept.c \
src/p_things.c \
src/p_waggle.cpp \
src/sn_sonix.cpp \
src/st_stuff.c \
src/tables.c \
src/x_api.c
win32 {
deng_msvc: QMAKE_LFLAGS += /DEF:\"$$PWD/api/hexen.def\"
deng_mingw: QMAKE_LFLAGS += --def \"$$PWD/api/hexen.def\"
OTHER_FILES += api/hexen.def
RC_FILE = res/hexen.rc
}
macx {
fixPluginInstallId($$TARGET, 1)
linkToBundledLibcore($$TARGET)
linkToBundledLiblegacy($$TARGET)
}