From acdd75f8f1d3802149a34531f19e7dc12595dddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= Date: Thu, 1 Feb 2018 09:56:49 +0100 Subject: build: Remove autotools To avoid the burden of maintaining multiple build systems, this patch removes autotools support. https://bugzilla.gnome.org/show_bug.cgi?id=793087 --- plugins/common/Makefile.am | 80 ----------------------------------- plugins/common/Makefile.am.gresources | 34 --------------- 2 files changed, 114 deletions(-) delete mode 100644 plugins/common/Makefile.am delete mode 100644 plugins/common/Makefile.am.gresources (limited to 'plugins/common') diff --git a/plugins/common/Makefile.am b/plugins/common/Makefile.am deleted file mode 100644 index 36cf17cc..00000000 --- a/plugins/common/Makefile.am +++ /dev/null @@ -1,80 +0,0 @@ -plugin_name = common - -noinst_LTLIBRARIES = libcommon.la - -GSD_COMMON_ENUM_FILES = gsd-common-enums.c gsd-common-enums.h -BUILT_SOURCES = $(GSD_COMMON_ENUM_FILES) - -gsd-common-enums.h: gsd-device-manager.h Makefile - $(AM_V_GEN)($(GLIB_MKENUMS) \ - --fhead "#ifndef GSD_COMMON_ENUMS_H\n#define GSD_COMMON_ENUMS_H\n\n#include \n\nG_BEGIN_DECLS\n" \ - --fprod "/* enumerations from \"@filename@\" */\n" \ - --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define GSD_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ - --ftail "G_END_DECLS\n\n#endif /* !GSD_COMMON_ENUMS_H */" \ - $(srcdir)/gsd-device-manager.h > $@) - -gsd-common-enums.c: gsd-device-manager.h Makefile gsd-common-enums.h - $(AM_V_GEN)($(GLIB_MKENUMS) \ - --fhead "#include \"gsd-device-manager.h\"\n#include \"gsd-common-enums.h\"\n" \ - --fprod "\n/* enumerations from \"@filename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ - $(srcdir)/gsd-device-manager.h > $@) - -libcommon_la_SOURCES = \ - gsd-common-enums.c \ - gsd-common-enums.h \ - gsd-device-manager.c \ - gsd-device-manager.h \ - gsd-device-manager-x11.c \ - gsd-device-manager-x11.h \ - gsd-device-mapper.c \ - gsd-device-mapper.h \ - gsd-input-helper.c \ - gsd-input-helper.h \ - gsd-resources.c \ - gsd-resources.h \ - gsd-settings-migrate.c \ - gsd-settings-migrate.h \ - gsd-shell-helper.c \ - gsd-shell-helper.h - -if HAVE_WAYLAND -libcommon_la_SOURCES += \ - gsd-device-manager-udev.c \ - gsd-device-manager-udev.h -endif - -libcommon_la_CPPFLAGS = \ - -I$(top_srcdir)/gnome-settings-daemon \ - -I$(top_builddir)/gnome-settings-daemon \ - -I$(top_srcdir)/data/ - -libcommon_la_CFLAGS = $(COMMON_CFLAGS) - -libcommon_la_LDFLAGS = \ - $(GSD_PLUGIN_LDFLAGS) - -libcommon_la_LIBADD = \ - $(top_builddir)/gnome-settings-daemon/libgsd.la \ - $(COMMON_LIBS) - -libexec_PROGRAMS = gsd-test-input-helper - -gsd_test_input_helper_SOURCES = test-input-helper.c -gsd_test_input_helper_LDADD = libcommon.la -gsd_test_input_helper_CFLAGS = $(libcommon_la_CFLAGS) - -EXTRA_DIST = $(scripts_DATA) daemon-skeleton.h daemon-skeleton-gtk.h - -CLEANFILES = \ - $(GSD_COMMON_ENUM_FILES) - -DISTCLEANFILES = - -glib_resources_c = gsd-resources.c -glib_resources_h = gsd-resources.h -glib_resources_xml = gsd.gresources.xml -glib_resources_namespace = gsd -include Makefile.am.gresources diff --git a/plugins/common/Makefile.am.gresources b/plugins/common/Makefile.am.gresources deleted file mode 100644 index 1441d0ee..00000000 --- a/plugins/common/Makefile.am.gresources +++ /dev/null @@ -1,34 +0,0 @@ -resources_xml=$(addprefix $(srcdir)/,$(glib_resources_xml)) -resources_srcdir=$(dir $(resources_xml)) - -DISTCLEANFILES += $(glib_resources_h) $(glib_resources_c) -BUILT_SOURCES += $(glib_resources_h) $(glib_resources_c) -CLEANFILES += stamp-resources $(glib_resources_c) $(glib_resources_h) -EXTRA_DIST += \ - $(glib_resources_xml) \ - $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(resources_srcdir) --generate-dependencies $(resources_xml)) \ - $(NULL) - -stamp-resources: $(glib_resources_c) $(resources_xml) - $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) \ - --target=xgen-gr.h \ - --sourcedir=$(resources_srcdir) \ - --generate-header \ - --c-name $(glib_resources_namespace) \ - $(resources_xml) \ - && (cmp -s xgen-gr.h $(glib_resources_h) || cp -f xgen-gr.h $(glib_resources_h)) \ - && rm -f xgen-gr.h \ - && echo timestamp > $(@F) - -$(glib_resources_h): stamp-resources - @true - -$(glib_resources_c): $(resources_xml) $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(resources_srcdir) --generate-dependencies $(resources_xml)) - $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) \ - --target=xgen-gr.c \ - --sourcedir=$(resources_srcdir) \ - --generate-source \ - --c-name $(glib_resources_namespace) \ - $(resources_xml) \ - && (cmp -s xgen-gr.c $(glib_resources_c) || cp -f xgen-gr.c $(glib_resources_c)) \ - && rm -f xgen-gr.c -- cgit v1.2.1