head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2009.06.14.07.57.28; author rse; state Exp; branches; next ; commitid TG1GQkZYMr44uNRt; desc @@ 1.1 log @new package: sslh 1.6i (SSL/SSH Server Multiplexer) @ text @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) @