]>
git.gir.st - ttxd.git/blob - src/thttpd-2.27/cgi-src/Makefile.in
3 # Copyright © 1995 by Jef Poskanzer <jef@mail.acme.com>.
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
9 # 1. Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 # 2. Redistributions in binary form must reproduce the above copyright
12 # notice, this list of conditions and the following disclaimer in the
13 # documentation and/or other materials provided with the distribution.
15 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 exec_prefix = @
exec_prefix@
29 WEBDIR
= $(prefix)/www
30 CGIBINDIR
= $(WEBDIR
)/cgi-bin
37 CFLAGS
= $(CCOPT
) $(DEFS
) $(INCLS
)
38 LDFLAGS
= @LDFLAGS@ @V_STATICFLAG@
43 CLEANFILES
= *.o redirect ssi phf
49 $(CC
) $(CFLAGS
) -c
$*.c
54 $(CC
) $(LDFLAGS
) $(STATICFLAG
) redirect.o
$(LIBS
) -o redirect
57 $(CC
) $(LDFLAGS
) $(STATICFLAG
) ssi.o ..
/match.o
$(LIBS
) -o ssi
62 $(CC
) $(LDFLAGS
) $(STATICFLAG
) phf.o
$(LIBS
) -o phf
67 cd ..
; $(MAKE
) $(MFLAGS
) strerror.o
70 -mkdir
-p
$(CGIBINDIR
)
71 rm -f
$(CGIBINDIR
)/redirect
72 cp redirect
$(CGIBINDIR
)/redirect
73 rm -f
$(MANDIR
)/man8
/redirect
.8
74 cp redirect
.8 $(MANDIR
)/man8
/redirect
.8
75 rm -f
$(CGIBINDIR
)/ssi
76 cp ssi
$(CGIBINDIR
)/ssi
77 rm -f
$(MANDIR
)/man8
/ssi
.8
78 cp ssi
.8 $(MANDIR
)/man8
/ssi
.8
79 rm -f
$(CGIBINDIR
)/phf
80 cp phf
$(CGIBINDIR
)/phf
86 rm -f
$(CLEANFILES
) Makefile