root / Makefile.target @ 95ea3fa1
History | View | Annotate | Download (7.3 kB)
1 | 626df76a | bellard | include config.mak |
---|---|---|---|
2 | 626df76a | bellard | |
3 | 1e43adfc | bellard | TARGET_PATH=$(SRC_PATH)/target-$(TARGET_ARCH) |
4 | 80cabfad | bellard | VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw |
5 | 3035f7ff | bellard | DEFINES=-I. -I$(TARGET_PATH) -I$(SRC_PATH) |
6 | 3035f7ff | bellard | ifdef CONFIG_USER_ONLY |
7 | 3035f7ff | bellard | VPATH+=:$(SRC_PATH)/linux-user |
8 | 3035f7ff | bellard | DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH) |
9 | 3035f7ff | bellard | endif |
10 | ab2572d7 | bellard | CFLAGS=-Wall -O2 -g -fno-strict-aliasing |
11 | 626df76a | bellard | LDFLAGS=-g |
12 | 626df76a | bellard | LIBS= |
13 | 626df76a | bellard | HELPER_CFLAGS=$(CFLAGS) |
14 | 67b915a5 | bellard | DYNGEN=../dyngen$(EXESUF) |
15 | 1e43adfc | bellard | # user emulator name |
16 | 1e43adfc | bellard | QEMU_USER=qemu-$(TARGET_ARCH) |
17 | 1e43adfc | bellard | # system emulator name |
18 | 1e43adfc | bellard | ifdef CONFIG_SOFTMMU |
19 | a541f297 | bellard | ifeq ($(TARGET_ARCH), i386) |
20 | 67b915a5 | bellard | QEMU_SYSTEM=qemu$(EXESUF) |
21 | 0db63474 | bellard | else |
22 | a541f297 | bellard | QEMU_SYSTEM=qemu-system-$(TARGET_ARCH)$(EXESUF) |
23 | a541f297 | bellard | endif |
24 | a541f297 | bellard | else |
25 | 0db63474 | bellard | QEMU_SYSTEM=qemu-fast |
26 | 1e43adfc | bellard | endif |
27 | 1e43adfc | bellard | |
28 | 16e9b7de | bellard | ifdef CONFIG_USER_ONLY |
29 | 1e43adfc | bellard | PROGS=$(QEMU_USER) |
30 | 16e9b7de | bellard | else |
31 | 16e9b7de | bellard | ifeq ($(TARGET_ARCH), i386) |
32 | c321f673 | bellard | |
33 | c321f673 | bellard | ifeq ($(ARCH), i386) |
34 | c321f673 | bellard | PROGS+=$(QEMU_SYSTEM) |
35 | de5eaa64 | bellard | ifndef CONFIG_SOFTMMU |
36 | de5eaa64 | bellard | CONFIG_STATIC=y |
37 | de5eaa64 | bellard | endif |
38 | 38ca2abc | bellard | else |
39 | 38ca2abc | bellard | # the system emulator using soft mmu is portable |
40 | c321f673 | bellard | ifdef CONFIG_SOFTMMU |
41 | 16e9b7de | bellard | PROGS+=$(QEMU_SYSTEM) |
42 | 16e9b7de | bellard | endif |
43 | 38ca2abc | bellard | endif # ARCH != i386 |
44 | c321f673 | bellard | |
45 | 38ca2abc | bellard | endif # TARGET_ARCH = i386 |
46 | 728c9fd5 | bellard | |
47 | 728c9fd5 | bellard | ifeq ($(TARGET_ARCH), ppc) |
48 | 728c9fd5 | bellard | |
49 | 728c9fd5 | bellard | ifeq ($(ARCH), ppc) |
50 | 728c9fd5 | bellard | PROGS+=$(QEMU_SYSTEM) |
51 | 728c9fd5 | bellard | endif |
52 | 728c9fd5 | bellard | |
53 | 728c9fd5 | bellard | ifeq ($(ARCH), i386) |
54 | 728c9fd5 | bellard | ifdef CONFIG_SOFTMMU |
55 | 728c9fd5 | bellard | PROGS+=$(QEMU_SYSTEM) |
56 | 626df76a | bellard | endif |
57 | 728c9fd5 | bellard | endif # ARCH = i386 |
58 | 728c9fd5 | bellard | |
59 | 75dfaa1e | bellard | ifeq ($(ARCH), amd64) |
60 | 75dfaa1e | bellard | ifdef CONFIG_SOFTMMU |
61 | 75dfaa1e | bellard | PROGS+=$(QEMU_SYSTEM) |
62 | 75dfaa1e | bellard | endif |
63 | 75dfaa1e | bellard | endif # ARCH = amd64 |
64 | 75dfaa1e | bellard | |
65 | 728c9fd5 | bellard | endif # TARGET_ARCH = ppc |
66 | 728c9fd5 | bellard | endif # !CONFIG_USER_ONLY |
67 | 626df76a | bellard | |
68 | 626df76a | bellard | ifdef CONFIG_STATIC |
69 | 626df76a | bellard | LDFLAGS+=-static |
70 | 626df76a | bellard | endif |
71 | 626df76a | bellard | |
72 | 626df76a | bellard | ifeq ($(ARCH),i386) |
73 | 626df76a | bellard | CFLAGS+=-fomit-frame-pointer |
74 | 626df76a | bellard | OP_CFLAGS=$(CFLAGS) -mpreferred-stack-boundary=2 |
75 | 626df76a | bellard | ifeq ($(HAVE_GCC3_OPTIONS),yes) |
76 | 626df76a | bellard | OP_CFLAGS+= -falign-functions=0 |
77 | 626df76a | bellard | else |
78 | 626df76a | bellard | OP_CFLAGS+= -malign-functions=0 |
79 | 626df76a | bellard | endif |
80 | 3a4739d6 | bellard | |
81 | 626df76a | bellard | ifdef TARGET_GPROF |
82 | 3a4739d6 | bellard | USE_I386_LD=y |
83 | 3a4739d6 | bellard | endif |
84 | 3a4739d6 | bellard | ifdef CONFIG_STATIC |
85 | 3a4739d6 | bellard | USE_I386_LD=y |
86 | 3a4739d6 | bellard | endif |
87 | 3a4739d6 | bellard | ifdef USE_I386_LD |
88 | 626df76a | bellard | LDFLAGS+=-Wl,-T,$(SRC_PATH)/i386.ld |
89 | 626df76a | bellard | else |
90 | 626df76a | bellard | # WARNING: this LDFLAGS is _very_ tricky : qemu is an ELF shared object |
91 | 626df76a | bellard | # that the kernel ELF loader considers as an executable. I think this |
92 | 626df76a | bellard | # is the simplest way to make it self virtualizable! |
93 | 626df76a | bellard | LDFLAGS+=-Wl,-shared |
94 | 626df76a | bellard | endif |
95 | 626df76a | bellard | endif |
96 | 626df76a | bellard | |
97 | bc51c5c9 | bellard | ifeq ($(ARCH),amd64) |
98 | bc51c5c9 | bellard | OP_CFLAGS=$(CFLAGS) -falign-functions=0 |
99 | bc51c5c9 | bellard | LDFLAGS+=-Wl,-T,$(SRC_PATH)/amd64.ld |
100 | bc51c5c9 | bellard | endif |
101 | bc51c5c9 | bellard | |
102 | 626df76a | bellard | ifeq ($(ARCH),ppc) |
103 | 626df76a | bellard | OP_CFLAGS=$(CFLAGS) |
104 | 626df76a | bellard | LDFLAGS+=-Wl,-T,$(SRC_PATH)/ppc.ld |
105 | 626df76a | bellard | endif |
106 | 626df76a | bellard | |
107 | 626df76a | bellard | ifeq ($(ARCH),s390) |
108 | 626df76a | bellard | OP_CFLAGS=$(CFLAGS) |
109 | 626df76a | bellard | LDFLAGS+=-Wl,-T,$(SRC_PATH)/s390.ld |
110 | 626df76a | bellard | endif |
111 | 626df76a | bellard | |
112 | 626df76a | bellard | ifeq ($(ARCH),sparc) |
113 | 626df76a | bellard | CFLAGS+=-m32 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 |
114 | 626df76a | bellard | LDFLAGS+=-m32 |
115 | 626df76a | bellard | OP_CFLAGS=$(CFLAGS) -fno-delayed-branch -ffixed-i0 |
116 | 626df76a | bellard | HELPER_CFLAGS=$(CFLAGS) -ffixed-i0 -mflat |
117 | 626df76a | bellard | # -static is used to avoid g1/g3 usage by the dynamic linker |
118 | 626df76a | bellard | LDFLAGS+=-Wl,-T,$(SRC_PATH)/sparc.ld -static |
119 | 626df76a | bellard | endif |
120 | 626df76a | bellard | |
121 | 626df76a | bellard | ifeq ($(ARCH),sparc64) |
122 | 626df76a | bellard | CFLAGS+=-m64 -ffixed-g1 -ffixed-g2 -ffixed-g3 -ffixed-g6 |
123 | 626df76a | bellard | LDFLAGS+=-m64 |
124 | 626df76a | bellard | OP_CFLAGS=$(CFLAGS) -fno-delayed-branch -ffixed-i0 |
125 | 626df76a | bellard | endif |
126 | 626df76a | bellard | |
127 | 626df76a | bellard | ifeq ($(ARCH),alpha) |
128 | 626df76a | bellard | # -msmall-data is not used because we want two-instruction relocations |
129 | 626df76a | bellard | # for the constant constructions |
130 | 626df76a | bellard | OP_CFLAGS=-Wall -O2 -g |
131 | 626df76a | bellard | # Ensure there's only a single GP |
132 | 626df76a | bellard | CFLAGS += -msmall-data |
133 | 626df76a | bellard | LDFLAGS+=-Wl,-T,$(SRC_PATH)/alpha.ld |
134 | 626df76a | bellard | endif |
135 | 626df76a | bellard | |
136 | 626df76a | bellard | ifeq ($(ARCH),ia64) |
137 | 626df76a | bellard | OP_CFLAGS=$(CFLAGS) |
138 | 626df76a | bellard | endif |
139 | 626df76a | bellard | |
140 | 626df76a | bellard | ifeq ($(ARCH),arm) |
141 | 626df76a | bellard | OP_CFLAGS=$(CFLAGS) -mno-sched-prolog |
142 | 626df76a | bellard | LDFLAGS+=-Wl,-T,$(SRC_PATH)/arm.ld |
143 | 626df76a | bellard | endif |
144 | 626df76a | bellard | |
145 | 38e584a0 | bellard | ifeq ($(ARCH),m68k) |
146 | 38e584a0 | bellard | OP_CFLAGS=$(CFLAGS) -fomit-frame-pointer |
147 | 38e584a0 | bellard | LDFLAGS+=-Wl,-T,m68k.ld |
148 | 38e584a0 | bellard | endif |
149 | 38e584a0 | bellard | |
150 | 626df76a | bellard | ifeq ($(HAVE_GCC3_OPTIONS),yes) |
151 | 626df76a | bellard | # very important to generate a return at the end of every operation |
152 | 626df76a | bellard | OP_CFLAGS+=-fno-reorder-blocks -fno-optimize-sibling-calls |
153 | 626df76a | bellard | endif |
154 | 626df76a | bellard | |
155 | 626df76a | bellard | ######################################################### |
156 | 626df76a | bellard | |
157 | 626df76a | bellard | DEFINES+=-D_GNU_SOURCE |
158 | 626df76a | bellard | LIBS+=-lm |
159 | 67b915a5 | bellard | ifdef CONFIG_WIN32 |
160 | 67b915a5 | bellard | LIBS+=-lwinmm |
161 | 67b915a5 | bellard | endif |
162 | 626df76a | bellard | |
163 | 626df76a | bellard | # profiling code |
164 | 626df76a | bellard | ifdef TARGET_GPROF |
165 | 626df76a | bellard | LDFLAGS+=-p |
166 | 626df76a | bellard | main.o: CFLAGS+=-p |
167 | 626df76a | bellard | endif |
168 | 626df76a | bellard | |
169 | 3035f7ff | bellard | OBJS= elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o |
170 | 626df76a | bellard | ifeq ($(TARGET_ARCH), i386) |
171 | 626df76a | bellard | OBJS+= vm86.o |
172 | 626df76a | bellard | endif |
173 | f72b519c | bellard | ifeq ($(TARGET_ARCH), arm) |
174 | f72b519c | bellard | OBJS+=nwfpe/softfloat.o nwfpe/fpa11.o nwfpe/fpa11_cpdo.o \ |
175 | f72b519c | bellard | nwfpe/fpa11_cpdt.o nwfpe/fpa11_cprt.o nwfpe/fpopcode.o nwfpe/single_cpdo.o \ |
176 | f72b519c | bellard | nwfpe/double_cpdo.o nwfpe/extended_cpdo.o |
177 | f72b519c | bellard | endif |
178 | 626df76a | bellard | SRCS:= $(OBJS:.o=.c) |
179 | 626df76a | bellard | OBJS+= libqemu.a |
180 | 626df76a | bellard | |
181 | 626df76a | bellard | # cpu emulator library |
182 | 858693c6 | bellard | LIBOBJS=exec.o translate-all.o cpu-exec.o\ |
183 | 1e43adfc | bellard | translate.o op.o |
184 | 626df76a | bellard | |
185 | 626df76a | bellard | ifeq ($(TARGET_ARCH), i386) |
186 | 1e43adfc | bellard | LIBOBJS+=helper.o helper2.o |
187 | f72b519c | bellard | ifeq ($(ARCH), i386) |
188 | f72b519c | bellard | LIBOBJS+=translate-copy.o |
189 | f72b519c | bellard | endif |
190 | 626df76a | bellard | endif |
191 | 626df76a | bellard | |
192 | 67867308 | bellard | ifeq ($(TARGET_ARCH), ppc) |
193 | 728c9fd5 | bellard | LIBOBJS+= op_helper.o helper.o |
194 | 67867308 | bellard | endif |
195 | 67867308 | bellard | |
196 | 626df76a | bellard | # NOTE: the disassembler code is only needed for debugging |
197 | 626df76a | bellard | LIBOBJS+=disas.o |
198 | 626df76a | bellard | ifeq ($(findstring i386, $(TARGET_ARCH) $(ARCH)),i386) |
199 | bc51c5c9 | bellard | USE_I386_DIS=y |
200 | bc51c5c9 | bellard | endif |
201 | bc51c5c9 | bellard | ifeq ($(findstring amd64, $(TARGET_ARCH) $(ARCH)),amd64) |
202 | bc51c5c9 | bellard | USE_I386_DIS=y |
203 | bc51c5c9 | bellard | endif |
204 | bc51c5c9 | bellard | ifdef USE_I386_DIS |
205 | 626df76a | bellard | LIBOBJS+=i386-dis.o |
206 | 626df76a | bellard | endif |
207 | 626df76a | bellard | ifeq ($(findstring alpha, $(TARGET_ARCH) $(ARCH)),alpha) |
208 | 626df76a | bellard | LIBOBJS+=alpha-dis.o |
209 | 626df76a | bellard | endif |
210 | 626df76a | bellard | ifeq ($(findstring ppc, $(TARGET_ARCH) $(ARCH)),ppc) |
211 | 626df76a | bellard | LIBOBJS+=ppc-dis.o |
212 | 626df76a | bellard | endif |
213 | 626df76a | bellard | ifeq ($(findstring sparc, $(TARGET_ARCH) $(ARCH)),sparc) |
214 | 626df76a | bellard | LIBOBJS+=sparc-dis.o |
215 | 626df76a | bellard | endif |
216 | 626df76a | bellard | ifeq ($(findstring arm, $(TARGET_ARCH) $(ARCH)),arm) |
217 | 626df76a | bellard | LIBOBJS+=arm-dis.o |
218 | 626df76a | bellard | endif |
219 | 626df76a | bellard | |
220 | 626df76a | bellard | ifeq ($(ARCH),ia64) |
221 | 626df76a | bellard | OBJS += ia64-syscall.o |
222 | 626df76a | bellard | endif |
223 | 626df76a | bellard | |
224 | 1e43adfc | bellard | all: $(PROGS) |
225 | 626df76a | bellard | |
226 | 1e43adfc | bellard | $(QEMU_USER): $(OBJS) |
227 | 626df76a | bellard | $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) |
228 | 626df76a | bellard | ifeq ($(ARCH),alpha) |
229 | 626df76a | bellard | # Mark as 32 bit binary, i. e. it will be mapped into the low 31 bit of |
230 | 626df76a | bellard | # the address space (31 bit so sign extending doesn't matter) |
231 | 626df76a | bellard | echo -ne '\001\000\000\000' | dd of=qemu bs=1 seek=48 count=4 conv=notrunc |
232 | 626df76a | bellard | endif |
233 | 626df76a | bellard | |
234 | 626df76a | bellard | # must use static linking to avoid leaving stuff in virtual address space |
235 | 69135b5c | bellard | VL_OBJS=vl.o osdep.o block.o monitor.o pci.o |
236 | a541f297 | bellard | |
237 | a541f297 | bellard | ifeq ($(TARGET_ARCH), i386) |
238 | a541f297 | bellard | # Hardware support |
239 | a541f297 | bellard | VL_OBJS+= ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o |
240 | d6bfa22f | bellard | VL_OBJS+= fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o |
241 | d6bfa22f | bellard | VL_OBJS+= cirrus_vga.o |
242 | 67b915a5 | bellard | endif |
243 | 728c9fd5 | bellard | ifeq ($(TARGET_ARCH), ppc) |
244 | 95ea3fa1 | bellard | VL_OBJS+= ppc.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o |
245 | 64201201 | bellard | VL_OBJS+= mc146818rtc.o serial.o i8259.o i8254.o fdc.o m48t59.o |
246 | 95ea3fa1 | bellard | VL_OBJS+= ppc_prep.o ppc_chrp.o cuda.o adb.o openpic.o |
247 | a541f297 | bellard | endif |
248 | a541f297 | bellard | ifdef CONFIG_GDBSTUB |
249 | a541f297 | bellard | VL_OBJS+=gdbstub.o |
250 | 728c9fd5 | bellard | endif |
251 | 626df76a | bellard | ifdef CONFIG_SDL |
252 | 626df76a | bellard | VL_OBJS+=sdl.o |
253 | de5eaa64 | bellard | endif |
254 | 7c1f25b4 | bellard | ifdef CONFIG_SLIRP |
255 | 7c1f25b4 | bellard | DEFINES+=-I$(SRC_PATH)/slirp |
256 | 7c1f25b4 | bellard | SLIRP_OBJS=cksum.o if.o ip_icmp.o ip_input.o ip_output.o \ |
257 | 7c1f25b4 | bellard | slirp.o mbuf.o misc.o sbuf.o socket.o tcp_input.o tcp_output.o \ |
258 | 7c1f25b4 | bellard | tcp_subr.o tcp_timer.o udp.o bootp.o debug.o |
259 | 7c1f25b4 | bellard | VL_OBJS+=$(addprefix slirp/, $(SLIRP_OBJS)) |
260 | 626df76a | bellard | endif |
261 | 626df76a | bellard | |
262 | c321f673 | bellard | VL_LDFLAGS= |
263 | c321f673 | bellard | # specific flags are needed for non soft mmu emulator |
264 | c321f673 | bellard | ifdef CONFIG_STATIC |
265 | c321f673 | bellard | VL_LDFLAGS+=-static |
266 | c321f673 | bellard | endif |
267 | de5eaa64 | bellard | ifndef CONFIG_SOFTMMU |
268 | de5eaa64 | bellard | VL_LDFLAGS+=-Wl,-T,$(SRC_PATH)/i386-vl.ld |
269 | de5eaa64 | bellard | endif |
270 | 11d9f695 | bellard | ifndef CONFIG_WIN32 |
271 | 11d9f695 | bellard | VL_LIBS=-lutil |
272 | 11d9f695 | bellard | endif |
273 | c321f673 | bellard | |
274 | 1e43adfc | bellard | $(QEMU_SYSTEM): $(VL_OBJS) libqemu.a |
275 | 11d9f695 | bellard | $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(VL_LIBS) |
276 | 626df76a | bellard | |
277 | 626df76a | bellard | sdl.o: sdl.c |
278 | 626df76a | bellard | $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $< |
279 | 626df76a | bellard | |
280 | 626df76a | bellard | depend: $(SRCS) |
281 | 16e9b7de | bellard | $(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend |
282 | 626df76a | bellard | |
283 | 626df76a | bellard | # libqemu |
284 | 626df76a | bellard | |
285 | 626df76a | bellard | libqemu.a: $(LIBOBJS) |
286 | 626df76a | bellard | rm -f $@ |
287 | 626df76a | bellard | $(AR) rcs $@ $(LIBOBJS) |
288 | 626df76a | bellard | |
289 | 1e43adfc | bellard | translate.o: translate.c gen-op.h opc.h cpu.h |
290 | 626df76a | bellard | |
291 | 1e43adfc | bellard | translate-all.o: translate-all.c op.h opc.h cpu.h |
292 | 626df76a | bellard | |
293 | 1e43adfc | bellard | op.h: op.o $(DYNGEN) |
294 | 626df76a | bellard | $(DYNGEN) -o $@ $< |
295 | 626df76a | bellard | |
296 | 1e43adfc | bellard | opc.h: op.o $(DYNGEN) |
297 | 626df76a | bellard | $(DYNGEN) -c -o $@ $< |
298 | 626df76a | bellard | |
299 | 1e43adfc | bellard | gen-op.h: op.o $(DYNGEN) |
300 | 626df76a | bellard | $(DYNGEN) -g -o $@ $< |
301 | 626df76a | bellard | |
302 | 1e43adfc | bellard | op.o: op.c |
303 | 626df76a | bellard | $(CC) $(OP_CFLAGS) $(DEFINES) -c -o $@ $< |
304 | 626df76a | bellard | |
305 | 1e43adfc | bellard | helper.o: helper.c |
306 | 626df76a | bellard | $(CC) $(HELPER_CFLAGS) $(DEFINES) -c -o $@ $< |
307 | 626df76a | bellard | |
308 | 1e43adfc | bellard | ifeq ($(TARGET_ARCH), i386) |
309 | 1e43adfc | bellard | op.o: op.c opreg_template.h ops_template.h ops_template_mem.h ops_mem.h |
310 | 1e43adfc | bellard | endif |
311 | 1e43adfc | bellard | |
312 | 1e43adfc | bellard | ifeq ($(TARGET_ARCH), arm) |
313 | 1e43adfc | bellard | op.o: op.c op_template.h |
314 | 1e43adfc | bellard | endif |
315 | 626df76a | bellard | |
316 | 1e43adfc | bellard | ifeq ($(TARGET_ARCH), sparc) |
317 | 1e43adfc | bellard | op.o: op.c op_template.h |
318 | 1e43adfc | bellard | endif |
319 | 626df76a | bellard | |
320 | 728c9fd5 | bellard | ifeq ($(TARGET_ARCH), ppc) |
321 | 728c9fd5 | bellard | op.o: op.c op_template.h op_mem.h |
322 | 728c9fd5 | bellard | op_helper.o: op_helper_mem.h |
323 | 728c9fd5 | bellard | endif |
324 | 728c9fd5 | bellard | |
325 | 626df76a | bellard | %.o: %.c |
326 | 626df76a | bellard | $(CC) $(CFLAGS) $(DEFINES) -c -o $@ $< |
327 | 626df76a | bellard | |
328 | f72b519c | bellard | %.o: %.S |
329 | f72b519c | bellard | $(CC) $(DEFINES) -c -o $@ $< |
330 | f72b519c | bellard | |
331 | 626df76a | bellard | clean: |
332 | 7c1f25b4 | bellard | rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o slirp/*.o |
333 | 1e43adfc | bellard | |
334 | 1e43adfc | bellard | install: all |
335 | 9b14bb04 | bellard | ifneq ($(PROGS),) |
336 | 11d9f695 | bellard | install -m 755 -s $(PROGS) "$(bindir)" |
337 | 9b14bb04 | bellard | endif |
338 | 626df76a | bellard | |
339 | 626df76a | bellard | ifneq ($(wildcard .depend),) |
340 | 626df76a | bellard | include .depend |
341 | 626df76a | bellard | endif |