#
#  Makefile for FastCGI development kit
#
#  Open Market, Inc.
#
#  $Id: Makefile.in,v 1.6 1997/10/29 21:21:13 mast Exp $
#

@SET_MAKE@
CC=@CC@
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
CFLAGSUP=$(CFLAGS)

SHELL=/bin/sh

all:
	(cd libfcgi; $(MAKE) all "CC=$(CC)" "CFLAGSUP=$(CFLAGSUP)" "LDFLAGS=$(LDFLAGS)")
	(cd cgi-fcgi; $(MAKE) all "CC=$(CC)" "CFLAGSUP=$(CFLAGSUP)" "LDFLAGS=$(LDFLAGS)")

reconfig: clean
	uname -rs >config.uname
	./configure

clean:
	rm -f *.a *.o core.* errs *~ \#* TAGS *.E a.out
	rm -f *.a *.o core.* errs *~ \#* TAGS *.E a.out
	rm -f config.cache config.log config.status config.uname
	(cd libfcgi; $(MAKE) clean "CC=$(CC)" "CFLAGSUP=$(CFLAGSUP)" "LDFLAGS=$(LDFLAGS)")
	(cd cgi-fcgi; $(MAKE) clean "CC=$(CC)" "CFLAGSUP=$(CFLAGSUP)" "LDFLAGS=$(LDFLAGS)")

# ----------------------------------------------------------------------------
