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