Blame src/Makefile.am

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