diff options
author | zhuyaliang <[email protected]> | 2023-09-28 10:41:46 +0800 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-10-02 01:31:41 +0000 |
commit | 5d9cbe65cdf296d9a69c93712243617dd6ba6848 (patch) | |
tree | 7703719caaf3cb74c22e16f1fab7ae34e5ebe80d /capplets/system-info/Makefile.am | |
parent | bc4db7647c5a1b2a1ec4fadea1e05ddfa9c98f18 (diff) | |
download | mate-control-center-5d9cbe65cdf296d9a69c93712243617dd6ba6848.tar.bz2 mate-control-center-5d9cbe65cdf296d9a69c93712243617dd6ba6848.tar.xz |
Add new capplets: system info
Diffstat (limited to 'capplets/system-info/Makefile.am')
-rw-r--r-- | capplets/system-info/Makefile.am | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/capplets/system-info/Makefile.am b/capplets/system-info/Makefile.am new file mode 100644 index 00000000..2e87da31 --- /dev/null +++ b/capplets/system-info/Makefile.am @@ -0,0 +1,45 @@ +# This is used in MATECC_CAPPLETS_CFLAGS +cappletname = system-info + +ui_files = mate-system-info.ui + +bin_PROGRAMS = mate-system-info + +mate_system_info_LDADD = $(MATECC_CAPPLETS_LIBS) +BUILT_SOURCES = mate-system-info-resources.h mate-system-info-resources.c +nodist_mate_system_info_SOURCES = \ + $(BUILT_SOURCES) +mate_system_info_SOURCES = \ + mate-system-info.c \ + mate-system-info.h \ + info-cleanup.c \ + info-cleanup.h \ + main.c + +include $(top_srcdir)/gla11y.mk + +desktopdir = $(datadir)/applications +Desktop_in_files = mate-system-info.desktop.in +desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) + +$(desktop_DATA): $(Desktop_in_files) +if USE_NLS + $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ +else + $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ +endif + +mate-system-info-resources.h mate-system-info-resources.c: system-info.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/system-info.gresource.xml) + $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name mate_system_info $< + +AM_CPPFLAGS = \ + $(WARN_CFLAGS) \ + $(MATECC_CAPPLETS_CFLAGS) \ + -DMATECC_DATA_DIR="\"$(pkgdatadir)\"" +CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) +EXTRA_DIST = \ + $(ui_files) \ + $(Desktop_in_files) \ + system-info.gresource.xml + +-include $(top_srcdir)/git.mk |