blob: a4567c99991b8b70ad00a70f1b7f494a578fd0f3 [file] [log] [blame]
Rusty Russell34b88672007-10-22 11:01:54 +10001# Guest requires the bus driver.
2obj-$(CONFIG_LGUEST_GUEST) += lguest_bus.o
Rusty Russell709e8922007-07-19 01:49:27 -07003
4# Host requires the other files, which can be a module.
5obj-$(CONFIG_LGUEST) += lg.o
Rusty Russell1f4e1de2007-10-22 11:03:25 +10006lg-y = core.o hypercalls.o page_tables.o interrupts_and_traps.o \
7 segments.o io.o lguest_user.o
8
9lg-$(CONFIG_X86_32) += x86/switcher_32.o
Rusty Russellf938d2c2007-07-26 10:41:02 -070010
11Preparation Preparation!: PREFIX=P
12Guest: PREFIX=G
13Drivers: PREFIX=D
14Launcher: PREFIX=L
15Host: PREFIX=H
16Switcher: PREFIX=S
17Mastery: PREFIX=M
18Beer:
19 @for f in Preparation Guest Drivers Launcher Host Switcher Mastery; do echo "{==- $$f -==}"; make -s $$f; done; echo "{==-==}"
20Preparation Preparation! Guest Drivers Launcher Host Switcher Mastery:
21 @sh ../../Documentation/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'`