2012-06-18  Alexandre Lissy  <alissy@mandriva.com>

	* MELT-Plugin-Makefile (distclean,clean,test): new phony targets
	to make package makers happier.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188724 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-18  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-module.mk (GCCMELT_SECONDARY_CFILES): Rename
	GCCMELT_SECONDARIES variable.
	(GCCMELT_SECONDARY_MD5SUMS): Rename -GCCMELT_SECONDARIES_MD5
	variable.
	(GCCMELT_PRIMARY_MDSUMED_BASE): Rename GCCMELT_PRIMARY_OBJ
	variable.
	(GCCMELT_SECONDARY_MDSUMED_BASES): Rename GCCMELT_SECONDARIES_OBJ
	variable.
	Updated rules accordingly.
	(melt_module): Use melt_workspace.
	(melt_workspace): New phony target.

	* melt/warmelt-base.melt (string4out): New function.

	* melt/xtramelt-probe.melt (scanprobe_exec): Use it.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188730 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-18  Basile Starynkevitch  <basile@starynkevitch.net>

	{{Regenerate}}
	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+01.c: Regenerate.
	* melt/generated/warmelt-base+02.c: Regenerate.
	* melt/generated/warmelt-base+03.c: New generated file.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-base.c: Regenerate.
	* melt/generated/warmelt-debug+01.c: Regenerate.
	* melt/generated/warmelt-debug+02.c: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-debug.c: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-first.c: Regenerate.
	* melt/generated/warmelt-genobj+04.c: Regenerate.
	* melt/generated/warmelt-genobj+05.c: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj.c: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-macro.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normal.c: Regenerate.
	* melt/generated/warmelt-normatch+04.c: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188734 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-19  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-outobj.melt (output_melt_descriptor): Start adding
	generation of make fragment file FOO+meltbuild.mk ...



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188767 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-19  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-outobj.melt (output_melt_descriptor): Better
	generation of make fragment file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188769 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-18  Basile Starynkevitch  <basile@starynkevitch.net>

	{{Regenerate}}

	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj+04.c: Regenerate.
	* melt/generated/warmelt-outobj+05.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188770 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-19  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-outobj.melt (output_melt_descriptor): Generete
	dependency of .descr.pic.o file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188772 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-19  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-outobj.melt (output_melt_descriptor): Generated
	dependencies assume all binary object and module files are prefixed 
	by $(GCCMELTGEN_BUILD).



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188773 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-19  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-outobj.melt (output_melt_descriptor): Emit eof
	comment for FOO+meltbuild.mk generated file.

	{{Regenerate}}
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj+04.c: Regenerate.
	* melt/generated/warmelt-outobj+05.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188775 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-19  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-module.mk (GCCMELTGEN_BUILD): Define
	include  $(GCCMELT_MODULE_SOURCEBASE)+meltbuild.mk



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188777 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-19  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-module.mk: Add rules for various *.meltpic.o



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188779 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-19  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-module.mk: Add rules for various *.meltmod.so and make a
	symlink if MELTGEN_MODULENAME defined.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188790 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-20  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-module.mk: Handle appropriate *mdsumed.c symlinks with
	special rules for them, e..g.
	($(GCCMELTGEN_BUILD)%.quicklybuilt.meltmdsumedpic.o): New rules
	($(GCCMELTGEN_BUILD)%.optimized.meltmdsumedpic.o): New rules
	etc...



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188825 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-20  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Adding support of use_package_from_pkg_config macro}}

	* melt/warmelt-first.melt (class_module_context): Add
	mocx_packagepclist field.

	* melt/warmelt-macro.melt (class_source_use_package_from_pkg_config): New class.
	(mexpand_use_package_from_pkg_config): New macro expander.
	(use_package_from_pkg_config, use-package-from-pkg-config): New
	synonymous macros.

	* melt/warmelt-normal.melt (normexp_use_package_from_pkg_config):
	New method for normal_exp of
	class_source_use_package_from_pkg_config

	* melt/warmelt-outobj.melt (compile_list_sexpr): Initialize
	the :mocx_packagepclist field.
	(output_melt_descriptor): New modctx argument.
	Emit package information in makefile chunk.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188828 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-20  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-module.mk (GCCMELT_PACKAGES_CFLAGS,GCCMELT_PACKAGES_LIBES):
	Define and use them for package support.
	See https://groups.google.com/d/topic/gcc-melt/c2iPrRJHn88



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188831 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-20  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Regenerate}}
	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-base.c: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-debug.c: Regenerate.
	* melt/generated/warmelt-first+01.c: Regenerate.
	* melt/generated/warmelt-first+02.c: Regenerate.
	* melt/generated/warmelt-first+03.c: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-first.c: Regenerate.
	* melt/generated/warmelt-genobj+04.c: Regenerate.
	* melt/generated/warmelt-genobj+05.c: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj.c: Regenerate.
	* melt/generated/warmelt-macro+01.c: Regenerate.
	* melt/generated/warmelt-macro+02.c: Regenerate.
	* melt/generated/warmelt-macro+03.c: Regenerate.
	* melt/generated/warmelt-macro+04.c: Regenerate.
	* melt/generated/warmelt-macro+05.c: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-macro.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-normal+01.c: Regenerate.
	* melt/generated/warmelt-normal+02.c: Regenerate.
	* melt/generated/warmelt-normal+03.c: Regenerate.
	* melt/generated/warmelt-normal+04.c: Regenerate.
	* melt/generated/warmelt-normal+05.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normal.c: Regenerate.
	* melt/generated/warmelt-normatch+04.c: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch.c: Regenerate.
	* melt/generated/warmelt-outobj+04.c: Regenerate.
	* melt/generated/warmelt-outobj+05.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188832 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-20  Basile Starynkevitch  <basile@starynkevitch.net>
        MELT branch merged with trunk rev 188833 using svnmerge



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188839 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-21  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-modes.melt (tranlateinitmodule_mode): New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188850 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-20  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Regenerate}}

	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-modes+01.c: Regenerate.
	* melt/generated/warmelt-modes+02.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188851 138bc75d-0d04-0410-961f-82ee72b054a4

2012-06-21  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Adding variants to translateinit modes}}
	* melt/warmelt-modes.melt (translateinit_flavored): New.
	(translateinitmodulequicklybuilt_mode)
	(translateinitmoduledebugnoline_mode)
	(translateinitmoduleoptimized_mode): New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188888 138bc75d-0d04-0410-961f-82ee72b054a4