blob: 2db98c233e5424d2449ddb0a0339bfd7f91e3b58 [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
6lg-y := core.o hypercalls.o page_tables.o interrupts_and_traps.o \
7 segments.o io.o lguest_user.o switcher.o
Rusty Russellf938d2c2007-07-26 10:41:02 -07008
9Preparation Preparation!: PREFIX=P
10Guest: PREFIX=G
11Drivers: PREFIX=D
12Launcher: PREFIX=L
13Host: PREFIX=H
14Switcher: PREFIX=S
15Mastery: PREFIX=M
16Beer:
17 @for f in Preparation Guest Drivers Launcher Host Switcher Mastery; do echo "{==- $$f -==}"; make -s $$f; done; echo "{==-==}"
18Preparation Preparation! Guest Drivers Launcher Host Switcher Mastery:
19 @sh ../../Documentation/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'`