diff --git a/ChangeLog b/ChangeLog index 85208e441..a300268de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-01-23 Mike Kestner + + * Makefile.include: + * doc/Makefile.am: + * glib/Makefile.am: + * gtkdotnet/Makefile.am: parallel make patches from Diego Pettenò + and Bertrand Lorentz. [Fixes #421063] + 2009-01-13 Brad Taylor * atk/Atk.metadata: Bind GetRunAttributes and GetDefaultAttributes as diff --git a/Makefile.include b/Makefile.include index 1414e4727..424b6e596 100644 --- a/Makefile.include +++ b/Makefile.include @@ -46,12 +46,11 @@ $(SNK): $(top_srcdir)/$(SNK) AssemblyInfo.cs: $(top_builddir)/AssemblyInfo.cs cp $(top_builddir)/AssemblyInfo.cs . -$(POLICY_ASSEMBLIES): $(top_builddir)/policy.config $(SNK) - @for i in $(POLICY_VERSIONS); do \ - echo "Creating policy.$$i.$(ASSEMBLY)"; \ - sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$$i/" $(top_builddir)/policy.config > policy.$$i.config; \ - $(AL) -link:policy.$$i.config -out:policy.$$i.$(ASSEMBLY) -keyfile:$(SNK); \ - done +policy.%.config: $(top_builddir)/policy.config + sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ + +$(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config $(SNK) + $(AL) -link:policy.$*.config -out:$@ -keyfile:$(SNK) build_sources = $(addprefix $(srcdir)/, $(sources)) AssemblyInfo.cs build_references = $(addprefix /r:, $(references)) $(MONO_CAIRO_LIBS) diff --git a/doc/Makefile.am b/doc/Makefile.am index 1e7af8fdf..9e8b5e375 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -31,7 +31,9 @@ monodoc_DATA=$(TARGETS) assemble: gtk-sharp-docs.zip gtk-sharp-docs.tree -gtk-sharp-docs.zip gtk-sharp-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml +gtk-sharp-docs.tree: gtk-sharp-docs.zip + +gtk-sharp-docs.zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml $(MDOC) assemble -o gtk-sharp-docs $(srcdir)/en get-assemblies: diff --git a/glib/Makefile.am b/glib/Makefile.am index dcebe3d65..7e31f3870 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -102,12 +102,11 @@ $(ASSEMBLY): $(build_sources) gtk-sharp.snk AssemblyInfo.cs $(CSC) $(CSFLAGS) -unsafe -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(references) $(build_sources) $(GAPI_CDECL_INSERT) -$(POLICY_ASSEMBLIES): $(top_builddir)/policy.config gtk-sharp.snk - @for i in $(POLICY_VERSIONS); do \ - echo "Creating policy.$$i.$(ASSEMBLY)"; \ - sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$$i/" $(top_builddir)/policy.config > policy.$$i.config; \ - $(AL) -link:policy.$$i.config -out:policy.$$i.$(ASSEMBLY) -keyfile:gtk-sharp.snk; \ - done +policy.%.config: $(top_builddir)/policy.config + sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ + +$(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk + $(AL) -link:policy.$*.config -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \ diff --git a/gtkdotnet/Makefile.am b/gtkdotnet/Makefile.am index 2ea69ec6c..56615a879 100644 --- a/gtkdotnet/Makefile.am +++ b/gtkdotnet/Makefile.am @@ -45,12 +45,11 @@ $(ASSEMBLY): $(build_sources) $(references) gtk-sharp.snk AssemblyInfo.cs $(CSC) $(CSFLAGS) -nowarn:0169,0612,0618 -out:$(ASSEMBLY) -target:library $(build_references) $(build_sources) $(GAPI_CDECL_INSERT) -$(POLICY_ASSEMBLIES): $(top_builddir)/policy.config gtk-sharp.snk - @for i in $(POLICY_VERSIONS); do \ - echo "Creating policy.$$i.$(ASSEMBLY)"; \ - sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$$i/" $(top_builddir)/policy.config > policy.$$i.config; \ - $(AL) -link:policy.$$i.config -out:policy.$$i.$(ASSEMBLY) -keyfile:gtk-sharp.snk; \ - done +policy.%.config: $(top_builddir)/policy.config + sed -e "s/@ASSEMBLY_NAME@/$(ASSEMBLY_NAME)/" -e "s/@POLICY@/$*/" $(top_builddir)/policy.config > $@ + +$(POLICY_ASSEMBLIES) : policy.%.$(ASSEMBLY): policy.%.config gtk-sharp.snk + $(AL) -link:policy.$*.config -out:$@ -keyfile:gtk-sharp.snk install-data-local: @if test -n '$(TARGET)'; then \