You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
918 B

Index: Makefile
--- Makefile.orig 2009-04-26 10:47:22 +0200
+++ Makefile 2009-06-14 09:41:51 +0200
@@ -1,18 +1,18 @@
# Configuration
VERSION="v1.6i"
-USELIBWRAP=1 # Use libwrap?
+USELIBWRAP=
PREFIX=/usr/local
-MAN=sslh.8.gz # man page name
+MAN=sslh.8
# End of configuration -- the rest should take care of
# itself
CC = gcc
CFLAGS=-Wall
-
-#LIBS=-lnet
+CPPFLAGS=-D'VERSION=$(VERSION)'
+LDFLAGS=
LIBS=
ifneq ($(strip $(USELIBWRAP)),)
@@ -23,11 +23,10 @@
all: sslh $(MAN)
sslh: sslh.c Makefile
- $(CC) $(CFLAGS) -D'VERSION=$(VERSION)' -o sslh sslh.c $(LIBS)
- strip sslh
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o sslh sslh.c $(LIBS)
$(MAN): sslh.pod Makefile
- pod2man --section=8 --release=$(VERSION) --center=" " sslh.pod | gzip -9 - > $(MAN)
+ pod2man --section=8 --release=$(VERSION) --center=" " sslh.pod >$(MAN)
# generic install: install binary and man page
install: sslh $(MAN)