4
# Copyright (C) 2007 Alon Bar-Lev <alon.barlev@gmail.com>
6
# This file is released under the GPLv2.
8
AUTOMAKE_OPTIONS=foreign dist-bzip2
14
sysconf_DATA=#required in order to create dir
15
if ENABLE_CREATE_DEVICE
22
noinst_PROGRAMS+=fbsplash-test
51
if [ -f $(DESTDIR)$(sysconfdir)/suspend.conf ]; then \
52
$(INSTALL_DATA) $(srcdir)/conf/suspend.conf $(DESTDIR)$(sysconfdir)/suspend.conf.new; \
54
$(INSTALL_DATA) $(srcdir)/conf/suspend.conf $(DESTDIR)$(sysconfdir)/suspend.conf; \
56
if ENABLE_CREATE_DEVICE
57
$(MKNOD) $(DESTDIR)$(devdir)/snapshot c 10 231
83
libsuspend_common_a_SOURCES=\
86
config_parser.h config_parser.c \
89
loglevel.h loglevel.c \
91
splashy_funcs.h splashy_funcs.c \
92
fbsplash_funcs.h fbsplash_funcs.c \
93
bootsplash.h bootsplash.c \
94
whitelist.h whitelist.c \
98
libsuspend_common_a_SOURCES+=\
99
s2ram-x86.h s2ram-x86.c \
102
vbetool/vbetool.h vbetool/vbetool.c
111
libsuspend_common_a_SOURCES+=\
112
s2ram-ppc.h s2ram-ppc.c
121
libsuspend-common.a \
122
$(common_s2disk_libs)
123
if ENABLE_RESUME_STATIC
132
libsuspend-common.a \
133
$(common_s2disk_libs)
141
libsuspend-common.a \
142
$(common_s2ram_libs) \
143
$(common_s2disk_libs)
148
libsuspend-common.a \
151
swap_offset_SOURCES=\
154
suspend_keygen_SOURCES=\
156
suspend_keygen_LDADD=\
157
libsuspend-common.a \
160
fbsplash_test_SOURCES=\
163
fbsplash_test_LDADD=\
169
install-resume-new-initrd: resume
170
@if test -z "$(RESUME_DEVICE)"; then \
171
echo "Please specify --with-resume-device"; \
174
BOOT_DIR=$(DESTDIR)$(bootdir) ./scripts/create-resume-initrd.sh $(RESUME_DEVICE); \
177
install-resume-on-initrd: resume
178
BOOT_DIR=$(DESTDIR)$(bootdir) ./scripts/install-resume.sh