|
Lines 1-27
Link Here
|
| 1 |
--- Makefile.orig Mon Aug 19 08:19:53 2002 |
1 |
--- Makefile.in.orig Wed Sep 18 17:07:24 2002 |
| 2 |
+++ Makefile Mon Aug 26 22:10:35 2002 |
2 |
+++ Makefile.in Wed Oct 9 23:38:01 2002 |
| 3 |
@@ -26,20 +26,20 @@ |
3 |
@@ -26,16 +26,17 @@ |
| 4 |
# |
4 |
# |
| 5 |
# $Id: Makefile,v 0.9 2002/08/19 08:19:53 roseg Exp roseg $ |
5 |
# $Id: Makefile.in,v 0.10 2002/09/05 15:30:13 roseg Exp roseg $ |
| 6 |
|
6 |
|
| 7 |
-CC=gcc |
7 |
-CC=@CC@ |
| 8 |
+#CC=gcc |
8 |
+CC?=@CC@ |
| 9 |
# For GNU-less systems use: |
|
|
| 10 |
#CC=cc |
| 11 |
|
9 |
|
| 12 |
# Configuration file default; if none, look at config.c for default! |
10 |
# Configuration file default; if none, look at config.c for default! |
| 13 |
-F_CONF=/usr/local/etc/pound/pound.cfg |
11 |
F_CONF=/usr/local/etc/pound/pound.cfg |
| 14 |
+#F_CONF=/usr/local/etc/pound/pound.cfg |
|
|
| 15 |
|
12 |
|
| 16 |
-CFLAGS=-O2 -DF_CONF=\"$(F_CONF)\" -DAEMON |
13 |
-CFLAGS=-DF_CONF=\"$(F_CONF)\" -DAEMON @CFLAGS@ |
| 17 |
+CFLAGS+= -DF_CONF=\"$(F_CONF)\" -DAEMON $(PTHREAD_CFLAGS) -DNEED_STACK |
14 |
+CFLAGS+= -DF_CONF=\"$(F_CONF)\" -DAEMON $(PTHREAD_CFLAGS) @CFLAGS@ |
| 18 |
# some old compilers don't like -O2; you may want to try -g for debugging |
15 |
|
| 19 |
#CFLAGS=-O -DF_CONF=\"$(F_CONF)\" -DAEMON |
16 |
-LIBS=@LIBS@ |
| 20 |
# For OpenBSD/FreeBSD use: |
17 |
+LIBS= $(PTHREAD_LIBS) @LIBS@ |
| 21 |
#CFLAGS=-O2 -pthread -DF_CONF=\"$(F_CONF)\" -DNEED_STACK -DAEMON |
18 |
|
| 22 |
|
19 |
-prefix=@prefix@ |
| 23 |
-LIBS=-lssl -lpthread |
20 |
+PREFIX?=@prefix@ |
| 24 |
+LIBS=-lssl -lcrypto $(PTHREAD_LIBS) |
21 |
+prefix=$(PREFIX) |
| 25 |
# For SystemV/Solaris use: |
22 |
exec_prefix=@exec_prefix@ |
| 26 |
#LIBS=-lssl -lpthread -lsocket -lnsl |
23 |
|
| 27 |
# For OpenBSD/FreeBSD use: |
24 |
OBJS=pound.o http.o config.o svc.o |