 ce008c1f10
			
		
	
	
		ce008c1f10
		
	
	
	
	
		
			
			Link the Object base class and the module infrastructure for class registration. Introduce $(universal-obj-y) for objects that are more common than $(common-obj-y), so that those only get built once. Call QOM module init for type registration. Signed-off-by: Andreas Färber <afaerber@suse.de> Cc: Anthony Liguori <anthony@codemonkey.ws> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			512 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			512 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # Makefile for qemu target independent user files.
 | |
| 
 | |
| include ../config-host.mak
 | |
| include $(SRC_PATH)/rules.mak
 | |
| -include config.mak
 | |
| 
 | |
| .PHONY: all
 | |
| 
 | |
| $(call set-vpath, $(SRC_PATH))
 | |
| 
 | |
| QEMU_CFLAGS+=-I..
 | |
| QEMU_CFLAGS += -I$(SRC_PATH)/include
 | |
| 
 | |
| include $(SRC_PATH)/Makefile.objs
 | |
| 
 | |
| all: $(user-obj-y)
 | |
| # Dummy command so that make thinks it has done something
 | |
| 	@true
 | |
| 
 | |
| clean:
 | |
| 	for d in . trace; do \
 | |
| 	rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
 | |
| 	done
 | |
| 
 | |
| # Include automatically generated dependency files
 | |
| -include $(wildcard *.d */*.d)
 |