4 ckpt-objs
:= main.o dump.o restore.o
7 KERNELDIR ?
= /lib
/modules
/$(shell uname
-r
)/build
11 $(MAKE
) -C
$(KERNELDIR
) M
=$(PWD
) modules
14 @echo
"make OPTIONS: modules help docs clean build"
18 echo
"// generated by mk-config" >> $(CONFIG
)
20 .
/mk-config do_linear_fault CKPT_DO_LINEAR_FAULT
>> $(CONFIG
)
21 .
/mk-config do_swap_page CKPT_DO_SWAP_PAGE
>> $(CONFIG
)
22 .
/mk-config tasklist_lock CKPT_TASKLIST_LOCK
>> $(CONFIG
)
23 .
/mk-config open_namei CKPT_OPEN_NAMEI
>> $(CONFIG
)
24 .
/mk-config handle_pte_fault CKPT_HANDLE_PTE_FAULT
>> $(CONFIG
)
25 .
/mk-config bprm_mm_init CKPT_BPRM_MM_INIT
>> $(CONFIG
)
32 rm -rf
*.o
*~ core .depend .
*.cmd
*.ko
*.mod.c .tmp_versions \
33 Module.symvers modules.order html config.h
36 $(CC
) $(CFLAGS
) -M
*.c
> .depend
38 ifeq (.depend
,$(wildcard .depend
))