blob: 20f32c431039dfe6c872ca8b7167738c9dca82de (
plain)
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
## Process this file with automake to produce Makefile.in
SED=/bin/sed
GREP=/bin/grep
CAT=/bin/cat
ECHO=/bin/echo
SUFFIXES = .pl .pm .sh
VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t
libexec_SCRIPTS=check_hpasm
MY_MODULES=
EXTRA_MODULES=\
Nagios/MiniPlugin.pm \
HP/SNMP/Utils.pm \
HP/Proliant/Component/EventSubsystem.pm \
HP/Proliant/Component/EventSubsystem/CLI.pm \
HP/Proliant/Component/EventSubsystem/SNMP.pm \
HP/Proliant/Component/PowersupplySubsystem.pm \
HP/Proliant/Component/PowersupplySubsystem/CLI.pm \
HP/Proliant/Component/PowersupplySubsystem/SNMP.pm \
HP/Proliant/Component/TemperatureSubsystem.pm \
HP/Proliant/Component/TemperatureSubsystem/CLI.pm \
HP/Proliant/Component/TemperatureSubsystem/SNMP.pm \
HP/Proliant/Component/CpuSubsystem.pm \
HP/Proliant/Component/CpuSubsystem/CLI.pm \
HP/Proliant/Component/CpuSubsystem/SNMP.pm \
HP/Proliant/Component/FanSubsystem.pm \
HP/Proliant/Component/FanSubsystem/CLI.pm \
HP/Proliant/Component/FanSubsystem/SNMP.pm \
HP/Proliant/Component/MemorySubsystem/CLI.pm \
HP/Proliant/Component/MemorySubsystem/SNMP.pm \
HP/Proliant/Component/MemorySubsystem.pm \
HP/Proliant/Component/NicSubsystem/SNMP.pm \
HP/Proliant/Component/NicSubsystem.pm \
HP/Proliant/Component/AsrSubsystem/CLI.pm \
HP/Proliant/Component/AsrSubsystem/SNMP.pm \
HP/Proliant/Component/AsrSubsystem.pm \
HP/Proliant/Component/SNMP.pm \
HP/Proliant/Component/DiskSubsystem/Da/CLI.pm \
HP/Proliant/Component/DiskSubsystem/Da/SNMP.pm \
HP/Proliant/Component/DiskSubsystem/Da.pm \
HP/Proliant/Component/DiskSubsystem/Sas/CLI.pm \
HP/Proliant/Component/DiskSubsystem/Sas/SNMP.pm \
HP/Proliant/Component/DiskSubsystem/Sas.pm \
HP/Proliant/Component/DiskSubsystem/Scsi/CLI.pm \
HP/Proliant/Component/DiskSubsystem/Scsi/SNMP.pm \
HP/Proliant/Component/DiskSubsystem/Scsi.pm \
HP/Proliant/Component/DiskSubsystem/Ide/CLI.pm \
HP/Proliant/Component/DiskSubsystem/Ide/SNMP.pm \
HP/Proliant/Component/DiskSubsystem/Ide.pm \
HP/Proliant/Component/DiskSubsystem/Fca/CLI.pm \
HP/Proliant/Component/DiskSubsystem/Fca/SNMP.pm \
HP/Proliant/Component/DiskSubsystem/Fca.pm \
HP/Proliant/Component/DiskSubsystem.pm \
HP/Proliant/Component/BatterySubsystem/CLI.pm \
HP/Proliant/Component/BatterySubsystem/SNMP.pm \
HP/Proliant/Component/BatterySubsystem.pm \
HP/Proliant/Component.pm \
HP/Proliant.pm \
HP/BladeSystem/Component/CommonEnclosureSubsystem.pm \
HP/BladeSystem/Component/CommonEnclosureSubsystem/FanSubsystem.pm \
HP/BladeSystem/Component/CommonEnclosureSubsystem/TempSubsystem.pm \
HP/BladeSystem/Component/CommonEnclosureSubsystem/FuseSubsystem.pm \
HP/BladeSystem/Component/CommonEnclosureSubsystem/ManagerSubsystem.pm \
HP/BladeSystem/Component/PowerEnclosureSubsystem.pm \
HP/BladeSystem/Component/PowerSupplySubsystem.pm \
HP/BladeSystem/Component/NetConnectorSubsystem.pm \
HP/BladeSystem/Component/ServerBladeSubsystem.pm \
HP/BladeSystem/Component.pm \
HP/BladeSystem.pm \
HP/Storage.pm \
HP/StorageWorks.pm \
HP/Server.pm
EXTRA_DIST=check_hpasm.pl $(EXTRA_MODULES)
CLEANFILES=$(libexec_SCRIPTS)
AM_INSTALL_PROGRAM_FLAGS= _æ_ INSTALL_OPTS _æ_
.pm :
$(AWK) -f ./subst $< > $ _æ_
chmod +x $ _æ_
.pl :
$(AWK) -f ./subst $< > $ _æ_
chmod +x $ _æ_
.sh :
$(AWK) -f ./subst $< > $ _æ_
chmod +x $ _æ_
$(libexec_SCRIPTS) : $(EXTRA_DIST)
$(ECHO) "#! #PERL# -w" | $(AWK) -f ./subst > $ _æ_
$(ECHO) >> $ _æ_
for m in ${EXTRA_MODULES}; do \
$(SED) -e 's/^1;//g' < $$m | $(AWK) -f ./subst | $(GREP) -v "use Nagios::Plugin" >> $ _æ_ ; \
done
$(ECHO) "package main;" >> $ _æ_
$(CAT) check_hpasm.pl | $(AWK) -f ./subst >> $ _æ_
chmod +x $ _æ_
#| $(GREP) -v "use Nagios" >> $ _æ_ ;
|