Rename the PP conditional for the fileno() prototype to HAVE_FILENO_PROTO.
[catagits/fcgi2.git] / libfcgi / Makefile.in
1 #
2 #  Makefile for FastCGI application library
3 #
4 #  $Id: Makefile.in,v 1.3 2001/08/30 22:19:25 robs Exp $
5 #
6
7 SHELL = @SHELL@
8 O     = @OBJEXT@
9 L     = @L@
10 CC    = @CC@
11
12 INCLUDEDIR  = ../include
13 CFLAGS      = @CCDEFS@ -I$(INCLUDEDIR)
14 RANLIB      = @RANLIB@
15 LIBOBJS     = @LIBOBJS@
16
17 OBJS        = fcgiapp.${O} fcgi_stdio.${O} os_@SYSTEM@.${O} $(LIBOBJS)
18
19 INCLUDES    = $(INCLUDEDIR)/fastcgi.h    \
20               $(INCLUDEDIR)/fcgiapp.h    \
21               $(INCLUDEDIR)/fcgimisc.h   \
22               $(INCLUDEDIR)/fcgi_stdio.h \
23               $(INCLUDEDIR)/fcgios.h
24
25
26 all: libfcgi.${L}
27
28 libfcgi.${L}: $(OBJS)
29         ar cr libfcgi.${L} $(OBJS)
30         $(RANLIB) libfcgi.${L}
31
32 clean:
33         rm -f *.${L} *.${O} core.* errs *~ \#* TAGS *.E a.out
34
35 # ----------------------------------------------------------------------------
36
37 fcgiapp.${O}: fcgiapp.c $(INCLUDES)
38
39 fcgi_stdio.${O}: fcgi_stdio.c $(INCLUDES)
40
41 os_@SYSTEM@.${O}: os_@SYSTEM@.c $(INCLUDES)
42