|
|
6ef316 |
diff -up lib-zfcp-hbaapi-2.1/Makefile.am.vendorlib lib-zfcp-hbaapi-2.1/Makefile.am
|
|
|
6ef316 |
--- lib-zfcp-hbaapi-2.1/Makefile.am.vendorlib 2011-01-14 12:10:56.000000000 +0100
|
|
|
6ef316 |
+++ lib-zfcp-hbaapi-2.1/Makefile.am 2011-01-14 12:12:02.000000000 +0100
|
|
|
6ef316 |
@@ -76,9 +76,15 @@ endif
|
|
|
6ef316 |
bin_PROGRAMS = zfcp_ping zfcp_show
|
|
|
6ef316 |
|
|
|
6ef316 |
zfcp_ping_SOURCES = fc_tools/zfcp_ping.c
|
|
|
6ef316 |
-zfcp_ping_LDADD = -lzfcphbaapi
|
|
|
6ef316 |
zfcp_show_SOURCES = fc_tools/zfcp_show.c
|
|
|
6ef316 |
+
|
|
|
6ef316 |
+if VENDORLIB
|
|
|
6ef316 |
+zfcp_ping_LDADD = -lHBAAPI
|
|
|
6ef316 |
+zfcp_show_LDADD = -lHBAAPI
|
|
|
6ef316 |
+else
|
|
|
6ef316 |
+zfcp_ping_LDADD = -lzfcphbaapi
|
|
|
6ef316 |
zfcp_show_LDADD = -lzfcphbaapi
|
|
|
6ef316 |
+endif
|
|
|
6ef316 |
|
|
|
6ef316 |
|
|
|
6ef316 |
if DOCS
|
|
|
6ef316 |
diff -up lib-zfcp-hbaapi-2.1/Makefile.in.vendorlib lib-zfcp-hbaapi-2.1/Makefile.in
|
|
|
6ef316 |
--- lib-zfcp-hbaapi-2.1/Makefile.in.vendorlib 2011-01-14 12:11:01.000000000 +0100
|
|
|
6ef316 |
+++ lib-zfcp-hbaapi-2.1/Makefile.in 2011-01-14 12:13:05.000000000 +0100
|
|
|
6ef316 |
@@ -282,9 +282,11 @@ libzfcphbaapi_la_LDFLAGS = \
|
|
|
6ef316 |
@VENDORLIB_TRUE@libzfcphbaapi_la_LDFLAGS += -module -avoid-version -release $(VERSION)
|
|
|
6ef316 |
|
|
|
6ef316 |
zfcp_ping_SOURCES = fc_tools/zfcp_ping.c
|
|
|
6ef316 |
-zfcp_ping_LDADD = -lzfcphbaapi
|
|
|
6ef316 |
zfcp_show_SOURCES = fc_tools/zfcp_show.c
|
|
|
6ef316 |
-zfcp_show_LDADD = -lzfcphbaapi
|
|
|
6ef316 |
+@VENDORLIB_TRUE@zfcp_ping_LDADD = -lHBAAPI
|
|
|
6ef316 |
+@VENDORLIB_TRUE@zfcp_show_LDADD = -lHBAAPI
|
|
|
6ef316 |
+@VENDORLIB_FALSE@zfcp_ping_LDADD = -lzfcphbaapi
|
|
|
6ef316 |
+@VENDORLIB_FALSE@zfcp_show_LDADD = -lzfcphbaapi
|
|
|
6ef316 |
@DOCS_FALSE@man_MANS = zfcp_show.8 zfcp_ping.8 libzfcphbaapi.3
|
|
|
6ef316 |
@DOCS_TRUE@man_MANS = libzfcphbaapi.3 dox/man/man3/SupportedHBAAPIs.3 \
|
|
|
6ef316 |
@DOCS_TRUE@ dox/man/man3/UnSupportedHBAAPIs.3 dox/man/man3/hbaapi.h.3 \
|