2 # Copyright (C) 2009 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.
20 EXTRA_DIST = hivex.pod hivexml.pod hivexget.pod hivexsh.pod LICENSE
22 lib_LTLIBRARIES = libhivex.la
24 libhivex_la_SOURCES = \
29 libhivex_la_LDFLAGS = -version-info 0:0:0 $(LTLIBINTL) $(LTLIBTHREAD)
30 libhivex_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
31 libhivex_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib
33 bin_PROGRAMS = hivexml hivexsh
34 bin_SCRIPTS = hivexget
35 noinst_SCRIPTS = example1 example2 example3
40 hivexml_LDADD = libhivex.la $(LIBXML2_LIBS) ../gnulib/lib/libgnu.la
43 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
45 $(WARN_CFLAGS) $(WERROR_CFLAGS)
52 hivexsh_LDADD = libhivex.la ../gnulib/lib/libgnu.la $(LIBREADLINE)
54 -I$(top_srcdir)/gnulib/lib \
56 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
57 $(WARN_CFLAGS) $(WERROR_CFLAGS)
59 man_MANS = hivex.3 hivexml.1 hivexget.1 hivexsh.1
64 -c "Windows Registry" \
66 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
69 hivexml.1: hivexml.pod
72 -c "Windows Registry" \
74 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
77 hivexget.1: hivexget.pod
80 -c "Windows Registry" \
82 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
85 hivexsh.1: hivexsh.pod
88 -c "Windows Registry" \
90 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
94 $(top_builddir)/html/hivex.3.html \
95 $(top_builddir)/html/hivexml.1.html \
96 $(top_builddir)/html/hivexget.1.html \
97 $(top_builddir)/html/hivexsh.1.html
99 $(top_builddir)/html/hivex.3.html: hivex.pod
100 mkdir -p $(top_builddir)/html
101 cd $(top_builddir) && pod2html \
104 --outfile html/hivex.3.html \
107 $(top_builddir)/html/hivexml.1.html: hivexml.pod
108 mkdir -p $(top_builddir)/html
109 cd $(top_builddir) && pod2html \
112 --outfile html/hivexml.1.html \
115 $(top_builddir)/html/hivexget.1.html: hivexget.pod
116 mkdir -p $(top_builddir)/html
117 cd $(top_builddir) && pod2html \
120 --outfile html/hivexget.1.html \
123 $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
124 mkdir -p $(top_builddir)/html
125 cd $(top_builddir) && pod2html \
128 --outfile html/hivexsh.1.html \