Makefile 1.2 KB

123456789101112131415161718192021222324252627282930
  1. # Guest requires the device configuration and probing code.
  2. obj-$(CONFIG_LGUEST_GUEST) += lguest_device.o
  3. # Host requires the other files, which can be a module.
  4. obj-$(CONFIG_LGUEST) += lg.o
  5. lg-y = core.o hypercalls.o page_tables.o interrupts_and_traps.o \
  6. segments.o lguest_user.o
  7. lg-$(CONFIG_X86_32) += x86/switcher_32.o x86/core.o
  8. Preparation Preparation!: PREFIX=P
  9. Guest: PREFIX=G
  10. Drivers: PREFIX=D
  11. Launcher: PREFIX=L
  12. Host: PREFIX=H
  13. Switcher: PREFIX=S
  14. Mastery: PREFIX=M
  15. Beer:
  16. @for f in Preparation Guest Drivers Launcher Host Switcher Mastery; do echo "{==- $$f -==}"; make -s $$f; done; echo "{==-==}"
  17. Preparation Preparation! Guest Drivers Launcher Host Switcher Mastery:
  18. @sh ../../tools/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'`
  19. Puppy:
  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