Commit ca41acc1 authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Automatically update the IDL_H_SRCS variable.

parent 4f3d71ce
......@@ -5,7 +5,6 @@ C_SRCS = \
infosoft_main.c \
wordbreaker.c
IDL_H_SRCS = infosoft.idl
IDL_R_SRCS = infosoft.idl
@MAKE_DLL_RULES@
......@@ -30,7 +30,6 @@ RC_SRCS = jscript.rc
IDL_TLB_SRCS = jsglobal.idl
IDL_R_SRCS = jscript_classes.idl
IDL_H_SRCS = jscript_classes.idl
BISON_SRCS = \
parser.y
......
......@@ -12,7 +12,6 @@ C_SRCS = \
style.c
IDL_TLB_SRCS = test_tlb.idl
IDL_H_SRCS = test_tlb.idl
RC_SRCS = rsrc.rc
......
......@@ -44,7 +44,6 @@ C_SRCS = \
upgrade.c \
where.c
IDL_H_SRCS = msiserver.idl
IDL_I_SRCS = msiserver.idl
IDL_R_SRCS = msiserver.idl
IDL_TLB_SRCS = msiserver.idl
......
......@@ -47,8 +47,6 @@ RC_SRCS = \
IDL_R_SRCS = xmlparser.idl
IDL_H_SRCS = xmlparser.idl
IDL_TLB_SRCS = msxml3_v1.idl
@MAKE_DLL_RULES@
......@@ -10,6 +10,4 @@ RC_SRCS = scrrun.rc
IDL_TLB_SRCS = scrrun.idl
IDL_H_SRCS = scrrun.idl
@MAKE_DLL_RULES@
......@@ -18,11 +18,6 @@ BISON_SRCS = \
RC_SRCS = vbscript.rc
IDL_H_SRCS = \
vbscript_classes.idl \
vbsglobal.idl \
vbsregexp55.idl
IDL_TLB_SRCS = \
vbsglobal.idl \
vbsregexp10.idl \
......
......@@ -6,7 +6,6 @@ C_SRCS = \
main.c
IDL_R_SRCS = wbemdisp_classes.idl
IDL_H_SRCS = wbemdisp_classes.idl
IDL_TLB_SRCS = wbemdisp_tlb.idl
......
......@@ -7,7 +7,6 @@ C_SRCS = \
RC_SRCS = wshom.rc
IDL_H_SRCS = wshom.idl
IDL_TLB_SRCS = wshom.idl
@MAKE_DLL_RULES@
......@@ -10,7 +10,6 @@ C_SRCS = \
host.c \
main.c
IDL_H_SRCS = ihost.idl
IDL_TLB_SRCS = ihost.idl
@MAKE_PROG_RULES@
......@@ -485,7 +485,7 @@ sub assign_sources_to_makefiles(@)
{
my %flags = get_makedep_flags( $file );
push @{${$make}{"=IDL_C_SRCS"}}, $name if defined $flags{"client"};
push @{${$make}{"=IDL_H_SRCS"}}, $name if defined $flags{"header"};
push @{${$make}{"=IDL_H_SRCS"}}, $name if defined $flags{"header"} || !(keys %flags);
push @{${$make}{"=IDL_I_SRCS"}}, $name if defined $flags{"ident"};
push @{${$make}{"=IDL_P_SRCS"}}, $name if defined $flags{"proxy"};
push @{${$make}{"=IDL_R_SRCS"}}, $name if defined $flags{"register"};
......@@ -510,6 +510,7 @@ sub assign_sources_to_makefiles(@)
unshift @{${$make}{"=SRCDIR_INCLUDES"}}, "\$(XTEMPLATE_SRCS)";
unshift @{${$make}{"=SRCDIR_INCLUDES"}}, "\$(PUBLIC_IDL_H_SRCS)";
unshift @{${$make}{"=SRCDIR_INCLUDES"}}, "\$(IDL_TLB_SRCS)";
unshift @{${$make}{"=IDL_H_SRCS"}}, "\$(PUBLIC_IDL_H_SRCS) \$(PRIVATE_IDL_H_SRCS)";
# preserve shared source files from the parent makefile
foreach my $file (@makefiles)
......@@ -619,6 +620,7 @@ sub update_makefiles(@)
replace_makefile_variable( $file, "PRIVATE_IDL_H_SRCS" );
replace_makefile_variable( $file, "PUBLIC_IDL_H_SRCS" );
replace_makefile_variable( $file, "IDL_C_SRCS" );
replace_makefile_variable( $file, "IDL_H_SRCS" );
replace_makefile_variable( $file, "IDL_I_SRCS" );
replace_makefile_variable( $file, "IDL_P_SRCS" );
replace_makefile_variable( $file, "IDL_R_SRCS" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment