1# $Id: Makefile.in,v 1.1 2003/06/04 00:27:14 marka Exp $ 2# 3# Copyright (c) 2000 Japan Network Information Center. All rights reserved. 4# 5# By using this file, you agree to the terms and conditions set forth bellow. 6# 7# LICENSE TERMS AND CONDITIONS 8# 9# The following License Terms and Conditions apply, unless a different 10# license is obtained from Japan Network Information Center ("JPNIC"), 11# a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda, 12# Chiyoda-ku, Tokyo 101-0047, Japan. 13# 14# 1. Use, Modification and Redistribution (including distribution of any 15# modified or derived work) in source and/or binary forms is permitted 16# under this License Terms and Conditions. 17# 18# 2. Redistribution of source code must retain the copyright notices as they 19# appear in each source code file, this License Terms and Conditions. 20# 21# 3. Redistribution in binary form must reproduce the Copyright Notice, 22# this License Terms and Conditions, in the documentation and/or other 23# materials provided with the distribution. For the purposes of binary 24# distribution the "Copyright Notice" refers to the following language: 25# "Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved." 26# 27# 4. The name of JPNIC may not be used to endorse or promote products 28# derived from this Software without specific prior written approval of 29# JPNIC. 30# 31# 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC 32# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 33# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 34# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE 35# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 36# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 37# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 38# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 39# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 40# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 41# ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 42 43top_builddir = .. 44 45srcdir = @srcdir@ 46VPATH = @srcdir@ 47 48prefix = @prefix@ 49exec_prefix = @exec_prefix@ 50 51sysconfdir = @sysconfdir@ 52mandir = @mandir@ 53man3dir = $(mandir)/man3 54man5dir = $(mandir)/man5 55 56INSTALL = @INSTALL@ 57INSTALL_PROGRAM = @INSTALL_PROGRAM@ 58INSTALL_DATA = @INSTALL_DATA@ 59MKINSTALLDIRS = @top_srcdir@/mkinstalldirs 60SHELL = @SHELL@ 61 62@LITEONLY_TRUE@all: libidnkitlite.3 idn.conf.5 idnrc.5 idnalias.conf.5 63@LITEONLY_FALSE@all: libidnkitlite.3 idn.conf.5 idnrc.5 idnalias.conf.5 libidnkit.3 64 65libidnkit.3: libidnkit.3.in 66 sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/libidnkit.3.in > $@ 67libidnkitlite.3: libidnkit.3.in 68 sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/libidnkit.3.in > $@ 69idn.conf.5: idn.conf.5.in 70 sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf.5.in > $@ 71idnrc.5: idn.conf.5.in 72 sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf.5.in > $@ 73idnalias.conf.5: idn.conf.5.in 74 sed 's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf.5.in > $@ 75 76@LITEONLY_TRUE@@COMPAT_TRUE@install: all install-common install-compat-common 77@LITEONLY_FALSE@@COMPAT_TRUE@install: all install-common install-nolite install-compat-common install-compat-nolite 78@LITEONLY_TRUE@@COMPAT_FALSE@install: all install-common 79@LITEONLY_FALSE@@COMPAT_FALSE@install: all install-common install-nolite 80 81install-common: 82 $(MKINSTALLDIRS) $(DESTDIR)$(man3dir) 83 $(INSTALL_DATA) libidnkitlite.3 $(DESTDIR)$(man3dir)/libidnkitlite.3 84 $(MKINSTALLDIRS) $(DESTDIR)$(man5dir) 85 $(INSTALL_DATA) idn.conf.5 $(DESTDIR)$(man5dir)/idn.conf.5 86 $(INSTALL_DATA) idnrc.5 $(DESTDIR)$(man5dir)/idnrc.5 87 $(INSTALL_DATA) idnalias.conf.5 $(DESTDIR)$(man5dir)/idnalias.conf.5 88 89install-nolite: 90 $(MKINSTALLDIRS) $(DESTDIR)$(man3dir) 91 $(INSTALL_DATA) libidnkit.3 $(DESTDIR)$(man3dir)/libidnkit.3 92 93install-compat-common: 94 src=$(DESTDIR)$(man3dir)/libidnkitlite.3; \ 95 dst=$(DESTDIR)$(man3dir)/libmdnlite.3; \ 96 rm -f $$dst; \ 97 ln $$src $$dst || cp $$src $$dst 98 src=$(DESTDIR)$(man5dir)/idn.conf.5; \ 99 dst=$(DESTDIR)$(man5dir)/mdn.conf.5; \ 100 rm -f $$dst; \ 101 ln $$src $$dst || cp $$src $$dst 102 103install-compat-nolite: 104 src=$(DESTDIR)$(man3dir)/libidnkit.3; \ 105 dst=$(DESTDIR)$(man3dir)/libmdn.3; \ 106 rm -f $$dst; \ 107 ln $$src $$dst || cp $$src $$dst 108 109clean: 110 rm -f idn.conf.5 idnrc.5 idnalias.conf.5 libidnkit.3 libidnkitlite.3 111 rm -f *~ 112 113distclean: clean 114 rm -f Makefile 115 116test check: 117