File: Makefile.am

package info (click to toggle)
libblockdev 3.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,192 kB
  • sloc: ansic: 25,226; python: 11,874; makefile: 684; sh: 503; xml: 146
file content (82 lines) | stat: -rw-r--r-- 965 bytes parent folder | download | duplicates (2)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Generate config.h.py with translated defines for easy use within Python

CONFIG_H_PY = config_h.py
PLUGINS =

if WITH_BTRFS
PLUGINS += btrfs
endif

if WITH_CRYPTO
PLUGINS += crypto
endif

if WITH_DM
PLUGINS += dm
endif

if WITH_LOOP
PLUGINS += loop
endif

if WITH_LVM
PLUGINS += lvm
endif

if WITH_LVM_DBUS
PLUGINS += lvm-dbus
endif

if WITH_MDRAID
PLUGINS += mdraid
endif

if WITH_MPATH
PLUGINS += mpath
endif

if WITH_SWAP
PLUGINS += swap
endif

if WITH_PART
PLUGINS += part
endif

if WITH_FS
PLUGINS += fs
endif

if WITH_NVDIMM
PLUGINS += nvdimm
endif

if WITH_NVME
PLUGINS += nvme
endif

if WITH_SMART
PLUGINS += smart
endif

if WITH_SMARTMONTOOLS
PLUGINS += smartmontools
endif

if WITH_TOOLS
PLUGINS += tools
endif

$(CONFIG_H_PY):
	echo -n 'ENABLED_PLUGINS = [ ' > $(CONFIG_H_PY)
	for i in $(PLUGINS); do \
		echo -n "'$$i', " >> $(CONFIG_H_PY); \
	done
	echo ']' >> $(CONFIG_H_PY)

all: $(CONFIG_H_PY)

EXTRA_DIST =

clean-local:
	rm -f *~ $(CONFIG_H_PY)