]> git.proxmox.com Git - qemu.git/blobdiff - Makefile.user
Separate inet_connect into inet_connect (blocking) and inet_nonblocking_connect
[qemu.git] / Makefile.user
index 907e74bd9eec7d7f395e0a67055e792c90988293..9302d33245a495bdb70e1d20da598d7803923d42 100644 (file)
@@ -2,26 +2,23 @@
 
 include ../config-host.mak
 include $(SRC_PATH)/rules.mak
+-include config.mak
 
 .PHONY: all
 
-VPATH=$(SRC_PATH)
+$(call set-vpath, $(SRC_PATH))
 
 QEMU_CFLAGS+=-I..
+QEMU_CFLAGS += -I$(SRC_PATH)/include
+QEMU_CFLAGS += -DCONFIG_USER_ONLY
 
-obj-y =
-obj-y += envlist.o path.o
-obj-y += tcg-runtime.o host-utils.o
-obj-y += cutils.o cache-utils.o
+include $(SRC_PATH)/Makefile.objs
 
-all: libuser.a
+all: $(user-obj-y)
 # Dummy command so that make thinks it has done something
        @true
 
-libuser.a: $(obj-y)
-
 clean:
-       rm -f *.o *.d *.a *~
-
-# Include automatically generated dependency files
--include $(wildcard *.d */*.d)
+       for d in . trace; do \
+       rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
+       done