compiling for two different binaries

Hi,

I have a driver and I want to build the driver for windows XP and 2k and I
want to have different binary file names could I achieve with one source
file.

Is there any way to achieve this.

Any information is helpful.

Thanks,
Kedar.

I would suggest to have only w2k version, and run it on XP and 2k3 too :slight_smile:
Lesser binaries to build, deploy and support.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “kedar”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, March 16, 2005 9:48 AM
Subject: [ntdev] compiling for two different binaries

> Hi,
>
> I have a driver and I want to build the driver for windows XP and 2k and I
> want to have different binary file names could I achieve with one source
> file.
>
> Is there any way to achieve this.
>
> Any information is helpful.
>
> Thanks,
> Kedar.
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

TARGETNAME=yourdriver$(OSVER) in your sources file. Of course you need to
setup the variable accordingly.

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-203771-
xxxxx@lists.osr.com] On Behalf Of kedar
Sent: March 16, 2005 1:48 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] compiling for two different binaries

Hi,

I have a driver and I want to build the driver for windows XP and 2k and I
want to have different binary file names could I achieve with one source
file.

Is there any way to achieve this.

Any information is helpful.

Thanks,
Kedar.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

kedar wrote:

Hi,

I have a driver and I want to build the driver for windows XP and 2k and I
want to have different binary file names could I achieve with one source
file.

Why do you want different file names? There is no reason you couldn’t
have one binary support both systems. For maintenance purposes, I would
think that would be a preferable solution.