-
Notifications
You must be signed in to change notification settings - Fork 22
/
Makeproject
59 lines (53 loc) · 1.92 KB
/
Makeproject
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
TARGETS="uqm"
# For the 'uqm' target:
if [ "$DEBUG" = "1" ]; then
uqm_OBJS=obj/debug/ # Directory for object files
uqm_NAME=UrQuanMastersDebug # File name of executable
else
uqm_OBJS=obj/release/ # Directory for object files
uqm_NAME=UrQuanMasters # File name of executable
fi
case "$HOST_SYSTEM" in
ARMV5|WINSCW|GCCE)
uqm_NAME="uqm.lib"
;;
MINGW32*|CYGWIN*)
uqm_NAME="$uqm_NAME.exe"
;;
esac
uqm_CFLAGS="$uqm_CFLAGS -Isrc"
uqm_CXXFLAGS="$uqm_CXXFLAGS -Isrc"
if [ "$uqm_HAVE_REGEX" = 0 ]; then
uqm_CFLAGS="$uqm_CFLAGS -Isrc/regex"
uqm_CXXFLAGS="$uqm_CXXFLAGS -Isrc/regex"
fi
# Stuff to install under the directory for libraries, as specified during
# config.
uqm_INSTALL_LIBS="executable"
uqm_INSTALL_LIB_executable_SRC="$BUILD_WORK/$uqm_NAME"
uqm_INSTALL_LIB_executable_DEST=uqm-megamod/UrQuanMasters
uqm_INSTALL_LIB_executable_MODE="0755"
# Stuff to install under the directory for system-independant data, as
# specified during config.
uqm_INSTALL_SHARED="content"
uqm_INSTALL_SHARED_content_SRC=content
uqm_INSTALL_SHARED_content_DEST=uqm-megamod/
uqm_INSTALL_SHARED_content_MODE="go+rX"
# Stuff to install under the directory for system-independant data, as
# specified during config.
uqm_INSTALL_APP="shortcut"
uqm_INSTALL_APP_shortcut_SRC="$BUILD_WORK/src/res/megamod.desktop"
uqm_INSTALL_APP_shortcut_DEST="net.sourceforge.uqm_mods.UQM-MegaMod.desktop"
uqm_INSTALL_APP_shortcut_MODE="0755"
# Stuff to install under the directory for system-independant data, as
# specified during config.
uqm_INSTALL_ICON="icon"
uqm_INSTALL_ICON_icon_SRC="$BUILD_WORK/src/res/megamod.png"
uqm_INSTALL_ICON_icon_DEST="net.sourceforge.uqm_mods.UQM-MegaMod.png"
uqm_INSTALL_ICON_icon_MODE="0755"
# Stuff to install under the directory for binaries, as specified during
# config.
uqm_INSTALL_BINS=wrapper
uqm_INSTALL_BIN_wrapper_SRC="$BUILD_WORK/uqm-wrapper"
uqm_INSTALL_BIN_wrapper_DEST="UrQuanMasters"
uqm_INSTALL_BIN_wrapper_MODE="0755"