make.wnt revision 04bdb234571448ed6194e1d4048e6512f2446f1c
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# $Id: make.wnt,v 1.1 2000/12/07 00:52:24 tale Exp $
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User# Makefile for MDN library, manually configured for WIN-NT (VC5.0)
d2bdd5b314d3ee2250c740fe5fff8b91ab3731b2Tinderbox User#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# Copyright (c) 2000 Japan Network Information Center. All rights reserved.
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# By using this file, you agree to the terms and conditions set forth bellow.
d2bdd5b314d3ee2250c740fe5fff8b91ab3731b2Tinderbox User#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# LICENSE TERMS AND CONDITIONS
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews#
d2bdd5b314d3ee2250c740fe5fff8b91ab3731b2Tinderbox User# The following License Terms and Conditions apply, unless a different
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# license is obtained from Japan Network Information Center ("JPNIC"),
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# a Japanese association, Fuundo Bldg., 1-2 Kanda Ogawamachi, Chiyoda-ku,
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# Tokyo, Japan.
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# 1. Use, Modification and Redistribution (including distribution of any
d2bdd5b314d3ee2250c740fe5fff8b91ab3731b2Tinderbox User# modified or derived work) in source and/or binary forms is permitted
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# under this License Terms and Conditions.
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# 2. Redistribution of source code must retain the copyright notices as they
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# appear in each source code file, this License Terms and Conditions.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# 3. Redistribution in binary form must reproduce the Copyright Notice,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# this License Terms and Conditions, in the documentation and/or other
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# materials provided with the distribution. For the purposes of binary
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# distribution the "Copyright Notice" refers to the following language:
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# "Copyright (c) Japan Network Information Center. All rights reserved."
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# 4. Neither the name of JPNIC may be used to endorse or promote products
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# derived from this Software without specific prior written approval of
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# JPNIC.
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User#
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User# 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# 6. Indemnification by Licensee
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# Any person or entities using and/or redistributing this Software under
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# this License Terms and Conditions shall defend indemnify and hold
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# harmless JPNIC from and against any and all judgements damages,
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# expenses, settlement liabilities, cost and other liabilities of any
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# kind as a result of use and redistribution of this Software or any
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# claim, suite, action, litigation or proceeding by any third party
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# arising out of or relates to this License Terms and Conditions.
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# 7. Governing Law, Jurisdiction and Venue
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# This License Terms and Conditions shall be governed by and and
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# construed in accordance with the law of Japan. Any person or entities
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# using and/or redistributing this Software under this License Terms and
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# Conditions hereby agrees and consent to the personal and exclusive
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User# jurisdiction and venue of Tokyo District Court of Japan.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User!include <ntwin32.mak>
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox UserINCDIR = ..\include
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox UserICONVDIR = ..\win
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox UserLIBS =
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserSYSLIBS = $(conlibsdll)
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User#
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User# Files to build MDN library
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserHDRS = $(ICONVDIR)\iconv.h \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(INCDIR)\config.h \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(INCDIR)\mdn\assert.h $(INCDIR)\mdn\converter.h \
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews $(INCDIR)\mdn\debug.h $(INCDIR)\mdn\localencoding.h \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(INCDIR)\mdn\log.h $(INCDIR)\mdn\logmacro.h \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(INCDIR)\mdn\msgheader.h $(INCDIR)\mdn\msgtrans.h \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(INCDIR)\mdn\normalizer.h $(INCDIR)\mdn\result.h \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(INCDIR)\mdn\selectiveencode.h $(INCDIR)\mdn\strhash.h \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(INCDIR)\mdn\translator.h $(INCDIR)\mdn\unicode.h \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(INCDIR)\mdn\unormalize.h $(INCDIR)\mdn\utf5.h \
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(INCDIR)\mdn\utf8.h $(INCDIR)\mdn\util.h $(INCDIR)\mdn\zldrule.h
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark AndrewsSRCS = brace.c converter.c debug.c dn.c lace.c localencoding.c log.c \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User msgheader.c msgtrans.c normalizer.c race.c \
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews res.c resconf.c result.c \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User selectiveencode.c strhash.c translator.c \
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews unicode.c unicodedata.c unormalize.c \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User utf5.c utf8.c util.c zldrule.c
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox UserOBJS = brace.obj converter.obj debug.obj dn.obj lace.obj localencoding.obj log.obj \
6f1205897504b8f50b1785975482c995888dd630Tinderbox User msgheader.obj msgtrans.obj normalizer.obj race.obj \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User res.obj resconf.obj result.obj \
6f1205897504b8f50b1785975482c995888dd630Tinderbox User selectiveencode.obj strhash.obj translator.obj \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User unicode.obj unormalize.obj \
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews utf5.obj utf8.obj util.obj zldrule.obj
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserLIB = libmdn.lib
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews# Target to build
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews#
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrewsall: $(LIB)
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrewslibmdn.lib: $(OBJS)
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews -del libmdn.lib
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User lib /out:libmdn.lib $(OBJS)
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Dependencies
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox Userbrace.obj : brace.c $(HDRS)
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox Userconverter.obj : converter.c $(HDRS)
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox Userdebug.obj : debug.c $(HDRS)
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrewsdn.obj : dn.c $(HDRS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox Userlace.obj : lace.c $(HDRS)
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox Userlocalencoding.obj : localencoding.c $(HDRS)
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox Userlog.obj : log.c $(HDRS)
e62b9c9ce6413fb183c8116381e75dcd07ca5517Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Usermsgheader.obj : msgheader.c $(HDRS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Usermsgtrans.obj : msgtrans.c $(HDRS)
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox Usernormalizer.obj : normalizer.c $(HDRS)
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
914ed533b846624c8ba5e7a72a5e8e50c9018b0aTinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userrace.obj : race.c $(HDRS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userres.obj : res.c $(HDRS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrewsresconf.obj : resconf.c $(HDRS)
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrewsresult.obj : result.c $(HDRS)
0c91911b4d1e872b87eaf6431ed47fe24d18dd43Mark Andrews $(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
selectiveencode.obj : selectiveencode.c $(HDRS)
$(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
strhash.obj : strhash.c $(HDRS)
$(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
translator.obj : translator.c $(HDRS)
$(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
unicode.obj : unicode.c $(HDRS)
$(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
unormalize.obj : unormalize.c $(HDRS)
$(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
utf5.obj : utf5.c $(HDRS)
$(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
utf8.obj : utf8.c $(HDRS)
$(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
util.obj : util.c $(HDRS)
$(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
zldrule.obj : zldrule.c $(HDRS)
$(cc) $(cflags) $(cvarsdll) -I$(INCDIR) -I$(ICONVDIR) -DDEBUG $*.c
#
# mics.
#
generate:
generate_normalize_data.pl > unicodedata.c
install:
clean:
del *.obj *.lib core *.core *~