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
39 hivexml_LDADD = libhivex.la $(LIBXML2_LIBS) ../gnulib/lib/libgnu.la
42 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
44 $(WARN_CFLAGS) $(WERROR_CFLAGS)
49 hivexsh_LDADD = libhivex.la ../gnulib/lib/libgnu.la $(LIBREADLINE)
51 -I$(top_srcdir)/gnulib/lib \
53 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
54 $(WARN_CFLAGS) $(WERROR_CFLAGS)
56 man_MANS = hivex.3 hivexml.1 hivexget.1 hivexsh.1
61 -c "Windows Registry" \
63 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
66 hivexml.1: hivexml.pod
69 -c "Windows Registry" \
71 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
74 hivexget.1: hivexget.pod
77 -c "Windows Registry" \
79 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
82 hivexsh.1: hivexsh.pod
85 -c "Windows Registry" \
87 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
91 $(top_builddir)/html/hivex.3.html \
92 $(top_builddir)/html/hivexml.1.html \
93 $(top_builddir)/html/hivexget.1.html \
94 $(top_builddir)/html/hivexsh.1.html
96 $(top_builddir)/html/hivex.3.html: hivex.pod
97 mkdir -p $(top_builddir)/html
98 cd $(top_builddir) && pod2html \
101 --outfile html/hivex.3.html \
104 $(top_builddir)/html/hivexml.1.html: hivexml.pod
105 mkdir -p $(top_builddir)/html
106 cd $(top_builddir) && pod2html \
109 --outfile html/hivexml.1.html \
112 $(top_builddir)/html/hivexget.1.html: hivexget.pod
113 mkdir -p $(top_builddir)/html
114 cd $(top_builddir) && pod2html \
117 --outfile html/hivexget.1.html \
120 $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
121 mkdir -p $(top_builddir)/html
122 cd $(top_builddir) && pod2html \
125 --outfile html/hivexsh.1.html \