Added H_SRCS (used by msvcmaker)

Patrik Stridvall ps at leissner.se
Thu Aug 29 14:54:54 CDT 2002


> Patrik Stridvall <ps at leissner.se> writes:
> 
> > Perhaps files such as include/winuser.h should be included
> > for USER32 for example?
> > 
> > Anyway what do you think about adding H_SRCS to
> > every Makefile.in file?
> 
> I don't think we want that, especially if you want to add all relevant
> includes it's going to be a nightmare to maintain. 

Yes, I'm a little worried about that myself, but then the C_SRCS
doesn't change that often and the H_SRCS are likely to change
MUCH less.

Futhermore it doesn't really matter if it out out sync either.
If somebody developing in MSVC misses a file he can add it.
It not like Wine won't build correctly.

> And make depend (or
> some perl equivalent) can easily determine that information for you.

Well, if you just want all .h files the DLL depends on MSVC already have
that
in a automatically generated "folder" called External dependencies.

The H_SRCS is mostly for the .h files that you are likely to want to look at
or 
modify while developing the DLL under MSVC.

But it is not strictly nessary. It is more a convenience sort of thing.

Another reason that I proposed it is that maybe H_SRCS could be used fo
something else though I can't think of anything right now...

But sure I can search for the .h files in the director{y,ies} of each DLL.

However for a DLL like ntdll files like include/wine/exception.h is very
much relevent and won't be included is such a case. Not that it really
matters that much but still...



More information about the wine-devel mailing list