-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
90 lines (76 loc) · 2.7 KB
/
Makefile.am
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
update_h_files = src/include/device.hpp \
src/include/devicelookup.hpp \
src/include/fswalk.hpp \
src/include/gatherer.hpp \
src/include/icollector.hpp \
src/include/manufacturer.hpp \
src/include/proccollector.hpp \
src/include/platformcollector.hpp \
src/include/devicetreecollector.hpp \
src/include/subdevice.hpp \
src/include/rtascollector.hpp \
src/include/sysfstreecollector.hpp
AM_CPPFLAGS = -I./src/include -Wall -fstack-protector-all -Wstack-protector
ACLOCAL_AMFLAGS = -I m4
sbin_PROGRAMS = vpdupdate lsvpd lscfg lsvio lsmcode
vpdupdate_SOURCES = src/internal/sys_interface/devicetreecollector.cpp \
src/internal/sys_interface/platformcollector.cpp \
src/internal/sys_interface/fswalk.cpp \
src/internal/updater.cpp \
src/common/lsvpd_error_handler.cpp \
src/internal/subdevice.cpp \
src/internal/device.cpp \
src/internal/manufacturer.cpp \
src/internal/devicelookup.cpp \
src/internal/sys_interface/gatherer.cpp \
src/internal/sys_interface/sysfstreecollector.cpp \
src/internal/sys_interface/proccollector.cpp \
src/internal/sys_interface/icollector.cpp \
src/internal/sys_interface/sysfs_SCSI_Fill.cpp \
src/internal/sys_interface/rtascollector.cpp \
$(update_h_files)
lsvpd_SOURCES = src/output/lsvpd.cpp \
src/internal/sys_interface/fswalk.cpp \
src/internal/sys_interface/platformcollector.cpp \
$(update_h_files)
lscfg_SOURCES = src/output/lscfg.cpp \
src/internal/sys_interface/fswalk.cpp \
src/internal/sys_interface/platformcollector.cpp \
$(update_h_files)
lsvio_SOURCES = src/output/lsvio.cpp \
src/internal/sys_interface/fswalk.cpp \
src/internal/sys_interface/platformcollector.cpp \
$(update_h_files)
lsmcode_SOURCES = src/output/lsmcode.cpp \
src/internal/sys_interface/fswalk.cpp \
src/internal/sys_interface/platformcollector.cpp \
src/internal/sys_interface/rtascollector.cpp \
$(update_h_files)
man8_MANS = man/lscfg.8 \
man/lsmcode.8 \
man/lsvio.8 \
man/lsvpd.8 \
man/vpdupdate.8
vpdupdate_LDADD = -lz -lstdc++ -lvpd_cxx
if SGUTIL1
vpdupdate_LDADD += -lsgutils
endif
if SGUTIL2
vpdupdate_LDADD += -lsgutils2
endif
vpdupdate_LDFLAGS = -Wall
lsvpd_LDADD = -lz -lstdc++ -lvpd_cxx
lsvpd_LDFLAGS = -Wall
lscfg_LDADD = -lz -lstdc++ -lvpd_cxx
lscfg_LDFLAGS = -Wall
lsvio_LDADD = -lz -lstdc++ -lvpd_cxx
lsvio_LDFLAGS = -Wall
lsmcode_LDADD = -lz -lstdc++ -lvpd_cxx
lsmcode_LDFLAGS = -Wall
AM_CXXFLAGS = -DDEST_DIR='"${exec_prefix}"' -DVPD_VERSION='"@VERSION@"'
install-exec-hook:
install -D --mode=644 scsi_templates.conf \
${DESTDIR}/etc/lsvpd/scsi_templates.conf
install -D --mode=644 cpu_mod_conv.conf \
${DESTDIR}/etc/lsvpd/cpu_mod_conv.conf
EXTRA_DIST = $(man8_MANS) bootstrap.sh scsi_templates.conf cpu_mod_conv.conf