Mercurial > dropbear
comparison Makefile.in @ 378:a124aff0cbf1
merge of '182c2d8dbd5321ef4d1df8758936f4dc7127015f'
and '31dcd7a22983ef19d6c63248e415e71d292dd0ec'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 06 Dec 2006 13:11:41 +0000 |
parents | 59531221b846 |
children | 0cbe8f6dbf9e |
comparison
equal
deleted
inserted
replaced
377:1bfa65fed772 | 378:a124aff0cbf1 |
---|---|
62 exec_prefix=${prefix} | 62 exec_prefix=${prefix} |
63 bindir=${exec_prefix}/bin | 63 bindir=${exec_prefix}/bin |
64 sbindir=${exec_prefix}/sbin | 64 sbindir=${exec_prefix}/sbin |
65 | 65 |
66 CC=@CC@ | 66 CC=@CC@ |
67 LD=@LD@ | |
68 AR=@AR@ | 67 AR=@AR@ |
69 RANLIB=@RANLIB@ | 68 RANLIB=@RANLIB@ |
70 STRIP=@STRIP@ | 69 STRIP=@STRIP@ |
71 INSTALL=@INSTALL@ | 70 INSTALL=@INSTALL@ |
72 CFLAGS=-I. -I$(srcdir)/libtomcrypt/src/headers/ @CFLAGS@ | 71 CPPFLAGS=@CPPFLAGS@ |
72 CFLAGS=-I. -I$(srcdir) -I$(srcdir)/libtomcrypt/src/headers/ $(CPPFLAGS) @CFLAGS@ | |
73 LIBS=$(LTC) $(LTM) @LIBS@ | 73 LIBS=$(LTC) $(LTM) @LIBS@ |
74 LDFLAGS=@LDFLAGS@ | 74 LDFLAGS=@LDFLAGS@ |
75 | 75 |
76 EXEEXT=@EXEEXT@ | 76 EXEEXT=@EXEEXT@ |
77 | 77 |
153 dropbearkey: $(dropbearkeyobjs) | 153 dropbearkey: $(dropbearkeyobjs) |
154 dropbearconvert: $(dropbearconvertobjs) | 154 dropbearconvert: $(dropbearconvertobjs) |
155 | 155 |
156 dropbear dbclient dropbearkey dropbearconvert: $(HEADERS) $(LTC) $(LTM) \ | 156 dropbear dbclient dropbearkey dropbearconvert: $(HEADERS) $(LTC) $(LTM) \ |
157 Makefile | 157 Makefile |
158 $(LD) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBS) | 158 $(CC) $(LDFLAGS) -o $@$(EXEEXT) $($@objs) $(LIBS) |
159 | 159 |
160 # scp doesn't use the libs so is special. | 160 # scp doesn't use the libs so is special. |
161 scp: $(SCPOBJS) $(HEADERS) Makefile | 161 scp: $(SCPOBJS) $(HEADERS) Makefile |
162 $(LD) $(LDFLAGS) -o $@$(EXEEXT) $(SCPOBJS) | 162 $(CC) $(LDFLAGS) -o $@$(EXEEXT) $(SCPOBJS) |
163 | 163 |
164 | 164 |
165 # multi-binary compilation. | 165 # multi-binary compilation. |
166 MULTIOBJS= | 166 MULTIOBJS= |
167 ifeq ($(MULTI),1) | 167 ifeq ($(MULTI),1) |
170 endif | 170 endif |
171 | 171 |
172 dropbearmulti: multilink | 172 dropbearmulti: multilink |
173 | 173 |
174 multibinary: $(HEADERS) $(MULTIOBJS) $(LTC) $(LTM) Makefile | 174 multibinary: $(HEADERS) $(MULTIOBJS) $(LTC) $(LTM) Makefile |
175 $(LD) $(LDFLAGS) -o dropbearmulti$(EXEEXT) $(MULTIOBJS) $(LIBS) | 175 $(CC) $(LDFLAGS) -o dropbearmulti$(EXEEXT) $(MULTIOBJS) $(LIBS) |
176 | 176 |
177 multilink: multibinary $(addprefix link, $(PROGRAMS)) | 177 multilink: multibinary $(addprefix link, $(PROGRAMS)) |
178 | 178 |
179 link%: | 179 link%: |
180 -rm -f $*$(EXEEXT) | 180 -rm -f $*$(EXEEXT) |
184 cd libtomcrypt && $(MAKE) clean && $(MAKE) | 184 cd libtomcrypt && $(MAKE) clean && $(MAKE) |
185 | 185 |
186 $(LTM): options.h | 186 $(LTM): options.h |
187 cd libtommath && $(MAKE) | 187 cd libtommath && $(MAKE) |
188 | 188 |
189 .PHONY : clean sizes thisclean distclean tidy ltc-clean ltm-clean | |
190 | |
189 ltc-clean: | 191 ltc-clean: |
190 cd libtomcrypt && $(MAKE) clean | 192 cd libtomcrypt && $(MAKE) clean |
191 | 193 |
192 ltm-clean: | 194 ltm-clean: |
193 cd libtommath && $(MAKE) clean | 195 cd libtommath && $(MAKE) clean |