9f7d51ee3290e2a064d71016a6bd555b47134a7cMark Andrews# $Id: Makefile.in,v 1.2 2004/07/20 07:13:39 marka Exp $
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Copyright (c) 2000, 2002 Japan Network Information Center.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# All rights reserved.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# By using this file, you agree to the terms and conditions set forth bellow.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# LICENSE TERMS AND CONDITIONS
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#
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#
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#
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#
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#
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# JPNIC.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#
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 Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews.SUFFIXES:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews.SUFFIXES: .tsy .c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstop_builddir = ../..
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewssrcdir = @srcdir@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsVPATH = @srcdir@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsCC = @CC@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsSHELL = @SHELL@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsLIBTOOL = @LIBTOOL@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsICONVINC = @ICONVINC@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsICONVLIB = @ICONVLIB@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsIDNLIB = ../libidntest.la
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsIDNLITELIB = ../libidntestlite.la
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsINCS = -I. -I$(srcdir) -I$(srcdir)/../../include -I../../include $(ICONVINC)
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsDEFS =
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsCFLAGS = $(INCS) $(DEFS) @CPPFLAGS@ @CFLAGS@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsLDFLAGS = @LDFLAGS@
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsTSYFLAGS =
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsPERL = @PERL@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsCOMMONSRCS = testsuite.c testutil.c setenv.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsCOMMONOBJS = testsuite.lo testutil.lo setenv.lo
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsBUILTSRCS = api.c api-init1.c api-init2.c api-init3.c \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init4-1.c api-init4-2.c api-init4-3.c \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init5-1.c api-init5-2.c api-init5-3.c \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews res.c resconf.c mapselector.c checker.c converter.c mapper.c \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews normalizer.c delimitermap.c ucs4.c nameprep.c \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsTESTS = api-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init1-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init2-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init3-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init4-1-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init4-2-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init4-3-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init5-1-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init5-2-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init5-3-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews res-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews resconf-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews mapselector-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews converter-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews checker-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews mapper-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews normalizer-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews delimitermap-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ucs4-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews nameprep-test
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark AndrewsLITETESTS = apilite-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews reslite-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews resconflite-test \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews converterlite-test
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews.tsy.c:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f $@ $@.tmp
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(PERL) $(srcdir)/testygen -o $@ $(TSYFLAGS) $<
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(PERL) $(srcdir)/utffilter $@ > $@.tmp
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews mv -f $@.tmp $@
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsall:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsinstall:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsclean:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f *.o *.lo *.tmp core *.core *~
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f $(TESTS) $(LITETESTS) $(BUILTSRCS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f test.conf testalias.conf test.map
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f iconvchk
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -fr .libs/
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsdistclean: clean
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f Makefile
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews@LITEONLY_TRUE@test check: test-lite
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews@LITEONLY_FALSE@test check: test-nolite
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest-lite: $(LITETESTS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews @for i in $(LITETESTS); do \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "Run test program: $$i"; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ./$$i; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews done
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstest-nolite: $(TESTS) $(LITETESTS) iconvchk
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews @./iconvchk
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews @for i in $(TESTS) $(LITETESTS); do \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo "Run test program: $$i"; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ./$$i; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews echo; \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews done
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-test: api.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi.lo: api.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapilite-test: apilite.lo $(IDNLITELIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews apilite.lo $(COMMONOBJS) $(IDNLITELIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapilite.lo: api.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -DWITHOUT_ICONV -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -c api.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init1-test: api-init1.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init1.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init1.lo: api-init1.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api-init1.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init2-test: api-init2.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init2.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init2.lo: api-init2.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api-init2.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init3-test: api-init3.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init3.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init3.lo: api-init3.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api-init3.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init4-1-test: api-init4-1.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init4-1.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init4-1.lo: api-init4-1.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api-init4-1.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init4-2-test: api-init4-2.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init4-2.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init4-2.lo: api-init4-2.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api-init4-2.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init4-3-test: api-init4-3.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init4-3.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init4-3.lo: api-init4-3.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api-init4-3.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init5-1-test: api-init5-1.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init5-1.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init5-1.lo: api-init5-1.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api-init5-1.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init5-2-test: api-init5-2.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init5-2.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init5-2.lo: api-init5-2.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api-init5-2.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init5-3-test: api-init5-3.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews api-init5-3.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsapi-init5-3.lo: api-init5-3.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c api-init5-3.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsres-test: res.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews res.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsres.lo: res.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c res.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsreslite-test: reslite.lo $(IDNLITELIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews reslite.lo $(COMMONOBJS) $(IDNLITELIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsreslite.lo: res.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -DWITHOUT_ICONV -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -c res.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsresconf-test: resconf.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews resconf.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsresconf.lo: resconf.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c resconf.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsresconflite-test: resconflite.lo $(IDNLITELIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews resconflite.lo $(COMMONOBJS) $(IDNLITELIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsresconflite.lo: resconf.c testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -DWITHOUT_ICONV -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -c resconf.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsmapselector-test: mapselector.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews mapselector.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsmapselector.lo: mapselector.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c mapselector.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsconverter-test: converter.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews converter.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsconverter.lo: converter.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c converter.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsconverterlite-test: converterlite.lo $(IDNLITELIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews converterlite.lo $(COMMONOBJS) $(IDNLITELIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsconverterlite.lo: converter.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -DWITHOUT_ICONV -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews -c converter.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschecker-test: checker.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews checker.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewschecker.lo: checker.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c checker.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsmapper-test: mapper.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews mapper.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsmapper.lo: mapper.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c mapper.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsnormalizer-test: normalizer.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews normalizer.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsnormalizer.lo: normalizer.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c normalizer.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsdelimitermap-test: delimitermap.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews delimitermap.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsdelimitermap.lo: delimitermap.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c delimitermap.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsucs4-test: ucs4.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ucs4.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsucs4.lo: ucs4.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c ucs4.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsnameprep-test: nameprep.lo $(IDNLIB) $(COMMONOBJS)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews nameprep.lo $(COMMONOBJS) $(IDNLIB) $(ICONVLIB)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsnameprep.lo: nameprep.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c nameprep.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstestsuite.lo: testsuite.c testsuite.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -o $@ -c $(srcdir)/testsuite.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstestutil.lo: testutil.c testutil.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -o $@ -c $(srcdir)/testutil.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewssetenv.lo: setenv.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -o $@ -c $(srcdir)/setenv.c
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewstestconfig.h: ../../include/config.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews rm -f testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews sed -n -e '/HAVE_SETENV/p' -e '/HAVE_UNSETENV/p' \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews ../../include/config.h > testconfig.h
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsiconvchk: iconvchk.c codeset.h
9f7d51ee3290e2a064d71016a6bd555b47134a7cMark Andrews $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ \
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews $(srcdir)/iconvchk.c $(IDNLIB) $(ICONVLIB)