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.
18 EXTRA_DIST = hivex.pod hivexml.pod hivexget.pod hivexsh.pod LICENSE
20 lib_LTLIBRARIES = libhivex.la
22 libhivex_la_SOURCES = \
26 libhivex_la_LDFLAGS = -version-info 0:0:0
27 libhivex_la_CFLAGS = \
28 $(WARN_CFLAGS) $(WERROR_CFLAGS)
30 bin_PROGRAMS = hivexml hivexget hivexsh
35 hivexml_LDADD = libhivex.la $(LIBXML2_LIBS)
38 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
40 $(WARN_CFLAGS) $(WERROR_CFLAGS)
45 hivexget_LDADD = libhivex.la
48 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
49 $(WARN_CFLAGS) $(WERROR_CFLAGS)
54 hivexsh_LDADD = libhivex.la ../gnulib/lib/libgnu.la $(LIBREADLINE)
56 -I$(top_srcdir)/gnulib/lib \
58 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
59 $(WARN_CFLAGS) $(WERROR_CFLAGS)
61 man_MANS = hivex.3 hivexml.1 hivexget.1 hivexsh.1
66 -c "Windows Registry" \
68 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
71 hivexml.1: hivexml.pod
74 -c "Windows Registry" \
76 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
79 hivexget.1: hivexget.pod
82 -c "Windows Registry" \
84 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
87 hivexsh.1: hivexsh.pod
90 -c "Windows Registry" \
92 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
96 $(top_builddir)/html/hivex.3.html \
97 $(top_builddir)/html/hivexml.1.html \
98 $(top_builddir)/html/hivexget.1.html \
99 $(top_builddir)/html/hivexsh.1.html
101 $(top_builddir)/html/hivex.3.html: hivex.pod
102 mkdir -p $(top_builddir)/html
103 cd $(top_builddir) && pod2html \
106 --outfile html/hivex.3.html \
109 $(top_builddir)/html/hivexml.1.html: hivexml.pod
110 mkdir -p $(top_builddir)/html
111 cd $(top_builddir) && pod2html \
114 --outfile html/hivexml.1.html \
117 $(top_builddir)/html/hivexget.1.html: hivexget.pod
118 mkdir -p $(top_builddir)/html
119 cd $(top_builddir) && pod2html \
122 --outfile html/hivexget.1.html \
125 $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
126 mkdir -p $(top_builddir)/html
127 cd $(top_builddir) && pod2html \
130 --outfile html/hivexsh.1.html \