diff options
author | Arnavion <arnavion@gmail.com> | 2015-10-10 16:14:07 -0700 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2015-10-10 16:14:07 -0700 |
commit | 671a838b52e75216a4c8389be2ca569488fea8ac (patch) | |
tree | 4b0345b6db8ed324a9befa152942fceff0dc968f /src/fe-gtk/Makefile.am | |
parent | 6ca29b2eb423f638af24d4342abb30691046e850 (diff) |
fe-gtk: Use manual registration for resources.
Diffstat (limited to 'src/fe-gtk/Makefile.am')
-rw-r--r-- | src/fe-gtk/Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fe-gtk/Makefile.am b/src/fe-gtk/Makefile.am index 71179853..778b6cfb 100644 --- a/src/fe-gtk/Makefile.am +++ b/src/fe-gtk/Makefile.am @@ -17,7 +17,7 @@ EXTRA_DIST = \ sexy-spell-entry.h textgui.h urlgrab.h userlistgui.h xtext.h \ ../../data/hexchat.gresource.xml -BUILT_SOURCES = resources.c +BUILT_SOURCES = resources.h resources.c CLEANFILES = $(BUILT_SOURCES) @@ -43,12 +43,15 @@ endif hexchat_SOURCES = ascii.c banlist.c chanlist.c chanview.c custom-list.c \ dccgui.c editlist.c fe-gtk.c fkeys.c gtkutil.c ignoregui.c joind.c menu.c \ maingui.c notifygui.c $(notify_c) palette.c pixmaps.c plugin-tray.c $(plugingui_c) \ - plugin-notification.c rawlog.c resources.c servlistgui.c setup.c $(iso_codes_c) \ + plugin-notification.c rawlog.c resources.h resources.c servlistgui.c setup.c $(iso_codes_c) \ sexy-spell-entry.c textgui.c urlgrab.c userlistgui.c xtext.c hexchat_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/src/common +resources.h: $(top_srcdir)/data/hexchat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data --generate-dependencies $(top_srcdir)/data/hexchat.gresource.xml) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/data --generate-header --manual-register $< + resources.c: $(top_srcdir)/data/hexchat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data --generate-dependencies $(top_srcdir)/data/hexchat.gresource.xml) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/data --generate-source $< + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/data --generate-source --manual-register $< if DO_STATIC_ANALYSIS analyze_plists = $(hexchat_SOURCES:%.c=%.plist) |