Switch to autoconf 2.70.
[libiconv.git] / Makefile.in
blob4e66be591cab8a14ab7285111d721399f375e83d
1 # Makefile for libiconv
3 #### Start of system configuration section. ####
5 # Directories used by "make":
6 srcdir = @srcdir@
8 # Directories used by "make install":
9 prefix = @prefix@
10 local_prefix = /usr/local
11 exec_prefix = @exec_prefix@
12 datarootdir = @datarootdir@
13 datadir = @datadir@
14 libdir = @libdir@
15 includedir = @includedir@
16 mandir = @mandir@
18 # Programs used by "make":
19 RM = rm -f
20 @SET_MAKE@
22 # Programs used by "make install":
23 INSTALL = @INSTALL@
24 INSTALL_PROGRAM = @INSTALL_PROGRAM@
25 INSTALL_DATA = @INSTALL_DATA@
26 mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
28 #### End of system configuration section. ####
30 SHELL = @SHELL@
32 all : lib/localcharset.h force
33 cd lib && $(MAKE) all
34 cd srclib && $(MAKE) all
35 cd src && $(MAKE) all
36 cd po && $(MAKE) all
37 cd man && $(MAKE) all
38 if test -d tests; then cd tests && $(MAKE) all; fi
40 lib/localcharset.h :
41 builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib"
43 # Installs the library and include files only. Typically called with only
44 # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
45 install-lib : all force
46 cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)'
47 if [ ! -d $(includedir) ] ; then $(mkinstalldirs) $(includedir) ; fi
48 $(INSTALL_DATA) include/iconv.h.inst $(includedir)/iconv.h
50 install : lib/localcharset.h force
51 cd libcharset && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
52 cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
53 cd srclib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
54 cd src && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
55 if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi
56 $(INSTALL_DATA) include/iconv.h.inst $(DESTDIR)$(includedir)/iconv.h
57 cd po && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)'
58 cd man && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
60 install-strip : lib/localcharset.h force
61 cd libcharset && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
62 cd lib && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
63 cd srclib && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
64 cd src && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
65 if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi
66 $(INSTALL_DATA) include/iconv.h.inst $(DESTDIR)$(includedir)/iconv.h
67 cd po && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)'
68 cd man && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
70 installdirs : force
71 cd libcharset && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
72 cd lib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
73 cd srclib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
74 cd src && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
75 if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi
76 cd po && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)'
77 cd man && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
79 uninstall : force
80 cd libcharset && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
81 cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
82 cd srclib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
83 cd src && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
84 $(RM) $(DESTDIR)$(includedir)/iconv.h
85 cd po && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)'
86 cd man && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
88 check : all force
89 cd libcharset && $(MAKE) check
90 cd lib && $(MAKE) check
91 cd srclib && $(MAKE) check
92 cd src && $(MAKE) check
93 cd po && $(MAKE) check
94 cd man && $(MAKE) check
95 if test -d tests; then cd tests && $(MAKE) check; fi
97 mostlyclean : force
98 cd libcharset && $(MAKE) mostlyclean
99 $(RM) lib/libcharset.* lib/localcharset.h
100 cd lib && $(MAKE) mostlyclean
101 cd srclib && $(MAKE) mostlyclean
102 cd src && $(MAKE) mostlyclean
103 cd po && $(MAKE) mostlyclean
104 cd man && $(MAKE) mostlyclean
105 if test -d tests; then cd tests && $(MAKE) mostlyclean; fi
106 rm -rf bin
108 clean : force
109 cd libcharset && $(MAKE) clean
110 $(RM) lib/libcharset.* lib/localcharset.h
111 cd lib && $(MAKE) clean
112 cd srclib && $(MAKE) clean
113 cd src && $(MAKE) clean
114 cd po && $(MAKE) clean
115 cd man && $(MAKE) clean
116 if test -d tests; then cd tests && $(MAKE) clean; fi
117 rm -rf bin
119 distclean : force
120 cd libcharset && if test -f Makefile; then $(MAKE) distclean; fi
121 $(RM) lib/libcharset.* lib/localcharset.h
122 cd lib && if test -f Makefile; then $(MAKE) distclean; fi
123 cd srclib && if test -f Makefile; then $(MAKE) distclean; fi
124 cd src && if test -f Makefile; then $(MAKE) distclean; fi
125 cd po && if test -f Makefile; then $(MAKE) distclean; fi
126 cd man && if test -f Makefile; then $(MAKE) distclean; fi
127 if test -d tests; then cd tests && if test -f Makefile; then $(MAKE) distclean; fi; fi
128 $(RM) config.status config.log config.cache Makefile libtool
129 $(RM) config.h stamp-h1 lib/stamp-h2
130 $(RM) include/iconv.h include/iconv.h.inst
131 rm -rf bin
133 maintainer-clean : force
134 cd libcharset && if test -f Makefile; then $(MAKE) maintainer-clean; fi
135 $(RM) lib/libcharset.* lib/localcharset.h
136 cd lib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
137 cd srclib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
138 cd src && if test -f Makefile; then $(MAKE) maintainer-clean; fi
139 cd po && if test -f Makefile; then $(MAKE) maintainer-clean; fi
140 cd man && if test -f Makefile; then $(MAKE) maintainer-clean; fi
141 if test -d tests; then cd tests && if test -f Makefile; then $(MAKE) maintainer-clean; fi; fi
142 $(RM) config.status config.log config.cache Makefile libtool
143 $(RM) config.h stamp-h1 lib/stamp-h2
144 $(RM) include/iconv.h include/iconv.h.inst
145 rm -rf bin
148 # List of source files.
149 SOURCE_FILES = \
150 README DEPENDENCIES INSTALL.windows HACKING AUTHORS NEWS DESIGN NOTES THANKS \
151 ChangeLog Makefile.devel configure.ac Makefile.in \
152 include/export.h include/iconv.h.in \
153 gnulib-local/lib/alloca.in.h \
154 gnulib-local/lib/error.h.diff \
155 gnulib-local/lib/progname.h.diff \
156 gnulib-local/lib/xalloc.h \
157 gnulib-local/lib/xmalloc.c \
158 gnulib-local/lib/xstrdup.c \
159 gnulib-local/m4/alloca.m4 \
160 gnulib-local/modules/libiconv-misc \
161 gnulib-local/modules/mbstate \
162 gnulib-local/modules/xalloc \
163 m4/cp.m4 \
164 m4/eilseq.m4 \
165 m4/endian.m4 \
166 m4/general.m4 \
167 m4/ln.m4 \
168 m4/proto.m4 \
169 windows/iconv.rc windows/libiconv.rc windows/windres-options \
170 woe32dll/export.h woe32dll/iconv-exports.c \
171 os2/iconv.def \
172 extras/ChangeLog extras/iconv_string.h extras/iconv_string.c \
173 tools/Makefile \
174 tools/8bit_tab_to_h.c tools/cjk_tab_to_h.c tools/cjk_variants.c \
175 tools/CP50221-0208-EXT.TXT tools/CP50221-0212-EXT.TXT tools/JISX0213.TXT
176 # List of distributed files imported from other packages.
177 LIBTOOL_IMPORTED_FILES = \
178 build-aux/ltmain.sh \
179 m4/libtool.m4 \
180 m4/lt~obsolete.m4 \
181 m4/ltoptions.m4 \
182 m4/ltsugar.m4 \
183 m4/ltversion.m4
184 AUTOMAKE_OLD_IMPORTED_FILES = \
185 build-aux/mkinstalldirs
186 AUTOMAKE_IMPORTED_FILES = \
187 build-aux/install-sh \
188 build-aux/missing
189 GNULIB_IMPORTED_FILES = \
190 doc/relocatable.texi \
191 build-aux/config.guess \
192 build-aux/config.libpath \
193 build-aux/config.rpath \
194 build-aux/config.sub \
195 build-aux/install-reloc \
196 build-aux/reloc-ldflags
197 IMPORTED_FILES = \
198 COPYING COPYING.LIB \
199 ABOUT-NLS INSTALL.generic \
200 build-aux/compile \
201 build-aux/ar-lib \
202 $(LIBTOOL_IMPORTED_FILES) $(AUTOMAKE_OLD_IMPORTED_FILES) $(AUTOMAKE_IMPORTED_FILES) $(GNULIB_IMPORTED_FILES)
203 # List of distributed files generated by autotools or Makefile.devel.
204 GENERATED_FILES = \
205 aclocal.m4 configure config.h.in \
206 include/iconv.h.build.in
207 # List of distributed files generated by "make".
208 DISTRIBUTED_BUILT_FILES =
209 # List of distributed files.
210 DISTFILES = $(SOURCE_FILES) $(IMPORTED_FILES) $(GENERATED_FILES) $(DISTRIBUTED_BUILT_FILES)
212 distdir : $(DISTFILES)
213 for file in $(DISTFILES); do \
214 if test -f $$file; then dir='.'; else dir='$(srcdir)'; fi; \
215 destdir=`echo '$(distdir)'/$$file | sed -e 's|//*[^/]*$$||'`; \
216 test -d "$$destdir" || $(mkinstalldirs) "$$destdir" >/dev/null; \
217 cp -p "$$dir/$$file" '$(distdir)'/$$file || exit 1; \
218 done
219 for sdir in srcm4; do \
220 mkdir -p '$(distdir)'/$$sdir; \
221 for file in '$(srcdir)'/$$sdir/*.m4; do \
222 cp -p "$$file" '$(distdir)'/$$sdir/ || exit 1; \
223 done; \
224 done
225 test -d '$(distdir)'/libcharset || mkdir '$(distdir)'/libcharset; cd libcharset && $(MAKE) distdir distdir='$(distdir)'/libcharset
226 test -d '$(distdir)'/lib || mkdir '$(distdir)'/lib; cd lib && $(MAKE) distdir distdir='$(distdir)'/lib
227 test -d '$(distdir)'/srclib || mkdir '$(distdir)'/srclib; cd srclib && $(MAKE) distdir distdir='$(distdir)'/srclib
228 test -d '$(distdir)'/src || mkdir '$(distdir)'/src; cd src && $(MAKE) distdir distdir='$(distdir)'/src
229 test -d '$(distdir)'/tests || mkdir '$(distdir)'/tests; cd tests && $(MAKE) distdir distdir='$(distdir)'/tests
230 test -d '$(distdir)'/po || mkdir '$(distdir)'/po; cd po && $(MAKE) distdir distdir='$(distdir)'/po
231 test -d '$(distdir)'/man || mkdir '$(distdir)'/man; cd man && $(MAKE) distdir distdir='$(distdir)'/man
234 # Creating a distribution tarball.
235 PACKAGE = @PACKAGE@
236 VERSION = @VERSION@
237 TAR = tar
238 GZIP = gzip
240 dist : force
241 tmpdistdir=$(PACKAGE)-$(VERSION); \
242 abstmpdistdir=`pwd`/$$tmpdistdir; \
243 rm -rf $$tmpdistdir $$tmpdistdir.tar $$tmpdistdir.tar.gz \
244 && mkdir $$tmpdistdir \
245 && $(MAKE) distdir distdir="$$abstmpdistdir" \
246 && $(TAR) chof $$tmpdistdir.tar --owner=root --group=root $$tmpdistdir \
247 && $(GZIP) -9 $$tmpdistdir.tar \
248 && rm -rf $$tmpdistdir
251 force :
253 # Work around an automake-1.8 bug.
254 am--refresh: