~ubuntu-branches/ubuntu/vivid/tidy/vivid

« back to all changes in this revision

Viewing changes to Makefile.nmake

  • Committer: Bazaar Package Importer
  • Author(s): Jason Thomas
  • Date: 2002-03-08 10:58:30 UTC
  • Revision ID: james.westby@ubuntu.com-20020308105830-he5azqenf1sq4jak
Tags: 20020301-1
* New upstream version.
* fix '--add-xml-decl yes --add-xml-space yes' crash bug
  thanks to  Cesar Eduardo Barros <cesarb@nitnet.com.br>
  and upstream.
  (closes: #137124)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.nmake - for tidy - HTML parser and pretty printer
 
2
# For use with IBM nmake tool
 
3
#
 
4
#  CVS Info :
 
5
#
 
6
#     $Author: terry_teague $ 
 
7
#     $Date: 2002/02/03 01:51:03 $ 
 
8
#     $Revision: 1.1 $ 
 
9
#
 
10
#  Copyright (c) 1998-2002 World Wide Web Consortium
 
11
#  (Massachusetts Institute of Technology, Institut National de
 
12
#  Recherche en Informatique et en Automatique, Keio University).
 
13
#  All Rights Reserved.
 
14
#
 
15
#  Contributing Author(s):
 
16
#
 
17
#     Dave Raggett <dsr@w3.org>
 
18
#     Terry Teague <terry_teague@users.sourceforge.net>
 
19
#     Mark Hale    <m.j.hale@durham.ac.uk>
 
20
#
 
21
#  The contributing author(s) would like to thank all those who
 
22
#  helped with testing, bug fixes, and patience.  This wouldn't
 
23
#  have been possible without all of you.
 
24
#
 
25
#  COPYRIGHT NOTICE:
 
26
#
 
27
#  This software and documentation is provided "as is," and
 
28
#  the copyright holders and contributing author(s) make no
 
29
#  representations or warranties, express or implied, including
 
30
#  but not limited to, warranties of merchantability or fitness
 
31
#  for any particular purpose or that the use of the software or
 
32
#  documentation will not infringe any third party patents,
 
33
#  copyrights, trademarks or other rights. 
 
34
#
 
35
#  The copyright holders and contributing author(s) will not be
 
36
#  liable for any direct, indirect, special or consequential damages
 
37
#  arising out of any use of the software or documentation, even if
 
38
#  advised of the possibility of such damage.
 
39
#
 
40
#  Permission is hereby granted to use, copy, modify, and distribute
 
41
#  this source code, or portions hereof, documentation and executables,
 
42
#  for any purpose, without fee, subject to the following restrictions:
 
43
#
 
44
#  1. The origin of this source code must not be misrepresented.
 
45
#  2. Altered versions must be plainly marked as such and must
 
46
#     not be misrepresented as being the original source.
 
47
#  3. This Copyright notice may not be removed or altered from any
 
48
#     source or altered source distribution.
 
49
 
50
#  The copyright holders and contributing author(s) specifically
 
51
#  permit, without fee, and encourage the use of this source code
 
52
#  as a component for supporting the Hypertext Markup Language in
 
53
#  commercial products. If you use this source code in a product,
 
54
#  acknowledgment is not required but would be appreciated.
 
55
#
 
56
 
 
57
CC= icc
 
58
 
 
59
INCLDIR= ./include/
 
60
SRCDIR= ./src/
 
61
OBJDIR= ./
 
62
 
 
63
DEBUGFLAGS=
 
64
CFLAGS= /I $(INCLDIR) /I $(CPPMAIN)\include\sys
 
65
OTHERCFLAGS= /Ss /G5 /O+
 
66
LIBS=
 
67
DEBUGLIBS=
 
68
 
 
69
OBJFILES=       $(OBJDIR)attrs.obj         $(OBJDIR)istack.obj        $(OBJDIR)parser.obj        $(OBJDIR)tags.obj \
 
70
                $(OBJDIR)entities.obj      $(OBJDIR)lexer.obj         $(OBJDIR)pprint.obj        $(OBJDIR)clean.obj \
 
71
                $(OBJDIR)localize.obj      $(OBJDIR)config.obj        $(OBJDIR)tidy.obj
 
72
 
 
73
CFILES= $(SRCDIR)attrs.c         $(SRCDIR)istack.c        $(SRCDIR)parser.c        $(SRCDIR)tags.c \
 
74
                $(SRCDIR)entities.c      $(SRCDIR)lexer.c         $(SRCDIR)pprint.c        $(SRCDIR)clean.c \
 
75
                $(SRCDIR)localize.c      $(SRCDIR)config.c        $(SRCDIR)tidy.c
 
76
 
 
77
HFILES= $(INCLDIR)platform.h $(INCLDIR)html.h
 
78
 
 
79
tidy.exe:       $(OBJFILES)
 
80
                $(CC) $(CFLAGS) $(OTHERCFLAGS) /Fetidy.exe $(OBJFILES) $(LIBS)
 
81
 
 
82
$(OBJFILES):    $(HFILES) Makefile.IBM
 
83
                $(CC) $(CFLAGS) $(OTHERCFLAGS) $(SRCDIR)$*.c -c
 
84
                
 
85
tab2space.exe:  $(SRCDIR)tab2space.c
 
86
                $(CC) $(CFLAGS) $(OTHERCFLAGS) /Fetab2space.exe $(SRCDIR)tab2space.c $(LIBS)
 
87
 
 
88
all:            tidy.exe tab2space.exe
 
89
 
 
90
debug:
 
91
        @$(MAKE) CFLAGS='$(CFLAGS) $(DEBUGFLAGS)' LIBS='$(LIBS) $(DEBUGLIBS)' all
 
92
 
 
93
clean:
 
94
        del $(OBJFILES) tab2space.obj  tidy.exe tab2space.exe