mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
2f28d2ff9d
This class provides the main building block for QEMU Object Model and is extensively documented in the header file. It is largely inspired by GObject. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> --- v1 -> v2 - remove printf() in type registration - fix typo in comment (Paolo) - make Interface private - move object into a new directory and move header into include/qemu/ - don't make object.h depend on qemu-common.h - remove Type and replace it with TypeImpl * (Paolo) - use hash table to store types (Paolo) - aggressively cache parent type (Paolo) - make a type_register and use it with interfaces (Paolo) - fix interface cast comment (Paolo) - add a few more functions required in later series
27 lines
559 B
Makefile
27 lines
559 B
Makefile
# Makefile for qemu target independent devices.
|
|
|
|
include ../config-host.mak
|
|
include ../config-all-devices.mak
|
|
include config.mak
|
|
include $(SRC_PATH)/rules.mak
|
|
|
|
.PHONY: all
|
|
|
|
$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
|
|
|
|
QEMU_CFLAGS+=-I..
|
|
QEMU_CFLAGS += $(GLIB_CFLAGS)
|
|
QEMU_CFLAGS += -I$(SRC_PATH)/include
|
|
|
|
include $(SRC_PATH)/Makefile.objs
|
|
|
|
all: $(hw-obj-y)
|
|
# Dummy command so that make thinks it has done something
|
|
@true
|
|
|
|
clean:
|
|
rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~
|
|
|
|
# Include automatically generated dependency files
|
|
-include $(wildcard *.d */*.d)
|