1# Host requires the other files, which can be a module.
2obj-$(CONFIG_LGUEST)	+= lg.o
3lg-y = core.o hypercalls.o page_tables.o interrupts_and_traps.o \
4	segments.o lguest_user.o
5
6lg-$(CONFIG_X86_32) += x86/switcher_32.o x86/core.o
7
8Preparation Preparation!: PREFIX=P
9Guest: PREFIX=G
10Drivers: PREFIX=D
11Launcher: PREFIX=L
12Host: PREFIX=H
13Switcher: PREFIX=S
14Mastery: PREFIX=M
15Beer:
16	@for f in Preparation Guest Drivers Launcher Host Switcher Mastery; do echo "{==- $$f -==}"; make -s $$f; done; echo "{==-==}"
17Preparation Preparation! Guest Drivers Launcher Host Switcher Mastery:
18	@sh ../../tools/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'`
19Puppy:
20	@clear
21	@printf "      __  \n (___()'\`;\n /,    /\`\n \\\\\\\"--\\\\\\   \n"
22	@sleep 2; clear; printf "\n\n   Sit!\n\n"; sleep 1; clear
23	@printf "    __    \n   ()'\`;  \n   /\\|\` \n  /  |  \n(/_)_|_   \n"
24	@sleep 2; clear; printf "\n\n  Stand!\n\n"; sleep 1; clear
25	@printf "    __    \n   ()'\`;  \n   /\\|\` \n  /._.= \n /| /     \n(_\_)_    \n"
26	@sleep 2; clear; printf "\n\n  Good puppy!\n\n"; sleep 1; clear
27