diff options
author | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-03-16 18:49:26 +0900 |
---|---|---|
committer | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-03-30 00:39:06 +0900 |
commit | fcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch) | |
tree | 64cb17de3f41a2b6fef2368028fbd00349946994 /jni/iconv/libcharset/Makefile |
Fresh start
Diffstat (limited to 'jni/iconv/libcharset/Makefile')
-rw-r--r-- | jni/iconv/libcharset/Makefile | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/jni/iconv/libcharset/Makefile b/jni/iconv/libcharset/Makefile new file mode 100644 index 0000000..92b05f9 --- /dev/null +++ b/jni/iconv/libcharset/Makefile @@ -0,0 +1,85 @@ +# Makefile for libcharset + +#### Start of system configuration section. #### + + +# Directories used by "make": +srcdir = . + +# Directories used by "make install": +prefix = /usr/local +local_prefix = /usr/local +exec_prefix = ${prefix} +datarootdir = ${prefix}/share +datadir = ${datarootdir} +libdir = ${exec_prefix}/lib +includedir = ${prefix}/include +mandir = ${datarootdir}/man + +# Programs used by "make": +CP = cp +RM = rm -f + + +# Programs used by "make install": +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +mkinstalldirs = $(SHELL) ./build-aux/mkinstalldirs + +#### End of system configuration section. #### + +SHELL = /bin/sh + +all : include/libcharset.h force + cd lib && $(MAKE) all + +include/libcharset.h : + if [ ! -d include ] ; then mkdir include ; fi + $(CP) $(srcdir)/include/libcharset.h.in include/libcharset.h + +# 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)' + $(mkinstalldirs) $(includedir) + $(INSTALL_DATA) include/libcharset.h $(includedir)/libcharset.h + $(INSTALL_DATA) include/localcharset.h.inst $(includedir)/localcharset.h + +install : include/libcharset.h include/localcharset.h force + cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' + $(mkinstalldirs) $(DESTDIR)$(includedir) + $(INSTALL_DATA) include/libcharset.h $(DESTDIR)$(includedir)/libcharset.h + $(INSTALL_DATA) include/localcharset.h.inst $(DESTDIR)$(includedir)/localcharset.h + +install-strip : install + +installdirs : force + cd lib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' + $(mkinstalldirs) $(DESTDIR)$(includedir) + +uninstall : force + cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)' + $(RM) $(DESTDIR)$(includedir)/libcharset.h + $(RM) $(DESTDIR)$(includedir)/localcharset.h + +check : force + cd lib && $(MAKE) check + +mostlyclean : force + cd lib && $(MAKE) mostlyclean + +clean : force + cd lib && $(MAKE) clean + +distclean : force + cd lib && if test -f Makefile; then $(MAKE) distclean; fi + $(RM) include/libcharset.h include/localcharset.h include/localcharset.h.inst + $(RM) config.status config.log config.cache Makefile config.h libtool + +maintainer-clean : force + cd lib && if test -f Makefile; then $(MAKE) maintainer-clean; fi + $(RM) include/libcharset.h include/localcharset.h include/localcharset.h.inst + $(RM) config.status config.log config.cache Makefile config.h libtool + +force : + |