annotate Makefile.am @ 335:5098387a3a46

kitsu: remove unused constants, fix token expiration calculation
author Paper <paper@paper.us.eu.org>
date Wed, 19 Jun 2024 06:11:38 -0400
parents 4aeffed717ef
children a7d4e5107531
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 bin_PROGRAMS = minori
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
3 # Localization
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
4
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
5 minori_locale_ts = \
312
11adae933b40 locale: remove old unfinished and probably bad spanish translation
Paper <paper@paper.us.eu.org>
parents: 309
diff changeset
6 rc/locale/en_GB.ts
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
7
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
8 minori_locale_qm = $(minori_locale_ts:.ts=.qm)
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
9
250
c130f47f6f48 *: many many changes
Paper <paper@paper.us.eu.org>
parents: 249
diff changeset
10 rc/locale/translations.qrc: $(minori_locale_qm)
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
11 $(MKDIR_P) $$(dirname $@); \
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
12 printf "<!DOCTYPE rcc><RCC version=\"1.0\">\n\t<qresource prefix=\"locale/\">\n" > $@; \
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
13 for q in $(minori_locale_qm); do \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
14 printf "\t\t<file>%s</file>\n" "$$(basename $$q)" >> $@; \
250
c130f47f6f48 *: many many changes
Paper <paper@paper.us.eu.org>
parents: 249
diff changeset
15 done;
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
16 printf "\t</qresource>\n</RCC>\n" >> $@;
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
17
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
18 # Qt resources
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
19
329
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
20 dep_json_include = \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
21 dep/json/json.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
22 dep/json/json_fwd.hpp
295
b82841e76e79 *: better support on Windows
Paper <paper@paper.us.eu.org>
parents: 291
diff changeset
23
329
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
24 dep_toml_include = \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
25 dep/toml11/toml.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
26 dep/toml11/toml/color.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
27 dep/toml11/toml/combinator.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
28 dep/toml11/toml/comments.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
29 dep/toml11/toml/datetime.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
30 dep/toml11/toml/exception.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
31 dep/toml11/toml/from.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
32 dep/toml11/toml/get.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
33 dep/toml11/toml/into.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
34 dep/toml11/toml/lexer.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
35 dep/toml11/toml/literal.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
36 dep/toml11/toml/macros.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
37 dep/toml11/toml/parser.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
38 dep/toml11/toml/region.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
39 dep/toml11/toml/result.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
40 dep/toml11/toml/serializer.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
41 dep/toml11/toml/source_location.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
42 dep/toml11/toml/storage.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
43 dep/toml11/toml/string.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
44 dep/toml11/toml/traits.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
45 dep/toml11/toml/types.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
46 dep/toml11/toml/utility.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
47 dep/toml11/toml/value.hpp \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
48 dep/toml11/toml/version.hpp
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
49
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
50 dep_semver_include = \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
51 dep/semver/semver.hpp
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
52
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
53 dep_fmt_include = \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
54 dep/fmt/include/fmt/ostream.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
55 dep/fmt/include/fmt/format-inl.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
56 dep/fmt/include/fmt/ranges.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
57 dep/fmt/include/fmt/xchar.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
58 dep/fmt/include/fmt/core.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
59 dep/fmt/include/fmt/chrono.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
60 dep/fmt/include/fmt/os.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
61 dep/fmt/include/fmt/color.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
62 dep/fmt/include/fmt/args.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
63 dep/fmt/include/fmt/printf.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
64 dep/fmt/include/fmt/compile.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
65 dep/fmt/include/fmt/format.h \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
66 dep/fmt/include/fmt/std.h
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
67
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
68 dep_fmt_source = \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
69 dep/fmt/src/format.cc \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
70 dep/fmt/src/os.cc
295
b82841e76e79 *: better support on Windows
Paper <paper@paper.us.eu.org>
parents: 291
diff changeset
71
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
72 minori_qtrc = \
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
73 $(top_srcdir)/rc/icons/icons.qrc \
291
9a88e1725fd2 *: refactor lots of stuff
Paper <paper@paper.us.eu.org>
parents: 282
diff changeset
74 $(top_srcdir)/rc/animone.qrc \
9a88e1725fd2 *: refactor lots of stuff
Paper <paper@paper.us.eu.org>
parents: 282
diff changeset
75 rc/locale/translations.qrc
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
76
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
77 # various things we want to distribute
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
78
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
79 minori_icons_png = \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
80 $(top_srcdir)/rc/icons/16x16/arrow-circle-315.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
81 $(top_srcdir)/rc/icons/16x16/calendar.png \
255
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
82 $(top_srcdir)/rc/icons/16x16/calendar-previous.png \
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
83 $(top_srcdir)/rc/icons/16x16/calendar-next.png \
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
84 $(top_srcdir)/rc/icons/16x16/category.png \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
85 $(top_srcdir)/rc/icons/16x16/chart.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
86 $(top_srcdir)/rc/icons/16x16/clock-history-frame.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
87 $(top_srcdir)/rc/icons/16x16/cross-button.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
88 $(top_srcdir)/rc/icons/16x16/document-list.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
89 $(top_srcdir)/rc/icons/16x16/feed.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
90 $(top_srcdir)/rc/icons/16x16/film.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
91 $(top_srcdir)/rc/icons/16x16/gear.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
92 $(top_srcdir)/rc/icons/16x16/magnifier.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
93 $(top_srcdir)/rc/icons/16x16/navigation-270-button.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
94 $(top_srcdir)/rc/icons/16x16/plus-button.png \
255
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
95 $(top_srcdir)/rc/icons/16x16/sort-quantity-descending.png \
fe702c8f161f *: whatever
Paper <paper@paper.us.eu.org>
parents: 254
diff changeset
96 $(top_srcdir)/rc/icons/16x16/ui-scroll-pane-detail.png \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
97 $(top_srcdir)/rc/icons/24x24/application-export.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
98 $(top_srcdir)/rc/icons/24x24/application-sidebar-list.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
99 $(top_srcdir)/rc/icons/24x24/arrow-circle-double-135.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
100 $(top_srcdir)/rc/icons/24x24/feed.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
101 $(top_srcdir)/rc/icons/24x24/folder-open.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
102 $(top_srcdir)/rc/icons/24x24/gear.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
103 $(top_srcdir)/rc/icons/24x24/globe.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
104 $(top_srcdir)/rc/icons/24x24/inbox-film.png \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
105 $(top_srcdir)/rc/icons/24x24/megaphone.png \
309
bf89fbf7ff38 misc: remove copyrighted app icon
Paper <paper@paper.us.eu.org>
parents: 295
diff changeset
106 $(top_srcdir)/rc/icons/24x24/question.png
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
107
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
108 minori_linux_rc = \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
109 $(top_srcdir)/rc/sys/linux/Minori.desktop \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
110 $(top_srcdir)/rc/sys/linux/Minori.png
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
111
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
112 minori_osx_rc = \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
113 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/Resources/Minori.icns \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
114 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/Info.plist \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
115 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/PkgInfo
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
116
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
117 minori_win32_rc = \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
118 $(top_srcdir)/rc/sys/win32/dark/dark.qrc \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
119 $(top_srcdir)/rc/sys/win32/dark/dark.qss \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
120 $(top_srcdir)/rc/sys/win32/favicon.ico \
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
121 $(top_srcdir)/rc/sys/win32/version.rc
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
122
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
123 minori_scripts = \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
124 $(top_srcdir)/scripts/osx/deploy_build.sh \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
125 $(top_srcdir)/scripts/win32/deploy_build.sh
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
126
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
127 EXTRA_DIST = \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
128 $(minori_icons_png) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
129 $(top_srcdir)/rc/icons/README.md \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
130 $(minori_linux_rc) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
131 $(minori_osx_rc) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
132 $(minori_win32_rc) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
133 $(minori_scripts)
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
134
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
135 # OS-specific
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
136
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
137 if BUILD_GLIB
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
138
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
139 files_glib = src/sys/glib/dark_theme.cc
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
140 cflags_glib = $(GLIB_CFLAGS)
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
141 libs_glib = $(GLIB_LIBS)
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
142
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
143 endif
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
144
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
145 if BUILD_WIN
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
146
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
147 files_win = src/sys/win32/dark_theme.cc
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
148 libs_win = -lole32 -luuid
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
149 ldflags_win = -mwindows
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
150
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
151 # Add dark stylesheet to resources
267
09c5bd74fe93 win32: make builds work again
Paper <paper@paper.us.eu.org>
parents: 264
diff changeset
152 minori_qtrc_win = $(top_srcdir)/rc/sys/win32/dark/dark.qrc
295
b82841e76e79 *: better support on Windows
Paper <paper@paper.us.eu.org>
parents: 291
diff changeset
153 minori_qtrc_win_dep = $(top_srcdir)/rc/sys/win32/dark/dark.qss
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
154
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
155 if BUILD_WINDRES
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
156
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
157 wrcflags_version = -DWRC_VERSION=0,`echo $(PACKAGE_VERSION) | @SED@ 's/\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1,\2,\3/'`
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
158
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
159 WRCFLAGS = --use-temp-file -I. -I$(srcdir) $(wrcflags_version) $(CPPFLAGS)
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
160 .rc.$(OBJEXT):
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
161 $(WINDRES) $(WRCFLAGS) -i $< -o $@
313
Paper <paper@paper.us.eu.org>
parents: 312
diff changeset
162 files_windres=rc/sys/win32/version.rc
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
163
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
164 endif # BUILD_WINDRES
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
165
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
166 endif # BUILD_WIN
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
167
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
168 if BUILD_OSX
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
169
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
170 files_osx = src/sys/osx/dark_theme.cc src/sys/osx/permissions.cc
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
171 cflags_osx = -mmacosx-version-min=10.15
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
172 libs_osx = -lobjc
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
173 ldflags_osx = -framework Foundation -framework AppKit
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
174
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
175 endif
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
176
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
177 minori_qtheaders = \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
178 include/core/http.h \
315
34347fd2a2de session: allow printing status messages
Paper <paper@paper.us.eu.org>
parents: 313
diff changeset
179 include/core/session.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
180 include/gui/dialog/about.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
181 include/gui/dialog/information.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
182 include/gui/dialog/settings.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
183 include/gui/pages/anime_list.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
184 include/gui/pages/history.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
185 include/gui/pages/now_playing.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
186 include/gui/pages/search.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
187 include/gui/pages/seasons.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
188 include/gui/pages/statistics.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
189 include/gui/pages/torrents.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
190 include/gui/translate/anilist.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
191 include/gui/translate/anime.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
192 include/gui/translate/config.h \
253
b3549da699a6 *: ooooh! stupid big commit!
Paper <paper@paper.us.eu.org>
parents: 252
diff changeset
193 include/gui/widgets/anime_button.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
194 include/gui/widgets/anime_info.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
195 include/gui/widgets/clickable_label.h \
317
b1f4d1867ab1 services: VERY initial Kitsu support
Paper <paper@paper.us.eu.org>
parents: 315
diff changeset
196 include/gui/widgets/drop_list_widget.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
197 include/gui/widgets/graph.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
198 include/gui/widgets/optional_date.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
199 include/gui/widgets/poster.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
200 include/gui/widgets/sidebar.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
201 include/gui/widgets/text.h \
253
b3549da699a6 *: ooooh! stupid big commit!
Paper <paper@paper.us.eu.org>
parents: 252
diff changeset
202 include/gui/widgets/elided_label.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
203 include/gui/locale.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
204 include/gui/theme.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
205 include/gui/window.h
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
206
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
207 noinst_HEADERS = \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
208 include/core/anime_db.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
209 include/core/anime.h \
279
657fda1b9cac *: clean up enums
Paper <paper@paper.us.eu.org>
parents: 267
diff changeset
210 include/core/anime_season.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
211 include/core/config.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
212 include/core/date.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
213 include/core/filesystem.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
214 include/core/json.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
215 include/core/strings.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
216 include/core/time.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
217 include/core/torrent.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
218 include/library/library.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
219 include/services/anilist.h \
317
b1f4d1867ab1 services: VERY initial Kitsu support
Paper <paper@paper.us.eu.org>
parents: 315
diff changeset
220 include/services/kitsu.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
221 include/services/services.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
222 include/sys/glib/dark_theme.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
223 include/sys/osx/dark_theme.h \
262
8e282d0dc282 automake: update osx header files
Paper <paper@paper.us.eu.org>
parents: 260
diff changeset
224 include/sys/osx/permissions.h \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
225 include/sys/win32/dark_theme.h \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
226 include/track/media.h \
329
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
227 $(dep_json_include) \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
228 $(dep_toml_include) \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
229 $(dep_semver_include) \
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
230 $(dep_fmt_include) \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
231 $(minori_qtheaders)
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
232
264
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
233 minori_utf8proc_sources = \
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
234 dep/utf8proc/utf8proc.c
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
235
291
9a88e1725fd2 *: refactor lots of stuff
Paper <paper@paper.us.eu.org>
parents: 282
diff changeset
236 minori_moc_sources = $(minori_qtheaders:.h=_moc.cc)
9a88e1725fd2 *: refactor lots of stuff
Paper <paper@paper.us.eu.org>
parents: 282
diff changeset
237
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
238 minori_SOURCES = \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
239 src/core/anime_db.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
240 src/core/anime.cc \
279
657fda1b9cac *: clean up enums
Paper <paper@paper.us.eu.org>
parents: 267
diff changeset
241 src/core/anime_season.cc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
242 src/core/config.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
243 src/core/date.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
244 src/core/filesystem.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
245 src/core/http.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
246 src/core/json.cc \
315
34347fd2a2de session: allow printing status messages
Paper <paper@paper.us.eu.org>
parents: 313
diff changeset
247 src/core/session.cc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
248 src/core/strings.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
249 src/core/time.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
250 src/gui/dialog/settings/application.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
251 src/gui/dialog/settings/library.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
252 src/gui/dialog/settings/recognition.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
253 src/gui/dialog/settings/services.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
254 src/gui/dialog/settings/torrents.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
255 src/gui/dialog/about.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
256 src/gui/dialog/information.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
257 src/gui/dialog/settings.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
258 src/gui/pages/anime_list.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
259 src/gui/pages/history.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
260 src/gui/pages/now_playing.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
261 src/gui/pages/search.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
262 src/gui/pages/seasons.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
263 src/gui/pages/statistics.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
264 src/gui/pages/torrents.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
265 src/gui/translate/anilist.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
266 src/gui/translate/anime.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
267 src/gui/translate/config.cc \
253
b3549da699a6 *: ooooh! stupid big commit!
Paper <paper@paper.us.eu.org>
parents: 252
diff changeset
268 src/gui/widgets/anime_button.cc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
269 src/gui/widgets/anime_info.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
270 src/gui/widgets/clickable_label.cc \
317
b1f4d1867ab1 services: VERY initial Kitsu support
Paper <paper@paper.us.eu.org>
parents: 315
diff changeset
271 src/gui/widgets/drop_list_widget.cc \
253
b3549da699a6 *: ooooh! stupid big commit!
Paper <paper@paper.us.eu.org>
parents: 252
diff changeset
272 src/gui/widgets/elided_label.cc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
273 src/gui/widgets/optional_date.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
274 src/gui/widgets/poster.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
275 src/gui/widgets/sidebar.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
276 src/gui/widgets/text.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
277 src/gui/locale.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
278 src/gui/theme.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
279 src/gui/window.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
280 src/library/library.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
281 src/services/anilist.cc \
317
b1f4d1867ab1 services: VERY initial Kitsu support
Paper <paper@paper.us.eu.org>
parents: 315
diff changeset
282 src/services/kitsu.cc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
283 src/services/services.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
284 src/track/media.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
285 src/main.cc \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
286 $(files_osx) \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
287 $(files_glib) \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
288 $(files_win) \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
289 $(files_windres) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
290 $(minori_locale_ts) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
291 $(minori_qtrc) \
267
09c5bd74fe93 win32: make builds work again
Paper <paper@paper.us.eu.org>
parents: 264
diff changeset
292 $(minori_qtrc_win) \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
293 $(minori_locale_qm) \
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
294 $(minori_moc_sources) \
264
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
295 $(minori_utf8proc_sources) \
329
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
296 $(dep_fmt_source) \
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
297 rc/final_qrc.cc
250
c130f47f6f48 *: many many changes
Paper <paper@paper.us.eu.org>
parents: 249
diff changeset
298
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
299 minori_includes = \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
300 -I$(top_srcdir)/include \
329
4aeffed717ef dep/fmt: add dependency
Paper <paper@paper.us.eu.org>
parents: 326
diff changeset
301 -I$(top_srcdir)/dep/fmt/include \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
302 -I$(top_srcdir)/dep/animone/include \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
303 -I$(top_srcdir)/dep/pugixml/src \
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
304 -I$(top_srcdir)/dep/anitomy \
264
9a04802848c0 *: improve multiple things
Paper <paper@paper.us.eu.org>
parents: 262
diff changeset
305 -I$(top_srcdir)/dep/utf8proc \
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
306 -I$(top_srcdir)/dep
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
307
282
19eb6c4dca78 autotools: ax_have_qt sucks, use pkgconf instead
Paper <paper@paper.us.eu.org>
parents: 280
diff changeset
308 minori_CPPFLAGS = $(LIBCURL_CPPFLAGS) $(minori_includes)
19eb6c4dca78 autotools: ax_have_qt sucks, use pkgconf instead
Paper <paper@paper.us.eu.org>
parents: 280
diff changeset
309 minori_CXXFLAGS = $(QT_CFLAGS) $(cflags_osx) $(cflags_glib) $(cflags_win)
250
c130f47f6f48 *: many many changes
Paper <paper@paper.us.eu.org>
parents: 249
diff changeset
310 minori_LDFLAGS = $(QT_LDFLAGS) $(ldflags_osx) $(ldflags_win)
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
311
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
312 minori_DEPENDENCIES = dep/pugixml/libpugixml.la dep/animone/libanimone.la dep/anitomy/libanitomy.la
254
d14f8e0e40c3 [UNFINISHED] *: update anime button
Paper <paper@paper.us.eu.org>
parents: 253
diff changeset
313 minori_LDADD = $(minori_DEPENDENCIES) $(libs_glib) $(LIBCURL) $(QT_LIBS) $(libs_osx) $(libs_win)
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
314
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
315 # Build only one qrc, otherwise we get a ton of
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
316 # weird linking errors
295
b82841e76e79 *: better support on Windows
Paper <paper@paper.us.eu.org>
parents: 291
diff changeset
317 rc/final_qrc.cc: $(minori_qtrc) $(minori_qtrc_win) $(minori_icons_png) $(minori_qtrc_win_dep)
267
09c5bd74fe93 win32: make builds work again
Paper <paper@paper.us.eu.org>
parents: 264
diff changeset
318 $(QT_RCC) -o $@ $(minori_qtrc) $(minori_qtrc_win)
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
319
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
320 .h_moc.cc:
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
321 $(MKDIR_P) -- $$(dirname $@)
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
322 $(QT_MOC) -o $@ $(minori_includes) $<
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
323
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
324 .ts.qm:
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
325 $(MKDIR_P) $$(dirname $@); \
258
862d0d8619f6 *: HUUUGE changes
Paper <paper@paper.us.eu.org>
parents: 255
diff changeset
326 $(QT_LRELEASE) $< -qm $@
252
a0eeb2cc7e6d *: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents: 250
diff changeset
327
241
06d6c351925c *: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents: 237
diff changeset
328 SUFFIXES = .h _moc.cc .ts .qm
236
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
329 SUBDIRS = $(subdirs)
4d461ef7d424 HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
330 ACLOCAL_AMFLAGS = -I m4