Hello!
I’m trying to build a couple of my drivers using WPP tracing and it
appears the preprocessor is not working properly.
From an organizational perspective, my directories are organized as
follows:
test <- directory
foo1.c
foo2.c
bar1.c
bar2.c
shared.c
makefile
foo <- directory
sources
makefile
bar <- directory
sources
makefile
The ‘foo’ and ‘bar’ directories build two different drivers. In this
example both drivers share the file named ‘shared.c’, and the
‘sources’ file in each directory contain the RUN_WPP macro. Each
source file includes a respective ‘*.tmh’ include. When I run the
‘build’ command from the ‘test’ directory the *.tmh files are not
built.
If I move, for example, the sources file from the ‘foo’ directory to
the ‘test’ directory the ‘*.tmh’ files are created. For example:
test
foo1.c
foo2.c
shared.c
makefile
sources
Builds fine.
Any ideas?
Thanks,
Bob
Assuming foo and bar are subdirectories of test, you do have a DIRS file in
test specifying foo and bar right?
–
Bill McKenzie
Compuware Corporation
http://www.compuware.com/products/driverstudio/
“Jedimaster” wrote in message news:xxxxx@ntdev…
>
> Hello!
>
> I’m trying to build a couple of my drivers using WPP tracing and it
> appears the preprocessor is not working properly.
>
> From an organizational perspective, my directories are organized as
> follows:
>
> test <- directory
> foo1.c
> foo2.c
> bar1.c
> bar2.c
> shared.c
> makefile
>
> foo <- directory
> sources
> makefile
> bar <- directory
> sources
> makefile
>
> The ‘foo’ and ‘bar’ directories build two different drivers. In this
> example both drivers share the file named ‘shared.c’, and the
> ‘sources’ file in each directory contain the RUN_WPP macro. Each
> source file includes a respective ‘*.tmh’ include. When I run the
> ‘build’ command from the ‘test’ directory the .tmh files are not
> built.
>
> If I move, for example, the sources file from the ‘foo’ directory to
> the ‘test’ directory the '.tmh’ files are created. For example:
>
> test
> foo1.c
> foo2.c
> shared.c
> makefile
> sources
>
> Builds fine.
>
> Any ideas?
>
> Thanks,
> Bob
>
>
(I am just relaying the information from an internal source.)
Build (surprisingly) automagically looks in '…' for sources listed in the sources file. WPP does not. If your sources file were modified to prepend '…' to your sources list, you should be able to work around the problem.
Hth,
.
-----Original Message-----
From: Jedimaster [mailto:xxxxx@lsil.com]
Sent: Tuesday, February 04, 2003 6:40 PM
Hello!
I’m trying to build a couple of my drivers using WPP tracing and it
appears the preprocessor is not working properly.
From an organizational perspective, my directories are organized as
follows:
test <- directory
foo1.c
foo2.c
bar1.c
bar2.c
shared.c
makefile
foo <- directory
sources
makefile
bar <- directory
sources
makefile
The ‘foo’ and ‘bar’ directories build two different drivers. In this
example both drivers share the file named ‘shared.c’, and the
‘sources’ file in each directory contain the RUN_WPP macro. Each
source file includes a respective ‘*.tmh’ include. When I run the
‘build’ command from the ‘test’ directory the *.tmh files are not
built.
If I move, for example, the sources file from the ‘foo’ directory to
the ‘test’ directory the ‘*.tmh’ files are created. For example:
test
foo1.c
foo2.c
shared.c
makefile
sources
Builds fine.
Any ideas?
Thanks,
Bob
On Wed, 5 Feb 2003 10:12:19 -0800, “Henry Gabryjelski”
wrote:
Hi Henry!
I’ll try your suggestion out once I get back in the office.
Thanks!
>
>(I am just relaying the information from an internal source.)
>
>Build (surprisingly) automagically looks in '…' for sources listed in the sources file. WPP does not. If your sources file were modified to prepend ‘…' to your sources list, you should be able to work around the problem.
>
>Hth,
>.
>
>-----Original Message-----
>From: Jedimaster [mailto:xxxxx@lsil.com]
>Sent: Tuesday, February 04, 2003 6:40 PM
>
>Hello!
>
>I’m trying to build a couple of my drivers using WPP tracing and it
>appears the preprocessor is not working properly.
>
>From an organizational perspective, my directories are organized as
>follows:
>
>test <- directory
> foo1.c
> foo2.c
> bar1.c
> bar2.c
> shared.c
> makefile
>
> foo <- directory
> sources
> makefile
> bar <- directory
> sources
> makefile
>
>The ‘foo’ and ‘bar’ directories build two different drivers. In this
>example both drivers share the file named ‘shared.c’, and the
>‘sources’ file in each directory contain the RUN_WPP macro. Each
>source file includes a respective ‘*.tmh’ include. When I run the
>‘build’ command from the ‘test’ directory the .tmh files are not
>built.
>
>If I move, for example, the sources file from the ‘foo’ directory to
>the ‘test’ directory the '.tmh’ files are created. For example:
>
>test
> foo1.c
> foo2.c
> shared.c
> makefile
> sources
>
>Builds fine.
>
>Any ideas?
>
>Thanks,
>Bob
>
>
>