From: stansmith Date: Fri, 12 Dec 2008 00:52:06 +0000 (+0000) Subject: [WinVerbs] Added .rc files + mods to SOURCES to use .rc files. X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=08c2eecd2c3e0387b160883e2a94e5c1b244e043;p=~shefty%2Frdma-win.git [WinVerbs] Added .rc files + mods to SOURCES to use .rc files. git-svn-id: svn://openib.tc.cornell.edu/gen1@1784 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/trunk/ulp/libibverbs/examples/asyncwatch/SOURCES b/trunk/ulp/libibverbs/examples/asyncwatch/SOURCES index 7d7d5d5b..f8c7c854 100644 --- a/trunk/ulp/libibverbs/examples/asyncwatch/SOURCES +++ b/trunk/ulp/libibverbs/examples/asyncwatch/SOURCES @@ -11,6 +11,7 @@ USE_NATIVE_EH = 1 USE_IOSTREAM = 1 SOURCES = \ + asyncwatch.rc \ asyncwatch.c INCLUDES = ..;..\..\include;..\..\..\..\inc;..\..\..\..\inc\user; diff --git a/trunk/ulp/libibverbs/examples/asyncwatch/asyncwatch.rc b/trunk/ulp/libibverbs/examples/asyncwatch/asyncwatch.rc new file mode 100644 index 00000000..aa7bc92a --- /dev/null +++ b/trunk/ulp/libibverbs/examples/asyncwatch/asyncwatch.rc @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2005 Mellanox Technologies. All rights reserved. + * + * This software is available to you under the OpenIB.org BSD license + * below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * $Id$ + */ + + +#include + +#define VER_FILETYPE VFT_APP +#define VER_FILESUBTYPE VFT2_UNKNOWN + +#ifdef DBG +#define VER_FILEDESCRIPTION_STR "winverbs - Async Event Watch (Debug)" +#else +#define VER_FILEDESCRIPTION_STR "winverbs - Async Event Watch" +#endif + +#define VER_INTERNALNAME_STR "ibv_send_bw.exe" +#define VER_ORIGINALFILENAME_STR "ibv_send_bw.exe" + +#include diff --git a/trunk/ulp/libibverbs/examples/devinfo/SOURCES b/trunk/ulp/libibverbs/examples/devinfo/SOURCES index 10a12102..007a1e10 100644 --- a/trunk/ulp/libibverbs/examples/devinfo/SOURCES +++ b/trunk/ulp/libibverbs/examples/devinfo/SOURCES @@ -11,6 +11,7 @@ USE_NATIVE_EH = 1 USE_IOSTREAM = 1 SOURCES = \ + devinfo.rc \ devinfo.c INCLUDES = ..;..\..\include;..\..\..\..\inc;..\..\..\..\inc\user; diff --git a/trunk/ulp/libibverbs/examples/devinfo/devinfo.rc b/trunk/ulp/libibverbs/examples/devinfo/devinfo.rc new file mode 100644 index 00000000..85046ae1 --- /dev/null +++ b/trunk/ulp/libibverbs/examples/devinfo/devinfo.rc @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2005 Mellanox Technologies. All rights reserved. + * + * This software is available to you under the OpenIB.org BSD license + * below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * $Id$ + */ + + +#include + +#define VER_FILETYPE VFT_APP +#define VER_FILESUBTYPE VFT2_UNKNOWN + +#ifdef DBG +#define VER_FILEDESCRIPTION_STR "winverbs - Device information (Debug)" +#else +#define VER_FILEDESCRIPTION_STR "winverbs - Device information " +#endif + +#define VER_INTERNALNAME_STR "ibv_send_bw.exe" +#define VER_ORIGINALFILENAME_STR "ibv_send_bw.exe" + +#include diff --git a/trunk/ulp/libibverbs/examples/rc_pingpong/SOURCES b/trunk/ulp/libibverbs/examples/rc_pingpong/SOURCES index 6c331d04..8de70ed4 100644 --- a/trunk/ulp/libibverbs/examples/rc_pingpong/SOURCES +++ b/trunk/ulp/libibverbs/examples/rc_pingpong/SOURCES @@ -11,6 +11,7 @@ USE_NATIVE_EH = 1 USE_IOSTREAM = 1 SOURCES = \ + rc_pingpong.rc \ rc_pingpong.c INCLUDES = ..;..\..\include;..\..\..\..\inc;..\..\..\..\inc\user; diff --git a/trunk/ulp/libibverbs/examples/rc_pingpong/rc_pingpong.rc b/trunk/ulp/libibverbs/examples/rc_pingpong/rc_pingpong.rc new file mode 100644 index 00000000..7365c013 --- /dev/null +++ b/trunk/ulp/libibverbs/examples/rc_pingpong/rc_pingpong.rc @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2005 Mellanox Technologies. All rights reserved. + * + * This software is available to you under the OpenIB.org BSD license + * below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * $Id$ + */ + + +#include + +#define VER_FILETYPE VFT_APP +#define VER_FILESUBTYPE VFT2_UNKNOWN + +#ifdef DBG +#define VER_FILEDESCRIPTION_STR "winverbs - Reliable Connection pingpong test (Debug)" +#else +#define VER_FILEDESCRIPTION_STR "winverbs - Reliable Connection pingpong test" +#endif + +#define VER_INTERNALNAME_STR "ibv_send_bw.exe" +#define VER_ORIGINALFILENAME_STR "ibv_send_bw.exe" + +#include diff --git a/trunk/ulp/libibverbs/examples/srq_pingpong/SOURCES b/trunk/ulp/libibverbs/examples/srq_pingpong/SOURCES index 9e55c726..b1bb2979 100644 --- a/trunk/ulp/libibverbs/examples/srq_pingpong/SOURCES +++ b/trunk/ulp/libibverbs/examples/srq_pingpong/SOURCES @@ -11,6 +11,7 @@ USE_NATIVE_EH = 1 USE_IOSTREAM = 1 SOURCES = \ + srq_pingpong.rc \ srq_pingpong.c INCLUDES = ..;..\..\include;..\..\..\..\inc;..\..\..\..\inc\user; diff --git a/trunk/ulp/libibverbs/examples/srq_pingpong/srq_pingpong.rc b/trunk/ulp/libibverbs/examples/srq_pingpong/srq_pingpong.rc new file mode 100644 index 00000000..43ea8951 --- /dev/null +++ b/trunk/ulp/libibverbs/examples/srq_pingpong/srq_pingpong.rc @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2005 Mellanox Technologies. All rights reserved. + * + * This software is available to you under the OpenIB.org BSD license + * below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * $Id$ + */ + + +#include + +#define VER_FILETYPE VFT_APP +#define VER_FILESUBTYPE VFT2_UNKNOWN + +#ifdef DBG +#define VER_FILEDESCRIPTION_STR "winverbs - Shared Recv Queue pingpong test (Debug)" +#else +#define VER_FILEDESCRIPTION_STR "winverbs - Shared Recv Queue pingpong test" +#endif + +#define VER_INTERNALNAME_STR "ibv_send_bw.exe" +#define VER_ORIGINALFILENAME_STR "ibv_send_bw.exe" + +#include diff --git a/trunk/ulp/libibverbs/examples/uc_pingpong/SOURCES b/trunk/ulp/libibverbs/examples/uc_pingpong/SOURCES index 2be49b9f..c84ae84c 100644 --- a/trunk/ulp/libibverbs/examples/uc_pingpong/SOURCES +++ b/trunk/ulp/libibverbs/examples/uc_pingpong/SOURCES @@ -11,6 +11,7 @@ USE_NATIVE_EH = 1 USE_IOSTREAM = 1 SOURCES = \ + uc_pingpong.rc \ uc_pingpong.c INCLUDES = ..;..\..\include;..\..\..\..\inc;..\..\..\..\inc\user; diff --git a/trunk/ulp/libibverbs/examples/uc_pingpong/uc_pingpong.rc b/trunk/ulp/libibverbs/examples/uc_pingpong/uc_pingpong.rc new file mode 100644 index 00000000..12dbc6de --- /dev/null +++ b/trunk/ulp/libibverbs/examples/uc_pingpong/uc_pingpong.rc @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2005 Mellanox Technologies. All rights reserved. + * + * This software is available to you under the OpenIB.org BSD license + * below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * $Id$ + */ + + +#include + +#define VER_FILETYPE VFT_APP +#define VER_FILESUBTYPE VFT2_UNKNOWN + +#ifdef DBG +#define VER_FILEDESCRIPTION_STR "winverbs - UC pingpong test (Debug)" +#else +#define VER_FILEDESCRIPTION_STR "winverbs - UC pingpong test" +#endif + +#define VER_INTERNALNAME_STR "ibv_send_bw.exe" +#define VER_ORIGINALFILENAME_STR "ibv_send_bw.exe" + +#include diff --git a/trunk/ulp/libibverbs/examples/ud_pingpong/SOURCES b/trunk/ulp/libibverbs/examples/ud_pingpong/SOURCES index 3be4bb53..5cdce283 100644 --- a/trunk/ulp/libibverbs/examples/ud_pingpong/SOURCES +++ b/trunk/ulp/libibverbs/examples/ud_pingpong/SOURCES @@ -11,6 +11,7 @@ USE_NATIVE_EH = 1 USE_IOSTREAM = 1 SOURCES = \ + ud_pingpong.rc \ ud_pingpong.c INCLUDES = ..;..\..\include;..\..\..\..\inc;..\..\..\..\inc\user; diff --git a/trunk/ulp/libibverbs/examples/ud_pingpong/ud_pingpong.rc b/trunk/ulp/libibverbs/examples/ud_pingpong/ud_pingpong.rc new file mode 100644 index 00000000..c5d0ecc7 --- /dev/null +++ b/trunk/ulp/libibverbs/examples/ud_pingpong/ud_pingpong.rc @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2005 Mellanox Technologies. All rights reserved. + * + * This software is available to you under the OpenIB.org BSD license + * below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * $Id$ + */ + + +#include + +#define VER_FILETYPE VFT_APP +#define VER_FILESUBTYPE VFT2_UNKNOWN + +#ifdef DBG +#define VER_FILEDESCRIPTION_STR "winverbs - Unreliable Datagram pingpong test (Debug)" +#else +#define VER_FILEDESCRIPTION_STR "winverbs - Unreliable Datagram pingpong test" +#endif + +#define VER_INTERNALNAME_STR "ibv_send_bw.exe" +#define VER_ORIGINALFILENAME_STR "ibv_send_bw.exe" + +#include