# Generated automatically from Makefile.in by configure.
################################################################
# Process this file with top-level configure script to produce Makefile
#
# Copyright 2000 Clark Cooper
#
#  This file is part of EXPAT.
#
#  EXPAT is free software; you can redistribute it and/or modify it
#  under the terms of the License (based on the MIT/X license) contained
#  in the file COPYING that comes with this distribution.
#
# EXPAT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
#


CC = gcc
PACKAGE = expat
VERSION = 1.95.2

LIBRARY = libexpat.a
SOURCES = xmlparse.c xmltok.c xmlrole.c
OBJECTS = $(SOURCES:.c=.o)

HEADERS = ascii.h iasciitab.h utf8tab.h xmltok.h asciitab.h latin1tab.h \
          nametab.h xmldef.h xmlrole.h xmltok_impl.h

INCLUDES = -I.
DEFS = -DHAVE_CONFIG_H -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(PACKAGE)_$(VERSION)"'

CPPFLAGS = 
CFLAGS = -g -O2

COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)


all: $(LIBRARY)

.SUFFIXES: .c .o
.PHONY: all clean distclean maintainer-clean

.c.o:
	$(COMPILE) -c $<

clean:
	rm -f $(LIBRARY) *.o *~

distclean: clean

$(LIBRARY): $(OBJECTS)
	ar cr $(LIBRARY) $(OBJECTS)

xmlparse.o: xmlparse.c expat.h xmlrole.h xmltok.h config.h

xmlrole.o: xmlrole.c ascii.h xmlrole.h config.h

xmltok.o: xmltok.c xmltok_impl.c xmltok_ns.c \
          ascii.h asciitab.h iasciitab.h latin1tab.h nametab.h utf8tab.h \
          xmltok.h xmltok_impl.h config.h
