All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Riebisch <rr@bttr-software.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Makefile question
Date: Fri, 26 Sep 2008 18:26:54 +0200	[thread overview]
Message-ID: <48DD0D4E.B9F26C5C@bttr-software.de> (raw)
In-Reply-To: 48DD071A.88266F01@bttr-software.de

Robert Riebisch wrote:

> Btw: What's the difference betweeen VL_OBJS and OBJS in Makefile.target?
> I added "OBJS+=version.o" to the 0.9.1 Makefile.target, but it isn't
> linked in to the final EXE. If I delete version.o and version.rc, it
> doesn't even complain about not finding these files.

Catched. In 0.9.1 $(QEMU_SYSTEM) depends on $(VL_OBJS), not $(OBJS).

$(QEMU_SYSTEM): $(VL_OBJS) ../libqemu_common.a libqemu.a
	$(CC) $(VL_LDFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS)
$(COCOA_LIBS) $(VL_LIBS)

Adding version.o to VL_OBJS gives "No rule to make target `version.c',
needed by `version.o'.". Probably because of:

vldepend: $(VL_OBJS:.o=.c)
	$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) $^ 1>.depend

So I'll introduce RES_OBJS in my private build only, because QEMU SVN is
very different.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

  parent reply	other threads:[~2008-09-26 16:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-25 20:42 [Qemu-devel] Makefile question Robert Riebisch
2008-09-25 20:47 ` Anthony Liguori
2008-09-25 20:53   ` Robert Riebisch
2008-09-26 14:26     ` C.W. Betts
2008-09-26 14:26       ` C.W. Betts
2008-09-26 14:50         ` Robert Riebisch
2008-09-26 14:55           ` Anthony Liguori
2008-09-26 15:06             ` Robert Riebisch
2008-09-26 14:53         ` Robert Riebisch
2008-09-26 14:54         ` Anthony Liguori
2008-09-26 15:30           ` Robert Riebisch
2008-09-26 15:38             ` Anthony Liguori
2008-09-26 16:00               ` Robert Riebisch
2008-09-26 16:16                 ` Anthony Liguori
2008-09-26 16:32                   ` Robert Riebisch
2008-09-26 16:52                     ` Anthony Liguori
2008-09-26 19:16                       ` Robert Riebisch
2008-09-26 16:26                 ` Robert Riebisch [this message]
2008-09-26 16:23           ` [Qemu-devel] " Consul
2008-09-26 16:45             ` Robert Riebisch
2008-09-26 18:38               ` Anthony Liguori
2008-09-26 16:28           ` [Qemu-devel] " Robert Riebisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48DD0D4E.B9F26C5C@bttr-software.de \
    --to=rr@bttr-software.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.