Mercurial > minori
annotate Makefile.am @ 299:246017a7907a
dep/animone: clean up OS X code
GetProcessName() really belongs in fd.cc after removing the
stupid unnecessary LaunchServices code that was stolen from...
some library :)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 13 May 2024 14:15:47 -0400 |
parents | b82841e76e79 |
children | bf89fbf7ff38 |
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 = \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
6 rc/locale/en_GB.ts \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
7 rc/locale/es.ts |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
8 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
9 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
|
10 |
250 | 11 rc/locale/translations.qrc: $(minori_locale_qm) |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
12 $(MKDIR_P) $$(dirname $@); \ |
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
13 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
|
14 for q in $(minori_locale_qm); do \ |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
15 printf "\t\t<file>%s</file>\n" "$$(basename $$q)" >> $@; \ |
250 | 16 done; |
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
17 printf "\t</qresource>\n</RCC>\n" >> $@; |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
18 |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
19 # Qt resources |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
20 |
295 | 21 |
22 | |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
23 minori_qtrc = \ |
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
24 $(top_srcdir)/rc/icons/icons.qrc \ |
291 | 25 $(top_srcdir)/rc/animone.qrc \ |
26 rc/locale/translations.qrc | |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
27 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
28 # various things we want to distribute |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
29 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
30 minori_icons_png = \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
31 $(top_srcdir)/rc/icons/16x16/arrow-circle-315.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
32 $(top_srcdir)/rc/icons/16x16/calendar.png \ |
255 | 33 $(top_srcdir)/rc/icons/16x16/calendar-previous.png \ |
34 $(top_srcdir)/rc/icons/16x16/calendar-next.png \ | |
35 $(top_srcdir)/rc/icons/16x16/category.png \ | |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
36 $(top_srcdir)/rc/icons/16x16/chart.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
37 $(top_srcdir)/rc/icons/16x16/clock-history-frame.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
38 $(top_srcdir)/rc/icons/16x16/cross-button.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
39 $(top_srcdir)/rc/icons/16x16/document-list.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
40 $(top_srcdir)/rc/icons/16x16/feed.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
41 $(top_srcdir)/rc/icons/16x16/film.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
42 $(top_srcdir)/rc/icons/16x16/gear.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
43 $(top_srcdir)/rc/icons/16x16/magnifier.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
44 $(top_srcdir)/rc/icons/16x16/navigation-270-button.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
45 $(top_srcdir)/rc/icons/16x16/plus-button.png \ |
255 | 46 $(top_srcdir)/rc/icons/16x16/sort-quantity-descending.png \ |
47 $(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
|
48 $(top_srcdir)/rc/icons/24x24/application-export.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
49 $(top_srcdir)/rc/icons/24x24/application-sidebar-list.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
50 $(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
|
51 $(top_srcdir)/rc/icons/24x24/feed.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
52 $(top_srcdir)/rc/icons/24x24/folder-open.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
53 $(top_srcdir)/rc/icons/24x24/gear.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
54 $(top_srcdir)/rc/icons/24x24/globe.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
55 $(top_srcdir)/rc/icons/24x24/inbox-film.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
56 $(top_srcdir)/rc/icons/24x24/megaphone.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
57 $(top_srcdir)/rc/icons/24x24/question.png \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
58 $(top_srcdir)/rc/icons/favicon.png |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
59 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
60 minori_linux_rc = \ |
258 | 61 $(top_srcdir)/rc/sys/linux/Minori.desktop \ |
62 $(top_srcdir)/rc/sys/linux/Minori.png | |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
63 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
64 minori_osx_rc = \ |
258 | 65 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/Resources/Minori.icns \ |
66 $(top_srcdir)/rc/sys/osx/Minori.app/Contents/Info.plist \ | |
67 $(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
|
68 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
69 minori_win32_rc = \ |
258 | 70 $(top_srcdir)/rc/sys/win32/dark/dark.qrc \ |
71 $(top_srcdir)/rc/sys/win32/dark/dark.qss \ | |
72 $(top_srcdir)/rc/sys/win32/favicon.ico \ | |
73 $(top_srcdir)/rc/sys/win32/resource.rc \ | |
74 $(top_srcdir)/rc/sys/win32/version.rc | |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
75 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
76 minori_scripts = \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
77 $(top_srcdir)/scripts/osx/deploy_build.sh \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
78 $(top_srcdir)/scripts/win32/deploy_build.sh |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
79 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
80 EXTRA_DIST = \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
81 $(minori_icons_png) \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
82 $(top_srcdir)/rc/icons/README.md \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
83 $(minori_linux_rc) \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
84 $(minori_osx_rc) \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
85 $(minori_win32_rc) \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
86 $(minori_scripts) |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
87 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
88 # OS-specific |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
89 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
90 if BUILD_GLIB |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
91 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
92 files_glib = src/sys/glib/dark_theme.cc |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
93 cflags_glib = $(GLIB_CFLAGS) |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
94 libs_glib = $(GLIB_LIBS) |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
95 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
96 endif |
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
97 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
98 if BUILD_WIN |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
99 |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
100 files_win = src/sys/win32/dark_theme.cc |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
101 libs_win = -lole32 -luuid |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
102 ldflags_win = -mwindows |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
103 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
104 # Add dark stylesheet to resources |
267
09c5bd74fe93
win32: make builds work again
Paper <paper@paper.us.eu.org>
parents:
264
diff
changeset
|
105 minori_qtrc_win = $(top_srcdir)/rc/sys/win32/dark/dark.qrc |
295 | 106 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
|
107 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
108 if BUILD_WINDRES |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
109 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
110 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
|
111 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
112 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
|
113 .rc.$(OBJEXT): |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
114 $(WINDRES) $(WRCFLAGS) -i $< -o $@ |
258 | 115 files_windres=rc/sys/win32/version.rc rc/sys/win32/resource.rc |
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 endif # BUILD_WINDRES |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
118 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
119 endif # BUILD_WIN |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
120 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
121 if BUILD_OSX |
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 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
|
124 cflags_osx = -mmacosx-version-min=10.15 |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
125 libs_osx = -lobjc |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
126 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
|
127 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
128 endif |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
129 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
130 minori_qtheaders = \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
131 include/core/http.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
132 include/gui/dialog/about.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
133 include/gui/dialog/information.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
134 include/gui/dialog/settings.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
135 include/gui/pages/anime_list.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
136 include/gui/pages/history.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
137 include/gui/pages/now_playing.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
138 include/gui/pages/search.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
139 include/gui/pages/seasons.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
140 include/gui/pages/statistics.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
141 include/gui/pages/torrents.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
142 include/gui/translate/anilist.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
143 include/gui/translate/anime.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
144 include/gui/translate/config.h \ |
253 | 145 include/gui/widgets/anime_button.h \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
146 include/gui/widgets/anime_info.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
147 include/gui/widgets/clickable_label.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
148 include/gui/widgets/graph.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
149 include/gui/widgets/optional_date.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
150 include/gui/widgets/poster.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
151 include/gui/widgets/sidebar.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
152 include/gui/widgets/text.h \ |
253 | 153 include/gui/widgets/elided_label.h \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
154 include/gui/locale.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
155 include/gui/theme.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
156 include/gui/window.h |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
157 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
158 noinst_HEADERS = \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
159 include/core/anime_db.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
160 include/core/anime.h \ |
279 | 161 include/core/anime_season.h \ |
260
dd211ff68b36
pages/seasons: add initial functionality
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
162 include/core/anime_season_db.h \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
163 include/core/config.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
164 include/core/date.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
165 include/core/filesystem.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
166 include/core/ini.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
167 include/core/json.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
168 include/core/session.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
169 include/core/strings.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
170 include/core/time.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
171 include/core/torrent.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
172 include/library/library.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
173 include/services/anilist.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
174 include/services/services.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
175 include/sys/glib/dark_theme.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
176 include/sys/osx/dark_theme.h \ |
262
8e282d0dc282
automake: update osx header files
Paper <paper@paper.us.eu.org>
parents:
260
diff
changeset
|
177 include/sys/osx/permissions.h \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
178 include/sys/win32/dark_theme.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
179 include/track/media.h \ |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
180 dep/json/json.hpp \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
181 dep/json/json_fwd.hpp \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
182 dep/mini/ini.h \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
183 dep/semver/semver.hpp \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
184 $(minori_qtheaders) |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
185 |
264 | 186 minori_utf8proc_sources = \ |
187 dep/utf8proc/utf8proc.c | |
188 | |
291 | 189 minori_moc_sources = $(minori_qtheaders:.h=_moc.cc) |
190 | |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
191 minori_SOURCES = \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
192 src/core/anime_db.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
193 src/core/anime.cc \ |
279 | 194 src/core/anime_season.cc \ |
260
dd211ff68b36
pages/seasons: add initial functionality
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
195 src/core/anime_season_db.cc \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
196 src/core/config.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
197 src/core/date.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
198 src/core/filesystem.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
199 src/core/http.cc \ |
276
ec0a2b5493f8
ini: simplify INI code, use templates less
Paper <paper@paper.us.eu.org>
parents:
267
diff
changeset
|
200 src/core/ini.cc \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
201 src/core/json.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
202 src/core/strings.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
203 src/core/time.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
204 src/gui/dialog/settings/application.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
205 src/gui/dialog/settings/library.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
206 src/gui/dialog/settings/recognition.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
207 src/gui/dialog/settings/services.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
208 src/gui/dialog/settings/torrents.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
209 src/gui/dialog/about.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
210 src/gui/dialog/information.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
211 src/gui/dialog/settings.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
212 src/gui/pages/anime_list.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
213 src/gui/pages/history.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
214 src/gui/pages/now_playing.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
215 src/gui/pages/search.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
216 src/gui/pages/seasons.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
217 src/gui/pages/statistics.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
218 src/gui/pages/torrents.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
219 src/gui/translate/anilist.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
220 src/gui/translate/anime.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
221 src/gui/translate/config.cc \ |
253 | 222 src/gui/widgets/anime_button.cc \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
223 src/gui/widgets/anime_info.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
224 src/gui/widgets/clickable_label.cc \ |
253 | 225 src/gui/widgets/elided_label.cc \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
226 src/gui/widgets/optional_date.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
227 src/gui/widgets/poster.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
228 src/gui/widgets/sidebar.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
229 src/gui/widgets/text.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
230 src/gui/locale.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
231 src/gui/theme.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
232 src/gui/window.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
233 src/library/library.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
234 src/services/anilist.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
235 src/services/services.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
236 src/track/media.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
237 src/main.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
238 $(files_osx) \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
239 $(files_glib) \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
240 $(files_win) \ |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
241 $(files_windres) \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
242 $(minori_locale_ts) \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
243 $(minori_qtrc) \ |
267
09c5bd74fe93
win32: make builds work again
Paper <paper@paper.us.eu.org>
parents:
264
diff
changeset
|
244 $(minori_qtrc_win) \ |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
245 $(minori_locale_qm) \ |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
246 $(minori_moc_sources) \ |
264 | 247 $(minori_utf8proc_sources) \ |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
248 rc/final_qrc.cc |
250 | 249 |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
250 minori_includes = \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
251 -I$(top_srcdir)/include \ |
258 | 252 -I$(top_srcdir)/dep/animone/include \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
253 -I$(top_srcdir)/dep/pugixml/src \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
254 -I$(top_srcdir)/dep/anitomy \ |
264 | 255 -I$(top_srcdir)/dep/utf8proc \ |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
256 -I$(top_srcdir)/dep |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
257 |
282
19eb6c4dca78
autotools: ax_have_qt sucks, use pkgconf instead
Paper <paper@paper.us.eu.org>
parents:
280
diff
changeset
|
258 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
|
259 minori_CXXFLAGS = $(QT_CFLAGS) $(cflags_osx) $(cflags_glib) $(cflags_win) |
250 | 260 minori_LDFLAGS = $(QT_LDFLAGS) $(ldflags_osx) $(ldflags_win) |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
261 |
258 | 262 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
|
263 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
|
264 |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
265 # 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
|
266 # weird linking errors |
295 | 267 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
|
268 $(QT_RCC) -o $@ $(minori_qtrc) $(minori_qtrc_win) |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
269 |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
270 .h_moc.cc: |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
271 $(MKDIR_P) -- $$(dirname $@) |
258 | 272 $(QT_MOC) -o $@ $(minori_includes) $< |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
273 |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
274 .ts.qm: |
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
275 $(MKDIR_P) $$(dirname $@); \ |
258 | 276 $(QT_LRELEASE) $< -qm $@ |
252
a0eeb2cc7e6d
*: resolve make distcheck failures
Paper <paper@paper.us.eu.org>
parents:
250
diff
changeset
|
277 |
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
278 SUFFIXES = .h _moc.cc .ts .qm |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
279 SUBDIRS = $(subdirs) |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
280 ACLOCAL_AMFLAGS = -I m4 |