EXEEXT = @EXEEXT@
OBJEXT = @OBJEXT@

LDFLAGS = @LDFLAGS@

CC = @CC@

SHELL=/bin/sh

RANLIB = @RANLIB@

AR = ar

srcdir=@srcdir@

CFLAGS = -I$(srcdir)/../xmltok -I$(srcdir) @CPPFLAGS@ @CFLAGS@

SHELL = /bin/sh

.SUFFIXES: .C .$(OBJEXT)

PARSEOBJECTS =	\
	xmlparse.$(OBJEXT) \
	hashtable.$(OBJEXT)

all: libxmlparse.a

libxmlparse.a:	$(PARSEOBJECTS)
	$(AR) rc $@ $(PARSEOBJECTS) 
	$(RANLIB) $@

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

clean: 
	rm -rf $(PARSEOBJECTS) 

distclean: clean
	rm -rf Makefile *.a

realclean: distclean

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