Files
libguestfs/utils/boot-analysis/Makefile.am
2016-05-03 13:21:34 +01:00

57 lines
1.6 KiB
Makefile

# libguestfs
# Copyright (C) 2011-2016 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
include $(top_srcdir)/subdir-rules.mk
EXTRA_DIST = boot-analysis.pod
noinst_PROGRAMS = boot-analysis
boot_analysis_SOURCES = \
boot-analysis.c \
boot-analysis.h \
boot-analysis-timeline.c \
boot-analysis-utils.c \
boot-analysis-utils.h
boot_analysis_CPPFLAGS = \
-I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \
-I$(top_srcdir)/src -I$(top_builddir)/src
boot_analysis_CFLAGS = \
-pthread \
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
$(PCRE_CFLAGS)
boot_analysis_LDADD = \
$(top_builddir)/src/libutils.la \
$(top_builddir)/src/libguestfs.la \
$(PCRE_LIBS) \
$(LIBXML2_LIBS) \
$(LIBVIRT_LIBS) \
$(LTLIBINTL) \
$(top_builddir)/gnulib/lib/libgnu.la \
-lm
# Manual page.
# It should be noinst_MANS but that doesn't work.
noinst_DATA = boot-analysis.1
boot-analysis.1: boot-analysis.pod
$(PODWRAPPER) \
--man $@ \
--license GPLv2+ \
--warning safe \
$<