X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=cut-n-paste%2Ftoolbar-editor%2FMakefile.am;h=b3e843ec6e7288bc9b6a4ed14ee43b7686ca4abf;hb=d937b8505ff14af15ae0372ab40a0e81a93b728c;hp=26e0b5f95c3fb249a245710290971876f5f5b05f;hpb=50ba6d2ea8219ef2ec7b69e027b2a0f8f803e5a6;p=evince.git diff --git a/cut-n-paste/toolbar-editor/Makefile.am b/cut-n-paste/toolbar-editor/Makefile.am index 26e0b5f9..b3e843ec 100644 --- a/cut-n-paste/toolbar-editor/Makefile.am +++ b/cut-n-paste/toolbar-editor/Makefile.am @@ -10,23 +10,23 @@ EGGHEADERS = \ noinst_HEADERS = \ $(EGGHEADERS) \ - eggmarshalers.h \ - eggintl.h + eggmarshalers.h -noinst_LTLIBRARIES = libegg.la +noinst_LTLIBRARIES = libtoolbareditor.la -libegg_la_SOURCES = \ +libtoolbareditor_la_SOURCES = \ $(BUILT_SOURCES) \ $(EGGSOURCES) \ $(EGGHEADERS) -libegg_la_CPPFLAGS = \ - -I$(top_builddir)/lib/egg \ - -DCURSOR_DIR=\"$(pkgdatadir)/art\" \ +libtoolbareditor_la_CPPFLAGS = \ $(AM_CPPFLAGS) -libegg_la_CFLAGS = \ - $(TOOLBAR_EDITOR_CFLAGS) \ +libtoolbareditor_la_CFLAGS = \ + $(SHELL_CORE_CFLAGS) \ + $(WARN_CFLAGS) \ + $(DISABLE_DEPRECATED) \ + -DCURSOR_DIR=\"$(pkgdatadir)\" \ $(AM_CFLAGS) BUILT_SOURCES = \ @@ -44,19 +44,20 @@ stamp_files = \ eggmarshalers.h: stamp-eggmarshalers.h @true stamp-eggmarshalers.h: eggmarshalers.list - $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header > eggmarshalers.h \ + $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header > eggmarshalers.h \ && echo timestamp > $(@F) eggmarshalers.c: stamp-eggmarshalers.c @true stamp-eggmarshalers.c: eggmarshalers.list - $(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header --body > eggmarshalers.c \ + $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=_egg_marshal $(srcdir)/eggmarshalers.list --header --body > eggmarshalers.c \ && echo timestamp > $(@F) eggtypebuiltins.c: stamp-eggtypebuiltins.c @true stamp-eggtypebuiltins.c: $(EGGHEADERS) - ( cd $(srcdir) && $(GLIB_MKENUMS) \ + $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \ + --fhead "#include \n\n" \ --fhead "#include \"eggtypebuiltins.h\"\n\n" \ --fprod "\n/* enumerations from \"@filename@\" */" \ --fprod "\n#include \"@filename@\"" \ @@ -76,7 +77,7 @@ stamp-eggtypebuiltins.c: $(EGGHEADERS) eggtypebuiltins.h: stamp-eggtypebuiltins.h @true stamp-eggtypebuiltins.h: $(EGGHEADERS) - ( cd $(srcdir) && $(GLIB_MKENUMS) \ + $(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) \ --fhead "#ifndef __EGGTYPEBUILTINS_H__\n" \ --fhead "#define __EGGTYPEBUILTINS_H__ 1\n\n" \ --fhead "#include \n\n" \ @@ -103,3 +104,5 @@ regenerate-built-sources: CLEANFILES = $(stamp_files) $(BUILT_SOURCES) DISTCLEANFILES = $(stamp_files) $(BUILT_SOURCES) MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES) + +-include $(top_srcdir)/git.mk