|
|
709518 |
diff --git a/cmdif/Makefile.am b/cmdif/Makefile.am
|
|
|
20486b |
index 0d8f53b..d800302 100644
|
|
|
709518 |
--- a/cmdif/Makefile.am
|
|
|
709518 |
+++ b/cmdif/Makefile.am
|
|
|
20486b |
@@ -50,7 +50,7 @@ libcmdif_a_SOURCES = tools_cif.c tools_cif.h icmd_cif_common.c icmd_cif_common.h
|
|
|
709518 |
cmdif_pylibdir = $(libdir)/mstflint/python_tools/
|
|
|
709518 |
cmdif_pylib_DATA = ${CCMDIF_SO} cmdif.py
|
|
|
709518 |
${CCMDIF_SO}: libcmdif.a
|
|
|
709518 |
- $(CC) -g -Wall -pthread -shared ${CFLAGS} *.o -o ${CCMDIF_SO} \
|
|
|
709518 |
+ $(CC) -g -Wall -pthread -shared ${CFLAGS} ${LDFLAGS} *.o -o ${CCMDIF_SO} \
|
|
|
709518 |
-L$(USER_DIR)/tools_layouts -ltools_layouts -L$(USER_DIR)/${MTCR_CONF_DIR} -lmtcr_ul
|
|
|
709518 |
|
|
|
709518 |
CLEANFILES = ${CCMDIF_SO}
|
|
|
709518 |
diff --git a/dev_mgt/Makefile.am b/dev_mgt/Makefile.am
|
|
|
20486b |
index 3118b85..e708ad8 100644
|
|
|
709518 |
--- a/dev_mgt/Makefile.am
|
|
|
709518 |
+++ b/dev_mgt/Makefile.am
|
|
|
709518 |
@@ -50,7 +50,7 @@ dev_mgt_pylib_DATA = c_dev_mgt.so dev_mgt.py
|
|
|
709518 |
dist_dev_mgt_pylib_DATA = dev_mgt.py
|
|
|
709518 |
|
|
|
709518 |
c_dev_mgt.so: libdev_mgt.a
|
|
|
709518 |
- $(CC) -g -Wall -pthread -shared ${CFLAGS} tools_dev_types.o -o c_dev_mgt.so \
|
|
|
709518 |
+ $(CC) -g -Wall -pthread -shared ${CFLAGS} ${LDFLAGS} tools_dev_types.o -o c_dev_mgt.so \
|
|
|
709518 |
-L$(USER_DIR)/reg_access -lreg_access \
|
|
|
709518 |
-L$(USER_DIR)/tools_layouts -ltools_layouts \
|
|
|
709518 |
-L$(USER_DIR)/${MTCR_CONF_DIR} -lmtcr_ul
|
|
|
709518 |
diff --git a/mtcr_py/Makefile.am b/mtcr_py/Makefile.am
|
|
|
709518 |
index 5f5677d..566a870 100644
|
|
|
709518 |
--- a/mtcr_py/Makefile.am
|
|
|
709518 |
+++ b/mtcr_py/Makefile.am
|
|
|
709518 |
@@ -39,7 +39,7 @@ MTCR_DIR = $(USER_DIR)/${MTCR_CONF_DIR}
|
|
|
709518 |
mtcr_pylib_DATA = cmtcr.so mtcr.py
|
|
|
709518 |
dist_mtcr_pylib_DATA = mtcr.py
|
|
|
709518 |
cmtcr.so:
|
|
|
709518 |
- $(CC) -g -Wall -pthread -shared ${CFLAGS} $(MTCR_DIR)/*.o -o cmtcr.so
|
|
|
709518 |
+ $(CC) -g -Wall -pthread -shared ${CFLAGS} ${LDFLAGS} $(MTCR_DIR)/*.o -o cmtcr.so
|
|
|
709518 |
|
|
|
709518 |
CLEANFILES = cmtcr.so
|
|
|
709518 |
|
|
|
20486b |
diff --git a/mvpd/Makefile.am b/mvpd/Makefile.am
|
|
|
20486b |
index e9fa5c6..fab1599 100755
|
|
|
20486b |
--- a/mvpd/Makefile.am
|
|
|
20486b |
+++ b/mvpd/Makefile.am
|
|
|
20486b |
@@ -1,61 +1,61 @@
|
|
|
20486b |
-#--
|
|
|
20486b |
-# Copyright (c) 2004-2010 Mellanox Technologies LTD. All rights reserved.
|
|
|
20486b |
-#
|
|
|
20486b |
-# This software is available to you under a choice of one of two
|
|
|
20486b |
-# licenses. You may choose to be licensed under the terms of the GNU
|
|
|
20486b |
-# General Public License (GPL) Version 2, available from the file
|
|
|
20486b |
-# COPYING in the main directory of this source tree, or the
|
|
|
20486b |
-# OpenIB.org BSD license below:
|
|
|
20486b |
-#
|
|
|
20486b |
-# Redistribution and use in source and binary forms, with or
|
|
|
20486b |
-# without modification, are permitted provided that the following
|
|
|
20486b |
-# conditions are met:
|
|
|
20486b |
-#
|
|
|
20486b |
-# - Redistributions of source code must retain the above
|
|
|
20486b |
-# copyright notice, this list of conditions and the following
|
|
|
20486b |
-# disclaimer.
|
|
|
20486b |
-#
|
|
|
20486b |
-# - Redistributions in binary form must reproduce the above
|
|
|
20486b |
-# copyright notice, this list of conditions and the following
|
|
|
20486b |
-# disclaimer in the documentation and/or other materials
|
|
|
20486b |
-# provided with the distribution.
|
|
|
20486b |
-#
|
|
|
20486b |
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
20486b |
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
20486b |
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
20486b |
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
|
20486b |
-# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
|
20486b |
-# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
20486b |
-# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
20486b |
-# SOFTWARE.
|
|
|
20486b |
-#--
|
|
|
20486b |
-
|
|
|
20486b |
-# Makefile.am -- Process this file with automake to produce Makefile.in
|
|
|
20486b |
-MTCR_DIR = $(top_srcdir)/${MTCR_CONF_DIR}
|
|
|
20486b |
-COMMON_DIR = $(top_srcdir)/common
|
|
|
20486b |
-LAYOUTS_DIR = $(top_srcdir)/tools_layouts
|
|
|
20486b |
-USER_DIR = $(top_srcdir)
|
|
|
20486b |
-
|
|
|
20486b |
-AM_CPPFLAGS = -I. -I$(USER_DIR) -I$(srcdir) -I$(LAYOUTS_DIR) -I$(USER_DIR)/include/mtcr_ul
|
|
|
20486b |
-AM_CFLAGS = -W -Wall -g -MP -MD $(COMPILER_FPIC)
|
|
|
20486b |
-
|
|
|
20486b |
-noinst_LTLIBRARIES = libmvpd.a
|
|
|
20486b |
-
|
|
|
20486b |
-libmvpd_a_SOURCES = mvpd.c mvpd.h
|
|
|
20486b |
-
|
|
|
20486b |
-libmvpd_a_DEPENDENCIES = $(MTCR_DIR)/libmtcr_ul.a
|
|
|
20486b |
-libmvpd_a_LIBADD = $(libmvpd_a_DEPENDENCIES)
|
|
|
20486b |
-
|
|
|
20486b |
-RMVPD_SO = rmvpd.so
|
|
|
20486b |
-
|
|
|
20486b |
-
|
|
|
20486b |
-LDADD= ../${MTCR_CONF_DIR}/libmtcr_ul.a ${LDL}
|
|
|
20486b |
-
|
|
|
20486b |
-
|
|
|
20486b |
-noinst_HEADERS = mvpd.h
|
|
|
20486b |
-
|
|
|
20486b |
-${RMVPD_SO}: libmvpd.a
|
|
|
20486b |
- $(CC) -g -Wall -pthread -shared ${CFLAGS} *.o -o ${RMVPD_SO} \
|
|
|
20486b |
- -L$(MTCR_DIR) -lmtcr_ul
|
|
|
20486b |
-
|
|
|
20486b |
-CLEANFILES = ${RMVPD_SO}
|
|
|
20486b |
+#--
|
|
|
20486b |
+# Copyright (c) 2004-2010 Mellanox Technologies LTD. All rights reserved.
|
|
|
20486b |
+#
|
|
|
20486b |
+# This software is available to you under a choice of one of two
|
|
|
20486b |
+# licenses. You may choose to be licensed under the terms of the GNU
|
|
|
20486b |
+# General Public License (GPL) Version 2, available from the file
|
|
|
20486b |
+# COPYING in the main directory of this source tree, or the
|
|
|
20486b |
+# OpenIB.org BSD license below:
|
|
|
20486b |
+#
|
|
|
20486b |
+# Redistribution and use in source and binary forms, with or
|
|
|
20486b |
+# without modification, are permitted provided that the following
|
|
|
20486b |
+# conditions are met:
|
|
|
20486b |
+#
|
|
|
20486b |
+# - Redistributions of source code must retain the above
|
|
|
20486b |
+# copyright notice, this list of conditions and the following
|
|
|
20486b |
+# disclaimer.
|
|
|
20486b |
+#
|
|
|
20486b |
+# - Redistributions in binary form must reproduce the above
|
|
|
20486b |
+# copyright notice, this list of conditions and the following
|
|
|
20486b |
+# disclaimer in the documentation and/or other materials
|
|
|
20486b |
+# provided with the distribution.
|
|
|
20486b |
+#
|
|
|
20486b |
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
20486b |
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
20486b |
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
20486b |
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
|
20486b |
+# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
|
20486b |
+# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
20486b |
+# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
20486b |
+# SOFTWARE.
|
|
|
20486b |
+#--
|
|
|
20486b |
+
|
|
|
20486b |
+# Makefile.am -- Process this file with automake to produce Makefile.in
|
|
|
20486b |
+MTCR_DIR = $(top_srcdir)/${MTCR_CONF_DIR}
|
|
|
20486b |
+COMMON_DIR = $(top_srcdir)/common
|
|
|
20486b |
+LAYOUTS_DIR = $(top_srcdir)/tools_layouts
|
|
|
20486b |
+USER_DIR = $(top_srcdir)
|
|
|
20486b |
+
|
|
|
20486b |
+AM_CPPFLAGS = -I. -I$(USER_DIR) -I$(srcdir) -I$(LAYOUTS_DIR) -I$(USER_DIR)/include/mtcr_ul
|
|
|
20486b |
+AM_CFLAGS = -W -Wall -g -MP -MD $(COMPILER_FPIC)
|
|
|
20486b |
+
|
|
|
20486b |
+noinst_LTLIBRARIES = libmvpd.a
|
|
|
20486b |
+
|
|
|
20486b |
+libmvpd_a_SOURCES = mvpd.c mvpd.h
|
|
|
20486b |
+
|
|
|
20486b |
+libmvpd_a_DEPENDENCIES = $(MTCR_DIR)/libmtcr_ul.a
|
|
|
20486b |
+libmvpd_a_LIBADD = $(libmvpd_a_DEPENDENCIES)
|
|
|
20486b |
+
|
|
|
20486b |
+RMVPD_SO = rmvpd.so
|
|
|
20486b |
+
|
|
|
20486b |
+
|
|
|
20486b |
+LDADD= ../${MTCR_CONF_DIR}/libmtcr_ul.a ${LDL}
|
|
|
20486b |
+
|
|
|
20486b |
+
|
|
|
20486b |
+noinst_HEADERS = mvpd.h
|
|
|
20486b |
+
|
|
|
20486b |
+${RMVPD_SO}: libmvpd.a
|
|
|
20486b |
+ $(CC) -g -Wall -pthread -shared ${CFLAGS} ${LDFLAGS} *.o -o ${RMVPD_SO} \
|
|
|
20486b |
+ -L$(MTCR_DIR) -lmtcr_ul
|
|
|
20486b |
+
|
|
|
20486b |
+CLEANFILES = ${RMVPD_SO}
|
|
|
709518 |
diff --git a/reg_access/Makefile.am b/reg_access/Makefile.am
|
|
|
20486b |
index f28290e..a141704 100644
|
|
|
709518 |
--- a/reg_access/Makefile.am
|
|
|
709518 |
+++ b/reg_access/Makefile.am
|
|
|
709518 |
@@ -53,7 +53,7 @@ reg_access_pylib_DATA = ${RREG_ACCESS_SO} regaccess.py
|
|
|
709518 |
dist_reg_access_pylib_DATA = regaccess.py
|
|
|
709518 |
|
|
|
709518 |
${RREG_ACCESS_SO}: libreg_access.a
|
|
|
709518 |
- $(CC) -g -Wall -pthread -shared ${CFLAGS} *.o -o ${RREG_ACCESS_SO} \
|
|
|
709518 |
+ $(CC) -g -Wall -pthread -shared ${CFLAGS} ${LDFLAGS} *.o -o ${RREG_ACCESS_SO} \
|
|
|
709518 |
-L$(USER_DIR)/tools_layouts -ltools_layouts -L$(MTCR_DIR) -lmtcr_ul
|
|
|
709518 |
|
|
|
709518 |
CLEANFILES = ${RREG_ACCESS_SO}
|