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