Ticket #1516: patch.root.in

File patch.root.in, 1.2 KB (added by gerd, 5 years ago)

really only a little first step

Line 
1Index: config/gen/makefiles/root.in
2===================================================================
3--- config/gen/makefiles/root.in        (Revision 45754)
4+++ config/gen/makefiles/root.in        (Arbeitskopie)
5@@ -222,7 +222,7 @@
6        runtime/parrot/include/pmctypes.pasm \
7 
8 GEN_PM_INCLUDES = \
9-       lib/Parrot/Pmc2c/PCCMETHOD_BITS.pm
10+       $(BUILD_DIR)/lib/Parrot/Pmc2c/PCCMETHOD_BITS.pm
11 
12 CONFIGURE_GENERATED_FILES = \
13     $(GEN_CONFIGS) \
14@@ -691,7 +691,7 @@
15 .pmc.c : # suffix rule (limited support)
16        $(PMC2CC) $<
17 
18-vtable.dump : src/vtable.tbl lib/Parrot/Pmc2c/PCCMETHOD_BITS.pm
19+vtable.dump : src/vtable.tbl $(BUILD_DIR)/lib/Parrot/Pmc2c/PCCMETHOD_BITS.pm
20        $(PMC2CV)
21 
22 # This is a listing of all targets meant to be called by users
23@@ -1082,7 +1082,8 @@
24        $(PERL) $(H2INC) $(INC_DIR)/enums.h $@
25 runtime/parrot/include/call_bits.pasm : $(INC_DIR)/enums.h $(H2INC)
26        $(PERL) $(H2INC) $(INC_DIR)/enums.h $@
27-lib/Parrot/Pmc2c/PCCMETHOD_BITS.pm : $(INC_DIR)/enums.h $(H2INC)
28+$(BUILD_DIR)/lib/Parrot/Pmc2c/PCCMETHOD_BITS.pm : $(INC_DIR)/enums.h $(H2INC)
29+       $(MKPATH) $(BUILD_DIR)/lib/Parrot/Pmc2c
30        $(PERL) $(H2INC) $(INC_DIR)/enums.h $@
31 
32 runtime/parrot/include/libpaths.pasm : $(INC_DIR)/library.h $(H2INC)