File: Makefile.am

package info (click to toggle)
autopartkit 1.07
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,060 kB
  • ctags: 198
  • sloc: ansic: 2,489; sh: 843; makefile: 103
file content (68 lines) | stat: -rw-r--r-- 1,168 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
SUBDIRS = autopartkit.d

bin_PROGRAMS = autopartkit

noinst_PROGRAMS = autopartkit_test dumptable distribute_test lvm_test

if TEST
DUMMYCDEBCONF = \
	dummydebconfclient.c \
	dummydebconfclient.h
endif

autopartkit_SOURCES = \
	$(DUMMYCDEBCONF) \
	autopartkit.h \
	distribute.c \
	loadpartitions.c \
	lvm.c \
	mapdevfs.c \
	makepath.c \
	parted-compat.h \
	autopartkit.c \
	evaluator.c

autopartkit_test_SOURCES = \
	$(autopartkit_SOURCES)

lvm_test_SOURCES = \
	lvm.c \
	dummylog.c \
	lvm_test.c

dumptable_SOURCES = \
	dummylog.c \
	loadpartitions.c \
	dumptable.c \
	evaluator.c

distribute_test_SOURCES = \
	dummylog.c \
	distribute.c \
	loadpartitions.c \
	distribute-test.c \
	lvm.c \
	evaluator.c

tabledir = $(sysconfdir)/autopartkit
table_DATA = \
	default.table \
	test.table

EXTRA_DIST = $(table_DATA)

testdevice:
	dd if=/dev/zero of=$@ bs=1M count=2048

check-autopartkit: autopartkit_test testdevice
	echo -n > autopartkit.log
	$(GDB) ./autopartkit_test
	/sbin/fdisk -l testdevice
	@echo
	@echo "******************** fstab ********************"
	@echo
	@cat fstab

check: distribute_test lvm_test
	./distribute_test $(top_srcdir)/test.table
	./lvm_test