-
Notifications
You must be signed in to change notification settings - Fork 17
/
Makefile.in
executable file
·84 lines (68 loc) · 2.54 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Pound - the reverse-proxy load-balancer
# Copyright (C) 2002-2010 Apsis GmbH
#
# This file is part of Pound.
#
# Pound is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Pound is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Contact information:
# Apsis GmbH
# P.O.Box
# 8707 Uetikon am See
# Switzerland
# EMail: [email protected]
CC=@PTHREAD_CC@
VERSION="@PACKAGE_VERSION@"
C_SSL="@C_SSL@"
C_T_RSA="@C_T_RSA@"
C_MAXBUF="@C_MAXBUF@"
C_OWNER="@C_OWNER@"
C_GROUP="@C_GROUP@"
C_SUPER="@C_SUPER@"
C_CERT1L="@C_CERT1L@"
CFLAGS=-DF_CONF=\"$(F_CONF)\" -DVERSION=\"${VERSION}\" -DC_SSL=\"${C_SSL}\" -DC_T_RSA=\"${C_T_RSA}\" \
-DC_MAXBUF=\"${C_MAXBUF}\" -DC_OWNER=\"${C_OWNER}\" -DC_GROUP=\"${C_GROUP}\" \
-DC_SUPER=\"${C_SUPER}\" -DC_CERT1L=\"${C_CERT1L}\" @CFLAGS@ @PTHREAD_CFLAGS@ @CPPFLAGS@
LIBS=@LIBS@ @PTHREAD_LIBS@
prefix=@prefix@
exec_prefix=@exec_prefix@
# Configuration file default; if none, look at config.c for default!
F_CONF=@sysconfdir@/pound.cfg
OBJS=pound.o http.o config.o svc.o
all: pound poundctl pound.8
pound: $(OBJS)
${CC} @LDFLAGS@ -o pound $(OBJS) $(LIBS)
poundctl: poundctl.o
${CC} @LDFLAGS@ -o poundctl poundctl.o $(LIBS)
dh512.h:
openssl dhparam -5 -C -noout 512 > dh512.h
dh1024.h:
openssl dhparam -5 -C -noout 1024 > dh1024.h
$(OBJS) poundctl.o: pound.h config.h
svc.o: svc.c dh512.h dh1024.h
${CC} ${CFLAGS} -c -o svc.o svc.c
install: all
@INSTALL@ -d ${DESTDIR}@sbindir@
@INSTALL@ -o @I_OWNER@ -g @I_GRP@ -m 555 pound ${DESTDIR}@sbindir@/pound
@INSTALL@ -o @I_OWNER@ -g @I_GRP@ -m 555 poundctl ${DESTDIR}@sbindir@/poundctl
@INSTALL@ -d ${DESTDIR}@mandir@/man8
@INSTALL@ -o @I_OWNER@ -g @I_GRP@ -m 644 pound.8 ${DESTDIR}@mandir@/man8/pound.8
@INSTALL@ -o @I_OWNER@ -g @I_GRP@ -m 644 poundctl.8 ${DESTDIR}@mandir@/man8/poundctl.8
clean:
rm -f pound $(OBJS) poundctl poundctl.o
rm -f dh512.h dh1024.h
distclean: clean
-rm -f config.h config.log config.status Makefile
uninstall:
-rm -f @sbindir@/pound @sbindir@/poundctl @mandir@/man8/pound.8 @mandir@/cat8/pound.8 @mandir@/man8/poundctl.8 @mandir@/cat8/poundctl.8