make.os2 revision 04bdb234571448ed6194e1d4048e6512f2446f1c
024cf50d122a16a3ce190692d3669ecee47c23aaTinderbox User# $Id: make.os2,v 1.1 2000/12/07 00:52:24 tale Exp $
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# Makefile for MDN library, manually configured for OS2 (for EMX/GCC)
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# Copyright (c) 2000 Japan Network Information Center. All rights reserved.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# By using this file, you agree to the terms and conditions set forth bellow.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# LICENSE TERMS AND CONDITIONS
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# The following License Terms and Conditions apply, unless a different
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# license is obtained from Japan Network Information Center ("JPNIC"),
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# a Japanese association, Fuundo Bldg., 1-2 Kanda Ogawamachi, Chiyoda-ku,
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# Tokyo, Japan.
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# 1. Use, Modification and Redistribution (including distribution of any
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence# modified or derived work) in source and/or binary forms is permitted
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews# under this License Terms and Conditions.
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence# 2. Redistribution of source code must retain the copyright notices as they
7c74e180c206e6ed99e8beb820da5f399d845c3eDavid Lawrence# appear in each source code file, this License Terms and Conditions.
ea31416b4fcdf23732355a8002f93f29e3b3d2dbAndreas Gustafsson# 3. Redistribution in binary form must reproduce the Copyright Notice,
866d106459313499d0ca7bfccb4b2d23d5e4377cDavid Lawrence# this License Terms and Conditions, in the documentation and/or other
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews# materials provided with the distribution. For the purposes of binary
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# distribution the "Copyright Notice" refers to the following language:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# "Copyright (c) Japan Network Information Center. All rights reserved."
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 4. Neither the name of JPNIC may be used to endorse or promote products
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# derived from this Software without specific prior written approval of
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
f4ea363e3acc321b24ffe95a64a583e8041d6fd5Mark Andrews# 6. Indemnification by Licensee
914eeb33149a0008e26741d9e7d89dcd6f8b6d0bMark Andrews# Any person or entities using and/or redistributing this Software under
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# this License Terms and Conditions shall defend indemnify and hold
a903095bf4512dae561c7f6fc7854a51bebf334aMark Andrews# harmless JPNIC from and against any and all judgements damages,
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# expenses, settlement liabilities, cost and other liabilities of any
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# kind as a result of use and redistribution of this Software or any
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# claim, suite, action, litigation or proceeding by any third party
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# arising out of or relates to this License Terms and Conditions.
ccdac53c027e8964753b36c4d8c7b0e98af501c2Michael Graff# 7. Governing Law, Jurisdiction and Venue
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark Andrews# This License Terms and Conditions shall be governed by and and
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark Andrews# construed in accordance with the law of Japan. Any person or entities
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark Andrews# using and/or redistributing this Software under this License Terms and
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark Andrews# Conditions hereby agrees and consent to the personal and exclusive
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark Andrews# jurisdiction and venue of Tokyo District Court of Japan.
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark AndrewsICONVDIR = ../os2
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark AndrewsINCDIR = ../include
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark AndrewsCFLAGS = -Wall -Zmtd -I$(INCDIR) -I$(ICONVDIR) -DOS2 -DHAVE_UNISTD_H -DDEBUG
11dbf2fc38eea8c5d3fe7123718bf197a8bb2e6bMark AndrewsLDFLAGS = -Zmtd
32ebb157b1d9409a186c86002827f8a1f4931f5aMark Andrews# Files to build MDN library
32ebb157b1d9409a186c86002827f8a1f4931f5aMark AndrewsHDRS = $(ICONVDIR)/iconv.h \
32ebb157b1d9409a186c86002827f8a1f4931f5aMark Andrews $(INCDIR)/mdn/assert.h $(INCDIR)/mdn/converter.h \
32ebb157b1d9409a186c86002827f8a1f4931f5aMark Andrews $(INCDIR)/mdn/debug.h $(INCDIR)/mdn/localencoding.h \
32ebb157b1d9409a186c86002827f8a1f4931f5aMark Andrews $(INCDIR)/mdn/msgheader.h $(INCDIR)/mdn/msgtrans.h \
32ebb157b1d9409a186c86002827f8a1f4931f5aMark Andrews $(INCDIR)/mdn/normalizer.h $(INCDIR)/mdn/result.h \
32ebb157b1d9409a186c86002827f8a1f4931f5aMark Andrews $(INCDIR)/mdn/selectiveencode.h $(INCDIR)/mdn/strhash.h \
32ebb157b1d9409a186c86002827f8a1f4931f5aMark Andrews $(INCDIR)/mdn/translator.h $(INCDIR)/mdn/unicode.h \
32ebb157b1d9409a186c86002827f8a1f4931f5aMark Andrews $(INCDIR)/mdn/unormalize.h $(INCDIR)/mdn/utf5.h \
03e200df5dc283f24a6a349f0b31d3eab26da893Mark Andrews $(INCDIR)/mdn/utf8.h $(INCDIR)/mdn/util.h $(INCDIR)/mdn/zldrule.h
03e200df5dc283f24a6a349f0b31d3eab26da893Mark AndrewsSRCS = converter.c debug.c dn.c localencoding.c log.c \
323a9f3430abf186f8f84d795549391a8ed7f274Francis Dupont msgheader.c msgtrans.c normalizer.c race.c result.c \
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid LawrenceOBJS = converter.o debug.o dn.o localencoding.o log.o \
75a4dd0d377dca2f85cea44e28bf110314c1fe8cDavid Lawrence msgheader.o msgtrans.o normalizer.o race.o result.o \
e893dce91279d7313a579f72caae3941f6dc5a27David Lawrence ar rs $@ $(OBJS)
3b77946b751f39bd4db5a7d1fe48a81e6b1e7a28Bob Halley rm -f *.o *.a core *.core *~