Mercurial > minori
comparison Makefile.am @ 295:b82841e76e79
*: better support on Windows
things now look much better in dark mode
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 12 May 2024 20:24:09 -0400 |
parents | 9a88e1725fd2 |
children | bf89fbf7ff38 |
comparison
equal
deleted
inserted
replaced
294:99cbc51433e4 | 295:b82841e76e79 |
---|---|
15 printf "\t\t<file>%s</file>\n" "$$(basename $$q)" >> $@; \ | 15 printf "\t\t<file>%s</file>\n" "$$(basename $$q)" >> $@; \ |
16 done; | 16 done; |
17 printf "\t</qresource>\n</RCC>\n" >> $@; | 17 printf "\t</qresource>\n</RCC>\n" >> $@; |
18 | 18 |
19 # Qt resources | 19 # Qt resources |
20 | |
21 | |
20 | 22 |
21 minori_qtrc = \ | 23 minori_qtrc = \ |
22 $(top_srcdir)/rc/icons/icons.qrc \ | 24 $(top_srcdir)/rc/icons/icons.qrc \ |
23 $(top_srcdir)/rc/animone.qrc \ | 25 $(top_srcdir)/rc/animone.qrc \ |
24 rc/locale/translations.qrc | 26 rc/locale/translations.qrc |
99 libs_win = -lole32 -luuid | 101 libs_win = -lole32 -luuid |
100 ldflags_win = -mwindows | 102 ldflags_win = -mwindows |
101 | 103 |
102 # Add dark stylesheet to resources | 104 # Add dark stylesheet to resources |
103 minori_qtrc_win = $(top_srcdir)/rc/sys/win32/dark/dark.qrc | 105 minori_qtrc_win = $(top_srcdir)/rc/sys/win32/dark/dark.qrc |
106 minori_qtrc_win_dep = $(top_srcdir)/rc/sys/win32/dark/dark.qss | |
104 | 107 |
105 if BUILD_WINDRES | 108 if BUILD_WINDRES |
106 | 109 |
107 wrcflags_version = -DWRC_VERSION=0,`echo $(PACKAGE_VERSION) | @SED@ 's/\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1,\2,\3/'` | 110 wrcflags_version = -DWRC_VERSION=0,`echo $(PACKAGE_VERSION) | @SED@ 's/\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1,\2,\3/'` |
108 | 111 |
259 minori_DEPENDENCIES = dep/pugixml/libpugixml.la dep/animone/libanimone.la dep/anitomy/libanitomy.la | 262 minori_DEPENDENCIES = dep/pugixml/libpugixml.la dep/animone/libanimone.la dep/anitomy/libanitomy.la |
260 minori_LDADD = $(minori_DEPENDENCIES) $(libs_glib) $(LIBCURL) $(QT_LIBS) $(libs_osx) $(libs_win) | 263 minori_LDADD = $(minori_DEPENDENCIES) $(libs_glib) $(LIBCURL) $(QT_LIBS) $(libs_osx) $(libs_win) |
261 | 264 |
262 # Build only one qrc, otherwise we get a ton of | 265 # Build only one qrc, otherwise we get a ton of |
263 # weird linking errors | 266 # weird linking errors |
264 rc/final_qrc.cc: $(minori_qtrc) $(minori_qtrc_win) | 267 rc/final_qrc.cc: $(minori_qtrc) $(minori_qtrc_win) $(minori_icons_png) $(minori_qtrc_win_dep) |
265 $(QT_RCC) -o $@ $(minori_qtrc) $(minori_qtrc_win) | 268 $(QT_RCC) -o $@ $(minori_qtrc) $(minori_qtrc_win) |
266 | 269 |
267 .h_moc.cc: | 270 .h_moc.cc: |
268 $(MKDIR_P) -- $$(dirname $@) | 271 $(MKDIR_P) -- $$(dirname $@) |
269 $(QT_MOC) -o $@ $(minori_includes) $< | 272 $(QT_MOC) -o $@ $(minori_includes) $< |