blob: 5e8272d296d8ff47e03937e766e24fba4d0db6f8 [file] [log] [blame]
Rusty Russell19f15372007-10-22 11:24:21 +10001# Guest requires the device configuration and probing code.
2obj-$(CONFIG_LGUEST_GUEST) += lguest_device.o
3
Rusty Russell709e8922007-07-19 01:49:27 -07004# 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 \
Rusty Russell15045272007-10-22 11:24:10 +10007 segments.o lguest_user.o
Rusty Russell1f4e1de2007-10-22 11:03:25 +10008
Jes Sorensen625efab2007-10-22 11:03:28 +10009lg-$(CONFIG_X86_32) += x86/switcher_32.o x86/core.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*'`