forked from xoreos/xoreos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
55 lines (49 loc) · 1.5 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4 --install
EXTRA_DIST = \
autogen.sh \
BUILDDEP \
Doxyfile \
README.dox \
README.md \
FAQ.md \
CONTRIBUTING.md \
dists/macosx/Info.plist \
dists/macosx/xoreos.icns \
dists/win32/xoreos.ico \
dists/win32/xoreos.rc \
glew/LICENSE.txt \
lua/README.xoreos \
$(EMPTY)
dist_doc_DATA = \
COPYING \
AUTHORS \
ChangeLog \
README.md \
FAQ.md \
$(EMPTY)
SUBDIRS = \
utf8cpp \
glew \
lua \
gitstamp \
src \
$(EMPTY)
doxygen:
doxygen
doxygen-clean:
rm -rf doc/doxygen/html/
rm -rf doc/doxygen/latex/
rm -rf doc/doxygen/man/
rm -rf doc/doxygen/*.tmp
rm -rf doc/doxygen/*.db
# TODO: Make a static target for this (would involve changing sdl-config to use static libs, static versions of SDL_sound and SDL_mixer, and creating a framework folder for OpenGL).
BUNDLE_NAME = Xoreos.app
bundle: all
mkdir -p $(BUNDLE_NAME)/Contents/MacOS
mkdir -p $(BUNDLE_NAME)/Contents/Resources
echo "APPL????" > $(BUNDLE_NAME)/Contents/PkgInfo
cp dists/macosx/Info.plist $(BUNDLE_NAME)/Contents/
cp dists/macosx/xoreos.icns $(BUNDLE_NAME)/Contents/
cp src/xoreos $(BUNDLE_NAME)/Contents/MacOS/xoreos
chmod 755 $(BUNDLE_NAME)/Contents/MacOS/xoreos
$(STRIP) $(BUNDLE_NAME)/Contents/MacOS/xoreos