/
doom.pro
109 lines (95 loc) · 2.31 KB
/
doom.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
# 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 = doom
VERSION = $$JDOOM_VERSION
DEFINES += __JDOOM__
gamedata.files = $$OUT_PWD/../../libdoom.pk3
macx {
gamedata.path = Contents/Resources
QMAKE_BUNDLE_DATA += gamedata
}
else {
INSTALLS += target gamedata
target.path = $$DENG_PLUGIN_LIB_DIR
gamedata.path = $$DENG_DATA_DIR/jdoom
}
INCLUDEPATH += include
HEADERS += \
include/acfnlink.h \
include/bossbrain.h \
include/d_api.h \
include/d_config.h \
include/d_console.h \
include/d_englsh.h \
include/d_event.h \
include/d_items.h \
include/d_main.h \
include/d_player.h \
include/d_refresh.h \
include/d_think.h \
include/doomdata.h \
include/doomdef.h \
include/doomtype.h \
include/doomv9mapstatereader.h \
include/dstrings.h \
include/g_game.h \
include/info.h \
include/jdoom.h \
include/m_cheat.h \
include/m_random.h \
include/oldinfo.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_pspr.h \
include/p_setup.h \
include/p_spec.h \
include/p_telept.h \
include/r_defs.h \
include/st_stuff.h \
include/tables.h \
include/version.h \
include/wi_stuff.h
SOURCES += \
src/acfnlink.c \
src/bossbrain.cpp \
src/d_api.c \
src/d_console.c \
src/d_items.c \
src/d_main.cpp \
src/d_refresh.cpp \
src/doomv9mapstatereader.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_pspr.c \
src/p_setup.c \
src/p_spec.c \
src/p_telept.c \
src/st_stuff.c \
src/tables.c \
src/wi_stuff.cpp
win32 {
deng_msvc: QMAKE_LFLAGS += /DEF:\"$$PWD/api/doom.def\"
deng_mingw: QMAKE_LFLAGS += --def \"$$PWD/api/doom.def\"
OTHER_FILES += api/doom.def
RC_FILE = res/doom.rc
}
macx {
fixPluginInstallId($$TARGET, 1)
linkToBundledLibcore($$TARGET)
linkToBundledLiblegacy($$TARGET)
}