# $Id: Makefile.in,v 1.59.2.14 2003/02/02 05:02:18 jnelson Exp $ .SUFFIXES: .SUFFIXES: .o .c .PHONY: clean mrclean distclean all dist@ifGNUmake@ depend # The following gcc warning switches are too noisy to be useful checking # Boa for lint: # -Wtraditional -Wconversion -Wredundant-decls -Wunreachable-code -W # The following gcc warning switches should generate no warnings: GCC_FLAGS = -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wcast-qual \ -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs \ -Wall -Winline -Wwrite-strings -Wundef -pedantic srcdir = @srcdir@ VPATH = @srcdir@:@srcdir@/../extras LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ -I@srcdir@ -I. @ifGNUmake@DEPEND = .depend CC = @CC@ CPP = @CPP@ SOURCES = alias.c boa.c buffer.c cgi.c cgi_header.c config.c escape.c \ get.c hash.c ip.c log.c mmap_cache.c pipe.c queue.c range.c \ read.c request.c response.c signals.c util.c sublog.c \ @ASYNCIO_SOURCE@ @ACCESSCONTROL_SOURCE@ OBJS = $(SOURCES:.c=.o) timestamp.o @STRUTIL@ all: boa boa_indexer boa: $(OBJS) $(CC) -o $@ @ALLSOURCES@ $(LDFLAGS) $(LIBS) boa_indexer: index_dir.o escape.o @SCANDIR@ @ALPHASORT@ @STRUTIL@ $(CC) -o $@ @ALLSOURCES@ $(LDFLAGS) $(LIBS) clean: rm -f $(OBJS) boa core *~ boa_indexer index_dir.o rm -f @SCANDIR@ @ALPHASORT@ @STRUTIL@ poll.o select.o access.o distclean: mrclean mrclean: clean rm -f config.status config.cache config.h Makefile config.log # timestamp timestamp.o: $(SOURCES) # depend stuff @ifGNUmake@depend: $(SOURCES) @ifGNUmake@ $(CPP) $(CPPFLAGS) -MM @ALLSOURCES@ select.c poll.c access.c > $(DEPEND) @ifGNUmake@-include $(DEPEND) # tags tags: $(SOURCES) ctags -o tags @ALLSOURCES@ *.h # object dump boa.objdump: boa objdump --disassemble-all --source boa > $@