Hi,
I am using Makefile to build my driver. I am implementing ETL logs but got stuck in enabling RUN_WPP macro that invokes the Windows software trace preprocessor.
I have used RUN_WPP macro successfully in sources file. But don’t know how to use RUN_WPP macro in Makefile
Can somebody help.
RUN_WPP only works in a sources file because it’s consumed by some rule in makefile.def. It won’t work in Makefile unless you copy the appropriate rules out of makefile.def into your own makefile.
-p
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, February 11, 2015 12:14 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to enable RUN_WPP macro in Makefile.
Hi,
I am using Makefile to build my driver. I am implementing ETL logs but got stuck in enabling RUN_WPP macro that invokes the Windows software trace preprocessor.
I have used RUN_WPP macro successfully in sources file. But don’t know how to use RUN_WPP macro in Makefile
Can somebody help.
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
> I am using Makefile to build my driver.
What is the need of this?
Makefiles (if you need this syntax) can be included to SOURCES. Name it MAKEFILE.INC and add NTTARGETFILE0/1=xxxx to SOURCES.
Building a driver from a makefile without using SOURCES (old WDK) or MSBuild (new WDK) is not supported at all.
–
Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com