Commit d4593274 authored by Alexandre Julliard's avatar Alexandre Julliard

makefiles: Generate explicit build rules for dlldata.c from makedep.

parent d9a75184
......@@ -65,11 +65,6 @@ CROSSOBJS = $(OBJS:.o=.cross.o)
.po.mo:
$(MSGFMT) -o $@ $<
# Rules for IDL files
dlldata.c: $(WIDL) Makefile.in
$(WIDL) $(IDLFLAGS) --dlldata-only -o $@ $(IDL_P_SRCS)
# Rules for main module
$(MODULE) $(MODULE:%=%.so) $(MODULE:%=%.fake): $(MAINSPEC) $(OBJS) Makefile.in
......
......@@ -1096,6 +1096,16 @@ static void output_sources(void)
if (strendswith( source->name, ".mc" )) output_filename( source->filename, &column );
output( "\n" );
}
if (find_src_file( "dlldata.o" ))
{
output( "dlldata.c: $(WIDL) Makefile.in\n" );
column = output( "\t$(WIDL) $(IDLFLAGS) --dlldata-only -o $@" );
LIST_FOR_EACH_ENTRY( source, &sources, struct incl_file, entry )
if (strendswith( source->name, ".idl" ) && find_target_src_file( source->name, "_p.c" ))
output_filename( source->filename, &column );
output( "\n" );
}
}
......
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