2 # Copyright (C) 2009-2010 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.
33 lib_LTLIBRARIES = libhivex.la
35 libhivex_la_SOURCES = \
41 libhivex_la_LIBADD = ../gnulib/lib/libgnu.la
42 libhivex_la_LDFLAGS = -version-info 0:0:0 $(LTLIBINTL) $(LTLIBTHREAD)
43 libhivex_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
44 libhivex_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib
46 bin_PROGRAMS = hivexml hivexsh
47 bin_SCRIPTS = hivexget
48 noinst_SCRIPTS = example1 example2 example3 example4 example5 example6
53 hivexml_LDADD = libhivex.la $(LIBXML2_LIBS)
55 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
57 $(WARN_CFLAGS) $(WERROR_CFLAGS)
64 hivexsh_LDADD = libhivex.la $(LIBREADLINE)
66 -I$(top_srcdir)/gnulib/lib \
67 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
68 $(WARN_CFLAGS) $(WERROR_CFLAGS)
70 include_HEADERS = hivex.h
72 man_MANS = hivex.3 hivexml.1 hivexget.1 hivexsh.1
77 -c "Windows Registry" \
79 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
82 hivexml.1: hivexml.pod
85 -c "Windows Registry" \
87 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
90 hivexget.1: hivexget.pod
93 -c "Windows Registry" \
95 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
98 hivexsh.1: hivexsh.pod
101 -c "Windows Registry" \
103 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
104 $< > $@-t; mv $@-t $@
107 $(top_builddir)/html/hivex.3.html \
108 $(top_builddir)/html/hivexml.1.html \
109 $(top_builddir)/html/hivexget.1.html \
110 $(top_builddir)/html/hivexsh.1.html
112 $(top_builddir)/html/hivex.3.html: hivex.pod
113 mkdir -p $(top_builddir)/html
114 cd $(top_builddir) && pod2html \
117 --outfile html/hivex.3.html \
120 $(top_builddir)/html/hivexml.1.html: hivexml.pod
121 mkdir -p $(top_builddir)/html
122 cd $(top_builddir) && pod2html \
125 --outfile html/hivexml.1.html \
128 $(top_builddir)/html/hivexget.1.html: hivexget.pod
129 mkdir -p $(top_builddir)/html
130 cd $(top_builddir) && pod2html \
133 --outfile html/hivexget.1.html \
136 $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
137 mkdir -p $(top_builddir)/html
138 cd $(top_builddir) && pod2html \
141 --outfile html/hivexsh.1.html \