forked from acaudwell/Gource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
87 lines (75 loc) · 2.13 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
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
ACLOCAL_AMFLAGS = -I m4
bin_PROGRAMS = gource
gource_CXXFLAGS = -std=gnu++0x -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-but-set-variable -Wno-unused-variable
gource_SOURCES = \
src/action.cpp \
src/bloom.cpp \
src/caption.cpp \
src/core/conffile.cpp \
src/core/display.cpp \
src/core/frustum.cpp \
src/core/fxfont.cpp \
src/core/logger.cpp \
src/core/mousecursor.cpp \
src/core/plane.cpp \
src/core/ppm.cpp \
src/core/quadtree.cpp \
src/core/regex.cpp \
src/core/resource.cpp \
src/core/sdlapp.cpp \
src/core/seeklog.cpp \
src/core/settings.cpp \
src/core/shader.cpp \
src/core/shader_common.cpp \
src/core/stringhash.cpp \
src/core/texture.cpp \
src/core/png_writer.cpp \
src/core/timezone.cpp \
src/core/vbo.cpp \
src/core/vectors.cpp \
src/dirnode.cpp \
src/file.cpp \
src/formats/apache.cpp \
src/formats/bzr.cpp \
src/formats/commitlog.cpp \
src/formats/custom.cpp \
src/formats/cvs-exp.cpp \
src/formats/cvs2cl.cpp \
src/formats/git.cpp \
src/formats/gitraw.cpp \
src/formats/hg.cpp \
src/formats/svn.cpp \
src/gource.cpp \
src/gource_shell.cpp \
src/gource_settings.cpp \
src/key.cpp \
src/logmill.cpp \
src/main.cpp \
src/pawn.cpp \
src/slider.cpp \
src/spline.cpp \
src/textbox.cpp \
src/user.cpp \
src/zoomcamera.cpp
AM_CPPFLAGS = -DSDLAPP_RESOURCE_DIR=\"$(pkgdatadir)\"
dist_pkgdata_DATA = data/beam.png data/bloom.tga data/bloom_alpha.tga data/file.png data/user.png data/gource.style
shadersdir = $(pkgdatadir)/shaders
dist_shaders_DATA = data/shaders/shadow.vert data/shaders/shadow.frag data/shaders/bloom.vert data/shaders/bloom.frag data/shaders/text.vert data/shaders/text.frag
install-data-hook:
$(MKDIR_P) $(DESTDIR)$(mandir)/man1
gzip -cf9 $(srcdir)/data/gource.1 > $(DESTDIR)$(mandir)/man1/gource.1.gz
uninstall-hook:
rm -f $(DESTDIR)$(mandir)/man1/gource.1.gz
if USE_BUNDLED_TINYXML
gource_SOURCES += \
src/tinyxml/tinyxmlerror.cpp \
src/tinyxml/tinystr.cpp \
src/tinyxml/tinyxml.cpp \
src/tinyxml/tinyxmlparser.cpp
endif
if FONTDIR
AM_CPPFLAGS += -DSDLAPP_FONT_DIR=\"$(gourcefontdir)\"
else
fontsdir = $(pkgdatadir)/fonts
dist_fonts_DATA = data/fonts/README data/fonts/FreeSans.ttf
endif