mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
Avoid linking dropbearconvert and dropbearkey to libz or libutil
This commit is contained in:
parent
af524c4d65
commit
5ea428a30d
11
Makefile.in
11
Makefile.in
@ -19,7 +19,7 @@ LTM=libtommath/libtommath.a
|
|||||||
ifeq (@BUNDLED_LIBTOM@, 1)
|
ifeq (@BUNDLED_LIBTOM@, 1)
|
||||||
LIBTOM_DEPS=$(LTC) $(LTM)
|
LIBTOM_DEPS=$(LTC) $(LTM)
|
||||||
CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/
|
CFLAGS+=-I$(srcdir)/libtomcrypt/src/headers/
|
||||||
LIBS+=$(LTC) $(LTM)
|
LIBTOM_LIBS+=$(LTC) $(LTM)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
COMMONOBJS=dbutil.o buffer.o \
|
COMMONOBJS=dbutil.o buffer.o \
|
||||||
@ -160,8 +160,11 @@ dbclient: $(dbclientobjs)
|
|||||||
dropbearkey: $(dropbearkeyobjs)
|
dropbearkey: $(dropbearkeyobjs)
|
||||||
dropbearconvert: $(dropbearconvertobjs)
|
dropbearconvert: $(dropbearconvertobjs)
|
||||||
|
|
||||||
dropbear dbclient dropbearkey dropbearconvert: $(HEADERS) $(LIBTOM_DEPS) Makefile
|
dropbear dbclient: $(HEADERS) $(LIBTOM_DEPS) Makefile
|
||||||
$(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBS)
|
$(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS) $(LIBS)
|
||||||
|
|
||||||
|
dropbearkey dropbearconvert: $(HEADERS) $(LIBTOM_DEPS) Makefile
|
||||||
|
$(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBTOM_LIBS)
|
||||||
|
|
||||||
# scp doesn't use the libs so is special.
|
# scp doesn't use the libs so is special.
|
||||||
scp: $(SCPOBJS) $(HEADERS) Makefile
|
scp: $(SCPOBJS) $(HEADERS) Makefile
|
||||||
@ -176,7 +179,7 @@ ifeq ($(MULTI),1)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
dropbearmulti$(EXEEXT): $(HEADERS) $(MULTIOBJS) $(LIBTOM_DEPS) Makefile
|
dropbearmulti$(EXEEXT): $(HEADERS) $(MULTIOBJS) $(LIBTOM_DEPS) Makefile
|
||||||
$(CC) $(LDFLAGS) -o $@ $(MULTIOBJS) $(LIBS)$
|
$(CC) $(LDFLAGS) -o $@ $(MULTIOBJS) $(LIBTOM_LIBS) $(LIBS)$
|
||||||
|
|
||||||
multibinary: dropbearmulti$(EXEEXT)
|
multibinary: dropbearmulti$(EXEEXT)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user