summaryrefslogtreecommitdiff
path: root/ui/Makefile.objs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-09-17 08:35:53 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-19 08:29:06 +0100
commit525877c9992a07d424be4cfdd4ba13a69141a513 (patch)
tree1f5a4e3099c415cfd984f8aa963e526e29bba2ce /ui/Makefile.objs
parent4e8cb28c4b536bf408c1ba01710e2a7644e144e5 (diff)
downloadqemu-525877c9992a07d424be4cfdd4ba13a69141a513.zip
build: move rules from Makefile to */Makefile.objs
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui/Makefile.objs')
-rw-r--r--ui/Makefile.objs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/Makefile.objs b/ui/Makefile.objs
index adc07be761..fd339d247b 100644
--- a/ui/Makefile.objs
+++ b/ui/Makefile.objs
@@ -12,3 +12,8 @@ common-obj-$(CONFIG_SDL) += sdl.o sdl_zoom.o x_keymap.o
common-obj-$(CONFIG_COCOA) += cocoa.o
common-obj-$(CONFIG_CURSES) += curses.o
common-obj-$(CONFIG_VNC) += $(vnc-obj-y)
+
+$(obj)/sdl.o $(obj)/sdl_zoom.o: QEMU_CFLAGS += $(SDL_CFLAGS)
+$(obj)/vnc.o: QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
+
+$(obj)/cocoa.o: $(SRC_PATH)/$(obj)/cocoa.m