2 # Copyright (C) 2009-2011 Red Hat Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 lib_LTLIBRARIES = libhivex.la
26 libhivex_la_SOURCES = \
35 libhivex_la_LIBADD = ../gnulib/lib/libgnu.la $(LTLIBOBJS)
36 libhivex_la_LDFLAGS = \
38 $(VERSION_SCRIPT_FLAGS)$(srcdir)/hivex.syms \
41 libhivex_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
42 libhivex_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib -I$(srcdir)
44 include_HEADERS = hivex.h
51 -c "Windows Registry" \
53 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
57 $(top_builddir)/html/hivex.3.html
59 $(top_builddir)/html/hivex.3.html: hivex.pod
60 mkdir -p $(top_builddir)/html
63 --htmldir $(top_builddir)/html \
64 --outfile $(top_builddir)/html/hivex.3.html \
67 CLEANFILES = $(man_MANS)
71 check_PROGRAMS = test-just-header
73 TESTS = test-just-header
75 test_just_header_SOURCES = test-just-header.c
76 test_just_header_CFLAGS = \
77 -I$(top_srcdir)/lib -I$(top_builddir)/lib \
78 $(WARN_CFLAGS) $(WERROR_CFLAGS)
79 test_just_header_LDADD = \
80 $(top_builddir)/lib/libhivex.la