"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 #
2 # Makefile.tmpl for the mod_fastcgi module
3 #
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 $
7
8 LIB=libfastcgi.$(LIBEXT)
9
10 OBJS=mod_fastcgi.o fcgi_buf.o fcgi_pm.o fcgi_protocol.o fcgi_config.o fcgi_util.o
11
12 # Build commands
13
14 all: lib
15 lib: $(LIB)
16
17 libfastcgi.a: $(OBJS)
18 rm -f $@
19 ar cr $@ $(OBJS)
20 $(RANLIB) $@
21
22 libfastcgi.so: $(OBJS)
23 rm -f $@
24 $(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(OBJS)
25
26 .c.o:
27 $(CC) -c $(INCLUDES) $(CFLAGS) $<
28
29 clean:
30 rm -f $(LIB) $(OBJS)
31
32 distclean: clean
33 rm -f Makefile
34
35
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
45
46 # Dependencies
47
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