[ofa-general] [PATCH] osm: cosmetics - removing trailing blanks
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Thu Aug 2 06:10:19 PDT 2007
Hi Sasha.
This patch removes trailing blanks in bunch of files
Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
infiniband-diags/configure.in | 2 +-
libibcommon/Makefile.am | 2 +-
libibmad/Makefile.am | 2 +-
opensm/Makefile.am | 4 ++--
opensm/complib/Makefile.am | 4 ++--
opensm/complib/configure.in | 2 +-
opensm/libvendor/Makefile.am | 4 ++--
opensm/opensm/Makefile.am | 10 +++++-----
opensm/osmtest/Makefile.am | 6 +++---
9 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/infiniband-diags/configure.in b/infiniband-diags/configure.in
index 6e3bfb1..171dec7 100644
--- a/infiniband-diags/configure.in
+++ b/infiniband-diags/configure.in
@@ -114,7 +114,7 @@ AC_SUBST(PERL)
if test $withperlpath = "no"
then
- AC_PATH_PROG([PERL], [perl])
+ AC_PATH_PROG([PERL], [perl])
fi
AC_SUBST(PERL)
diff --git a/libibcommon/Makefile.am b/libibcommon/Makefile.am
index 8d9d046..7bd264c 100644
--- a/libibcommon/Makefile.am
+++ b/libibcommon/Makefile.am
@@ -20,7 +20,7 @@ libibcommon_la_DEPENDENCIES = $(srcdir)/src/libibcommon.map
libibcommonincludedir = $(includedir)/infiniband
-libibcommoninclude_HEADERS = $(srcdir)/include/infiniband/common.h
+libibcommoninclude_HEADERS = $(srcdir)/include/infiniband/common.h
EXTRA_DIST = $(srcdir)/include/infiniband/common.h libibcommon.spec.in \
$(srcdir)/src/libibcommon.map libibcommon.ver
diff --git a/libibmad/Makefile.am b/libibmad/Makefile.am
index 0393e22..676311e 100644
--- a/libibmad/Makefile.am
+++ b/libibmad/Makefile.am
@@ -26,7 +26,7 @@ libibmad_la_DEPENDENCIES = $(srcdir)/src/libibmad.map
libibmadincludedir = $(includedir)/infiniband
-libibmadinclude_HEADERS = $(srcdir)/include/infiniband/mad.h
+libibmadinclude_HEADERS = $(srcdir)/include/infiniband/mad.h
EXTRA_DIST = $(srcdir)/include/infiniband/mad.h libibmad.spec.in \
$(srcdir)/src/libibmad.map libibmad.ver
diff --git a/opensm/Makefile.am b/opensm/Makefile.am
index 667b400..f99e78b 100644
--- a/opensm/Makefile.am
+++ b/opensm/Makefile.am
@@ -1,10 +1,10 @@
-# note that order matters: make the libs first then use them
+# note that order matters: make the libs first then use them
SUBDIRS = complib libvendor opensm osmtest include $(DEFAULT_EVENT_PLUGIN)
DIST_SUBDIRS = complib libvendor opensm osmtest include osmeventplugin
# this will control the update of the files in order
-MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in
+MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in
ACLOCAL = aclocal -I $(ac_aux_dir)
diff --git a/opensm/complib/Makefile.am b/opensm/complib/Makefile.am
index 81de124..fce797a 100644
--- a/opensm/complib/Makefile.am
+++ b/opensm/complib/Makefile.am
@@ -80,10 +80,10 @@ EXTRA_DIST = $(srcdir)/libosmcomp.spec.in $(srcdir)/libosmcomp.map \
dist-hook: libosmcomp.spec
cp libosmcomp.spec $(distdir)
-# as we can not use libtool -release since it actually changes the SONAME
+# as we can not use libtool -release since it actually changes the SONAME
# to the full release name instead of keeping it to the original
# name. What we can do it create a link to the installed file such
-# that it will mark it with an alias...
+# that it will mark it with an alias...
# we find the new lib by traversing the links
install-exec-hook:
if test -L $(DESTDIR)/$(libdir)/libosmcomp-$(VERSION).so; then rm $(DESTDIR)/$(libdir)/libosmcomp-$(VERSION).so; fi; \
diff --git a/opensm/complib/configure.in b/opensm/complib/configure.in
index 4fe8db4..2e2bd59 100644
--- a/opensm/complib/configure.in
+++ b/opensm/complib/configure.in
@@ -48,7 +48,7 @@ AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script,
AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$ac_cv_version_script" = "yes")
-dnl Support debug mode build - if enable-debug provided the DEBUG variable is set
+dnl Support debug mode build - if enable-debug provided the DEBUG variable is set
AC_ARG_ENABLE(debug,
[ --enable-debug Turn on debug mode],
[case "${enableval}" in
diff --git a/opensm/libvendor/Makefile.am b/opensm/libvendor/Makefile.am
index c712724..3be6479 100644
--- a/opensm/libvendor/Makefile.am
+++ b/opensm/libvendor/Makefile.am
@@ -89,10 +89,10 @@ EXTRA_DIST = libosmvendor.spec.in $(srcdir)/libosmvendor.map $(srcdir)/libosmven
dist-hook: libosmvendor.spec
cp libosmvendor.spec $(distdir)
-# as we can not use libtool -release since it actually changes the SONAME
+# as we can not use libtool -release since it actually changes the SONAME
# to the full release name instead of keeping it to the original
# name. What we can do it create a link to the installed file such
-# that it will mark it with an alias...
+# that it will mark it with an alias...
# we find the new lib by traversing the links
install-exec-hook:
if test -L $(DESTDIR)/$(libdir)/libosmvendor-$(VERSION).so; then rm $(DESTDIR)/$(libdir)/libosmvendor-$(VERSION).so; fi; \
diff --git a/opensm/opensm/Makefile.am b/opensm/opensm/Makefile.am
index 46770b4..6dfa824 100644
--- a/opensm/opensm/Makefile.am
+++ b/opensm/opensm/Makefile.am
@@ -67,10 +67,10 @@ endif
# for linking with the simulator client library we have to use g++:
if OSMV_SIM
-USEGPPLINK = $(LIBTOOL) --mode=link g++ $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-libopensm.la: $(libopensm_la_OBJECTS) $(libopensm_la_DEPENDENCIES)
+USEGPPLINK = $(LIBTOOL) --mode=link g++ $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+libopensm.la: $(libopensm_la_OBJECTS) $(libopensm_la_DEPENDENCIES)
$(USEGPPLINK) -rpath $(libdir) $(libopensm_la_LDFLAGS) $(libopensm_la_OBJECTS) $(libopensm_la_LIBADD) $(LIBS)
-opensm$(EXEEXT): $(opensm_OBJECTS) $(opensm_DEPENDENCIES)
+opensm$(EXEEXT): $(opensm_OBJECTS) $(opensm_DEPENDENCIES)
@rm -f opensm$(EXEEXT)
$(USEGPPLINK) $(opensm_LDFLAGS) $(opensm_OBJECTS) $(opensm_LDADD) $(LIBS)
endif
@@ -95,10 +95,10 @@ opensminclude_HEADERS = $(srcdir)/../include/opensm/osm_base.h \
EXTRA_DIST = $(srcdir)/libopensm.map $(srcdir)/libopensm.ver \
$(srcdir)/ChangeLog
-# as we can not use libtool -release since it actually changes the SONAME
+# as we can not use libtool -release since it actually changes the SONAME
# to the full release name instead of keeping it to the original
# name. What we can do it create a link to the installed file such
-# that it will mark it with an alias...
+# that it will mark it with an alias...
# we find the new lib by traversing the links
install-exec-hook:
if test -L $(DESTDIR)/$(libdir)/libopensm-$(VERSION).so; then rm $(DESTDIR)/$(libdir)/libopensm-$(VERSION).so; fi; \
diff --git a/opensm/osmtest/Makefile.am b/opensm/osmtest/Makefile.am
index 7126861..f15d82c 100644
--- a/opensm/osmtest/Makefile.am
+++ b/opensm/osmtest/Makefile.am
@@ -7,7 +7,7 @@ endif
INCLUDES = -I$(srcdir)/include $(OSMV_INCLUDES)
-sbin_PROGRAMS = osmtest
+sbin_PROGRAMS = osmtest
osmtest_SOURCES = main.c osmtest.c osmt_service.c osmt_slvl_vl_arb.c \
osmt_multicast.c osmt_inform.c
if OSMV_VAPI
@@ -24,8 +24,8 @@ osmtest_LDADD = -L../complib -L../libvendor -L../opensm -L$(libdir) -L. \
osmtest_LDFLAGS = -Wl,--rpath -Wl,$(libdir) -lpthread -L../opensm
# for linking with the simulator client library we have to use g++:
if OSMV_SIM
-USEGPPLINK = $(LIBTOOL) --mode=link g++ $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-osmtest$(EXEEXT): $(osmtest_OBJECTS) $(osmtest_DEPENDENCIES)
+USEGPPLINK = $(LIBTOOL) --mode=link g++ $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+osmtest$(EXEEXT): $(osmtest_OBJECTS) $(osmtest_DEPENDENCIES)
@rm -f osmtest$(EXEEXT)
$(USEGPPLINK) $(osmtest_LDFLAGS) $(osmtest_OBJECTS) $(osmtest_LDADD) $(LIBS)
endif
--
1.5.1.4
More information about the general
mailing list