comparison Makefile.in @ 31:3c2066e196a9

removed some test targets
author Matt Johnston <matt@ucc.asn.au>
date Tue, 27 Jul 2004 14:54:25 +0000
parents 223b0f5f8dce
children 8fd0cdbb5b1b
comparison
equal deleted inserted replaced
30:223b0f5f8dce 31:3c2066e196a9
108 #%: $(HEADERS) Makefile 108 #%: $(HEADERS) Makefile
109 # TODO 109 # TODO
110 110
111 all: $(TARGETS) 111 all: $(TARGETS)
112 112
113 test:
114 @echo Z$(sort $(foreach prog, $(PROGRAMS), $($(prog)objs)))Z
115
116 strip: $(TARGETS) 113 strip: $(TARGETS)
117 $(STRIP) $(addsuffix $(EXEEXT), $(addprefix $(SPREFIX), $(TARGETS))) 114 $(STRIP) $(addsuffix $(EXEEXT), $(addprefix $(SPREFIX), $(TARGETS)))
118 115
119 install: $(addprefix install, $(TARGETS)) 116 install: $(addprefix install, $(TARGETS))
120 117
156 ifeq ($(MULTI),1) 153 ifeq ($(MULTI),1)
157 MULTIOBJS=dbmulti.o $(sort $(foreach prog, $(PROGRAMS), $($(prog)objs))) 154 MULTIOBJS=dbmulti.o $(sort $(foreach prog, $(PROGRAMS), $($(prog)objs)))
158 CFLAGS+=$(addprefix -DDBMULTI_, $(PROGRAMS)) -DDROPBEAR_MULTI 155 CFLAGS+=$(addprefix -DDBMULTI_, $(PROGRAMS)) -DDROPBEAR_MULTI
159 endif 156 endif
160 157
161 testfoo:
162 echo $(MULTIOBJS)
163
164 dropbearmulti: $(HEADERS) $(MULTIOBJS) $(LTC) $(LTM) 158 dropbearmulti: $(HEADERS) $(MULTIOBJS) $(LTC) $(LTM)
165 $(LD) $(LDFLAGS) -o $(SPREFIX)$@$(EXEEXT) $(MULTIOBJS) $(LIBS) 159 $(LD) $(LDFLAGS) -o $(SPREFIX)$@$(EXEEXT) $(MULTIOBJS) $(LIBS)
166 @echo 160 @echo
167 @echo "You should now create symlinks to the programs you have included" 161 @echo "You should now create symlinks to the programs you have included"
168 @echo "ie 'ln -s dropbearmulti dropbear'" 162 @echo "ie 'ln -s dropbearmulti dropbear'"