Eliminate the logging of "incomplete headers (0 bytes) received from
[mod_fastcgi.git] / Makefile.tmpl
bloba6d4a5078a92bb703b186ac2ebe290e70353d7dd
1
2 # Makefile.tmpl for the mod_fastcgi module
4 #   Apache v1.3's Configure uses this to create a Makefile 
5
6 # $Id: Makefile.tmpl,v 1.6 2000/08/16 01:51:47 robs Exp $
8 LIB=libfastcgi.$(LIBEXT)
10 OBJS=mod_fastcgi.o fcgi_buf.o fcgi_pm.o fcgi_protocol.o fcgi_config.o fcgi_util.o
12 # Build commands
14 all:  lib
15 lib: $(LIB)
17 libfastcgi.a: $(OBJS)
18         rm -f $@
19         ar cr $@ $(OBJS)
20         $(RANLIB) $@
22 libfastcgi.so: $(OBJS)
23         rm -f $@
24         $(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(OBJS)
26 .c.o:
27         $(CC) -c $(INCLUDES) $(CFLAGS) $<
29 clean:
30         rm -f $(LIB) $(OBJS)
32 distclean: clean
33         rm -f Makefile
36 # NOT FOR END USERS!
37 depend:
38         cp Makefile.tmpl Makefile.tmpl.bak \
39             && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \
40             && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
41             && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
42                    -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
43                 > Makefile.tmpl \
44             && rm Makefile.new
46 # Dependencies
48 $(OBJS): fcgi.h           \
49          mod_fastcgi.h    \
50          fcgi_protocol.h  \
51      $(INCDIR)/httpd.h               \
52      $(INCDIR)/http_config.h         \
53      $(INCDIR)/http_request.h        \
54      $(INCDIR)/http_core.h           \
55      $(INCDIR)/http_protocol.h       \
56      $(INCDIR)/http_main.h           \
57      $(INCDIR)/http_log.h            \
58      $(INCDIR)/util_script.h         \
59      $(INCDIR)/http_conf_globals.h   \
60      $(INCDIR)/util_md5.h