2 ifeq ($(CONFIG_PM_DEBUG
),y
)
3 EXTRA_CFLAGS
+= -DDEBUG
6 obj-y
:= main.o process.o console.o
7 obj-
$(CONFIG_PM_LEGACY
) += pm.o
8 obj-
$(CONFIG_SOFTWARE_SUSPEND
) += snapshot.o
10 tuxonice_core-objs
:= tuxonice_modules.o tuxonice_sysfs.o tuxonice_highlevel.o \
11 tuxonice_io.o tuxonice_pagedir.o tuxonice_prepare_image.o \
12 tuxonice_extent.o tuxonice_pageflags.o tuxonice_ui.o \
13 tuxonice_power_off.o tuxonice_atomic_copy.o
15 obj-
$(CONFIG_TOI
) += tuxonice_builtin.o
17 ifdef CONFIG_TOI_CHECKSUM
18 tuxonice_core-objs
+= tuxonice_checksum.o
22 tuxonice_core-objs
+= tuxonice_storage.o tuxonice_netlink.o
25 obj-
$(CONFIG_TOI_CORE
) += tuxonice_core.o
26 obj-
$(CONFIG_TOI_CRYPTO
) += tuxonice_compress.o
28 obj-
$(CONFIG_TOI_SWAP
) += tuxonice_block_io.o tuxonice_swap.o
29 obj-
$(CONFIG_TOI_FILE
) += tuxonice_block_io.o tuxonice_file.o
30 obj-
$(CONFIG_TOI_CLUSTER
) += tuxonice_cluster.o
32 obj-
$(CONFIG_TOI_USERUI
) += tuxonice_userui.o
34 obj-
$(CONFIG_SOFTWARE_SUSPEND
) += swsusp.o disk.o swap.o user.o
36 obj-
$(CONFIG_MAGIC_SYSRQ
) += poweroff.o