diff options
author | rbuj <[email protected]> | 2020-05-26 11:30:34 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-06-17 21:25:36 +0200 |
commit | bece069ff70f9e941c090f5fa47dac718ff131d6 (patch) | |
tree | fcb03a6ecbd26a24cc9ccb44c67047cbbe1b1eae /netspeed/src/Makefile.am | |
parent | bb15b58b431f74c9394427ecba84d798902e8153 (diff) | |
download | mate-applets-bece069ff70f9e941c090f5fa47dac718ff131d6.tar.bz2 mate-applets-bece069ff70f9e941c090f5fa47dac718ff131d6.tar.xz |
netspeed: Add netspeed-preferences.ui
Diffstat (limited to 'netspeed/src/Makefile.am')
-rw-r--r-- | netspeed/src/Makefile.am | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/netspeed/src/Makefile.am b/netspeed/src/Makefile.am index 27fb82d3..26d5b854 100644 --- a/netspeed/src/Makefile.am +++ b/netspeed/src/Makefile.am @@ -1,3 +1,9 @@ +NULL = + +builder_files = \ + netspeed-preferences.ui \ + $(NULL) + AM_CPPFLAGS = \ -I$(top_srcdir) \ -I$(includedir) \ @@ -9,11 +15,31 @@ AM_CPPFLAGS = \ libexec_PROGRAMS = mate-netspeed-applet -mate_netspeed_applet_SOURCES = backend.h backend.c netspeed.c +BUILT_SOURCES = netspeed-resources.c netspeed-resources.h +nodist_mate_netspeed_applet_SOURCES = $(BUILT_SOURCES) +mate_netspeed_applet_SOURCES = \ + backend.h \ + backend.c \ + netspeed.c \ + $(NULL) mate_netspeed_applet_LDADD = $(GIO_LIBS) $(GTOP_APPLETS_LIBS) \ $(MATE_APPLETS4_LIBS) \ $(IWLIB) $(INTLLIBS) -lm +netspeed-resources.c: netspeed-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/netspeed-resources.gresource.xml) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name netspeed $< + +netspeed-resources.h: netspeed-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/netspeed-resources.gresource.xml) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name netspeed $< + +CLEANFILES = \ + $(BUILT_SOURCES) \ + $(NULL) + +EXTRA_DIST = \ + $(builder_files) \ + netspeed-resources.gresource.xml \ + $(NULL) -include $(top_srcdir)/git.mk |