Mercurial > minori
annotate Makefile.am @ 244:3a4aa9b4814c
scripts: convert to use posix shell
it's not like we even need bash anyway
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 22 Jan 2024 22:19:39 -0800 |
parents | ed5ab3896666 |
children | 6b2441c776dd |
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 |
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
3 minori_locale_ts = \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
4 rc/locale/en_GB.ts \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
5 rc/locale/es.ts |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
6 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
7 .ts.qm: |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
8 @MKDIR_P@ `dirname $@`; \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
9 @QT_LRELEASE@ $< -qm $@ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
10 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
11 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
|
12 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
13 # this has to be in the root build folder |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
14 translations.qrc: $(minori_locale_qm) |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
15 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
|
16 for q in $(minori_locale_qm); do \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
17 printf "\t\t<file alias=\"%s\">%s</file>\n" "`basename $$q`" "$$q" >> $@; \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
18 done; \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
19 printf "\t</qresource>\n</RCC>\n" >> $@; |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
20 |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
21 minori_qtrc = \ |
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
22 $(top_srcdir)/rc/icons/icons.qrc \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
23 $(top_srcdir)/rc/player_data.qrc \ |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
24 translations.qrc |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
25 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
26 if BUILD_WIN |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
27 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
28 minori_qtrc += $(top_srcdir)/rc/win32/dark/dark.qrc |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
29 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
30 endif |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
31 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
32 rc/final_qrc.cc: $(minori_qtrc) |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
33 @QT_RCC@ -o $@ $(minori_qtrc) |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
34 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
35 minori_qtheaders = \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
36 include/core/http.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
37 include/gui/dialog/about.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
38 include/gui/dialog/information.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
39 include/gui/dialog/settings.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
40 include/gui/pages/anime_list.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
41 include/gui/pages/history.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
42 include/gui/pages/now_playing.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
43 include/gui/pages/search.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
44 include/gui/pages/seasons.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
45 include/gui/pages/statistics.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
46 include/gui/pages/torrents.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
47 include/gui/translate/anilist.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
48 include/gui/translate/anime.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
49 include/gui/translate/config.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
50 include/gui/widgets/anime_info.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
51 include/gui/widgets/clickable_label.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
52 include/gui/widgets/graph.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
53 include/gui/widgets/optional_date.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
54 include/gui/widgets/poster.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
55 include/gui/widgets/sidebar.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
56 include/gui/widgets/text.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
57 include/gui/locale.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
58 include/gui/theme.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
59 include/gui/window.h |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
60 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
61 noinst_HEADERS = \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
62 include/core/anime_db.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
63 include/core/anime.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
64 include/core/config.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
65 include/core/date.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
66 include/core/filesystem.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
67 include/core/ini.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
68 include/core/json.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
69 include/core/session.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
70 include/core/strings.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
71 include/core/time.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
72 include/core/torrent.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
73 include/library/library.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
74 include/services/anilist.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
75 include/services/services.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
76 include/sys/glib/dark_theme.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
77 include/sys/osx/dark_theme.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
78 include/sys/osx/filesystem.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
79 include/sys/win32/dark_theme.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
80 include/track/media.h \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
81 $(minori_qtheaders) |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
82 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
83 minori_moc_sources = $(minori_qtheaders:.h=_moc.cc) |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
84 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
85 if BUILD_GLIB |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
86 files_glib = src/sys/glib/dark_theme.cc |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
87 cflags_glib = @GIO_CFLAGS@ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
88 libs_glib = @GIO_LIBS@ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
89 endif |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
90 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
91 if BUILD_WIN |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
92 files_win = src/sys/win32/dark_theme.cc |
242
82470f83f0c2
autotools: make windows build work
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
93 libs_win = -lole32 -luuid |
243
ed5ab3896666
autotools: add `-mwindows` and windows deploy script
Paper <paper@paper.us.eu.org>
parents:
242
diff
changeset
|
94 ldflags_win = -mwindows |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
95 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
96 if BUILD_WINDRES |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
97 # Untested... |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
98 |
242
82470f83f0c2
autotools: make windows build work
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
99 wrcflags_version = -DWRC_VERSION=0,`echo $(PACKAGE_VERSION) | sed 's/\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1,\2,\3/'` |
82470f83f0c2
autotools: make windows build work
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
100 |
82470f83f0c2
autotools: make windows build work
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
101 WRCFLAGS = --use-temp-file -I. -I$(srcdir) $(wrcflags_version) $(CPPFLAGS) |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
102 .rc.$(OBJEXT): |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
103 $(WINDRES) $(WRCFLAGS) -i $< -o $@ |
242
82470f83f0c2
autotools: make windows build work
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
104 files_windres=rc/win32/version.rc rc/win32/resource.rc |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
105 endif |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
106 endif |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
107 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
108 if BUILD_OSX |
237 | 109 files_osx = src/sys/osx/dark_theme.cc src/sys/osx/filesystem.cc src/sys/osx/permissions.cc |
110 cflags_osx = -mmacosx-version-min=10.15 | |
111 libs_osx = -lobjc | |
112 ldflags_osx = -framework Foundation -framework AppKit | |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
113 endif |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
114 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
115 minori_SOURCES = \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
116 src/core/anime_db.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
117 src/core/anime.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
118 src/core/config.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
119 src/core/date.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
120 src/core/filesystem.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
121 src/core/http.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
122 src/core/json.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
123 src/core/strings.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
124 src/core/time.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
125 src/gui/dialog/settings/application.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
126 src/gui/dialog/settings/library.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
127 src/gui/dialog/settings/recognition.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
128 src/gui/dialog/settings/services.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
129 src/gui/dialog/settings/torrents.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
130 src/gui/dialog/about.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
131 src/gui/dialog/information.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
132 src/gui/dialog/settings.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
133 src/gui/pages/anime_list.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
134 src/gui/pages/history.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
135 src/gui/pages/now_playing.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
136 src/gui/pages/search.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
137 src/gui/pages/seasons.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
138 src/gui/pages/statistics.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
139 src/gui/pages/torrents.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
140 src/gui/translate/anilist.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
141 src/gui/translate/anime.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
142 src/gui/translate/config.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
143 src/gui/widgets/anime_info.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
144 src/gui/widgets/clickable_label.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
145 src/gui/widgets/optional_date.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
146 src/gui/widgets/poster.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
147 src/gui/widgets/sidebar.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
148 src/gui/widgets/text.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
149 src/gui/locale.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
150 src/gui/theme.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
151 src/gui/window.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
152 src/library/library.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
153 src/services/anilist.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
154 src/services/services.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
155 src/track/media.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
156 src/main.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
157 $(files_osx) \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
158 $(files_glib) \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
159 $(files_win) \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
160 $(minori_moc_sources) \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
161 rc/final_qrc.cc \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
162 $(files_windres) |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
163 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
164 minori_includes = \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
165 -I$(top_srcdir)/include \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
166 -I$(top_srcdir)/dep/animia/include \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
167 -I$(top_srcdir)/dep/pugixml/src \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
168 -I$(top_srcdir)/dep/anitomy \ |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
169 -I$(top_srcdir)/dep |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
170 |
237 | 171 minori_CPPFLAGS = @LIBCURL_CPPFLAGS@ $(minori_includes) |
172 minori_CXXFLAGS = @QT_CXXFLAGS@ $(cflags_osx) $(cflags_glib) $(cflags_win) -std=c++17 | |
243
ed5ab3896666
autotools: add `-mwindows` and windows deploy script
Paper <paper@paper.us.eu.org>
parents:
242
diff
changeset
|
173 minori_LDFLAGS = $(ldflags_osx) $(ldflags_win) |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
174 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
175 minori_DEPENDENCIES = dep/pugixml/libpugixml.la dep/animia/libanimia.la dep/anitomy/libanitomy.la |
242
82470f83f0c2
autotools: make windows build work
Paper <paper@paper.us.eu.org>
parents:
241
diff
changeset
|
176 minori_LDADD = $(libs_glib) $(libs_osx) $(libs_win) @LIBCURL@ @QT_LIBS@ dep/pugixml/libpugixml.la dep/animia/libanimia.la dep/anitomy/libanitomy.la |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
177 |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
178 .h_moc.cc: |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
179 @MKDIR_P@ -- `dirname $@` |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
180 @QT_MOC@ -o $@ $(minori_includes) $< |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
181 |
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
237
diff
changeset
|
182 SUFFIXES = .h _moc.cc .ts .qm |
236
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
183 SUBDIRS = $(subdirs) |
4d461ef7d424
HUGE UPDATE: convert build system to autotools
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
184 ACLOCAL_AMFLAGS = -I m4 |