[Gs-dgs-devel] Re: Pswrap and includes
Adam Fedor
fedor@doc.com
Wed, 10 Jan 2001 09:33:54 -0700
>>
> 1) don't include anything to do with dpsops, it doesn't appear to be
> required for this example - requires modification to "pswrap" utility
>
> 2) leave "pswrap" as it is, in this case the Makefile will have to
> include an additional -I parameter to explicitly include the path which
> contains the psops.h file
>
> 3) modify the output of "pswrap" to include <DPS/psops.h> - requires
> modification to "pswrap" utility
>
I don't see why psops.h is included at all, it's almost recursive -
pswrap actually generates the psops.h file from a psops.psw file (well,
not exactly, but you get my point). The only place it should be
necessary (if at all) is the psops.c file (again, not exactly the case).