comparison Makefile.in @ 1446:b8764eee6bdb

add --enable-static configure argument. disable conflicting harden flags
author Matt Johnston <matt@ucc.asn.au>
date Tue, 27 Jun 2017 22:37:46 +0800
parents 5abbecdecba4
children 8f88f4290b22
comparison
equal deleted inserted replaced
1445:a3a96dbf9a58 1446:b8764eee6bdb
92 LIBS+=@LIBS@ 92 LIBS+=@LIBS@
93 LDFLAGS=@LDFLAGS@ 93 LDFLAGS=@LDFLAGS@
94 94
95 EXEEXT=@EXEEXT@ 95 EXEEXT=@EXEEXT@
96 96
97 STATIC=@STATIC@
98
97 # whether we're building client, server, or both for the common objects. 99 # whether we're building client, server, or both for the common objects.
98 # evilness so we detect 'dropbear' by itself as a word 100 # evilness so we detect 'dropbear' by itself as a word
99 space:= $(empty) $(empty) 101 space:= $(empty) $(empty)
100 ifneq (,$(strip $(foreach prog, $(PROGRAMS), $(findstring ZdropbearZ, Z$(prog)Z)))) 102 ifneq (,$(strip $(foreach prog, $(PROGRAMS), $(findstring ZdropbearZ, Z$(prog)Z))))
101 CFLAGS+= -DDROPBEAR_SERVER 103 CFLAGS+= -DDROPBEAR_SERVER