|
Packit Service |
2212bb |
# Makefile.am --
|
|
Packit Service |
2212bb |
# Copyright 2009 Red Hat Inc., Durham, North Carolina.
|
|
Packit Service |
2212bb |
# All Rights Reserved.
|
|
Packit Service |
2212bb |
#
|
|
Packit Service |
2212bb |
# This library is free software; you can redistribute it and/or
|
|
Packit Service |
2212bb |
# modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
2212bb |
# License as published by the Free Software Foundation; either
|
|
Packit Service |
2212bb |
# version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
2212bb |
#
|
|
Packit Service |
2212bb |
# This library is distributed in the hope that it will be useful,
|
|
Packit Service |
2212bb |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
2212bb |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
2212bb |
# Lesser General Public License for more details.
|
|
Packit Service |
2212bb |
#
|
|
Packit Service |
2212bb |
# You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
2212bb |
# License along with this library; if not, write to the Free Software
|
|
Packit Service |
2212bb |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
Packit Service |
2212bb |
#
|
|
Packit Service |
2212bb |
# Authors:
|
|
Packit Service |
2212bb |
# Steve Grubb <sgrubb@redhat.com>
|
|
Packit Service |
2212bb |
#
|
|
Packit Service |
2212bb |
|
|
Packit Service |
2212bb |
AUTOMAKE_OPTIONS = no-dependencies
|
|
Packit Service |
2212bb |
ACLOCAL_AMFLAGS = -I m4
|
|
Packit Service |
2212bb |
EXTRA_DIST = COPYING autogen.sh misc/irqbalance.service misc/irqbalance.env
|
|
Packit Service |
2212bb |
|
|
Packit Service |
2212bb |
SUBDIRS = tests
|
|
Packit Service |
2212bb |
|
|
Packit Service |
2212bb |
UI_DIR = ui
|
|
Packit Service |
2212bb |
AM_CFLAGS = $(LIBCAP_NG_CFLAGS) $(GLIB2_CFLAGS)
|
|
Packit Service |
2212bb |
AM_CPPFLAGS = -I${top_srcdir} -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE
|
|
Packit Service |
2212bb |
noinst_HEADERS = bitmap.h constants.h cpumask.h irqbalance.h non-atomic.h \
|
|
Packit Service |
2212bb |
types.h $(UI_DIR)/helpers.h $(UI_DIR)/irqbalance-ui.h $(UI_DIR)/ui.h
|
|
Packit Service |
2212bb |
sbin_PROGRAMS = irqbalance
|
|
Packit Service |
2212bb |
|
|
Packit Service |
2212bb |
if IRQBALANCEUI
|
|
Packit Service |
2212bb |
sbin_PROGRAMS += irqbalance-ui
|
|
Packit Service |
2212bb |
endif
|
|
Packit Service |
2212bb |
|
|
Packit Service |
2212bb |
irqbalance_SOURCES = activate.c bitmap.c classify.c cputree.c irqbalance.c \
|
|
Packit Service |
2212bb |
irqlist.c numa.c placement.c procinterrupts.c
|
|
Packit Service |
2212bb |
irqbalance_LDADD = $(LIBCAP_NG_LIBS) $(GLIB2_LIBS)
|
|
Packit Service |
2212bb |
if IRQBALANCEUI
|
|
Packit Service |
2212bb |
irqbalance_ui_SOURCES = $(UI_DIR)/helpers.c $(UI_DIR)/irqbalance-ui.c \
|
|
Packit Service |
2212bb |
$(UI_DIR)/ui.c
|
|
Packit Service |
2212bb |
irqbalance_ui_LDADD = $(GLIB2_LIBS) $(CURSES_LIBS)
|
|
Packit Service |
2212bb |
endif
|
|
Packit Service |
2212bb |
|
|
Packit Service |
2212bb |
dist_man_MANS = irqbalance.1
|
|
Packit Service |
2212bb |
|
|
Packit Service |
2212bb |
CONFIG_CLEAN_FILES = debug*.list config/*
|
|
Packit Service |
2212bb |
clean-generic:
|
|
Packit Service |
2212bb |
rm -rf autom4te*.cache
|
|
Packit Service |
2212bb |
rm -f *.rej *.orig *~
|
|
Packit Service |
2212bb |
|