comparison Makefile.in @ 1654:cc0fc5131c5c

Rename EPKA -> Plugin
author Matt Johnston <matt@ucc.asn.au>
date Wed, 15 May 2019 21:59:45 +0800
parents 76189c9ffea2
children f52919ffd3b1
comparison
equal deleted inserted replaced
1653:76189c9ffea2 1654:cc0fc5131c5c
78 dropbearkeyobjs=$(COMMONOBJS) $(KEYOBJS) 78 dropbearkeyobjs=$(COMMONOBJS) $(KEYOBJS)
79 dropbearconvertobjs=$(COMMONOBJS) $(CONVERTOBJS) 79 dropbearconvertobjs=$(COMMONOBJS) $(CONVERTOBJS)
80 scpobjs=$(SCPOBJS) 80 scpobjs=$(SCPOBJS)
81 endif 81 endif
82 82
83 ifeq (@DROPBEAR_EPKA@, 1) 83 ifeq (@DROPBEAR_PLUGIN@, 1)
84 # rdynamic makes all the global symbols of dropbear available to all the loaded shared libraries 84 # rdynamic makes all the global symbols of dropbear available to all the loaded shared libraries
85 # this allow a plugin to reuse existing crypto/utilities like base64_decode/base64_encode without 85 # this allow a plugin to reuse existing crypto/utilities like base64_decode/base64_encode without
86 # the need to rewrite them. 86 # the need to rewrite them.
87 EPKA_LIBS=-ldl -rdynamic 87 PLUGIN_LIBS=-ldl -rdynamic
88 else 88 else
89 EPKA_LIBS= 89 PLUGIN_LIBS=
90 endif 90 endif
91 91
92 VPATH=@srcdir@ 92 VPATH=@srcdir@
93 srcdir=@srcdir@ 93 srcdir=@srcdir@
94 94
196 dbclient: $(dbclientobjs) 196 dbclient: $(dbclientobjs)
197 dropbearkey: $(dropbearkeyobjs) 197 dropbearkey: $(dropbearkeyobjs)
198 dropbearconvert: $(dropbearconvertobjs) 198 dropbearconvert: $(dropbearconvertobjs)
199 199
200 dropbear: $(HEADERS) $(LIBTOM_DEPS) Makefile 200 dropbear: $(HEADERS) $(LIBTOM_DEPS) Makefile
201 $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) $(LIBS) @CRYPTLIB@ $(EPKA_LIBS) 201 $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) $(LIBS) @CRYPTLIB@ $(PLUGIN_LIBS)
202 202
203 dbclient: $(HEADERS) $(LIBTOM_DEPS) Makefile 203 dbclient: $(HEADERS) $(LIBTOM_DEPS) Makefile
204 $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) $(LIBS) 204 $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) $(LIBS)
205 205
206 dropbearkey dropbearconvert: $(HEADERS) $(LIBTOM_DEPS) Makefile 206 dropbearkey dropbearconvert: $(HEADERS) $(LIBTOM_DEPS) Makefile