committed in svn.2803. Smith, Stan wrote: > Setup a single build environment include file to switch between > opensm vendors [ibal|umad]. Assumes a vendor include file co-resident > with the SOURCES file. > Add ulp\opensm\user\mad-vendor.inc which is included by lower level > SOURCES files. > > signed-off-by: stan smith <[email protected]> > > +++ b\ulp\opensm\user\mad-vendor.inc > > # include only 'one' mad vendor. > > !INCLUDE vendor-ibal.inc > > #!INCLUDE vendor-umad.inc > > > --- a/ulp/opensm/user/ibtrapgen/SOURCES Thu May 20 12:18:31 2010 > +++ b/ulp/opensm/user/ibtrapgen/SOURCES Thu May 13 13:46:54 2010 > @@ -16,10 +16,7 @@ > TARGETPATH=$(WINIBHOME)\bin\user\obj$(BUILD_ALT_DIR) > !endif > > -# include only one vendor definition > - > -!include ..\opensm\vendor-ibal.inc > -#!include ..\opensm\vendor-umad.inc > +!INCLUDE ..\mad-vendor.inc > > TARGETTYPE=PROGRAM > UMTYPE=console > @@ -54,7 +51,7 @@ > $(WINIBHOME)\inc\user\linux; \ > $(VENDOR_INC); \ > $(OSM_HOME); \ > - $(OSM_HOME)\include; \ > + $(OSM_HOME)\include; > > # Could be any special flag needed for this project > USER_C_FLAGS=$(USER_C_FLAGS) /MD > > > +++ b/ulp/opensm/user/ibtrapgen/vendor-ibal.inc > > !INCLUDE ..\opensm\vendor-ibal.inc > > > +++ b/ulp/opensm/user/ibtrapgen/vendor-umad.inc > > !INCLUDE ..\opensm\vendor-umad.inc > > > --- a/ulp/opensm/user/libvendor/SOURCES Thu May 20 12:23:35 2010 > +++ b/ulp/opensm/user/libvendor/SOURCES Thu May 13 13:35:12 2010 > @@ -12,10 +12,7 @@ > TARGETPATH=$(LIBPATH) > !endif > > -# include only one vendor definition > - > -!include vendor-ibal.inc > -#!include vendor-umad.inc > +!INCLUDE ..\mad-vendor.inc > > TARGETNAME=$(VENDOR_LIB) > TARGETTYPE=LIBRARY > > > --- a/ulp/opensm/user/opensm/SOURCES Thu May 20 12:25:58 2010 > +++ b/ulp/opensm/user/opensm/SOURCES Thu May 13 13:40:45 2010 > @@ -13,10 +13,7 @@ > TARGETPATH=$(LIBPATH) > !endif > > -# include one Vendor or the other; not both! > - > -!include vendor-ibal.inc > -#!include vendor-umad.inc > +!include ..\mad-vendor.inc > > TARGETTYPE=PROGRAM > UMTYPE=console > > --- a/ulp/opensm/user/osmtest/SOURCES Thu May 20 12:28:35 2010 > +++ b/ulp/opensm/user/osmtest/SOURCES Thu May 13 13:48:05 2010 > @@ -12,10 +12,7 @@ > TARGETPATH=$(WINIBHOME)\bin\user\obj$(BUILD_ALT_DIR) > !endif > > -# include only one vendor definition > - > -!include ..\opensm\vendor-ibal.inc > -#!include ..\opensm\vendor-umad.inc > +!include ..\mad-vendor.inc > > TARGETTYPE=PROGRAM > UMTYPE=console > @@ -30,7 +27,7 @@ > osmt_multicast.c \ > osmt_inform.c \ > osmtest.c \ > - main.c \ > + main.c > > OSM_HOME=..
_______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
