EXEEXT = @EXEEXT@

LDFLAGS = @LDFLAGS@

CC = @CC@

SHELL=/bin/sh

RANLIB = @RANLIB@

AR = ar

srcdir=@srcdir@

# If you know what your system's byte order is, define XML_BYTE_ORDER:
# use -DXML_BYTE_ORDER=12 for little-endian byte order;
# use -DXML_BYTE_ORDER=21 for big-endian (network) byte order.
# -DXML_NS adds support for checking of lexical aspects of XML namespaces spec
# -DXML_MIN_SIZE makes a smaller but slower parser
CFLAGS = @CFLAGS@ -I$(srcdir)../xmltok/ -I$(srcdir)/ -I../../ -I$(srcdir)/../../

# Use one of the next two lines; unixfilemap is better if it works.
FILEMAP_OBJ=xmlwf/unixfilemap.o
#FILEMAP_OBJ=xmlwf/readfilemap.o
SHELL = /bin/sh

.SUFFIXES: .C .o

TOKENOBJECTS =	\
	xmltok.o \
	xmlrole.o 

all: libxmltok.a

libxmltok.a:	$(TOKENOBJECTS)
	$(AR) rc $@ $(TOKENOBJECTS) 
	$(RANLIB) $@

%.o: $(srcdir)/%.c
	$(CC) $(CFLAGS) -c $(srcdir)/$*.c

clean: 
	rm -rf $(TOKENOBJECTS)

distclean: clean
	rm -rf Makefile *.a 

realclean: distclean

#  DO  NOT  DELETE THIS LINE -- make depend depends on it.
