|
Packit Service |
db8df9 |
#
|
|
Packit Service |
db8df9 |
# Intel(R) Enclosure LED Utilities
|
|
Packit Service |
db8df9 |
# Copyright (C) 2009-2020 Intel Corporation.
|
|
Packit Service |
db8df9 |
#
|
|
Packit Service |
db8df9 |
# This program is free software; you can redistribute it and/or modify it
|
|
Packit Service |
db8df9 |
# under the terms and conditions of the GNU General Public License,
|
|
Packit Service |
db8df9 |
# version 2, as published by the Free Software Foundation.
|
|
Packit Service |
db8df9 |
#
|
|
Packit Service |
db8df9 |
# This program is distributed in the hope it will be useful, but WITHOUT
|
|
Packit Service |
db8df9 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
Packit Service |
db8df9 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
Packit Service |
db8df9 |
# more details.
|
|
Packit Service |
db8df9 |
#
|
|
Packit Service |
db8df9 |
# You should have received a copy of the GNU General Public License along with
|
|
Packit Service |
db8df9 |
# this program; if not, write to the Free Software Foundation, Inc.,
|
|
Packit Service |
db8df9 |
# 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
|
|
Packit Service |
db8df9 |
#
|
|
Packit Service |
db8df9 |
|
|
Packit Service |
db8df9 |
COMMON_SRCS = ahci.c block.c cntrl.c config_file.c enclosure.c list.c \
|
|
Packit Service |
db8df9 |
raid.c scsi.c slave.c status.c sysfs.c smp.c dellssd.c \
|
|
Packit Service |
db8df9 |
utils.c pci_slot.c vmdssd.c udev.c amd.c amd_sgpio.c amd_ipmi.c\
|
|
Packit Service |
db8df9 |
ipmi.c npem.c\
|
|
Packit Service |
db8df9 |
ahci.h amd_sgpio.h block.h cntrl.h config_file.h dellssd.h \
|
|
Packit Service |
db8df9 |
enclosure.h ibpi.h list.h pci_slot.h pidfile.h raid.h scsi.h \
|
|
Packit Service |
db8df9 |
ses.h slave.h smp.h status.h sysfs.h udev.h utils.h version.h \
|
|
Packit Service |
db8df9 |
vmdssd.h ipmi.h amd.h amd_ipmi.h npem.h
|
|
Packit Service |
db8df9 |
|
|
Packit Service |
db8df9 |
LEDMON_SRCS = ledmon.c pidfile.c $(COMMON_SRCS)
|
|
Packit Service |
db8df9 |
LEDCTL_SRCS = ledctl.c $(COMMON_SRCS)
|
|
Packit Service |
db8df9 |
TEST_CONFIG_SRCS = config_file.c list.c utils.c
|
|
Packit Service |
db8df9 |
|
|
Packit Service |
db8df9 |
|
|
Packit Service |
db8df9 |
sbin_PROGRAMS = ledmon ledctl
|
|
Packit Service |
db8df9 |
ledmon_SOURCES = $(LEDMON_SRCS)
|
|
Packit Service |
db8df9 |
ledctl_SOURCES = $(LEDCTL_SRCS)
|
|
Packit Service |
db8df9 |
|
|
Packit Service |
db8df9 |
ledmon_LDADD = $(LIBPCI_LIBS) $(LIBUDEV_LIBS)
|
|
Packit Service |
db8df9 |
ledctl_LDADD = $(LIBPCI_LIBS) $(LIBUDEV_LIBS)
|
|
Packit Service |
db8df9 |
|
|
Packit Service |
db8df9 |
ledmon_CFLAGS = $(AM_CFLAGS) $(LIBPCI_CFLAGS) $(LIBUDEV_CFLAGS)
|
|
Packit Service |
db8df9 |
ledctl_CFLAGS = $(AM_CFLAGS) $(LIBPCI_CFLAGS) $(LIBUDEV_CFLAGS)
|
|
Packit Service |
db8df9 |
if TESTCONFIG_CONDITION
|
|
Packit Service |
db8df9 |
|
|
Packit Service |
db8df9 |
noinst_PROGRAMS = test_config
|
|
Packit Service |
db8df9 |
test_config_SOURCES = $(TEST_CONFIG_SRCS)
|
|
Packit Service |
db8df9 |
test_config_CPPFLAGS = $(AM_CPPFLAGS) -D_TEST_CONFIG
|
|
Packit Service |
db8df9 |
|
|
Packit Service |
db8df9 |
endif
|
|
Packit Service |
db8df9 |
|