checkpatch: validate signature styles and To: and Cc: lines
[linux-2.6.git] / kernel / power / Makefile
index 2f438d0..c5ebc6a 100644 (file)
@@ -1,11 +1,12 @@
 
-ifeq ($(CONFIG_PM_DEBUG),y)
-EXTRA_CFLAGS   +=      -DDEBUG
-endif
-
-obj-y                          := main.o process.o console.o pm.o
-obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o disk.o
-
-obj-$(CONFIG_SUSPEND_SMP)      += smp.o
+ccflags-$(CONFIG_PM_DEBUG)     := -DDEBUG
+
+obj-$(CONFIG_PM)               += main.o
+obj-$(CONFIG_PM_SLEEP)         += console.o
+obj-$(CONFIG_FREEZER)          += process.o
+obj-$(CONFIG_SUSPEND)          += suspend.o
+obj-$(CONFIG_PM_TEST_SUSPEND)  += suspend_test.o
+obj-$(CONFIG_HIBERNATION)      += hibernate.o snapshot.o swap.o user.o \
+                                  block_io.o
 
 obj-$(CONFIG_MAGIC_SYSRQ)      += poweroff.o