1 # Makefile for libiconv
3 #### Start of system configuration section. ####
5 # Directories used by "make":
8 # Directories used by "make install":
10 local_prefix
= /usr
/local
11 exec_prefix = @
exec_prefix@
12 datarootdir
= @datarootdir@
15 includedir = @
includedir@
18 # Programs used by "make":
22 # Programs used by "make 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. ####
32 all : lib
/localcharset.h
force
34 cd preload
&& $(MAKE
) all
35 cd srclib
&& $(MAKE
) all
39 if
test -d tests
; then cd tests
&& $(MAKE
) all; fi
42 builddir
="`pwd`"; cd libcharset
&& $(MAKE
) all && $(MAKE
) install-lib
libdir="$$builddir/lib" includedir="$$builddir/lib"
44 # Installs the library and include files only. Typically called with only
45 # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
46 install-lib
: all force
47 cd lib
&& $(MAKE
) install-lib
libdir='$(libdir)' includedir='$(includedir)'
48 if
[ ! -d
$(includedir) ] ; then
$(mkinstalldirs
) $(includedir) ; fi
49 $(INSTALL_DATA
) include/iconv.h.inst
$(includedir)/iconv.h
51 install : lib
/localcharset.h
force
52 cd libcharset
&& $(MAKE
) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
53 cd lib
&& $(MAKE
) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
54 cd preload
&& $(MAKE
) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
55 cd srclib
&& $(MAKE
) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
56 cd src
&& $(MAKE
) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
57 if
[ ! -d
$(DESTDIR
)$(includedir) ] ; then
$(mkinstalldirs
) $(DESTDIR
)$(includedir) ; fi
58 $(INSTALL_DATA
) include/iconv.h.inst
$(DESTDIR
)$(includedir)/iconv.h
59 cd po
&& $(MAKE
) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir
='$(datarootdir)' datadir='$(datadir)'
60 cd man
&& $(MAKE
) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir
='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
62 install-strip
: lib
/localcharset.h
force
63 cd libcharset
&& $(MAKE
) install-strip
prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
64 cd lib
&& $(MAKE
) install-strip
prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
65 cd preload
&& $(MAKE
) install-strip
prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
66 cd srclib
&& $(MAKE
) install-strip
prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
67 cd src
&& $(MAKE
) install-strip
prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
68 if
[ ! -d
$(DESTDIR
)$(includedir) ] ; then
$(mkinstalldirs
) $(DESTDIR
)$(includedir) ; fi
69 $(INSTALL_DATA
) include/iconv.h.inst
$(DESTDIR
)$(includedir)/iconv.h
70 cd po
&& $(MAKE
) install-strip
prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir
='$(datarootdir)' datadir='$(datadir)'
71 cd man
&& $(MAKE
) install-strip
prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir
='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
74 cd libcharset
&& $(MAKE
) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
75 cd lib
&& $(MAKE
) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
76 cd preload
&& $(MAKE
) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
77 cd srclib
&& $(MAKE
) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
78 cd src
&& $(MAKE
) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
79 if
[ ! -d
$(DESTDIR
)$(includedir) ] ; then
$(mkinstalldirs
) $(DESTDIR
)$(includedir) ; fi
80 cd po
&& $(MAKE
) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir
='$(datarootdir)' datadir='$(datadir)'
81 cd man
&& $(MAKE
) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir
='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
84 cd libcharset
&& $(MAKE
) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
85 cd lib
&& $(MAKE
) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
86 cd preload
&& $(MAKE
) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
87 cd srclib
&& $(MAKE
) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
88 cd src
&& $(MAKE
) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
89 $(RM
) $(DESTDIR
)$(includedir)/iconv.h
90 cd po
&& $(MAKE
) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir
='$(datarootdir)' datadir='$(datadir)'
91 cd man
&& $(MAKE
) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' datarootdir
='$(datarootdir)' datadir='$(datadir)' mandir='$(mandir)'
94 cd libcharset
&& $(MAKE
) check
95 cd lib
&& $(MAKE
) check
96 cd preload
&& $(MAKE
) check
97 cd srclib
&& $(MAKE
) check
98 cd src
&& $(MAKE
) check
99 cd po
&& $(MAKE
) check
100 cd man
&& $(MAKE
) check
101 if
test -d tests
; then cd tests
&& $(MAKE
) check; fi
104 cd libcharset
&& $(MAKE
) mostlyclean
105 $(RM
) lib
/charset.alias lib
/libcharset.
* lib
/localcharset.h
106 cd lib
&& $(MAKE
) mostlyclean
107 cd preload
&& $(MAKE
) mostlyclean
108 cd srclib
&& $(MAKE
) mostlyclean
109 cd src
&& $(MAKE
) mostlyclean
110 cd po
&& $(MAKE
) mostlyclean
111 cd man
&& $(MAKE
) mostlyclean
112 if
test -d tests
; then cd tests
&& $(MAKE
) mostlyclean; fi
116 cd libcharset
&& $(MAKE
) clean
117 $(RM
) lib
/charset.alias lib
/libcharset.
* lib
/localcharset.h
118 cd lib
&& $(MAKE
) clean
119 cd preload
&& $(MAKE
) clean
120 cd srclib
&& $(MAKE
) clean
121 cd src
&& $(MAKE
) clean
122 cd po
&& $(MAKE
) clean
123 cd man
&& $(MAKE
) clean
124 if
test -d tests
; then cd tests
&& $(MAKE
) clean; fi
128 cd libcharset
&& if
test -f Makefile
; then
$(MAKE
) distclean; fi
129 $(RM
) lib
/charset.alias lib
/libcharset.
* lib
/localcharset.h
130 cd lib
&& if
test -f Makefile
; then
$(MAKE
) distclean; fi
131 cd preload
&& if
test -f Makefile
; then
$(MAKE
) distclean; fi
132 cd srclib
&& if
test -f Makefile
; then
$(MAKE
) distclean; fi
133 cd src
&& if
test -f Makefile
; then
$(MAKE
) distclean; fi
134 cd po
&& if
test -f Makefile
; then
$(MAKE
) distclean; fi
135 cd man
&& if
test -f Makefile
; then
$(MAKE
) distclean; fi
136 if
test -d tests
; then cd tests
&& if
test -f Makefile
; then
$(MAKE
) distclean; fi
; fi
137 $(RM
) config.status config.log config.cache Makefile libtool
138 $(RM
) config.h stamp-h1 lib
/stamp-h2
139 $(RM
) include/iconv.h
include/iconv.h.inst
142 maintainer-clean
: force
143 cd libcharset
&& if
test -f Makefile
; then
$(MAKE
) maintainer-clean
; fi
144 $(RM
) lib
/charset.alias lib
/libcharset.
* lib
/localcharset.h
145 cd lib
&& if
test -f Makefile
; then
$(MAKE
) maintainer-clean
; fi
146 cd preload
&& if
test -f Makefile
; then
$(MAKE
) maintainer-clean
; fi
147 cd srclib
&& if
test -f Makefile
; then
$(MAKE
) maintainer-clean
; fi
148 cd src
&& if
test -f Makefile
; then
$(MAKE
) maintainer-clean
; fi
149 cd po
&& if
test -f Makefile
; then
$(MAKE
) maintainer-clean
; fi
150 cd man
&& if
test -f Makefile
; then
$(MAKE
) maintainer-clean
; fi
151 if
test -d tests
; then cd tests
&& if
test -f Makefile
; then
$(MAKE
) maintainer-clean
; fi
; fi
152 $(RM
) config.status config.log config.cache Makefile libtool
153 $(RM
) config.h stamp-h1 lib
/stamp-h2
154 $(RM
) include/iconv.h
include/iconv.h.inst
159 # Work around an automake-1.8 bug.