1 # Id: Makefile.in,v 1.1 2003/06/04 00:27:14 marka Exp
3 # Copyright (c) 2000 Japan Network Information Center. All rights reserved.
5 # By using this file, you agree to the terms and conditions set forth bellow.
7 # LICENSE TERMS AND CONDITIONS
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.
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.
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.
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."
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
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.
49 exec_prefix = @
exec_prefix@
51 sysconfdir
= @sysconfdir@
53 man3dir = $(mandir)/man3
54 man5dir = $(mandir)/man5
57 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
58 INSTALL_DATA
= @INSTALL_DATA@
59 MKINSTALLDIRS
= @top_srcdir@
/mkinstalldirs
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
65 libidnkit
.3: libidnkit
.3.in
66 sed
's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/libidnkit
.3.in
> $@
67 libidnkitlite
.3: libidnkit
.3.in
68 sed
's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/libidnkit
.3.in
> $@
69 idn.conf
.5: idn.conf
.5.in
70 sed
's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf
.5.in
> $@
71 idnrc
.5: idn.conf
.5.in
72 sed
's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf
.5.in
> $@
73 idnalias.conf
.5: idn.conf
.5.in
74 sed
's%[@]sysconfdir[@]%$(sysconfdir)%' < $(srcdir)/idn.conf
.5.in
> $@
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
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
90 $(MKINSTALLDIRS
) $(DESTDIR
)$(man3dir)
91 $(INSTALL_DATA
) libidnkit
.3 $(DESTDIR
)$(man3dir)/libidnkit
.3
93 install-compat-common
:
94 src
=$(DESTDIR
)$(man3dir)/libidnkitlite
.3; \
95 dst
=$(DESTDIR
)$(man3dir)/libmdnlite
.3; \
97 ln
$$src $$dst || cp
$$src $$dst
98 src
=$(DESTDIR
)$(man5dir)/idn.conf
.5; \
99 dst
=$(DESTDIR
)$(man5dir)/mdn.conf
.5; \
101 ln
$$src $$dst || cp
$$src $$dst
103 install-compat-nolite
:
104 src
=$(DESTDIR
)$(man3dir)/libidnkit
.3; \
105 dst
=$(DESTDIR
)$(man3dir)/libmdn
.3; \
107 ln
$$src $$dst || cp
$$src $$dst
110 rm -f idn.conf
.5 idnrc
.5 idnalias.conf
.5 libidnkit
.3 libidnkitlite
.3