Initial revision
[TestXSLT.git] / libiconv / Makefile.in
1 # Makefile for libiconv
2
3 #### Start of system configuration section. ####
4
5 # Directories used by "make":
6 srcdir = @srcdir@
7
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@
15
16 # Programs used by "make":
17 RM = rm -f
18 @SET_MAKE@
19
20 # Programs used by "make install":
21 INSTALL = @INSTALL@
22 INSTALL_PROGRAM = @INSTALL_PROGRAM@
23 INSTALL_DATA = @INSTALL_DATA@
24
25 #### End of system configuration section. ####
26
27 SHELL = /bin/sh
28
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 po && $(MAKE) all
34         cd man && $(MAKE) all
35         if test -d tests; then cd tests && $(MAKE) all; fi
36
37 # Installs the library and include files only. Typically called with only
38 # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
39 install-lib : all force
40         cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)'
41         if [ ! -d $(includedir) ] ; then mkdir $(includedir) ; fi
42         $(INSTALL_DATA) include/iconv.h $(includedir)/iconv.h
43
44 install : force
45         cd libcharset && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
46         cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
47         cd src && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
48         if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
49         if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
50         if [ ! -d $(DESTDIR)$(includedir) ] ; then mkdir $(DESTDIR)$(includedir) ; fi
51         $(INSTALL_DATA) include/iconv.h $(DESTDIR)$(includedir)/iconv.h
52         cd po && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
53         cd man && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
54
55 installdirs : force
56         cd libcharset && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
57         cd lib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
58         cd src && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
59         if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
60         if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
61         if [ ! -d $(DESTDIR)$(includedir) ] ; then mkdir $(DESTDIR)$(includedir) ; fi
62         cd po && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
63         cd man && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
64
65 uninstall : force
66         cd libcharset && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
67         cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
68         cd src && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
69         $(RM) $(DESTDIR)$(includedir)/iconv.h
70         cd po && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
71         cd man && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' mandir='$(mandir)'
72
73 check : all force
74         cd libcharset && $(MAKE) check
75         cd lib && $(MAKE) check
76         cd src && $(MAKE) check
77         cd po && $(MAKE) check
78         cd man && $(MAKE) check
79         if test -d tests; then cd tests && $(MAKE) check; fi
80
81 mostlyclean : force
82         cd libcharset && $(MAKE) mostlyclean
83         $(RM) lib/charset.alias lib/libcharset.*
84         cd lib && $(MAKE) mostlyclean
85         cd src && $(MAKE) mostlyclean
86         cd po && $(MAKE) mostlyclean
87         cd man && $(MAKE) mostlyclean
88         if test -d tests; then cd tests && $(MAKE) mostlyclean; fi
89
90 clean : force
91         cd libcharset && $(MAKE) clean
92         $(RM) lib/charset.alias lib/libcharset.*
93         cd lib && $(MAKE) clean
94         cd src && $(MAKE) clean
95         cd po && $(MAKE) clean
96         cd man && $(MAKE) clean
97         if test -d tests; then cd tests && $(MAKE) clean; fi
98
99 distclean : force
100         cd libcharset && if test -f Makefile; then $(MAKE) distclean; fi
101         $(RM) lib/charset.alias lib/libcharset.*
102         cd lib && if test -f Makefile; then $(MAKE) distclean; fi
103         cd src && if test -f Makefile; then $(MAKE) distclean; fi
104         cd po && if test -f Makefile; then $(MAKE) distclean; fi
105         cd man && if test -f Makefile; then $(MAKE) distclean; fi
106         if test -d tests; then cd tests && if test -f Makefile; then $(MAKE) distclean; fi; fi
107         $(RM) config.status config.log config.cache Makefile libtool
108         $(RM) include/iconv.h
109
110 maintainer-clean : force
111         cd libcharset && if test -f Makefile; then $(MAKE) maintainer-clean; fi
112         $(RM) lib/charset.alias lib/libcharset.*
113         cd lib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
114         cd src && if test -f Makefile; then $(MAKE) maintainer-clean; fi
115         cd po && if test -f Makefile; then $(MAKE) maintainer-clean; fi
116         cd man && if test -f Makefile; then $(MAKE) maintainer-clean; fi
117         if test -d tests; then cd tests && if test -f Makefile; then $(MAKE) maintainer-clean; fi; fi
118         $(RM) config.status config.log config.cache Makefile libtool
119         $(RM) include/iconv.h
120
121 force :
122