1 BUILD_DIR
:= $(CURDIR
)/..
/..
3 include $(BUILD_DIR
)/config-host.mak
4 include $(SRC_PATH
)/rules.mak
6 $(call set-vpath
, $(SRC_PATH
)/tests
/plugin
)
18 SONAMES
:= $(addsuffix .so
,$(addprefix lib
,$(NAMES
)))
20 QEMU_CFLAGS
+= -fPIC
-Wpsabi
21 QEMU_CFLAGS
+= -I
$(SRC_PATH
)/include/qemu
26 $(CC
) -shared
-Wl
,-soname
,$@
-o
$@
$^
$(LDLIBS
)