Make conversion Shift_JIS -> EUC-JP work better.
[libiconv.git] / Makefile.in
blob0dcc34ae6ee36955ea8dacc61922cc26f8210db3
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 libdir = @libdir@
13 includedir = @includedir@
14 mandir = @mandir@
16 # Programs used by "make":
17 RM = rm -f
18 @SET_MAKE@
20 # Programs used by "make install":
21 INSTALL = @INSTALL@
22 INSTALL_PROGRAM = @INSTALL_PROGRAM@
23 INSTALL_DATA = @INSTALL_DATA@
25 #### End of system configuration section. ####
27 SHELL = /bin/sh
29 all : force
30 builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib"
31 cd lib && $(MAKE) all
32 cd src && $(MAKE) all
33 cd man && $(MAKE) all
34 if test -d tests; then cd tests && $(MAKE) all; fi
36 # Installs the library and include files only. Typically called with only
37 # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
38 install-lib : all force
39 cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)'
40 if [ ! -d $(includedir) ] ; then mkdir $(includedir) ; fi
41 $(INSTALL_DATA) include/iconv.h $(includedir)/iconv.h
43 install : force
44 cd libcharset && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
45 cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
46 cd src && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
47 if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
48 if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
49 if [ ! -d $(DESTDIR)$(includedir) ] ; then mkdir $(DESTDIR)$(includedir) ; fi
50 $(INSTALL_DATA) include/iconv.h $(DESTDIR)$(includedir)/iconv.h
51 cd man && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
53 installdirs : force
54 cd libcharset && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
55 cd lib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
56 cd src && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
57 if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
58 if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
59 if [ ! -d $(DESTDIR)$(includedir) ] ; then mkdir $(DESTDIR)$(includedir) ; fi
60 cd man && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
62 uninstall : force
63 cd libcharset && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
64 cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
65 cd src && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
66 $(RM) $(DESTDIR)$(includedir)/iconv.h
67 cd man && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
69 check : all force
70 cd libcharset && $(MAKE) check
71 cd lib && $(MAKE) check
72 cd src && $(MAKE) check
73 cd man && $(MAKE) check
74 if test -d tests; then cd tests && $(MAKE) check; fi
76 mostlyclean : force
77 cd libcharset && $(MAKE) mostlyclean
78 $(RM) lib/charset.alias lib/libcharset.*
79 cd lib && $(MAKE) mostlyclean
80 cd src && $(MAKE) mostlyclean
81 cd man && $(MAKE) mostlyclean
82 if test -d tests; then cd tests && $(MAKE) mostlyclean; fi
84 clean : force
85 cd libcharset && $(MAKE) clean
86 $(RM) lib/charset.alias lib/libcharset.*
87 cd lib && $(MAKE) clean
88 cd src && $(MAKE) clean
89 cd man && $(MAKE) clean
90 if test -d tests; then cd tests && $(MAKE) clean; fi
92 distclean : force
93 cd libcharset && if test -f Makefile; then $(MAKE) distclean; fi
94 $(RM) lib/charset.alias lib/libcharset.*
95 cd lib && if test -f Makefile; then $(MAKE) distclean; fi
96 cd src && if test -f Makefile; then $(MAKE) distclean; fi
97 cd man && if test -f Makefile; then $(MAKE) distclean; fi
98 if test -d tests; then cd tests && if test -f Makefile; then $(MAKE) distclean; fi; fi
99 $(RM) config.status config.log config.cache Makefile libtool
100 $(RM) include/iconv.h
102 maintainer-clean : force
103 cd libcharset && if test -f Makefile; then $(MAKE) maintainer-clean; fi
104 $(RM) lib/charset.alias lib/libcharset.*
105 cd lib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
106 cd src && if test -f Makefile; then $(MAKE) maintainer-clean; fi
107 cd man && if test -f Makefile; then $(MAKE) maintainer-clean; fi
108 if test -d tests; then cd tests && if test -f Makefile; then $(MAKE) maintainer-clean; fi; fi
109 $(RM) config.status config.log config.cache Makefile libtool
110 $(RM) include/iconv.h
112 force :