5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# $Id: Makefile.in,v 1.1 2003/06/04 00:27:14 marka Exp $
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Copyright (c) 2000 Japan Network Information Center. All rights reserved.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# By using this file, you agree to the terms and conditions set forth bellow.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# LICENSE TERMS AND CONDITIONS
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# The following License Terms and Conditions apply, unless a different
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# license is obtained from Japan Network Information Center ("JPNIC"),
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Chiyoda-ku, Tokyo 101-0047, Japan.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 1. Use, Modification and Redistribution (including distribution of any
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# modified or derived work) in source and/or binary forms is permitted
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# under this License Terms and Conditions.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 2. Redistribution of source code must retain the copyright notices as they
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# appear in each source code file, this License Terms and Conditions.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 3. Redistribution in binary form must reproduce the Copyright Notice,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# this License Terms and Conditions, in the documentation and/or other
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# materials provided with the distribution. For the purposes of binary
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# distribution the "Copyright Notice" refers to the following language:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# "Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved."
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 4. The name of JPNIC may not be used to endorse or promote products
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# derived from this Software without specific prior written approval of
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstop_builddir = ..
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewssrcdir = @srcdir@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsVPATH = @srcdir@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsprefix = @prefix@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsexec_prefix = @exec_prefix@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewssysconfdir = @sysconfdir@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsmandir = @mandir@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsman3dir = $(mandir)/man3
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsman5dir = $(mandir)/man5
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsINSTALL = @INSTALL@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsINSTALL_PROGRAM = @INSTALL_PROGRAM@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsINSTALL_DATA = @INSTALL_DATA@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsMKINSTALLDIRS = @top_srcdir@/mkinstalldirs
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsSHELL = @SHELL@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews@LITEONLY_TRUE@all: libidnkitlite.3 idn.conf.5 idnrc.5 idnalias.conf.5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews@LITEONLY_FALSE@all: libidnkitlite.3 idn.conf.5 idnrc.5 idnalias.conf.5 libidnkit.3
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/libidnkit.3.in > $@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewslibidnkitlite.3: libidnkit.3.in
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/libidnkit.3.in > $@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf.5.in > $@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf.5.in > $@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf.5.in > $@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews@LITEONLY_TRUE@@COMPAT_TRUE@install: all install-common install-compat-common
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews@LITEONLY_FALSE@@COMPAT_TRUE@install: all install-common install-nolite install-compat-common install-compat-nolite
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews@LITEONLY_TRUE@@COMPAT_FALSE@install: all install-common
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews@LITEONLY_FALSE@@COMPAT_FALSE@install: all install-common install-nolite
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsinstall-common:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(MKINSTALLDIRS) $(DESTDIR)$(man3dir)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(INSTALL_DATA) libidnkitlite.3 $(DESTDIR)$(man3dir)/libidnkitlite.3
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(MKINSTALLDIRS) $(DESTDIR)$(man5dir)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(INSTALL_DATA) idn.conf.5 $(DESTDIR)$(man5dir)/idn.conf.5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(INSTALL_DATA) idnrc.5 $(DESTDIR)$(man5dir)/idnrc.5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(INSTALL_DATA) idnalias.conf.5 $(DESTDIR)$(man5dir)/idnalias.conf.5
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsinstall-nolite:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(MKINSTALLDIRS) $(DESTDIR)$(man3dir)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(INSTALL_DATA) libidnkit.3 $(DESTDIR)$(man3dir)/libidnkit.3
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsinstall-compat-common:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews src=$(DESTDIR)$(man3dir)/libidnkitlite.3; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews dst=$(DESTDIR)$(man3dir)/libmdnlite.3; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f $$dst; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ln $$src $$dst || cp $$src $$dst
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews src=$(DESTDIR)$(man5dir)/idn.conf.5; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews dst=$(DESTDIR)$(man5dir)/mdn.conf.5; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f $$dst; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ln $$src $$dst || cp $$src $$dst
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsinstall-compat-nolite:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews src=$(DESTDIR)$(man3dir)/libidnkit.3; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews dst=$(DESTDIR)$(man3dir)/libmdn.3; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f $$dst; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ln $$src $$dst || cp $$src $$dst
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f idn.conf.5 idnrc.5 idnalias.conf.5 libidnkit.3 libidnkitlite.3
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsdistclean: clean
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f Makefile