]>
git.gir.st - ttxd.git/blob - src/thttpd-2.27/extras/Makefile
1 # Generated automatically from Makefile.in by configure.
4 # Copyright © 1995,1998 by Jef Poskanzer <jef@mail.acme.com>.
7 # Redistribution and use in source and binary forms, with or without
8 # modification, are permitted provided that the following conditions
10 # 1. Redistributions of source code must retain the above copyright
11 # notice, this list of conditions and the following disclaimer.
12 # 2. Redistributions in binary form must reproduce the above copyright
13 # notice, this list of conditions and the following disclaimer in the
14 # documentation and/or other materials provided with the distribution.
16 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 exec_prefix = ${prefix}
30 BINDIR
= ${exec_prefix}/sbin
31 WEBDIR
= $(prefix)/www
32 CGIBINDIR
= $(WEBDIR
)/cgi-bin
33 MANDIR
= ${prefix}/man
37 DEFS
= -DHAVE__PROGNAME
=1 -DHAVE_FCNTL_H
=1 -DHAVE_GRP_H
=1 -DHAVE_MEMORY_H
=1 -DHAVE_PATHS_H
=1 -DHAVE_POLL_H
=1 -DHAVE_SYS_POLL_H
=1 -DTIME_WITH_SYS_TIME
=1 -DHAVE_DIRENT_H
=1 -DHAVE_LIBCRYPT
=1 -DHAVE_STRERROR
=1 -DHAVE_WAITPID
=1 -DHAVE_VSNPRINTF
=1 -DHAVE_DAEMON
=1 -DHAVE_SETSID
=1 -DHAVE_GETADDRINFO
=1 -DHAVE_GETNAMEINFO
=1 -DHAVE_GAI_STRERROR
=1 -DHAVE_SIGSET
=1 -DHAVE_ATOLL
=1 -DHAVE_UNISTD_H
=1 -DHAVE_GETPAGESIZE
=1 -DHAVE_MMAP
=1 -DHAVE_SELECT
=1 -DHAVE_POLL
=1 -DHAVE_TM_GMTOFF
=1 -DHAVE_INT64T
=1 -DHAVE_SOCKLENT
=1
39 CFLAGS
= $(CCOPT
) $(DEFS
) $(INCLS
)
44 INSTALL
= /usr
/bin
/install -c
46 CLEANFILES
= *.o makeweb htpasswd
52 $(CC
) $(CFLAGS
) -c
$*.c
57 $(CC
) $(LDFLAGS
) makeweb.o
-o makeweb
$(LIBS
) $(NETLIBS
)
59 makeweb.o
: makeweb.c ..
/config.h
60 $(CC
) $(CFLAGS
) -DWEBDIR
=\"$(WEBDIR
)\" -c makeweb.c
63 $(CC
) $(LDFLAGS
) $(STATICFLAG
) htpasswd.o
-o htpasswd
$(LIBS
)
65 htpasswd.o
: htpasswd.c ..
/config.h
66 $(CC
) $(CFLAGS
) -DWEBDIR
=\"$(WEBDIR
)\" -c htpasswd.c
70 rm -f
$(BINDIR
)/makeweb
$(BINDIR
)/htpasswd
$(BINDIR
)/syslogtocern
71 cp makeweb
$(BINDIR
)/makeweb
72 chgrp
$(WEBGROUP
) $(BINDIR
)/makeweb
73 chmod
2755 $(BINDIR
)/makeweb
74 cp htpasswd
$(BINDIR
)/htpasswd
75 cp syslogtocern
$(BINDIR
)/syslogtocern
76 rm -f
$(MANDIR
)/man1
/makeweb
.1
77 cp makeweb
.1 $(MANDIR
)/man1
/makeweb
.1
78 rm -f
$(MANDIR
)/man1
/htpasswd
.1
79 cp htpasswd
.1 $(MANDIR
)/man1
/htpasswd
.1
80 rm -f
$(MANDIR
)/man8
/syslogtocern
.8
81 cp syslogtocern
.8 $(MANDIR
)/man8
/syslogtocern
.8
87 rm -f
$(CLEANFILES
) Makefile