diff --git a/ipmitool/src/plugins/imb/Makefile.am b/ipmitool/src/plugins/imb/Makefile.am new file mode 100644 index 0000000..33dcaf6 --- /dev/null +++ b/ipmitool/src/plugins/imb/Makefile.am @@ -0,0 +1,43 @@ +# Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# Redistribution of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# Redistribution 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. +# +# Neither the name of Sun Microsystems, Inc. or the names of +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# This software is provided "AS IS," without a warranty of any kind. +# ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, +# INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A +# PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. +# SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE +# FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING +# OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL +# SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, +# OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR +# PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF +# LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, +# EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +# +# You acknowledge that this software is not designed or intended for use +# in the design, construction, operation or maintenance of any nuclear +# facility. + +MAINTAINERCLEANFILES = Makefile.in + +INCLUDES = -I$(top_srcdir)/include + +EXTRA_LTLIBRARIES = libintf_imb.la +noinst_LTLIBRARIES = @INTF_IMB_LIB@ +libintf_imb_la_LIBADD = $(top_builddir)/lib/libipmitool.la +libintf_imb_la_SOURCES = imbapi.c imbapi.h imb.c + diff --git a/ipmitool/src/plugins/lan/Makefile.am b/ipmitool/src/plugins/lan/Makefile.am index f62a87e..bb4ab54 100644 --- a/ipmitool/src/plugins/lan/Makefile.am +++ b/ipmitool/src/plugins/lan/Makefile.am @@ -32,16 +32,12 @@ # in the design, construction, operation or maintenance of any nuclear # facility. -MAINTAINERCLEANFILES = Makefile.in +MAINTAINERCLEANFILES = Makefile.in -plugindir = $(pluginpath) - -INCLUDES = -I$(top_srcdir)/include +INCLUDES = -I$(top_srcdir)/include EXTRA_LTLIBRARIES = libintf_lan.la -plugin_LTLIBRARIES = @PLUGIN_INTF_LAN@ -noinst_LTLIBRARIES = @STATIC_INTF_LAN@ -libintf_lan_la_LDFLAGS = @LDFLAGS_INTF_LAN@ -libintf_lan_la_LIBADD = $(top_srcdir)/lib/libipmitool.la +noinst_LTLIBRARIES = @INTF_LAN_LIB@ +libintf_lan_la_LIBADD = $(top_builddir)/lib/libipmitool.la libintf_lan_la_SOURCES = lan.c lan.h asf.h rmcp.h md5.c md5.h diff --git a/ipmitool/src/plugins/lanplus/Makefile.am b/ipmitool/src/plugins/lanplus/Makefile.am index 14e43f5..a00f92d 100644 --- a/ipmitool/src/plugins/lanplus/Makefile.am +++ b/ipmitool/src/plugins/lanplus/Makefile.am @@ -32,16 +32,18 @@ # in the design, construction, operation or maintenance of any nuclear # facility. -MAINTAINERCLEANFILES = Makefile.in +MAINTAINERCLEANFILES = Makefile.in -plugindir = $(pluginpath) - -INCLUDES = -I$(top_srcdir)/include +INCLUDES = -I$(top_srcdir)/include EXTRA_LTLIBRARIES = libintf_lanplus.la -plugin_LTLIBRARIES = @PLUGIN_INTF_LANPLUS@ -noinst_LTLIBRARIES = @STATIC_INTF_LANPLUS@ -libintf_lanplus_la_LDFLAGS = @LDFLAGS_INTF_LANPLUS@ -libintf_lanplus_la_LIBADD = $(top_srcdir)/lib/libipmitool.la -libintf_lanplus_la_SOURCES = lanplus.c lanplus.h rmcp.h lanplus_crypt.h lanplus_crypt.c lanplus_strings.c lanplus_dump.h lanplus_dump.c lanplus_crypt_impl.h lanplus_crypt_impl.c +noinst_LTLIBRARIES = @INTF_LANPLUS_LIB@ +libintf_lanplus_la_LIBADD = $(top_builddir)/lib/libipmitool.la +libintf_lanplus_la_SOURCES = \ + rmcp.h asf.h \ + lanplus.c lanplus.h \ + lanplus_strings.c \ + lanplus_crypt.c lanplus_crypt.h \ + lanplus_dump.h lanplus_dump.c \ + lanplus_crypt_impl.h lanplus_crypt_impl.c diff --git a/ipmitool/src/plugins/lipmi/Makefile.am b/ipmitool/src/plugins/lipmi/Makefile.am index 790796a..72827f8 100644 --- a/ipmitool/src/plugins/lipmi/Makefile.am +++ b/ipmitool/src/plugins/lipmi/Makefile.am @@ -32,16 +32,12 @@ # in the design, construction, operation or maintenance of any nuclear # facility. -MAINTAINERCLEANFILES = Makefile.in +MAINTAINERCLEANFILES = Makefile.in -plugindir = $(pluginpath) - -INCLUDES = -I$(top_srcdir)/include +INCLUDES = -I$(top_srcdir)/include EXTRA_LTLIBRARIES = libintf_lipmi.la -plugin_LTLIBRARIES = @PLUGIN_INTF_LIPMI@ -noinst_LTLIBRARIES = @STATIC_INTF_LIPMI@ -libintf_lipmi_la_LDFLAGS = @LDFLAGS_INTF_LIPMI@ -libintf_lipmi_la_LIBADD = $(top_srcdir)/lib/libipmitool.la -libintf_lipmi_la_SOURCES = lipmi.c lipmi.h +noinst_LTLIBRARIES = @INTF_LIPMI_LIB@ +libintf_lipmi_la_LIBADD = $(top_builddir)/lib/libipmitool.la +libintf_lipmi_la_SOURCES = lipmi.c diff --git a/ipmitool/src/plugins/open/Makefile.am b/ipmitool/src/plugins/open/Makefile.am index 8957658..83b1770 100644 --- a/ipmitool/src/plugins/open/Makefile.am +++ b/ipmitool/src/plugins/open/Makefile.am @@ -32,16 +32,12 @@ # in the design, construction, operation or maintenance of any nuclear # facility. -MAINTAINERCLEANFILES = Makefile.in +MAINTAINERCLEANFILES = Makefile.in -plugindir = $(pluginpath) - -INCLUDES = -I$(top_srcdir)/include +INCLUDES = -I$(top_srcdir)/include EXTRA_LTLIBRARIES = libintf_open.la -plugin_LTLIBRARIES = @PLUGIN_INTF_OPEN@ -noinst_LTLIBRARIES = @STATIC_INTF_OPEN@ -libintf_open_la_LDFLAGS = @LDFLAGS_INTF_OPEN@ -libintf_open_la_LIBADD = $(top_srcdir)/lib/libipmitool.la +noinst_LTLIBRARIES = @INTF_OPEN_LIB@ +libintf_open_la_LIBADD = $(top_builddir)/lib/libipmitool.la libintf_open_la_SOURCES = open.c open.h