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.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
22 libfastcgi.so: $(OBJS)
24 $(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(OBJS)
27 $(CC) -c $(INCLUDES) $(CFLAGS) $<
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 \
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 \