Mercurial > dropbear
comparison Makefile.in @ 881:77972dc491ca
Turn dropbearmulti into a real target so we don't constantly re-link it
author | Mike Frysinger <vapier@gentoo.org> |
---|---|
date | Wed, 11 Dec 2013 21:48:02 +0800 |
parents | 220f55d540ae |
children | f05107560aa9 |
comparison
equal
deleted
inserted
replaced
880:41a55028a9c5 | 881:77972dc491ca |
---|---|
173 ifeq ($(MULTI),1) | 173 ifeq ($(MULTI),1) |
174 MULTIOBJS=dbmulti.o $(sort $(foreach prog, $(PROGRAMS), $($(prog)objs))) @CRYPTLIB@ | 174 MULTIOBJS=dbmulti.o $(sort $(foreach prog, $(PROGRAMS), $($(prog)objs))) @CRYPTLIB@ |
175 CFLAGS+=$(addprefix -DDBMULTI_, $(PROGRAMS)) -DDROPBEAR_MULTI | 175 CFLAGS+=$(addprefix -DDBMULTI_, $(PROGRAMS)) -DDROPBEAR_MULTI |
176 endif | 176 endif |
177 | 177 |
178 dropbearmulti: multilink | 178 dropbearmulti$(EXEEXT): $(HEADERS) $(MULTIOBJS) $(LIBTOM_DEPS) Makefile |
179 | 179 $(CC) $(LDFLAGS) -o $@ $(MULTIOBJS) $(LIBS)$ |
180 multibinary: $(HEADERS) $(MULTIOBJS) $(LIBTOM_DEPS) Makefile | 180 |
181 $(CC) $(LDFLAGS) -o dropbearmulti$(EXEEXT) $(MULTIOBJS) $(LIBS) | 181 multibinary: dropbearmulti$(EXEEXT) |
182 | 182 |
183 multilink: multibinary $(addprefix link, $(PROGRAMS)) | 183 multilink: multibinary $(addprefix link, $(PROGRAMS)) |
184 | 184 |
185 link%: | 185 link%: |
186 -rm -f $*$(EXEEXT) | 186 -rm -f $*$(EXEEXT) |