xref: /openbmc/ipmitool/lib/Makefile.am (revision d531785a)
1# Copyright (c) 2003 Sun Microsystems, Inc.  All Rights Reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modification, are permitted provided that the following conditions
5# are met:
6#
7# Redistribution of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer.
9#
10# Redistribution in binary form must reproduce the above copyright
11# notice, this list of conditions and the following disclaimer in the
12# documentation and/or other materials provided with the distribution.
13#
14# Neither the name of Sun Microsystems, Inc. or the names of
15# contributors may be used to endorse or promote products derived
16# from this software without specific prior written permission.
17#
18# This software is provided "AS IS," without a warranty of any kind.
19# ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
20# INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
21# PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
22# SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE
23# FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
24# OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.  IN NO EVENT WILL
25# SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA,
26# OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR
27# PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF
28# LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
29# EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
30
31INCLUDES			= -I$(top_srcdir)/include
32MAINTAINERCLEANFILES		= Makefile.in
33
34noinst_LTLIBRARIES		= libipmitool.la
35libipmitool_la_SOURCES	= helper.c ipmi_sdr.c ipmi_sel.c ipmi_sol.c ipmi_pef.c \
36				  ipmi_lanp.c ipmi_fru.c ipmi_chassis.c ipmi_mc.c log.c            \
37				  dimm_spd.c ipmi_sensor.c ipmi_channel.c ipmi_event.c             \
38				  ipmi_session.c ipmi_strings.c ipmi_user.c ipmi_raw.c             \
39				  ipmi_oem.c ipmi_isol.c ipmi_sunoem.c ipmi_fwum.c ipmi_picmg.c    \
40				  ipmi_main.c ipmi_tsol.c ipmi_firewall.c ipmi_kontronoem.c        \
41				  ipmi_hpmfwupg.c ipmi_sdradd.c ipmi_ekanalyzer.c ipmi_gendev.c    \
42				  ipmi_ime.c ipmi_delloem.c ipmi_dcmi.c hpm2.c \
43				  ../src/plugins/lan/md5.c ../src/plugins/lan/md5.h
44
45libipmitool_la_LDFLAGS		= -export-dynamic
46libipmitool_la_LIBADD		= -lm
47libipmitool_la_DEPENDENCIES	=
48
49