AM_CPPFLAGS = \ -I$(top_srcdir) \ -DG_LOG_DOMAIN=\"libxfce4panel\" \ -DLIBXFCE4PANEL_COMPILATION \ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \ $(PLATFORM_CPPFLAGS) lib_LTLIBRARIES = \ libxfce4panel-1.0.la libxfce4panel_public_built_sources = \ libxfce4panel-enum-types.h libxfce4panel_built_sources = \ $(libxfce4panel_public_built_sources) \ libxfce4panel-alias.h \ libxfce4panel-aliasdef.c \ libxfce4panel-enum-types.c \ libxfce4panel-marshal.c \ libxfce4panel-marshal.h libxfce4panel_headers = \ libxfce4panel.h \ libxfce4panel-config.h \ libxfce4panel-enums.h \ xfce-arrow-button.h \ xfce-hvbox.h \ xfce-panel-convenience.h \ xfce-panel-macros.h \ xfce-panel-macros-46.h \ xfce-panel-plugin.h \ xfce-panel-plugin-provider.h \ xfce-panel-image.h libxfce4panel_includedir = \ $(includedir)/xfce4/libxfce4panel-$(LIBXFCE4PANEL_VERSION_API)/libxfce4panel libxfce4panel_include_HEADERS = \ $(libxfce4panel_public_built_sources) \ $(libxfce4panel_headers) libxfce4panel_1_0_la_SOURCES = \ $(libxfce4panel_built_sources) \ $(libxfce4panel_headers) \ libxfce4panel-config.c \ xfce-arrow-button.c \ xfce-hvbox.c \ xfce-panel-convenience.c \ xfce-panel-plugin.c \ xfce-panel-plugin-provider.c \ xfce-panel-image.c libxfce4panel_1_0_la_CFLAGS = \ $(GTK_CFLAGS) \ $(LIBXFCE4UTIL_CFLAGS) \ $(PLATFORM_CFLAGS) libxfce4panel_1_0_la_LDFLAGS = \ -no-undefined \ -export-dynamic \ -version-info $(LIBXFCE4PANEL_VERINFO) \ -export-symbols-regex '^[^_].*' \ $(PLATFORM_LDFLAGS) libxfce4panel_1_0_la_LIBADD = \ $(GTK_LIBS) \ $(LIBXFCE4UTIL_LIBS) \ -lm # # Pkg-config file # pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libxfce4panel-$(LIBXFCE4PANEL_VERSION_API).pc # # Build sources # if MAINTAINER_MODE libxfce4panel-marshal.h: libxfce4panel-marshal.list Makefile $(AM_V_GEN) glib-genmarshal --prefix=_libxfce4panel_marshal --internal --header $< > $@ libxfce4panel-marshal.c: libxfce4panel-marshal.list Makefile $(AM_V_GEN) echo "#include " > $@ \ && glib-genmarshal --prefix=_libxfce4panel_marshal --body $< >> $@ libxfce4panel-alias.h: make-libxfce4panel-alias.pl libxfce4panel.symbols $(AM_V_GEN) $(PERL) $(srcdir)/make-libxfce4panel-alias.pl $(srcdir)/libxfce4panel.symbols > $@ libxfce4panel-aliasdef.c: make-libxfce4panel-alias.pl libxfce4panel.symbols $(AM_V_GEN) $(PERL) $(srcdir)/make-libxfce4panel-alias.pl -def < $(srcdir)/libxfce4panel.symbols > $@ libxfce4panel-enum-types.h: $(libxfce4panel_headers) Makefile $(AM_V_GEN) ( cd $(srcdir) && glib-mkenums \ --fhead "#ifndef __LIBXFCE4PANEL_ENUM_TYPES_H__\n#define __LIBXFCE4PANEL_ENUM_TYPES_H__\n#include \nG_BEGIN_DECLS\n" \ --fprod "/* enumerations from \"@filename@\" */\n" \ --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define XFCE_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ --ftail "G_END_DECLS\n\n#endif /* !__LIBXFCE4PANEL_ENUM_TYPES_H__ */" \ $(libxfce4panel_headers) ) > $@ libxfce4panel-enum-types.c: $(libxfce4panel_headers) Makefile $(AM_V_GEN) ( cd $(srcdir) && glib-mkenums \ --fhead "#include \n#include \n#include " \ --fprod "\n/* enumerations from \"@filename@\" */" \ --vhead "GType\n@enum_name@_get_type (void)\n{\n\tstatic GType type = 0;\n\tif (type == 0) {\n\tstatic const G@Type@Value values[] = {"\ --vprod "\t{ @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ --vtail "\t{ 0, NULL, NULL }\n\t};\n\ttype = g_@type@_register_static (\"@EnumName@\", values);\n }\n\treturn type;\n}\n" \ --ftail "\n#define __LIBXFCE4PANEL_ENUM_TYPES_C__\n#include \n" \ $(libxfce4panel_headers) ) > $@ DISTCLEANFILES = \ $(libxfce4panel_built_sources) BUILT_SOURCES = \ $(libxfce4panel_built_sources) CLEANFILES = \ actual-abi \ expected-abi endif EXTRA_DIST = \ abicheck.sh \ libxfce4panel.symbols \ libxfce4panel-alias.h \ libxfce4panel-aliasdef.c \ libxfce4panel-marshal.list \ make-libxfce4panel-alias.pl if HAVE_GNUC_VISIBILITY TESTS = abicheck.sh endif # required for gtk-doc dist-hook: all # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: