[2/4] winemaker: Generate def file from spec file with winebuild (try 2)

Alexandre Julliard julliard at winehq.org
Wed Oct 10 05:54:45 CDT 2012


André Hentschel <nerv at dawncrow.de> writes:

> @@ -2569,6 +2570,7 @@ sub generate_project_files($)
>          print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS) \$(${canon}_MODULE:.dll=.def)\n";
>        } elsif (@$target[$T_TYPE] == $TT_DLL) {
>          print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS) \$(${canon}_MODULE:.dll=.spec)\n";
> +        print FILEO "\t\$(WINEBUILD) --def -E \$(${canon}_MODULE:.dll=.spec) -o lib\$(${canon}_MODULE:.dll=.def)\n";

That's not much better. You should have a proper target for it, and a
dependency from the modules that import that dll.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list