|
|
@@ -724,6 +724,7 @@ $[target] : $[source]
|
|
|
$[TAB] $[BISON] $[YFLAGS] -y $[if $[YACC_PREFIX],-d --name-prefix=$[YACC_PREFIX]] $[source]
|
|
|
$[TAB] move y.tab.c $[target]
|
|
|
$[TAB] move y.tab.h $[patsubst %.yxx,%.h,$[source]]
|
|
|
+$[target_header] : $[target]
|
|
|
$[target].prebuilt : $[target]
|
|
|
$[TAB] copy $[target] $[target].prebuilt
|
|
|
$[target_header].prebuilt : $[target_header]
|
|
|
@@ -809,7 +810,7 @@ $[TAB] $[COMPILE_C]
|
|
|
|
|
|
// Yacc must run before some files can be compiled, so all files
|
|
|
// depend on yacc having run.
|
|
|
-$[target] : $[source] $[dependencies $[file]] $[yxx_st_sources:%.yxx=%.cxx] $[target_pch]
|
|
|
+$[target] : $[source] $[dependencies $[file]] $[yxx_st_sources:%.yxx=%.h] $[target_pch]
|
|
|
$[TAB] $[COMPILE_LINE]
|
|
|
|
|
|
#end file
|
|
|
@@ -842,7 +843,7 @@ $[TAB] $[COMPILE_LINE]
|
|
|
|
|
|
// Yacc must run before some files can be compiled, so all files
|
|
|
// depend on yacc having run.
|
|
|
-$[target] : $[source] $[dependencies $[file]] $[yxx_st_sources:%.yxx=%.cxx] $[target_pch]
|
|
|
+$[target] : $[source] $[dependencies $[file]] $[yxx_st_sources:%.yxx=%.h] $[target_pch]
|
|
|
$[TAB] $[COMPILE_LINE]
|
|
|
|
|
|
#end file
|
|
|
@@ -878,7 +879,7 @@ $[target_pch] : $[target_obj]
|
|
|
#define flags $[noopt_c++flags] $[CFLAGS_SHARED] $[all_sources $[building_var:%=/D%],$[file]]
|
|
|
// Yacc must run before some files can be compiled, so all files
|
|
|
// depend on yacc having run.
|
|
|
-$[target] : $[source] $[dependencies $[file]] $[yxx_so_sources:%.yxx=%.cxx]
|
|
|
+$[target] : $[source] $[dependencies $[file]] $[yxx_so_sources:%.yxx=%.h]
|
|
|
$[TAB] $[COMPILE_C++]
|
|
|
|
|
|
#end file
|
|
|
@@ -890,7 +891,7 @@ $[TAB] $[COMPILE_C++]
|
|
|
#define source $[patsubst %.lxx %.yxx,%.cxx,$[file]]
|
|
|
#define ipath $[file_ipath]
|
|
|
#define flags $[noopt_c++flags] $[all_sources $[building_var:%=/D%],$[file]]
|
|
|
-$[target] : $[source] $[dependencies $[file]] $[yxx_st_sources:%.yxx=%.cxx]
|
|
|
+$[target] : $[source] $[dependencies $[file]] $[yxx_st_sources:%.yxx=%.h]
|
|
|
$[TAB] $[COMPILE_C++]
|
|
|
|
|
|
#end file
|