2 # Makefile.tmpl for the mod_fastcgi module
4 # Apache v1.3's Configure uses this to create a Makefile
6 # $Id: Makefile.tmpl,v 1.4 1999/09/24 02:12:33 roberts 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
23 $(CC) -c $(INCLUDES) $(CFLAGS) $<
34 cp Makefile.tmpl Makefile.tmpl.bak \
35 && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \
36 && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
37 && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
38 -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
46 fcgi.h: mod_fastcgi.h \
49 $(INCDIR)/http_config.h \
50 $(INCDIR)/http_request.h \
51 $(INCDIR)/http_core.h \
52 $(INCDIR)/http_protocol.h \
53 $(INCDIR)/http_main.h \
54 $(INCDIR)/http_log.h \
55 $(INCDIR)/util_script.h \
56 $(INCDIR)/http_conf_globals.h \