]>
Commit | Line | Data |
---|---|---|
0cb3fb1e PB |
1 | # Makefile for QEMU. |
2 | ||
519e1693 SW |
3 | # Always point to the root of the build tree (needs GNU make). |
4 | BUILD_DIR=$(CURDIR) | |
388d4758 | 5 | |
eaa2ddbb FZ |
6 | # Before including a proper config-host.mak, assume we are in the source tree |
7 | SRC_PATH=. | |
8 | ||
324027c2 | 9 | UNCHECKED_GOALS := %clean TAGS cscope ctags docker docker-% |
eaa2ddbb | 10 | |
250b086e | 11 | # All following code might depend on configuration variables |
55d7e8f6 | 12 | ifneq ($(wildcard config-host.mak),) |
1ad2134f | 13 | # Put the all: rule here so that config-host.mak can contain dependencies. |
8f67aa82 | 14 | all: |
ad064840 | 15 | include config-host.mak |
d1bd2423 PM |
16 | |
17 | # Check that we're not trying to do an out-of-tree build from | |
18 | # a tree that's been used for an in-tree build. | |
19 | ifneq ($(realpath $(SRC_PATH)),$(realpath .)) | |
20 | ifneq ($(wildcard $(SRC_PATH)/config-host.mak),) | |
21 | $(error This is an out of tree build but your source tree ($(SRC_PATH)) \ | |
22 | seems to have been used for an in-tree build. You can fix this by running \ | |
23 | "make distclean && rm -rf *-linux-user *-softmmu" in your source tree) | |
24 | endif | |
25 | endif | |
26 | ||
f3aa844b PB |
27 | CONFIG_SOFTMMU := $(if $(filter %-softmmu,$(TARGET_DIRS)),y) |
28 | CONFIG_USER_ONLY := $(if $(filter %-user,$(TARGET_DIRS)),y) | |
29 | CONFIG_ALL=y | |
30 | -include config-all-devices.mak | |
31 | -include config-all-disas.mak | |
32 | ||
59bc10ee | 33 | config-host.mak: $(SRC_PATH)/configure |
e5efe7f5 | 34 | @echo $@ is out-of-date, running configure |
bdf523e6 SW |
35 | @# TODO: The next lines include code which supports a smooth |
36 | @# transition from old configurations without config.status. | |
37 | @# This code can be removed after QEMU 1.7. | |
38 | @if test -x config.status; then \ | |
39 | ./config.status; \ | |
40 | else \ | |
41 | sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh; \ | |
42 | fi | |
55d7e8f6 AJ |
43 | else |
44 | config-host.mak: | |
eaa2ddbb | 45 | ifneq ($(filter-out $(UNCHECKED_GOALS),$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,fail)) |
55d7e8f6 AJ |
46 | @echo "Please call configure before running make!" |
47 | @exit 1 | |
48 | endif | |
7748b8cb | 49 | endif |
766a487a | 50 | |
fb57c881 FZ |
51 | include $(SRC_PATH)/rules.mak |
52 | ||
67a1de0d | 53 | GENERATED_HEADERS = qemu-version.h config-host.h qemu-options.def |
21cd70df WX |
54 | GENERATED_HEADERS += qmp-commands.h qapi-types.h qapi-visit.h qapi-event.h |
55 | GENERATED_SOURCES += qmp-marshal.c qapi-types.c qapi-visit.c qapi-event.c | |
39a18158 MA |
56 | GENERATED_HEADERS += qmp-introspect.h |
57 | GENERATED_SOURCES += qmp-introspect.c | |
eac236ea | 58 | |
45be2f5d LV |
59 | GENERATED_HEADERS += trace/generated-events.h |
60 | GENERATED_SOURCES += trace/generated-events.c | |
61 | ||
eac236ea | 62 | GENERATED_HEADERS += trace/generated-tracers.h |
5b808275 | 63 | ifeq ($(findstring dtrace,$(TRACE_BACKENDS)),dtrace) |
eac236ea | 64 | GENERATED_HEADERS += trace/generated-tracers-dtrace.h |
250b086e | 65 | endif |
eac236ea | 66 | GENERATED_SOURCES += trace/generated-tracers.c |
250b086e | 67 | |
465830fb LV |
68 | GENERATED_HEADERS += trace/generated-tcg-tracers.h |
69 | ||
f4654226 | 70 | GENERATED_HEADERS += trace/generated-helpers-wrappers.h |
707c8a98 | 71 | GENERATED_HEADERS += trace/generated-helpers.h |
341ea691 | 72 | GENERATED_SOURCES += trace/generated-helpers.c |
707c8a98 | 73 | |
5b808275 | 74 | ifeq ($(findstring ust,$(TRACE_BACKENDS)),ust) |
e6bf23f8 MG |
75 | GENERATED_HEADERS += trace/generated-ust-provider.h |
76 | GENERATED_SOURCES += trace/generated-ust.c | |
77 | endif | |
78 | ||
d9ace8b3 JQ |
79 | # Don't try to regenerate Makefile or configure |
80 | # We don't generate any of them | |
81 | Makefile: ; | |
82 | configure: ; | |
83 | ||
818220f5 | 84 | .PHONY: all clean cscope distclean dvi html info install install-doc \ |
d41d4da3 | 85 | pdf recurse-all speed test dist msi FORCE |
0cb3fb1e | 86 | |
fec90ff0 | 87 | $(call set-vpath, $(SRC_PATH)) |
8c462f8f | 88 | |
3e2e0e6b | 89 | LIBS+=-lz $(LIBS_TOOLS) |
67c0f08d | 90 | |
7b93fadf CB |
91 | HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) |
92 | ||
cc8ae6de | 93 | ifdef BUILD_DOCS |
665b5d0d MAL |
94 | DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8 |
95 | DOCS+=qmp-commands.txt | |
983eef5a | 96 | ifdef CONFIG_VIRTFS |
a2d8f1be | 97 | DOCS+=fsdev/virtfs-proxy-helper.1 |
983eef5a | 98 | endif |
cc8ae6de PB |
99 | else |
100 | DOCS= | |
101 | endif | |
aa05ae6f | 102 | |
388d4758 | 103 | SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory) BUILD_DIR=$(BUILD_DIR) |
1f3d3c8f | 104 | SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) |
88070801 | 105 | SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %-config-devices.mak.d, $(TARGET_DIRS)) |
1f3d3c8f | 106 | |
8bdd3d49 SW |
107 | ifeq ($(SUBDIR_DEVICES_MAK),) |
108 | config-all-devices.mak: | |
109 | $(call quiet-command,echo '# no devices' > $@," GEN $@") | |
110 | else | |
1f3d3c8f | 111 | config-all-devices.mak: $(SUBDIR_DEVICES_MAK) |
bb585a78 PB |
112 | $(call quiet-command, sed -n \ |
113 | 's|^\([^=]*\)=\(.*\)$$|\1:=$$(findstring y,$$(\1)\2)|p' \ | |
114 | $(SUBDIR_DEVICES_MAK) | sort -u > $@, \ | |
115 | " GEN $@") | |
8bdd3d49 | 116 | endif |
1f3d3c8f | 117 | |
bd9141bb PB |
118 | -include $(SUBDIR_DEVICES_MAK_DEP) |
119 | ||
0ab0c998 | 120 | %/config-devices.mak: default-configs/%.mak $(SRC_PATH)/scripts/make_device_config.sh |
15564d85 PB |
121 | $(call quiet-command, \ |
122 | $(SHELL) $(SRC_PATH)/scripts/make_device_config.sh $< $*-config-devices.mak.d $@ > [email protected], " GEN [email protected]") | |
12ccfec9 | 123 | $(call quiet-command, if test -f $@; then \ |
904fe1fb | 124 | if cmp -s [email protected] $@; then \ |
bd9141bb PB |
125 | mv [email protected] $@; \ |
126 | cp -p $@ [email protected]; \ | |
012f0879 SW |
127 | else \ |
128 | if test -f [email protected]; then \ | |
129 | echo "WARNING: $@ (user modified) out of date.";\ | |
130 | else \ | |
131 | echo "WARNING: $@ out of date.";\ | |
132 | fi; \ | |
133 | echo "Run \"make defconfig\" to regenerate."; \ | |
134 | rm [email protected]; \ | |
135 | fi; \ | |
a992fe3d | 136 | else \ |
012f0879 SW |
137 | mv [email protected] $@; \ |
138 | cp -p $@ [email protected]; \ | |
f6288b9c | 139 | fi, " GEN $@"); |
a992fe3d PB |
140 | |
141 | defconfig: | |
142 | rm -f config-all-devices.mak $(SUBDIR_DEVICES_MAK) | |
143 | ||
992aeb8e PB |
144 | ifneq ($(wildcard config-host.mak),) |
145 | include $(SRC_PATH)/Makefile.objs | |
ba1183da FZ |
146 | endif |
147 | ||
148 | dummy := $(call unnest-vars,, \ | |
149 | stub-obj-y \ | |
150 | util-obj-y \ | |
151 | qga-obj-y \ | |
a75eb03b DM |
152 | ivshmem-client-obj-y \ |
153 | ivshmem-server-obj-y \ | |
577a6723 | 154 | qga-vss-dll-obj-y \ |
ba1183da | 155 | block-obj-y \ |
cc475698 | 156 | block-obj-m \ |
fb37726d DB |
157 | crypto-obj-y \ |
158 | crypto-aes-obj-y \ | |
0c7012e0 | 159 | qom-obj-y \ |
666a3af9 | 160 | io-obj-y \ |
cc475698 FZ |
161 | common-obj-y \ |
162 | common-obj-m) | |
ba1183da FZ |
163 | |
164 | ifneq ($(wildcard config-host.mak),) | |
46e7b706 | 165 | include $(SRC_PATH)/tests/Makefile.include |
992aeb8e | 166 | endif |
992aeb8e | 167 | |
17969268 | 168 | all: $(DOCS) $(TOOLS) $(HELPERS-y) recurse-all modules |
b9dea4fb | 169 | |
67a1de0d FZ |
170 | qemu-version.h: FORCE |
171 | $(call quiet-command, \ | |
172 | (cd $(SRC_PATH); \ | |
173 | printf '#define QEMU_PKGVERSION '; \ | |
174 | if test -n "$(PKGVERSION)"; then \ | |
175 | printf '"$(PKGVERSION)"\n'; \ | |
176 | else \ | |
177 | if test -d .git; then \ | |
178 | printf '" ('; \ | |
179 | git describe --match 'v*' 2>/dev/null | tr -d '\n'; \ | |
180 | if ! git diff-index --quiet HEAD &>/dev/null; then \ | |
181 | printf -- '-dirty'; \ | |
182 | fi; \ | |
183 | printf ')"\n'; \ | |
184 | else \ | |
185 | printf '""\n'; \ | |
186 | fi; \ | |
187 | fi) > [email protected]) | |
188 | $(call quiet-command, cmp --quiet $@ [email protected] || mv [email protected] $@) | |
189 | ||
1215c6e7 JQ |
190 | config-host.h: config-host.h-timestamp |
191 | config-host.h-timestamp: config-host.mak | |
077de81a | 192 | qemu-options.def: $(SRC_PATH)/qemu-options.hx $(SRC_PATH)/scripts/hxtool |
4c3b5a48 | 193 | $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@," GEN $@") |
1215c6e7 | 194 | |
cec7d0b6 | 195 | SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) |
916359f6 AF |
196 | SOFTMMU_SUBDIR_RULES=$(filter %-softmmu,$(SUBDIR_RULES)) |
197 | ||
57f45b62 | 198 | $(SOFTMMU_SUBDIR_RULES): $(block-obj-y) |
fb37726d | 199 | $(SOFTMMU_SUBDIR_RULES): $(crypto-obj-y) |
666a3af9 | 200 | $(SOFTMMU_SUBDIR_RULES): $(io-obj-y) |
916359f6 | 201 | $(SOFTMMU_SUBDIR_RULES): config-all-devices.mak |
cec7d0b6 | 202 | |
4115852b | 203 | subdir-%: |
0087375e | 204 | $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C $* V="$(V)" TARGET_DIR="$*/" all,) |
4aa42531 | 205 | |
e2134eb9 GH |
206 | subdir-pixman: pixman/Makefile |
207 | $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V)" all,) | |
208 | ||
209 | pixman/Makefile: $(SRC_PATH)/pixman/configure | |
f9943cd5 | 210 | (cd pixman; CFLAGS="$(CFLAGS) -fPIC $(extra_cflags) $(extra_ldflags)" $(SRC_PATH)/pixman/configure $(AUTOCONF_HOST) --disable-gtk --disable-shared --enable-static) |
e2134eb9 GH |
211 | |
212 | $(SRC_PATH)/pixman/configure: | |
213 | (cd $(SRC_PATH)/pixman; autoreconf -v --install) | |
214 | ||
a540f158 | 215 | DTC_MAKE_ARGS=-I$(SRC_PATH)/dtc VPATH=$(SRC_PATH)/dtc -C dtc V="$(V)" LIBFDT_srcdir=$(SRC_PATH)/dtc/libfdt |
965f486c PM |
216 | DTC_CFLAGS=$(CFLAGS) $(QEMU_CFLAGS) |
217 | DTC_CPPFLAGS=-I$(BUILD_DIR)/dtc -I$(SRC_PATH)/dtc -I$(SRC_PATH)/dtc/libfdt | |
a540f158 PC |
218 | |
219 | subdir-dtc:dtc/libfdt dtc/tests | |
965f486c | 220 | $(call quiet-command,$(MAKE) $(DTC_MAKE_ARGS) CPPFLAGS="$(DTC_CPPFLAGS)" CFLAGS="$(DTC_CFLAGS)" LDFLAGS="$(LDFLAGS)" ARFLAGS="$(ARFLAGS)" CC="$(CC)" AR="$(AR)" LD="$(LD)" $(SUBDIR_MAKEFLAGS) libfdt/libfdt.a,) |
a540f158 PC |
221 | |
222 | dtc/%: | |
223 | mkdir -p $@ | |
224 | ||
57f54629 | 225 | $(SUBDIR_RULES): libqemuutil.a libqemustub.a $(common-obj-y) $(qom-obj-y) $(crypto-aes-obj-$(CONFIG_USER_ONLY)) |
add16157 | 226 | |
c05ac895 PB |
227 | ROMSUBDIR_RULES=$(patsubst %,romsubdir-%, $(ROMS)) |
228 | romsubdir-%: | |
229 | $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pc-bios/$* V="$(V)" TARGET_DIR="$*/",) | |
230 | ||
231 | ALL_SUBDIRS=$(TARGET_DIRS) $(patsubst %,pc-bios/%, $(ROMS)) | |
232 | ||
233 | recurse-all: $(SUBDIR_RULES) $(ROMSUBDIR_RULES) | |
83f64091 | 234 | |
23cab7b7 | 235 | $(BUILD_DIR)/version.o: $(SRC_PATH)/version.rc config-host.h | $(BUILD_DIR)/version.lo |
7e75e33e | 236 | $(call quiet-command,$(WINDRES) -I$(BUILD_DIR) -o $@ $<," RC version.o") |
23cab7b7 | 237 | $(BUILD_DIR)/version.lo: $(SRC_PATH)/version.rc config-host.h |
7e75e33e | 238 | $(call quiet-command,$(WINDRES) -I$(BUILD_DIR) -o $@ $<," RC version.lo") |
5354e4d2 | 239 | |
fba90ac1 | 240 | Makefile: $(version-obj-y) $(version-lobj-y) |
3bc2f570 PB |
241 | |
242 | ###################################################################### | |
8a090705 | 243 | # Build libraries |
3bc2f570 PB |
244 | |
245 | libqemustub.a: $(stub-obj-y) | |
169a24ae | 246 | libqemuutil.a: $(util-obj-y) |
3bc2f570 | 247 | |
e26110cf FZ |
248 | block-modules = $(foreach o,$(block-obj-m),"$(basename $(subst /,-,$o))",) NULL |
249 | util/module.o-cflags = -D'CONFIG_BLOCK_MODULES=$(block-modules)' | |
250 | ||
44dc0ca3 | 251 | ###################################################################### |
4fb240a4 | 252 | |
3c089e15 | 253 | qemu-img.o: qemu-img-cmds.h |
153859be | 254 | |
064097d9 DB |
255 | qemu-img$(EXESUF): qemu-img.o $(block-obj-y) $(crypto-obj-y) $(io-obj-y) $(qom-obj-y) libqemuutil.a libqemustub.a |
256 | qemu-nbd$(EXESUF): qemu-nbd.o $(block-obj-y) $(crypto-obj-y) $(io-obj-y) $(qom-obj-y) libqemuutil.a libqemustub.a | |
257 | qemu-io$(EXESUF): qemu-io.o $(block-obj-y) $(crypto-obj-y) $(io-obj-y) $(qom-obj-y) libqemuutil.a libqemustub.a | |
0a8e1acd | 258 | |
a2d96af4 | 259 | qemu-bridge-helper$(EXESUF): qemu-bridge-helper.o libqemuutil.a libqemustub.a |
7b93fadf | 260 | |
2209bd05 | 261 | fsdev/virtfs-proxy-helper$(EXESUF): fsdev/virtfs-proxy-helper.o fsdev/9p-marshal.o fsdev/9p-iov-marshal.o libqemuutil.a libqemustub.a |
17bff52b MK |
262 | fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap |
263 | ||
077de81a | 264 | qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx $(SRC_PATH)/scripts/hxtool |
4c3b5a48 | 265 | $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@," GEN $@") |
153859be | 266 | |
957f1f99 | 267 | qemu-ga$(EXESUF): LIBS = $(LIBS_QGA) |
54c2e502 | 268 | qemu-ga$(EXESUF): QEMU_CFLAGS += -I qga/qapi-generated |
640e5404 | 269 | |
19bf7c87 | 270 | gen-out-type = $(subst .,-,$(suffix $@)) |
8d3bc517 | 271 | |
0521d375 SH |
272 | qapi-py = $(SRC_PATH)/scripts/qapi.py $(SRC_PATH)/scripts/ordereddict.py |
273 | ||
54c2e502 | 274 | qga/qapi-generated/qga-qapi-types.c qga/qapi-generated/qga-qapi-types.h :\ |
2870dc34 | 275 | $(SRC_PATH)/qga/qapi-schema.json $(SRC_PATH)/scripts/qapi-types.py $(qapi-py) |
0a607749 | 276 | $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-types.py \ |
16d80f61 | 277 | $(gen-out-type) -o qga/qapi-generated -p "qga-" $<, \ |
0a607749 | 278 | " GEN $@") |
54c2e502 | 279 | qga/qapi-generated/qga-qapi-visit.c qga/qapi-generated/qga-qapi-visit.h :\ |
2870dc34 | 280 | $(SRC_PATH)/qga/qapi-schema.json $(SRC_PATH)/scripts/qapi-visit.py $(qapi-py) |
0a607749 | 281 | $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-visit.py \ |
16d80f61 | 282 | $(gen-out-type) -o qga/qapi-generated -p "qga-" $<, \ |
0a607749 | 283 | " GEN $@") |
54c2e502 | 284 | qga/qapi-generated/qga-qmp-commands.h qga/qapi-generated/qga-qmp-marshal.c :\ |
2870dc34 | 285 | $(SRC_PATH)/qga/qapi-schema.json $(SRC_PATH)/scripts/qapi-commands.py $(qapi-py) |
0a607749 | 286 | $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-commands.py \ |
16d80f61 | 287 | $(gen-out-type) -o qga/qapi-generated -p "qga-" $<, \ |
0a607749 | 288 | " GEN $@") |
e3d4d252 | 289 | |
be13d46d | 290 | qapi-modules = $(SRC_PATH)/qapi-schema.json $(SRC_PATH)/qapi/common.json \ |
f668470f | 291 | $(SRC_PATH)/qapi/block.json $(SRC_PATH)/qapi/block-core.json \ |
48befbc3 | 292 | $(SRC_PATH)/qapi/event.json $(SRC_PATH)/qapi/introspect.json \ |
423aeaf2 LV |
293 | $(SRC_PATH)/qapi/crypto.json $(SRC_PATH)/qapi/rocker.json \ |
294 | $(SRC_PATH)/qapi/trace.json | |
be13d46d | 295 | |
599825c5 | 296 | qapi-types.c qapi-types.h :\ |
be13d46d | 297 | $(qapi-modules) $(SRC_PATH)/scripts/qapi-types.py $(qapi-py) |
0a607749 | 298 | $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-types.py \ |
16d80f61 | 299 | $(gen-out-type) -o "." -b $<, \ |
0a607749 | 300 | " GEN $@") |
599825c5 | 301 | qapi-visit.c qapi-visit.h :\ |
be13d46d | 302 | $(qapi-modules) $(SRC_PATH)/scripts/qapi-visit.py $(qapi-py) |
0a607749 | 303 | $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-visit.py \ |
16d80f61 | 304 | $(gen-out-type) -o "." -b $<, \ |
0a607749 | 305 | " GEN $@") |
21cd70df WX |
306 | qapi-event.c qapi-event.h :\ |
307 | $(qapi-modules) $(SRC_PATH)/scripts/qapi-event.py $(qapi-py) | |
308 | $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-event.py \ | |
16d80f61 | 309 | $(gen-out-type) -o "." $<, \ |
21cd70df | 310 | " GEN $@") |
599825c5 | 311 | qmp-commands.h qmp-marshal.c :\ |
be13d46d | 312 | $(qapi-modules) $(SRC_PATH)/scripts/qapi-commands.py $(qapi-py) |
0a607749 | 313 | $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-commands.py \ |
16d80f61 | 314 | $(gen-out-type) -o "." -m $<, \ |
0a607749 | 315 | " GEN $@") |
39a18158 MA |
316 | qmp-introspect.h qmp-introspect.c :\ |
317 | $(qapi-modules) $(SRC_PATH)/scripts/qapi-introspect.py $(qapi-py) | |
318 | $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-introspect.py \ | |
319 | $(gen-out-type) -o "." $<, \ | |
320 | " GEN $@") | |
e3193601 | 321 | |
54c2e502 | 322 | QGALIB_GEN=$(addprefix qga/qapi-generated/, qga-qapi-types.h qga-qapi-visit.h qga-qmp-commands.h) |
4115852b | 323 | $(qga-obj-y) qemu-ga.o: $(QGALIB_GEN) |
957f1f99 | 324 | |
fafcaf1d MR |
325 | qemu-ga$(EXESUF): $(qga-obj-y) libqemuutil.a libqemustub.a |
326 | $(call LINK, $^) | |
48ff7a62 | 327 | |
9dacf32d YH |
328 | ifdef QEMU_GA_MSI_ENABLED |
329 | QEMU_GA_MSI=qemu-ga-$(ARCH).msi | |
330 | ||
0a18750f | 331 | msi: $(QEMU_GA_MSI) |
9dacf32d | 332 | |
fafcaf1d | 333 | $(QEMU_GA_MSI): qemu-ga.exe $(QGA_VSS_PROVIDER) |
9dacf32d | 334 | |
9dacf32d YH |
335 | $(QEMU_GA_MSI): config-host.mak |
336 | ||
decdfbd2 LB |
337 | $(QEMU_GA_MSI): $(SRC_PATH)/qga/installer/qemu-ga.wxs |
338 | $(call quiet-command,QEMU_GA_VERSION="$(QEMU_GA_VERSION)" QEMU_GA_MANUFACTURER="$(QEMU_GA_MANUFACTURER)" QEMU_GA_DISTRO="$(QEMU_GA_DISTRO)" BUILD_DIR="$(BUILD_DIR)" \ | |
9dacf32d YH |
339 | wixl -o $@ $(QEMU_GA_MSI_ARCH) $(QEMU_GA_MSI_WITH_VSS) $(QEMU_GA_MSI_MINGW_DLL_PATH) $<, " WIXL $@") |
340 | else | |
341 | msi: | |
15b19ed8 | 342 | @echo "MSI build not configured or dependency resolution failed (reconfigure with --enable-guest-agent-msi option)" |
9dacf32d YH |
343 | endif |
344 | ||
fafcaf1d MR |
345 | ifneq ($(EXESUF),) |
346 | .PHONY: qemu-ga | |
347 | qemu-ga: qemu-ga$(EXESUF) $(QGA_VSS_PROVIDER) $(QEMU_GA_MSI) | |
348 | endif | |
349 | ||
a2d96af4 | 350 | ivshmem-client$(EXESUF): $(ivshmem-client-obj-y) libqemuutil.a libqemustub.a |
a75eb03b DM |
351 | $(call LINK, $^) |
352 | ivshmem-server$(EXESUF): $(ivshmem-server-obj-y) libqemuutil.a libqemustub.a | |
353 | $(call LINK, $^) | |
354 | ||
31e31b8a | 355 | clean: |
2d80ae89 | 356 | # avoid old build problems by removing potentially incorrect old files |
25be210f | 357 | rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h |
df2943ba | 358 | rm -f qemu-options.def |
9dacf32d | 359 | rm -f *.msi |
f4b11eee | 360 | find . \( -name '*.l[oa]' -o -name '*.so' -o -name '*.dll' -o -name '*.mo' -o -name '*.[oda]' \) -type f -exec rm {} + |
b39297ae | 361 | rm -f $(filter-out %.tlb,$(TOOLS)) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~ |
8b6bfc77 SW |
362 | rm -f fsdev/*.pod |
363 | rm -rf .libs */.libs | |
07b44ce9 | 364 | rm -f qemu-img-cmds.h |
d98bc0b6 | 365 | rm -f ui/shader/*-vert.h ui/shader/*-frag.h |
19ac36b5 | 366 | @# May not be present in GENERATED_HEADERS |
eac236ea LV |
367 | rm -f trace/generated-tracers-dtrace.dtrace* |
368 | rm -f trace/generated-tracers-dtrace.h* | |
19ac36b5 LV |
369 | rm -f $(foreach f,$(GENERATED_HEADERS),$(f) $(f)-timestamp) |
370 | rm -f $(foreach f,$(GENERATED_SOURCES),$(f) $(f)-timestamp) | |
8f0e5c6b | 371 | rm -rf qapi-generated |
54c2e502 | 372 | rm -rf qga/qapi-generated |
781c0c33 | 373 | for d in $(ALL_SUBDIRS); do \ |
fc8e320e | 374 | if test -d $$d; then $(MAKE) -C $$d $@ || exit 1; fi; \ |
df2943ba | 375 | rm -f $$d/qemu-options.def; \ |
626df76a | 376 | done |
168340b6 | 377 | rm -f $(SUBDIR_DEVICES_MAK) config-all-devices.mak |
31e31b8a | 378 | |
34bb443e AL |
379 | VERSION ?= $(shell cat VERSION) |
380 | ||
381 | dist: qemu-$(VERSION).tar.bz2 | |
382 | ||
34bb443e AL |
383 | qemu-%.tar.bz2: |
384 | $(SRC_PATH)/scripts/make-release "$(SRC_PATH)" "$(patsubst qemu-%.tar.bz2,%,$@)" | |
385 | ||
7d13299d | 386 | distclean: clean |
2cd8af2d | 387 | rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi qemu-monitor-info.texi |
ae219359 TH |
388 | rm -f config-all-devices.mak config-all-disas.mak config.status |
389 | rm -f po/*.mo tests/qemu-iotests/common.env | |
fc8e320e | 390 | rm -f roms/seabios/config.mak roms/vgabios/config.mak |
7a734b8f BH |
391 | rm -f qemu-doc.info qemu-doc.aux qemu-doc.cp qemu-doc.cps qemu-doc.dvi |
392 | rm -f qemu-doc.fn qemu-doc.fns qemu-doc.info qemu-doc.ky qemu-doc.kys | |
393 | rm -f qemu-doc.log qemu-doc.pdf qemu-doc.pg qemu-doc.toc qemu-doc.tp | |
394 | rm -f qemu-doc.vr | |
793553ac | 395 | rm -f config.log |
67ed96f9 | 396 | rm -f linux-headers/asm |
e1a068b2 | 397 | rm -f qemu-tech.info qemu-tech.aux qemu-tech.cp qemu-tech.dvi qemu-tech.fn qemu-tech.info qemu-tech.ky qemu-tech.log qemu-tech.pdf qemu-tech.pg qemu-tech.toc qemu-tech.tp qemu-tech.vr |
8e98e2e8 | 398 | for d in $(TARGET_DIRS); do \ |
bc1b050d | 399 | rm -rf $$d || exit 1 ; \ |
76bc6838 | 400 | done |
d9840e25 | 401 | rm -Rf .sdk |
fb8597bb EM |
402 | if test -f pixman/config.log; then $(MAKE) -C pixman distclean; fi |
403 | if test -f dtc/version_gen.h; then $(MAKE) $(DTC_MAKE_ARGS) clean; fi | |
7d13299d | 404 | |
fed4a9ad FB |
405 | KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \ |
406 | ar de en-us fi fr-be hr it lv nl pl ru th \ | |
471fbf4a | 407 | common de-ch es fo fr-ca hu ja mk nl-be pt sl tr \ |
3751e722 | 408 | bepo cz |
fed4a9ad | 409 | |
77755340 | 410 | ifdef INSTALL_BLOBS |
4e04ab6a RJ |
411 | BLOBS=bios.bin bios-256k.bin bios-fast.bin \ |
412 | sgabios.bin vgabios.bin vgabios-cirrus.bin \ | |
7a4dfd1e | 413 | vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin vgabios-virtio.bin \ |
75fb3d28 | 414 | acpi-dsdt.aml \ |
9eb08a43 | 415 | ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin QEMU,cgthree.bin \ |
5ee8ad71 AW |
416 | pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \ |
417 | pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom \ | |
9fd02979 SE |
418 | efi-e1000.rom efi-eepro100.rom efi-ne2k_pci.rom \ |
419 | efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom \ | |
f7da9c17 | 420 | qemu-icon.bmp qemu_logo_no_text.svg \ |
00914b7d | 421 | bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \ |
2a2af967 | 422 | multiboot.bin linuxboot.bin kvmvapic.bin \ |
0c1fecdd | 423 | s390-ccw.img \ |
753d11f2 | 424 | spapr-rtas.bin slof.bin \ |
0c6ab8c9 CR |
425 | palcode-clipper \ |
426 | u-boot.e500 | |
77755340 TS |
427 | else |
428 | BLOBS= | |
429 | endif | |
430 | ||
38954dca | 431 | install-doc: $(DOCS) |
d7dd65ba EH |
432 | $(INSTALL_DIR) "$(DESTDIR)$(qemu_docdir)" |
433 | $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(qemu_docdir)" | |
d076a2ad | 434 | $(INSTALL_DATA) qmp-commands.txt "$(DESTDIR)$(qemu_docdir)" |
96d409eb | 435 | ifdef CONFIG_POSIX |
58f8aead | 436 | $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" |
8a3e8f7f AF |
437 | $(INSTALL_DATA) qemu.1 "$(DESTDIR)$(mandir)/man1" |
438 | ifneq ($(TOOLS),) | |
439 | $(INSTALL_DATA) qemu-img.1 "$(DESTDIR)$(mandir)/man1" | |
58f8aead AL |
440 | $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man8" |
441 | $(INSTALL_DATA) qemu-nbd.8 "$(DESTDIR)$(mandir)/man8" | |
38954dca | 442 | endif |
665b5d0d MAL |
443 | ifneq (,$(findstring qemu-ga,$(TOOLS))) |
444 | $(INSTALL_DATA) qemu-ga.8 "$(DESTDIR)$(mandir)/man8" | |
445 | endif | |
8a3e8f7f | 446 | endif |
a2d8f1be MK |
447 | ifdef CONFIG_VIRTFS |
448 | $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" | |
449 | $(INSTALL_DATA) fsdev/virtfs-proxy-helper.1 "$(DESTDIR)$(mandir)/man1" | |
450 | endif | |
e2d87bff EH |
451 | |
452 | install-datadir: | |
453 | $(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)" | |
454 | ||
f2e3978b LE |
455 | install-localstatedir: |
456 | ifdef CONFIG_POSIX | |
457 | ifneq (,$(findstring qemu-ga,$(TOOLS))) | |
458 | $(INSTALL_DIR) "$(DESTDIR)$(qemu_localstatedir)"/run | |
459 | endif | |
460 | endif | |
461 | ||
e2d87bff | 462 | |
1b93c9a1 | 463 | install: all $(if $(BUILD_DOCS),install-doc) \ |
f2e3978b | 464 | install-datadir install-localstatedir |
932a79df | 465 | ifneq ($(TOOLS),) |
68aa262a | 466 | $(call install-prog,$(subst qemu-ga,qemu-ga$(EXESUF),$(TOOLS)),$(DESTDIR)$(bindir)) |
932a79df | 467 | endif |
e3be6f0e FZ |
468 | ifneq ($(CONFIG_MODULES),) |
469 | $(INSTALL_DIR) "$(DESTDIR)$(qemu_moddir)" | |
2115182f MT |
470 | for s in $(modules-m:.mo=$(DSOSUF)); do \ |
471 | t="$(DESTDIR)$(qemu_moddir)/$$(echo $$s | tr / -)"; \ | |
264f8b4f | 472 | $(INSTALL_LIB) $$s "$$t"; \ |
2115182f | 473 | test -z "$(STRIP)" || $(STRIP) "$$t"; \ |
e3be6f0e FZ |
474 | done |
475 | endif | |
7b93fadf | 476 | ifneq ($(HELPERS-y),) |
0d659426 | 477 | $(call install-prog,$(HELPERS-y),$(DESTDIR)$(libexecdir)) |
7b93fadf | 478 | endif |
77755340 | 479 | ifneq ($(BLOBS),) |
77755340 | 480 | set -e; for x in $(BLOBS); do \ |
6aae2a2e | 481 | $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(qemu_datadir)"; \ |
ad064840 | 482 | done |
834574ea AL |
483 | endif |
484 | ifeq ($(CONFIG_GTK),y) | |
485 | $(MAKE) -C po $@ | |
77755340 | 486 | endif |
6aae2a2e | 487 | $(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps" |
18be8d77 | 488 | set -e; for x in $(KEYMAPS); do \ |
6aae2a2e | 489 | $(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(qemu_datadir)/keymaps"; \ |
ad064840 | 490 | done |
1412cf58 | 491 | $(INSTALL_DATA) $(BUILD_DIR)/trace-events-all "$(DESTDIR)$(qemu_datadir)/trace-events-all" |
626df76a | 492 | for d in $(TARGET_DIRS); do \ |
6570025e | 493 | $(MAKE) $(SUBDIR_MAKEFLAGS) TARGET_DIR=$$d/ -C $$d $@ || exit 1 ; \ |
626df76a | 494 | done |
612384d7 | 495 | |
367e86e8 | 496 | # various test targets |
9b0b8203 | 497 | test speed: all |
c09015dd | 498 | $(MAKE) -C tests/tcg $@ |
31e31b8a | 499 | |
ae5fdc81 FZ |
500 | .PHONY: ctags |
501 | ctags: | |
ac99c624 | 502 | rm -f tags |
ae5fdc81 FZ |
503 | find "$(SRC_PATH)" -name '*.[hc]' -exec ctags --append {} + |
504 | ||
21d4e8e3 | 505 | .PHONY: TAGS |
5fafdf24 | 506 | TAGS: |
ac99c624 | 507 | rm -f TAGS |
b1999e87 | 508 | find "$(SRC_PATH)" -name '*.[hc]' -exec etags --append {} + |
31e31b8a | 509 | |
6688bc6d | 510 | cscope: |
eaa2ddbb FZ |
511 | rm -f "$(SRC_PATH)"/cscope.* |
512 | find "$(SRC_PATH)/" -name "*.[chsS]" -print | sed 's,^\./,,' > "$(SRC_PATH)/cscope.files" | |
513 | cscope -b -i"$(SRC_PATH)/cscope.files" | |
6688bc6d | 514 | |
d98bc0b6 GH |
515 | # opengl shader programs |
516 | ui/shader/%-vert.h: $(SRC_PATH)/ui/shader/%.vert $(SRC_PATH)/scripts/shaderinclude.pl | |
517 | @mkdir -p $(dir $@) | |
518 | $(call quiet-command,\ | |
519 | perl $(SRC_PATH)/scripts/shaderinclude.pl $< > $@,\ | |
520 | " VERT $@") | |
521 | ||
522 | ui/shader/%-frag.h: $(SRC_PATH)/ui/shader/%.frag $(SRC_PATH)/scripts/shaderinclude.pl | |
523 | @mkdir -p $(dir $@) | |
524 | $(call quiet-command,\ | |
525 | perl $(SRC_PATH)/scripts/shaderinclude.pl $< > $@,\ | |
526 | " FRAG $@") | |
527 | ||
cd2bc889 GH |
528 | ui/console-gl.o: $(SRC_PATH)/ui/console-gl.c \ |
529 | ui/shader/texture-blit-vert.h ui/shader/texture-blit-frag.h | |
530 | ||
3ef693a0 | 531 | # documentation |
01668d98 SW |
532 | MAKEINFO=makeinfo |
533 | MAKEINFOFLAGS=--no-headers --no-split --number-sections | |
20cc9997 SW |
534 | TEXIFLAG=$(if $(V),,--quiet) |
535 | %.dvi: %.texi | |
536 | $(call quiet-command,texi2dvi $(TEXIFLAG) -I . $<," GEN $@") | |
537 | ||
1f673135 | 538 | %.html: %.texi |
952ef67c | 539 | $(call quiet-command,LC_ALL=C $(MAKEINFO) $(MAKEINFOFLAGS) --html $< -o $@, \ |
01668d98 | 540 | " GEN $@") |
3ef693a0 | 541 | |
f3548328 | 542 | %.info: %.texi |
01668d98 | 543 | $(call quiet-command,$(MAKEINFO) $< -o $@," GEN $@") |
f3548328 | 544 | |
20cc9997 SW |
545 | %.pdf: %.texi |
546 | $(call quiet-command,texi2pdf $(TEXIFLAG) -I . $<," GEN $@") | |
5824d651 | 547 | |
077de81a | 548 | qemu-options.texi: $(SRC_PATH)/qemu-options.hx $(SRC_PATH)/scripts/hxtool |
4c3b5a48 | 549 | $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@," GEN $@") |
f3548328 | 550 | |
077de81a | 551 | qemu-monitor.texi: $(SRC_PATH)/hmp-commands.hx $(SRC_PATH)/scripts/hxtool |
4c3b5a48 | 552 | $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@," GEN $@") |
2313086a | 553 | |
077de81a | 554 | qemu-monitor-info.texi: $(SRC_PATH)/hmp-commands-info.hx $(SRC_PATH)/scripts/hxtool |
2cd8af2d PB |
555 | $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@," GEN $@") |
556 | ||
077de81a | 557 | qmp-commands.txt: $(SRC_PATH)/qmp-commands.hx $(SRC_PATH)/scripts/hxtool |
4c3b5a48 | 558 | $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -q < $< > $@," GEN $@") |
b40292e7 | 559 | |
077de81a | 560 | qemu-img-cmds.texi: $(SRC_PATH)/qemu-img-cmds.hx $(SRC_PATH)/scripts/hxtool |
4c3b5a48 | 561 | $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@," GEN $@") |
153859be | 562 | |
2cd8af2d | 563 | qemu.1: qemu-doc.texi qemu-options.texi qemu-monitor.texi qemu-monitor-info.texi |
0d00e563 | 564 | $(call quiet-command, \ |
4c3b5a48 | 565 | perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu.pod && \ |
3179d694 | 566 | $(POD2MAN) --section=1 --center=" " --release=" " qemu.pod > $@, \ |
0d00e563 | 567 | " GEN $@") |
eeb2b8f7 | 568 | qemu.1: qemu-option-trace.texi |
5a67135a | 569 | |
06a1e0c1 | 570 | qemu-img.1: qemu-img.texi qemu-option-trace.texi qemu-img-cmds.texi |
0d00e563 | 571 | $(call quiet-command, \ |
4c3b5a48 | 572 | perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu-img.pod && \ |
3179d694 | 573 | $(POD2MAN) --section=1 --center=" " --release=" " qemu-img.pod > $@, \ |
0d00e563 | 574 | " GEN $@") |
acd935ef | 575 | |
a2d8f1be MK |
576 | fsdev/virtfs-proxy-helper.1: fsdev/virtfs-proxy-helper.texi |
577 | $(call quiet-command, \ | |
578 | perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< fsdev/virtfs-proxy-helper.pod && \ | |
3179d694 | 579 | $(POD2MAN) --section=1 --center=" " --release=" " fsdev/virtfs-proxy-helper.pod > $@, \ |
a2d8f1be MK |
580 | " GEN $@") |
581 | ||
39ca463e | 582 | qemu-nbd.8: qemu-nbd.texi qemu-option-trace.texi |
0d00e563 | 583 | $(call quiet-command, \ |
4c3b5a48 | 584 | perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu-nbd.pod && \ |
3179d694 | 585 | $(POD2MAN) --section=8 --center=" " --release=" " qemu-nbd.pod > $@, \ |
0d00e563 | 586 | " GEN $@") |
811c5727 | 587 | |
665b5d0d MAL |
588 | qemu-ga.8: qemu-ga.texi |
589 | $(call quiet-command, \ | |
590 | perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $< qemu-ga.pod && \ | |
591 | $(POD2MAN) --section=8 --center=" " --release=" " qemu-ga.pod > $@, \ | |
592 | " GEN $@") | |
593 | ||
0cb3fb1e | 594 | dvi: qemu-doc.dvi qemu-tech.dvi |
0cb3fb1e | 595 | html: qemu-doc.html qemu-tech.html |
20cc9997 SW |
596 | info: qemu-doc.info qemu-tech.info |
597 | pdf: qemu-doc.pdf qemu-tech.pdf | |
0cb3fb1e | 598 | |
20cc9997 | 599 | qemu-doc.dvi qemu-doc.html qemu-doc.info qemu-doc.pdf: \ |
eeb2b8f7 | 600 | qemu-img.texi qemu-nbd.texi qemu-options.texi qemu-option-trace.texi \ |
2cd8af2d PB |
601 | qemu-monitor.texi qemu-img-cmds.texi qemu-ga.texi \ |
602 | qemu-monitor-info.texi | |
818220f5 | 603 | |
f53ec699 SW |
604 | ifdef CONFIG_WIN32 |
605 | ||
606 | INSTALLER = qemu-setup-$(VERSION)$(EXESUF) | |
607 | ||
608 | nsisflags = -V2 -NOCD | |
609 | ||
610 | ifneq ($(wildcard $(SRC_PATH)/dll),) | |
611 | ifeq ($(ARCH),x86_64) | |
612 | # 64 bit executables | |
613 | DLL_PATH = $(SRC_PATH)/dll/w64 | |
614 | nsisflags += -DW64 | |
615 | else | |
616 | # 32 bit executables | |
617 | DLL_PATH = $(SRC_PATH)/dll/w32 | |
618 | endif | |
619 | endif | |
620 | ||
621 | .PHONY: installer | |
622 | installer: $(INSTALLER) | |
623 | ||
624 | INSTDIR=/tmp/qemu-nsis | |
625 | ||
626 | $(INSTALLER): $(SRC_PATH)/qemu.nsi | |
fb8597bb | 627 | $(MAKE) install prefix=${INSTDIR} |
f53ec699 SW |
628 | ifdef SIGNCODE |
629 | (cd ${INSTDIR}; \ | |
630 | for i in *.exe; do \ | |
631 | $(SIGNCODE) $${i}; \ | |
632 | done \ | |
633 | ) | |
634 | endif # SIGNCODE | |
635 | (cd ${INSTDIR}; \ | |
636 | for i in qemu-system-*.exe; do \ | |
637 | arch=$${i%.exe}; \ | |
638 | arch=$${arch#qemu-system-}; \ | |
639 | echo Section \"$$arch\" Section_$$arch; \ | |
640 | echo SetOutPath \"\$$INSTDIR\"; \ | |
641 | echo File \"\$${BINDIR}\\$$i\"; \ | |
642 | echo SectionEnd; \ | |
643 | done \ | |
644 | ) >${INSTDIR}/system-emulations.nsh | |
645 | makensis $(nsisflags) \ | |
646 | $(if $(BUILD_DOCS),-DCONFIG_DOCUMENTATION="y") \ | |
647 | $(if $(CONFIG_GTK),-DCONFIG_GTK="y") \ | |
648 | -DBINDIR="${INSTDIR}" \ | |
649 | $(if $(DLL_PATH),-DDLLDIR="$(DLL_PATH)") \ | |
650 | -DSRCDIR="$(SRC_PATH)" \ | |
651 | -DOUTFILE="$(INSTALLER)" \ | |
805d8a67 | 652 | -DDISPLAYVERSION="$(VERSION)" \ |
f53ec699 SW |
653 | $(SRC_PATH)/qemu.nsi |
654 | rm -r ${INSTDIR} | |
655 | ifdef SIGNCODE | |
656 | $(SIGNCODE) $(INSTALLER) | |
657 | endif # SIGNCODE | |
658 | endif # CONFIG_WIN | |
659 | ||
cb5fc67d AL |
660 | # Add a dependency on the generated files, so that they are always |
661 | # rebuilt before other object files | |
eaa2ddbb | 662 | ifneq ($(filter-out $(UNCHECKED_GOALS),$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,fail)) |
cb5fc67d | 663 | Makefile: $(GENERATED_HEADERS) |
7748b8cb | 664 | endif |
cb5fc67d | 665 | |
4fb240a4 | 666 | # Include automatically generated dependency files |
1435ddb8 PB |
667 | # Dependencies in Makefile.objs files come from our recursive subdir rules |
668 | -include $(wildcard *.d tests/*.d) | |
324027c2 FZ |
669 | |
670 | include $(SRC_PATH)/tests/docker/Makefile.include |