Revision b7b8c618 Makefile
b/Makefile | ||
---|---|---|
119 | 119 |
|
120 | 120 |
version-obj-$(CONFIG_WIN32) += version.o |
121 | 121 |
###################################################################### |
122 |
# Support building shared library libcacard |
|
123 |
|
|
124 |
.PHONY: libcacard.la install-libcacard |
|
125 |
ifeq ($(LIBTOOL),) |
|
126 |
libcacard.la: |
|
127 |
@echo "libtool is missing, please install and rerun configure"; exit 1 |
|
128 |
|
|
129 |
install-libcacard: |
|
130 |
@echo "libtool is missing, please install and rerun configure"; exit 1 |
|
131 |
else |
|
132 |
libcacard.la: $(GENERATED_HEADERS) $(oslib-obj-y) qemu-malloc.o qemu-timer-common.o $(addsuffix .lo, $(basename $(trace-obj-y))) |
|
133 |
$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C libcacard V="$(V)" TARGET_DIR="$*/" libcacard.la,) |
|
134 |
|
|
135 |
install-libcacard: libcacard.la |
|
136 |
$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C libcacard V="$(V)" TARGET_DIR="$*/" install-libcacard,) |
|
137 |
endif |
|
138 |
###################################################################### |
|
122 | 139 |
|
123 | 140 |
qemu-img.o: qemu-img-cmds.h |
124 | 141 |
qemu-img.o qemu-tool.o qemu-nbd.o qemu-io.o cmd.o: $(GENERATED_HEADERS) |
... | ... | |
149 | 166 |
# avoid old build problems by removing potentially incorrect old files |
150 | 167 |
rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h |
151 | 168 |
rm -f qemu-options.def |
152 |
rm -f *.o *.d *.a $(TOOLS) TAGS cscope.* *.pod *~ */*~ |
|
169 |
rm -f *.o *.d *.a *.lo $(TOOLS) TAGS cscope.* *.pod *~ */*~ |
|
170 |
rm -Rf .libs |
|
153 | 171 |
rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d net/*.o net/*.d fsdev/*.o fsdev/*.d ui/*.o ui/*.d |
154 | 172 |
rm -f qemu-img-cmds.h |
155 | 173 |
rm -f trace.c trace.h trace.c-timestamp trace.h-timestamp |
Also available in: Unified diff