1 # Makefile for libcharset
3 #### Start of system configuration section. ####
6 # Directories used by "make":
9 # Directories used by "make install":
11 local_prefix
= /usr
/local
12 exec_prefix = @
exec_prefix@
14 includedir = @
includedir@
17 # Programs used by "make":
22 # Programs used by "make install":
24 INSTALL_DATA
= @INSTALL_DATA@
25 MKINSTALLDIRS
= $(SHELL
) $(srcdir)/autoconf
/mkinstalldirs
27 #### End of system configuration section. ####
31 all : include/libcharset.h
force
34 include/libcharset.h
:
35 if
[ ! -d
include ] ; then mkdir
include ; fi
36 $(CP
) $(srcdir)/include/libcharset.h.in
include/libcharset.h
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
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
51 cd lib
&& $(MAKE
) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
52 $(MKINSTALLDIRS
) $(DESTDIR
)$(includedir)
55 cd lib
&& $(MAKE
) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
56 $(RM
) $(DESTDIR
)$(includedir)/libcharset.h
59 cd lib
&& $(MAKE
) check
62 cd lib
&& $(MAKE
) mostlyclean
65 cd lib
&& $(MAKE
) clean
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
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