From e20daf604e81ebd473c74dedda725bca27cd8dd1 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Thu, 11 Feb 2021 15:29:17 +0100 Subject: Remove Automake-related files --- src/Makefile.am | 149 ------------------------------------ src/ayatana-indicator-0.4.pc.in.in | 17 ---- src/ayatana-indicator3-0.4.pc.in.in | 16 ---- 3 files changed, 182 deletions(-) delete mode 100644 src/Makefile.am delete mode 100644 src/ayatana-indicator-0.4.pc.in.in delete mode 100644 src/ayatana-indicator3-0.4.pc.in.in (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 4933c71..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,149 +0,0 @@ -if USE_GTK3 -VER=3 -lib_LTLIBRARIES = libayatana-indicator3.la -else -VER= -lib_LTLIBRARIES = libayatana-indicator.la -GTK_DISABLE_DEPRECATED = -DGTK_DISABLE_DEPRECATED -endif - -BUILT_SOURCES = indicator-object-enum-types.h indicator-object-enum-types.c -CLEANFILES = -DISTCLEANFILES = -EXTRA_DIST = \ - ayatana-indicator3-0.$(INDICATOR_API_VERSION).pc.in.in \ - ayatana-indicator-0.$(INDICATOR_API_VERSION).pc.in.in - -INDICATOR_ABI_VERSION = 7 -INDICATOR_API_VERSION = 4 - -%.pc: %.pc.in - sed \ - -e "s|\@indicator_api_version\@|$(INDICATOR_API_VERSION)|" \ - -e "s|\@indicator_abi_version\@|$(INDICATOR_ABI_VERSION)|" \ - $< > $@ - -CLEANFILES += ayatana-indicator$(VER)-0.$(INDICATOR_API_VERSION).pc - -include $(top_srcdir)/Makefile.am.marshal - -libayatana_indicatorincludedir=$(includedir)/libayatana-indicator$(VER)-0.$(INDICATOR_API_VERSION)/libayatana-indicator - -indicator_headers = \ - indicator.h \ - indicator-desktop-shortcuts.h \ - indicator-image-helper.h \ - indicator-object.h \ - indicator-service.h \ - indicator-service-manager.h - -if USE_GTK3 -indicator_headers += \ - indicator-ng.h -endif - -libayatana_indicatorinclude_HEADERS = \ - $(indicator_headers) - -libayatana_indicator_la_SOURCES = \ - $(indicator_headers) \ - dbus-shared.h \ - gen-indicator-service.xml.h \ - gen-indicator-service.xml.c \ - indicator-object.c \ - indicator-object-enum-types.c \ - indicator-desktop-shortcuts.c \ - indicator-image-helper.c \ - indicator-object-marshal.h \ - indicator-object-marshal.c \ - indicator-service.c \ - indicator-service-manager.c - -if USE_GTK3 -libayatana_indicator_la_SOURCES += \ - indicator-ng.c -endif - -libayatana_indicator_la_CFLAGS = \ - $(LIBINDICATOR_CFLAGS) \ - $(LIBINDICATOR_IDO_CFLAGS) \ - $(COVERAGE_CFLAGS) \ - $(GTK_DISABLE_DEPRECATED) \ - -DG_LOG_DOMAIN=\"libayatana-indicator\" \ - -Wall -Wno-error=deprecated-declarations - -libayatana_indicator_la_LIBADD = \ - $(LIBINDICATOR_LIBS) \ - $(LIBINDICATOR_IDO_LIBS) \ - $(LIBM) - -libayatana_indicator_la_LDFLAGS = \ - $(COVERAGE_LDFLAGS) \ - -version-info $(INDICATOR_ABI_VERSION):0:0 \ - -no-undefined \ - -export-symbols-regex "^[^_].*" - -# We duplicate these here because Automake won't let us use $(VER) on the left hand side. -# Since we carefully use $(VER) in the right hand side above, we can assign the same values. -# Only one version of the library is every compiled at the same time, so it is safe to reuse -# the right hand sides like this. -libayatana_indicator3includedir = $(libayatana_indicatorincludedir) -libayatana_indicator3include_HEADERS = $(indicator_headers) -libayatana_indicator3_la_SOURCES = $(libayatana_indicator_la_SOURCES) -libayatana_indicator3_la_CFLAGS = $(libayatana_indicator_la_CFLAGS) -libayatana_indicator3_la_LIBADD = $(libayatana_indicator_la_LIBADD) -libayatana_indicator3_la_LDFLAGS = $(libayatana_indicator_la_LDFLAGS) - -pkgconfig_DATA = ayatana-indicator$(VER)-0.$(INDICATOR_API_VERSION).pc -pkgconfigdir = $(libdir)/pkgconfig - -glib_marshal_list = indicator-object-marshal.list -glib_marshal_prefix = _indicator_object_marshal - -indicator-object-enum-types.h: s-enum-types-h - @true -s-enum-types-h: $(indicator_headers) - ( cd $(srcdir) && $(GLIB_MKENUMS) --template $(abs_srcdir)/indicator-object-enum-types.h.template \ - $(indicator_headers) ) >> tmp-indicator-object-enum-types.h \ - && (cmp -s tmp-indicator-object-enum-types.h indicator-object-enum-types.h || cp tmp-indicator-object-enum-types.h indicator-object-enum-types.h ) \ - && rm -f tmp-indicator-object-enum-types.h && echo timestamp > $(@F) - -indicator-object-enum-types.c: s-enum-types-c - @true -s-enum-types-c: $(indicator_headers) - ( cd $(srcdir) && $(GLIB_MKENUMS) --template $(abs_srcdir)/indicator-object-enum-types.c.template \ - $(indicator_headers) ) > tmp-indicator-object-enum-types.c \ - && (cmp -s tmp-indicator-object-enum-types.c indicator-object-enum-types.c || cp tmp-indicator-object-enum-types.c indicator-object-enum-types.c ) \ - && rm -f tmp-indicator-object-enum-types.c - -EXTRA_DIST += indicator-object-enum-types.h.template indicator-object-enum-types.c.template -CLEANFILES += \ - indicator-object-enum-types.h \ - indicator-object-enum-types.c \ - s-enum-types-h \ - s-enum-types-c - -################################## -# DBus Specs -################################## - -DBUS_SPECS = \ - indicator-service.xml - -gen-%.xml.h: %.xml - @echo "Building $@ from $<" - @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<))));" > $@ - -gen-%.xml.c: %.xml - @echo "Building $@ from $<" - echo "const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<)))) = " > $@ - @sed -e "s:\":\\\\\":g" -e s:^:\": -e s:\$$:\\\\n\": $< >> $@ - @echo ";" >> $@ - -BUILT_SOURCES += \ - gen-indicator-service.xml.h \ - gen-indicator-service.xml.c - -CLEANFILES += $(BUILT_SOURCES) - -EXTRA_DIST += $(DBUS_SPECS) diff --git a/src/ayatana-indicator-0.4.pc.in.in b/src/ayatana-indicator-0.4.pc.in.in deleted file mode 100644 index 02ff40d..0000000 --- a/src/ayatana-indicator-0.4.pc.in.in +++ /dev/null @@ -1,17 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -bindir=@bindir@ -includedir=@includedir@ - -indicatordir=${exec_prefix}/lib/ayatana-indicators/@indicator_abi_version@ -iconsdir=@datarootdir@/@PACKAGE@/icons/ - -Cflags: -I${includedir}/libayatana-indicator-0.@indicator_api_version@ -Requires: gtk+-2.0 -Libs: -layatana-indicator - -Name: libayatana-indicator -Description: libayatana-indicator. -Version: @VERSION@ - diff --git a/src/ayatana-indicator3-0.4.pc.in.in b/src/ayatana-indicator3-0.4.pc.in.in deleted file mode 100644 index ff0862e..0000000 --- a/src/ayatana-indicator3-0.4.pc.in.in +++ /dev/null @@ -1,16 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -bindir=@bindir@ -includedir=@includedir@ - -indicatordir=${exec_prefix}/lib/ayatana-indicators3/@indicator_abi_version@/ -iconsdir=@datarootdir@/@PACKAGE@/icons/ - -Cflags: -I${includedir}/libayatana-indicator3-0.@indicator_api_version@ -Requires: gtk+-3.0 -Libs: -layatana-indicator3 - -Name: libayatana-indicator3 -Description: libayatana-indicator3. -Version: @VERSION@ -- cgit v1.2.3