Permalink
Browse files

[GH #922] addgenerated dynpmc headers in make, not pmc2c

rakudo and nqp do not have to clean a generated MANIFEST.generated.
  • Loading branch information...
1 parent 73c6d32 commit f79c114de0bb8a643b9bc9d21854bc0ab2779667 @rurban rurban committed Jan 10, 2013
Showing with 14 additions and 5 deletions.
  1. +2 −1 config/auto/pmc.pm
  2. +3 −3 lib/Parrot/Pmc2c/PMC.pm
  3. +9 −1 src/dynpmc/Rules.in
View
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2011, Parrot Foundation.
+# Copyright (C) 2001-2013, Parrot Foundation.
=head1 NAME
@@ -127,6 +127,7 @@ END
$TEMP_pmc_build .= <<END
src/pmc/$pmc.c : src/pmc/$pmc.dump
\t\$(PMC2CC) src/pmc/$pmc.pmc
+\t\@\$(ADDGENERATED) "include/pmc/pmc_$pmc.h" "[devel]" include
src/pmc/$pmc.dump : vtable.dump $parent_dumps src/pmc/$pmc.pmc \$(PMC2C_FILES) $pccmethod_depend
\t\$(PMC2CD) src/pmc/$pmc.pmc
@@ -1,4 +1,4 @@
-# Copyright (C) 2004-2012, Parrot Foundation.
+# Copyright (C) 2004-2013, Parrot Foundation.
=head1 NAME
@@ -487,8 +487,8 @@ sub generate {
Parrot::Pmc2c::Emitter->new( $h_file );
$self->generate_h_file;
$h_emitter->write_to_file;
- add_to_generated($h_file, "[devel]", "include")
- unless $self->is_dynamic and $self->name =~ /^(foo|foo2|rotest|pccmethod_test)$/;
+ #add_to_generated($h_file, "[devel]", "include")
+ # unless $self->is_dynamic and $self->name =~ /^(foo|foo2|rotest|pccmethod_test)$/;
}
=over 4
View
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2012, Parrot Foundation.
+# Copyright (C) 2010-2013, Parrot Foundation.
$(DYNEXT_DIR)/dynlexpad$(LOAD_EXT): src/dynpmc/dynlexpad$(O)
$(LD) @ld_out@$(DYNEXT_DIR)/dynlexpad$(LOAD_EXT) \
@@ -17,6 +17,7 @@ src/dynpmc/dynlexpad$(O): \
src/dynpmc/dynlexpad.c: src/dynpmc/dynlexpad.dump
$(PMC2CC) src/dynpmc/dynlexpad.pmc
+ $(ADDGENERATED) "src/dynpmc/pmc_dynlexpad.h" "[devel]" "include"
src/dynpmc/dynlexpad.dump: src/dynpmc/dynlexpad.pmc vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/dynlexpad.pmc
@@ -41,6 +42,7 @@ src/dynpmc/file$(O): \
src/dynpmc/file.c: src/dynpmc/file.dump
$(PMC2CC) src/dynpmc/file.pmc
+ $(ADDGENERATED) "src/dynpmc/pmc_file.h" "[devel]" "include"
src/dynpmc/file.dump: src/dynpmc/file.pmc vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/file.pmc
@@ -79,6 +81,7 @@ src/dynpmc/foo$(O): \
src/dynpmc/foo.c: src/dynpmc/foo.dump
$(PMC2CC) src/dynpmc/foo.pmc
+ $(ADDGENERATED) "src/dynpmc/pmc_foo.h" "[]" "include"
src/dynpmc/foo.dump: src/dynpmc/foo.pmc vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/foo.pmc
@@ -95,6 +98,7 @@ src/dynpmc/foo2$(O): \
src/dynpmc/foo2.c: src/dynpmc/foo2.dump src/dynpmc/foo.pmc
$(PMC2CC) src/dynpmc/foo2.pmc
+ $(ADDGENERATED) "src/dynpmc/pmc_foo2.h" "[]" "include"
src/dynpmc/foo2.dump: src/dynpmc/foo2.pmc src/dynpmc/foo.dump vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/foo2.pmc
@@ -120,6 +124,7 @@ src/dynpmc/gziphandle$(O): \
src/dynpmc/gziphandle.c: src/dynpmc/gziphandle.dump
$(PMC2CC) src/dynpmc/gziphandle.pmc
+ $(ADDGENERATED) "src/dynpmc/pmc_gziphandle.h" "[devel]" "include"
src/dynpmc/gziphandle.dump: src/dynpmc/gziphandle.pmc vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/gziphandle.pmc
@@ -216,6 +221,7 @@ src/dynpmc/rational$(O): \
src/dynpmc/rational.c: src/dynpmc/rational.dump
$(PMC2CC) src/dynpmc/rational.pmc
+ $(ADDGENERATED) "src/dynpmc/pmc_rational.h" "[devel]" "include"
src/dynpmc/rational.dump: src/dynpmc/rational.pmc vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/rational.pmc
@@ -240,6 +246,7 @@ src/dynpmc/subproxy$(O): \
src/dynpmc/subproxy.c: src/dynpmc/subproxy.dump
$(PMC2CC) src/dynpmc/subproxy.pmc
+ $(ADDGENERATED) "src/dynpmc/pmc_subproxy.h" "[devel]" "include"
src/dynpmc/subproxy.dump: src/dynpmc/subproxy.pmc vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/subproxy.pmc
@@ -263,6 +270,7 @@ src/dynpmc/select$(O): \
src/dynpmc/select.c: src/dynpmc/select.dump
$(PMC2CC) src/dynpmc/select.pmc
+ $(ADDGENERATED) "src/dynpmc/pmc_select.h" "[devel]" "include"
src/dynpmc/select.dump: src/dynpmc/select.pmc vtable.dump $(CLASS_O_FILES)
$(PMC2CD) src/dynpmc/select.pmc

0 comments on commit f79c114

Please sign in to comment.