makefiles: Generate explicit build rules for dlldata.c from makedep.
This commit is contained in:
parent
d9a75184c7
commit
d4593274dc
|
@ -65,11 +65,6 @@ CROSSOBJS = $(OBJS:.o=.cross.o)
|
||||||
.po.mo:
|
.po.mo:
|
||||||
$(MSGFMT) -o $@ $<
|
$(MSGFMT) -o $@ $<
|
||||||
|
|
||||||
# Rules for IDL files
|
|
||||||
|
|
||||||
dlldata.c: $(WIDL) Makefile.in
|
|
||||||
$(WIDL) $(IDLFLAGS) --dlldata-only -o $@ $(IDL_P_SRCS)
|
|
||||||
|
|
||||||
# Rules for main module
|
# Rules for main module
|
||||||
|
|
||||||
$(MODULE) $(MODULE:%=%.so) $(MODULE:%=%.fake): $(MAINSPEC) $(OBJS) Makefile.in
|
$(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 );
|
if (strendswith( source->name, ".mc" )) output_filename( source->filename, &column );
|
||||||
output( "\n" );
|
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" );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue