Initial revision
[TestXSLT.git] / libiconv / libcharset / Makefile.in
1 # Makefile for libcharset
2
3 #### Start of system configuration section. ####
4
5
6 # Directories used by "make":
7 srcdir = @srcdir@
8
9 # Directories used by "make install":
10 prefix = @prefix@
11 local_prefix = /usr/local
12 exec_prefix = @exec_prefix@
13 libdir = @libdir@
14 includedir = @includedir@
15 mandir = @mandir@
16
17 # Programs used by "make":
18 CP = cp
19 RM = rm -f
20 @SET_MAKE@
21
22 # Programs used by "make install":
23 INSTALL = @INSTALL@
24 INSTALL_DATA = @INSTALL_DATA@
25 MKINSTALLDIRS = $(SHELL) $(srcdir)/autoconf/mkinstalldirs
26
27 #### End of system configuration section. ####
28
29 SHELL = /bin/sh
30
31 all : include/libcharset.h force
32         cd lib && $(MAKE) all
33
34 include/libcharset.h :
35         if [ ! -d include ] ; then mkdir include ; fi
36         $(CP) $(srcdir)/include/libcharset.h.in include/libcharset.h
37
38 # Installs the library and include files only. Typically called with only
39 # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
40 install-lib : all force
41         cd lib && $(MAKE) install-lib libdir='$(libdir)' includedir='$(includedir)'
42         $(MKINSTALLDIRS) $(includedir)
43         $(INSTALL_DATA) include/libcharset.h $(includedir)/libcharset.h
44
45 install : force
46         cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
47         $(MKINSTALLDIRS) $(DESTDIR)$(includedir)
48         $(INSTALL_DATA) include/libcharset.h $(DESTDIR)$(includedir)/libcharset.h
49
50 installdirs : force
51         cd lib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
52         $(MKINSTALLDIRS) $(DESTDIR)$(includedir)
53
54 uninstall : force
55         cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
56         $(RM) $(DESTDIR)$(includedir)/libcharset.h
57
58 check : force
59         cd lib && $(MAKE) check
60
61 mostlyclean : force
62         cd lib && $(MAKE) mostlyclean
63
64 clean : force
65         cd lib && $(MAKE) clean
66
67 distclean : force
68         cd lib && if test -f Makefile; then $(MAKE) distclean; fi
69         $(RM) include/libcharset.h
70         $(RM) config.status config.log config.cache Makefile config.h libtool
71
72 maintainer-clean : force
73         cd lib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
74         $(RM) include/libcharset.h
75         $(RM) config.status config.log config.cache Makefile config.h libtool
76
77 force :
78