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.
34 lib_LTLIBRARIES = libhivex.la
36 libhivex_la_SOURCES = \
41 libhivex_la_LDFLAGS = -version-info 0:0:0 $(LTLIBINTL) $(LTLIBTHREAD)
42 libhivex_la_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
43 libhivex_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib
45 bin_PROGRAMS = hivexml hivexsh
46 bin_SCRIPTS = hivexget
47 noinst_SCRIPTS = example1 example2 example3 example4 example5 example6
52 hivexml_LDADD = libhivex.la $(LIBXML2_LIBS) ../gnulib/lib/libgnu.la
55 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
57 $(WARN_CFLAGS) $(WERROR_CFLAGS)
64 hivexsh_LDADD = libhivex.la ../gnulib/lib/libgnu.la $(LIBREADLINE)
66 -I$(top_srcdir)/gnulib/lib \
68 -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
69 $(WARN_CFLAGS) $(WERROR_CFLAGS)
71 man_MANS = hivex.3 hivexml.1 hivexget.1 hivexsh.1
76 -c "Windows Registry" \
78 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
81 hivexml.1: hivexml.pod
84 -c "Windows Registry" \
86 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
89 hivexget.1: hivexget.pod
92 -c "Windows Registry" \
94 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
97 hivexsh.1: hivexsh.pod
100 -c "Windows Registry" \
102 --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
103 $< > $@-t; mv $@-t $@
106 $(top_builddir)/html/hivex.3.html \
107 $(top_builddir)/html/hivexml.1.html \
108 $(top_builddir)/html/hivexget.1.html \
109 $(top_builddir)/html/hivexsh.1.html
111 $(top_builddir)/html/hivex.3.html: hivex.pod
112 mkdir -p $(top_builddir)/html
113 cd $(top_builddir) && pod2html \
116 --outfile html/hivex.3.html \
119 $(top_builddir)/html/hivexml.1.html: hivexml.pod
120 mkdir -p $(top_builddir)/html
121 cd $(top_builddir) && pod2html \
124 --outfile html/hivexml.1.html \
127 $(top_builddir)/html/hivexget.1.html: hivexget.pod
128 mkdir -p $(top_builddir)/html
129 cd $(top_builddir) && pod2html \
132 --outfile html/hivexget.1.html \
135 $(top_builddir)/html/hivexsh.1.html: hivexsh.pod
136 mkdir -p $(top_builddir)/html
137 cd $(top_builddir) && pod2html \
140 --outfile html/hivexsh.1.html \