]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - Makefile.in
import smartmontools 7.0
[mirror_smartmontools-debian.git] / Makefile.in
CommitLineData
f9e10201
JD
1# Makefile.in generated by automake 1.15.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17#
ff28b140 18# $Id: Makefile.am 4848 2018-12-05 18:30:46Z chrfranke $
f9e10201
JD
19#
20
21
22
23VPATH = @srcdir@
24am__is_gnu_make = { \
25 if test -z '$(MAKELEVEL)'; then \
26 false; \
27 elif test -n '$(MAKE_HOST)'; then \
28 true; \
29 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
30 true; \
31 else \
32 false; \
33 fi; \
34}
35am__make_running_with_option = \
36 case $${target_option-} in \
37 ?) ;; \
38 *) echo "am__make_running_with_option: internal error: invalid" \
39 "target option '$${target_option-}' specified" >&2; \
40 exit 1;; \
41 esac; \
42 has_opt=no; \
43 sane_makeflags=$$MAKEFLAGS; \
44 if $(am__is_gnu_make); then \
45 sane_makeflags=$$MFLAGS; \
46 else \
47 case $$MAKEFLAGS in \
48 *\\[\ \ ]*) \
49 bs=\\; \
50 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
51 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
52 esac; \
53 fi; \
54 skip_next=no; \
55 strip_trailopt () \
56 { \
57 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
58 }; \
59 for flg in $$sane_makeflags; do \
60 test $$skip_next = yes && { skip_next=no; continue; }; \
61 case $$flg in \
62 *=*|--*) continue;; \
63 -*I) strip_trailopt 'I'; skip_next=yes;; \
64 -*I?*) strip_trailopt 'I';; \
65 -*O) strip_trailopt 'O'; skip_next=yes;; \
66 -*O?*) strip_trailopt 'O';; \
67 -*l) strip_trailopt 'l'; skip_next=yes;; \
68 -*l?*) strip_trailopt 'l';; \
69 -[dEDm]) skip_next=yes;; \
70 -[JT]) skip_next=yes;; \
71 esac; \
72 case $$flg in \
73 *$$target_option*) has_opt=yes; break;; \
74 esac; \
75 done; \
76 test $$has_opt = yes
77am__make_dryrun = (target_option=n; $(am__make_running_with_option))
78am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
79pkgdatadir = $(datadir)/@PACKAGE@
80pkgincludedir = $(includedir)/@PACKAGE@
81pkglibdir = $(libdir)/@PACKAGE@
82pkglibexecdir = $(libexecdir)/@PACKAGE@
83am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
84install_sh_DATA = $(install_sh) -c -m 644
85install_sh_PROGRAM = $(install_sh) -c
86install_sh_SCRIPT = $(install_sh) -c
87INSTALL_HEADER = $(INSTALL_DATA)
88transform = $(program_transform_name)
89NORMAL_INSTALL = :
90PRE_INSTALL = :
91POST_INSTALL = :
92NORMAL_UNINSTALL = :
93PRE_UNINSTALL = :
94POST_UNINSTALL = :
95build_triplet = @build@
96host_triplet = @host@
97@ENABLE_DRIVEDB_TRUE@am__append_1 = -DSMARTMONTOOLS_DRIVEDBDIR='"$(drivedbdir)"'
98@ENABLE_SAVESTATES_TRUE@am__append_2 = -DSMARTMONTOOLS_SAVESTATES='"$(savestates)"'
99@ENABLE_ATTRIBUTELOG_TRUE@am__append_3 = -DSMARTMONTOOLS_ATTRIBUTELOG='"$(attributelog)"'
100@OS_WIN32_MINGW_TRUE@am__append_4 = -I$(srcdir)/os_win32
ff28b140
TL
101@NEED_GETOPT_LONG_TRUE@am__append_5 = -I$(srcdir)/getopt -D_GETOPT_STANDALONE
102@NEED_REGEX_TRUE@am__append_6 = -I$(srcdir)/regex -D_REGEX_STANDALONE
f9e10201 103sbin_PROGRAMS = smartctl$(EXEEXT) smartd$(EXEEXT)
ff28b140
TL
104@OS_WIN32_MINGW_TRUE@am__append_7 = \
105@OS_WIN32_MINGW_TRUE@ os_win32/popen_win32.cpp \
106@OS_WIN32_MINGW_TRUE@ os_win32/popen.h
107
f9e10201 108@OS_WIN32_MINGW_TRUE@am__append_8 = smartctl_res.o
ff28b140
TL
109@OS_WIN32_MINGW_TRUE@am__append_9 = smartctl_res.o
110@OS_WIN32_MINGW_TRUE@am__append_10 = \
f9e10201
JD
111@OS_WIN32_MINGW_TRUE@ os_win32/daemon_win32.cpp \
112@OS_WIN32_MINGW_TRUE@ os_win32/daemon_win32.h \
ff28b140
TL
113@OS_WIN32_MINGW_TRUE@ os_win32/popen_win32.cpp \
114@OS_WIN32_MINGW_TRUE@ os_win32/popen.h \
f9e10201
JD
115@OS_WIN32_MINGW_TRUE@ os_win32/syslog_win32.cpp \
116@OS_WIN32_MINGW_TRUE@ os_win32/syslog.h
117
f9e10201 118@OS_WIN32_MINGW_TRUE@am__append_11 = smartd_res.o
ff28b140
TL
119@OS_WIN32_MINGW_TRUE@am__append_12 = smartd_res.o
120@NEED_GETOPT_LONG_TRUE@am__append_13 = \
f9e10201
JD
121@NEED_GETOPT_LONG_TRUE@ getopt/getopt.c \
122@NEED_GETOPT_LONG_TRUE@ getopt/getopt.h \
ff28b140
TL
123@NEED_GETOPT_LONG_TRUE@ getopt/getopt1.c \
124@NEED_GETOPT_LONG_TRUE@ getopt/getopt_int.h \
125@NEED_GETOPT_LONG_TRUE@ getopt/bits/getopt_core.h \
126@NEED_GETOPT_LONG_TRUE@ getopt/bits/getopt_ext.h
f9e10201 127
ff28b140 128@NEED_GETOPT_LONG_TRUE@am__append_14 = \
f9e10201
JD
129@NEED_GETOPT_LONG_TRUE@ getopt/getopt.c \
130@NEED_GETOPT_LONG_TRUE@ getopt/getopt.h \
ff28b140
TL
131@NEED_GETOPT_LONG_TRUE@ getopt/getopt1.c \
132@NEED_GETOPT_LONG_TRUE@ getopt/getopt_int.h \
133@NEED_GETOPT_LONG_TRUE@ getopt/bits/getopt_core.h \
134@NEED_GETOPT_LONG_TRUE@ getopt/bits/getopt_ext.h
f9e10201 135
ff28b140 136@NEED_REGEX_TRUE@am__append_15 = \
f9e10201
JD
137@NEED_REGEX_TRUE@ regex/regex.c \
138@NEED_REGEX_TRUE@ regex/regex.h \
139@NEED_REGEX_TRUE@ regex/regex_internal.h
140
ff28b140 141@NEED_REGEX_TRUE@am__append_16 = \
f9e10201
JD
142@NEED_REGEX_TRUE@ regex/regex.c \
143@NEED_REGEX_TRUE@ regex/regex.h \
144@NEED_REGEX_TRUE@ regex/regex_internal.h
145
146
147# Included by regex.c:
ff28b140 148@NEED_REGEX_TRUE@am__append_17 = \
f9e10201
JD
149@NEED_REGEX_TRUE@ regex/regcomp.c \
150@NEED_REGEX_TRUE@ regex/regexec.c \
151@NEED_REGEX_TRUE@ regex/regex_internal.c
152
ff28b140 153@NEED_REGEX_TRUE@am__append_18 = \
f9e10201
JD
154@NEED_REGEX_TRUE@ regex/regcomp.c \
155@NEED_REGEX_TRUE@ regex/regexec.c \
156@NEED_REGEX_TRUE@ regex/regex_internal.c
157
ff28b140 158@OS_WIN32_TRUE@am__append_19 = \
f9e10201
JD
159@OS_WIN32_TRUE@ csmisas.h \
160@OS_WIN32_TRUE@ os_win32/wmiquery.cpp \
161@OS_WIN32_TRUE@ os_win32/wmiquery.h
162
ff28b140 163@OS_WIN32_TRUE@am__append_20 = \
f9e10201
JD
164@OS_WIN32_TRUE@ csmisas.h \
165@OS_WIN32_TRUE@ os_win32/wmiquery.cpp \
166@OS_WIN32_TRUE@ os_win32/wmiquery.h
167
f9e10201 168@OS_WIN32_TRUE@am__append_21 = -lole32 -loleaut32
ff28b140
TL
169@OS_WIN32_TRUE@am__append_22 = -lole32 -loleaut32
170@ENABLE_UPDATE_SMART_DRIVEDB_TRUE@@OS_SOLARIS_TRUE@am__append_23 = update-smart-drivedb.1m
171@ENABLE_UPDATE_SMART_DRIVEDB_TRUE@@OS_SOLARIS_FALSE@am__append_24 = update-smart-drivedb.8
172@ENABLE_DRIVEDB_TRUE@@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@am__append_25 = \
f9e10201
JD
173@ENABLE_DRIVEDB_TRUE@@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ $(exedir_win32)/update-smart-drivedb.exe
174
ff28b140 175@ENABLE_DRIVEDB_TRUE@@OS_WIN32_MINGW_TRUE@am__append_26 = \
f9e10201
JD
176@ENABLE_DRIVEDB_TRUE@@OS_WIN32_MINGW_TRUE@ $(exedir_win32)/drivedb.h
177
ff28b140 178@OS_WIN32_MINGW_TRUE@am__append_27 = \
f9e10201
JD
179@OS_WIN32_MINGW_TRUE@ $(FILES_WIN32) \
180@OS_WIN32_MINGW_TRUE@ defadmin.manifest \
181@OS_WIN32_MINGW_TRUE@ distdir.mkdir \
182@OS_WIN32_MINGW_TRUE@ runcmda.exe runcmda_res.rc \
183@OS_WIN32_MINGW_TRUE@ runcmdu.exe runcmdu_res.rc \
184@OS_WIN32_MINGW_TRUE@ smartctl-nc.exe smartctl-nc.exe.tmp \
185@OS_WIN32_MINGW_TRUE@ smartctl_res.rc smartd_res.rc \
186@OS_WIN32_MINGW_TRUE@ syslogevt.h \
187@OS_WIN32_MINGW_TRUE@ syslogevt.rc syslogevt_*.bin \
188@OS_WIN32_MINGW_TRUE@ update-smart-drivedb.exe \
189@OS_WIN32_MINGW_TRUE@ wtssendmsg.exe wtssendmsg_res.rc
190
191subdir = .
192ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
193am__aclocal_m4_deps = $(top_srcdir)/m4/pkg.m4 \
194 $(top_srcdir)/configure.ac
195am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
196 $(ACLOCAL_M4)
197DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
198 $(am__configure_deps) $(am__DIST_COMMON)
199am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
200 configure.lineno config.status.lineno
201mkinstalldirs = $(install_sh) -d
202CONFIG_HEADER = config.h
203CONFIG_CLEAN_FILES =
204CONFIG_CLEAN_VPATH_FILES =
205am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(examplesdir)" \
206 "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(smartdscriptdir)" \
207 "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" \
208 "$(DESTDIR)$(docsdir)" "$(DESTDIR)$(drivedbdir)" \
209 "$(DESTDIR)$(examplesdir)" "$(DESTDIR)$(initddir)" \
210 "$(DESTDIR)$(sysconfdir)" "$(DESTDIR)$(systemdsystemunitdir)"
211PROGRAMS = $(sbin_PROGRAMS)
212am__smartctl_SOURCES_DIST = smartctl.cpp smartctl.h atacmdnames.cpp \
213 atacmdnames.h atacmds.cpp atacmds.h ataidentify.cpp \
214 ataidentify.h ataprint.cpp ataprint.h dev_ata_cmd_set.cpp \
215 dev_ata_cmd_set.h dev_intelliprop.cpp dev_intelliprop.h \
216 dev_interface.cpp dev_interface.h dev_tunnelled.h drivedb.h \
ff28b140
TL
217 json.cpp json.h knowndrives.cpp knowndrives.h nvmecmds.cpp \
218 nvmecmds.h nvmeprint.cpp nvmeprint.h scsicmds.cpp scsicmds.h \
219 scsiata.cpp scsinvme.cpp scsiprint.cpp scsiprint.h utility.cpp \
220 utility.h sg_unaligned.h os_win32/popen_win32.cpp \
221 os_win32/popen.h getopt/getopt.c getopt/getopt.h \
222 getopt/getopt1.c getopt/getopt_int.h getopt/bits/getopt_core.h \
223 getopt/bits/getopt_ext.h regex/regex.c regex/regex.h \
224 regex/regex_internal.h csmisas.h os_win32/wmiquery.cpp \
225 os_win32/wmiquery.h
226@OS_WIN32_MINGW_TRUE@am__objects_1 = popen_win32.$(OBJEXT)
227@NEED_GETOPT_LONG_TRUE@am__objects_2 = getopt.$(OBJEXT) \
f9e10201 228@NEED_GETOPT_LONG_TRUE@ getopt1.$(OBJEXT)
ff28b140
TL
229@NEED_REGEX_TRUE@am__objects_3 = regex.$(OBJEXT)
230@OS_WIN32_TRUE@am__objects_4 = wmiquery.$(OBJEXT)
f9e10201
JD
231am_smartctl_OBJECTS = smartctl.$(OBJEXT) atacmdnames.$(OBJEXT) \
232 atacmds.$(OBJEXT) ataidentify.$(OBJEXT) ataprint.$(OBJEXT) \
233 dev_ata_cmd_set.$(OBJEXT) dev_intelliprop.$(OBJEXT) \
ff28b140 234 dev_interface.$(OBJEXT) json.$(OBJEXT) knowndrives.$(OBJEXT) \
f9e10201 235 nvmecmds.$(OBJEXT) nvmeprint.$(OBJEXT) scsicmds.$(OBJEXT) \
ff28b140
TL
236 scsiata.$(OBJEXT) scsinvme.$(OBJEXT) scsiprint.$(OBJEXT) \
237 utility.$(OBJEXT) $(am__objects_1) $(am__objects_2) \
238 $(am__objects_3) $(am__objects_4)
f9e10201
JD
239am__EXTRA_smartctl_SOURCES_DIST = os_darwin.cpp os_darwin.h \
240 os_linux.cpp os_linux.h os_freebsd.cpp os_freebsd.h \
241 os_netbsd.cpp os_netbsd.h os_openbsd.cpp os_openbsd.h \
242 os_os2.cpp os_os2.h os_qnxnto.cpp os_qnxnto.h os_solaris.cpp \
243 os_solaris.h os_win32.cpp os_generic.cpp os_generic.h \
244 aacraid.h cciss.cpp cciss.h cissio_freebsd.h dev_areca.cpp \
245 dev_areca.h dev_legacy.cpp linux_nvme_ioctl.h megaraid.h \
246 regex/regcomp.c regex/regexec.c regex/regex_internal.c
247smartctl_OBJECTS = $(am_smartctl_OBJECTS)
248am__DEPENDENCIES_1 =
249am__smartd_SOURCES_DIST = smartd.cpp atacmdnames.cpp atacmdnames.h \
250 atacmds.cpp atacmds.h dev_ata_cmd_set.cpp dev_ata_cmd_set.h \
251 dev_intelliprop.cpp dev_intelliprop.h dev_interface.cpp \
ff28b140
TL
252 dev_interface.h dev_tunnelled.h drivedb.h knowndrives.cpp \
253 knowndrives.h nvmecmds.cpp nvmecmds.h scsicmds.cpp scsicmds.h \
254 scsiata.cpp scsinvme.cpp utility.cpp utility.h sg_unaligned.h \
f9e10201 255 os_win32/daemon_win32.cpp os_win32/daemon_win32.h \
ff28b140 256 os_win32/popen_win32.cpp os_win32/popen.h \
f9e10201 257 os_win32/syslog_win32.cpp os_win32/syslog.h getopt/getopt.c \
ff28b140
TL
258 getopt/getopt.h getopt/getopt1.c getopt/getopt_int.h \
259 getopt/bits/getopt_core.h getopt/bits/getopt_ext.h \
260 regex/regex.c regex/regex.h regex/regex_internal.h csmisas.h \
261 os_win32/wmiquery.cpp os_win32/wmiquery.h
262@OS_WIN32_MINGW_TRUE@am__objects_5 = daemon_win32.$(OBJEXT) \
263@OS_WIN32_MINGW_TRUE@ popen_win32.$(OBJEXT) \
f9e10201
JD
264@OS_WIN32_MINGW_TRUE@ syslog_win32.$(OBJEXT)
265am_smartd_OBJECTS = smartd.$(OBJEXT) atacmdnames.$(OBJEXT) \
266 atacmds.$(OBJEXT) dev_ata_cmd_set.$(OBJEXT) \
267 dev_intelliprop.$(OBJEXT) dev_interface.$(OBJEXT) \
268 knowndrives.$(OBJEXT) nvmecmds.$(OBJEXT) scsicmds.$(OBJEXT) \
ff28b140
TL
269 scsiata.$(OBJEXT) scsinvme.$(OBJEXT) utility.$(OBJEXT) \
270 $(am__objects_5) $(am__objects_2) $(am__objects_3) \
271 $(am__objects_4)
f9e10201
JD
272am__EXTRA_smartd_SOURCES_DIST = os_darwin.cpp os_darwin.h os_linux.cpp \
273 os_linux.h os_freebsd.cpp os_freebsd.h os_netbsd.cpp \
274 os_netbsd.h os_openbsd.cpp os_openbsd.h os_os2.cpp os_os2.h \
275 os_qnxnto.cpp os_qnxnto.h os_solaris.cpp os_solaris.h \
276 os_win32.cpp os_generic.cpp os_generic.h aacraid.h cciss.cpp \
277 cciss.h cissio_freebsd.h dev_areca.cpp dev_areca.h \
278 dev_legacy.cpp linux_nvme_ioctl.h freebsd_nvme_ioctl.h \
279 netbsd_nvme_ioctl.h megaraid.h regex/regcomp.c regex/regexec.c \
280 regex/regex_internal.c
281smartd_OBJECTS = $(am_smartd_OBJECTS)
282am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
283am__vpath_adj = case $$p in \
284 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
285 *) f=$$p;; \
286 esac;
287am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
288am__install_max = 40
289am__nobase_strip_setup = \
290 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
291am__nobase_strip = \
292 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
293am__nobase_list = $(am__nobase_strip_setup); \
294 for p in $$list; do echo "$$p $$p"; done | \
295 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
296 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
297 if (++n[$$2] == $(am__install_max)) \
298 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
299 END { for (dir in files) print dir, files[dir] }'
300am__base_list = \
301 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
302 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
303am__uninstall_files_from_dir = { \
304 test -z "$$files" \
305 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
306 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
307 $(am__cd) "$$dir" && rm -f $$files; }; \
308 }
309SCRIPTS = $(examples_SCRIPTS) $(sbin_SCRIPTS) $(smartdscript_SCRIPTS)
310AM_V_P = $(am__v_P_@AM_V@)
311am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
312am__v_P_0 = false
313am__v_P_1 = :
314AM_V_GEN = $(am__v_GEN_@AM_V@)
315am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
316am__v_GEN_0 = @echo " GEN " $@;
317am__v_GEN_1 =
318AM_V_at = $(am__v_at_@AM_V@)
319am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
320am__v_at_0 = @
321am__v_at_1 =
322DEFAULT_INCLUDES = -I.@am__isrc@
323depcomp = $(SHELL) $(top_srcdir)/depcomp
324am__depfiles_maybe = depfiles
325am__mv = mv -f
326AM_V_lt = $(am__v_lt_@AM_V@)
327am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
328am__v_lt_0 = --silent
329am__v_lt_1 =
330COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
331 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
332AM_V_CC = $(am__v_CC_@AM_V@)
333am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
334am__v_CC_0 = @echo " CC " $@;
335am__v_CC_1 =
336CCLD = $(CC)
337LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
338AM_V_CCLD = $(am__v_CCLD_@AM_V@)
339am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
340am__v_CCLD_0 = @echo " CCLD " $@;
341am__v_CCLD_1 =
342CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
343 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
344AM_V_CXX = $(am__v_CXX_@AM_V@)
345am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
346am__v_CXX_0 = @echo " CXX " $@;
347am__v_CXX_1 =
348CXXLD = $(CXX)
349CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
350 -o $@
351AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
352am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
353am__v_CXXLD_0 = @echo " CXXLD " $@;
354am__v_CXXLD_1 =
355CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
356AM_V_CCAS = $(am__v_CCAS_@AM_V@)
357am__v_CCAS_ = $(am__v_CCAS_@AM_DEFAULT_V@)
358am__v_CCAS_0 = @echo " CCAS " $@;
359am__v_CCAS_1 =
360SOURCES = $(smartctl_SOURCES) $(EXTRA_smartctl_SOURCES) \
361 $(nodist_EXTRA_smartctl_SOURCES) $(smartd_SOURCES) \
362 $(EXTRA_smartd_SOURCES) $(nodist_EXTRA_smartd_SOURCES)
363DIST_SOURCES = $(am__smartctl_SOURCES_DIST) \
364 $(am__EXTRA_smartctl_SOURCES_DIST) $(am__smartd_SOURCES_DIST) \
365 $(am__EXTRA_smartd_SOURCES_DIST)
366am__can_run_installinfo = \
367 case $$AM_UPDATE_INFO_DIR in \
368 n|no|NO) false;; \
369 *) (install-info --version) >/dev/null 2>&1;; \
370 esac
371man5dir = $(mandir)/man5
372man8dir = $(mandir)/man8
373NROFF = nroff
374MANS = $(man_MANS)
375DATA = $(docs_DATA) $(drivedb_DATA) $(examples_DATA) $(initd_DATA) \
376 $(sysconf_DATA) $(systemdsystemunit_DATA)
377am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
378 $(LISP)config.h.in
379# Read a list of newline-separated strings from the standard input,
380# and print each of them once, without duplicates. Input order is
381# *not* preserved.
382am__uniquify_input = $(AWK) '\
383 BEGIN { nonempty = 0; } \
384 { items[$$0] = 1; nonempty = 1; } \
385 END { if (nonempty) { for (i in items) print i; }; } \
386'
387# Make sure the list of sources is unique. This is necessary because,
388# e.g., the same source file might be shared among _SOURCES variables
389# for different programs/libraries.
390am__define_uniq_tagged_files = \
391 list='$(am__tagged_files)'; \
392 unique=`for i in $$list; do \
393 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
394 done | $(am__uniquify_input)`
395ETAGS = etags
396CTAGS = ctags
397CSCOPE = cscope
398AM_RECURSIVE_TARGETS = cscope
399am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \
400 COPYING ChangeLog INSTALL NEWS README TODO compile \
401 config.guess config.sub depcomp install-sh missing
402DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
403distdir = $(PACKAGE)-$(VERSION)
404top_distdir = $(distdir)
405am__remove_distdir = \
406 if test -d "$(distdir)"; then \
407 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
408 && rm -rf "$(distdir)" \
409 || { sleep 5 && rm -rf "$(distdir)"; }; \
410 else :; fi
411am__post_remove_distdir = $(am__remove_distdir)
412DIST_ARCHIVES = $(distdir).tar.gz
413GZIP_ENV = --best
414DIST_TARGETS = dist-gzip
415distuninstallcheck_listfiles = find . -type f -print
416am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
417 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
418distcleancheck_listfiles = find . -type f -print
419ACLOCAL = @ACLOCAL@
420AMTAR = @AMTAR@
421AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
422ASFLAGS = @ASFLAGS@
423AUTOCONF = @AUTOCONF@
424AUTOHEADER = @AUTOHEADER@
425AUTOMAKE = @AUTOMAKE@
426AWK = @AWK@
427CAPNG_LDADD = @CAPNG_LDADD@
428CC = @CC@
429CCAS = @CCAS@
430CCASDEPMODE = @CCASDEPMODE@
431CCASFLAGS = @CCASFLAGS@
432CCDEPMODE = @CCDEPMODE@
433CFLAGS = @CFLAGS@
434CPPFLAGS = @CPPFLAGS@
435CXX = @CXX@
436CXXCPP = @CXXCPP@
437CXXDEPMODE = @CXXDEPMODE@
438CXXFLAGS = @CXXFLAGS@
439CYGPATH_W = @CYGPATH_W@
440DEFS = @DEFS@
441DEPDIR = @DEPDIR@
442DRIVEDB_BRANCH = @DRIVEDB_BRANCH@
443ECHO_C = @ECHO_C@
444ECHO_N = @ECHO_N@
445ECHO_T = @ECHO_T@
446EGREP = @EGREP@
447EXEEXT = @EXEEXT@
448GREP = @GREP@
449INSTALL = @INSTALL@
450INSTALL_DATA = @INSTALL_DATA@
451INSTALL_PROGRAM = @INSTALL_PROGRAM@
452INSTALL_SCRIPT = @INSTALL_SCRIPT@
453INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
454LDFLAGS = @LDFLAGS@
455LIBOBJS = @LIBOBJS@
456LIBS = @LIBS@
457LTLIBOBJS = @LTLIBOBJS@
458MAINT = @MAINT@
459MAKEINFO = @MAKEINFO@
460MAKENSIS = @MAKENSIS@
461MKDIR_P = @MKDIR_P@
462OBJEXT = @OBJEXT@
463PACKAGE = @PACKAGE@
464PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
465PACKAGE_NAME = @PACKAGE_NAME@
466PACKAGE_STRING = @PACKAGE_STRING@
467PACKAGE_TARNAME = @PACKAGE_TARNAME@
468PACKAGE_URL = @PACKAGE_URL@
469PACKAGE_VERSION = @PACKAGE_VERSION@
470PATH_SEPARATOR = @PATH_SEPARATOR@
471PKG_CONFIG = @PKG_CONFIG@
472PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
473PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
474SET_MAKE = @SET_MAKE@
475SHELL = @SHELL@
476STRIP = @STRIP@
ff28b140 477SYSTEMD_LDADD = @SYSTEMD_LDADD@
f9e10201
JD
478VERSION = @VERSION@
479WINDMC = @WINDMC@
480WINDRES = @WINDRES@
481abs_builddir = @abs_builddir@
482abs_srcdir = @abs_srcdir@
483abs_top_builddir = @abs_top_builddir@
484abs_top_srcdir = @abs_top_srcdir@
485ac_ct_CC = @ac_ct_CC@
486ac_ct_CXX = @ac_ct_CXX@
487am__include = @am__include@
488am__leading_dot = @am__leading_dot@
489am__quote = @am__quote@
490am__tar = @am__tar@
491am__untar = @am__untar@
492attributelog = @attributelog@
493attributelogdir = @attributelogdir@
494bindir = @bindir@
495build = @build@
496build_alias = @build_alias@
497build_cpu = @build_cpu@
498build_os = @build_os@
499build_vendor = @build_vendor@
500builddir = @builddir@
501datadir = @datadir@
502datarootdir = @datarootdir@
503docdir = @docdir@
504drivedbdir = @drivedbdir@
505dvidir = @dvidir@
506exampledir = @exampledir@
507exec_prefix = @exec_prefix@
508gcc_have_attr_packed = @gcc_have_attr_packed@
509gnupg = @gnupg@
510host = @host@
511host_alias = @host_alias@
512host_cpu = @host_cpu@
513host_os = @host_os@
514host_vendor = @host_vendor@
515htmldir = @htmldir@
516includedir = @includedir@
517infodir = @infodir@
518initddir = @initddir@
519initdfile = @initdfile@
520install_sh = @install_sh@
521libdir = @libdir@
522libexecdir = @libexecdir@
523localedir = @localedir@
524localstatedir = @localstatedir@
525mandir = @mandir@
526mkdir_p = @mkdir_p@
527oldincludedir = @oldincludedir@
528os_deps = @os_deps@
529os_dltools = @os_dltools@
530os_dnsdomainname = @os_dnsdomainname@
531os_hostname = @os_hostname@
532os_libs = @os_libs@
533os_mailer = @os_mailer@
534os_man_filter = @os_man_filter@
535os_nisdomainname = @os_nisdomainname@
536os_win32_manifest = @os_win32_manifest@
537pdfdir = @pdfdir@
538prefix = @prefix@
539program_transform_name = @program_transform_name@
540psdir = @psdir@
541releaseversion = @releaseversion@
542savestates = @savestates@
543savestatesdir = @savestatesdir@
544sbindir = @sbindir@
545scriptpath = @scriptpath@
546sharedstatedir = @sharedstatedir@
547smartd_suffix = @smartd_suffix@
548smartdplugindir = @smartdplugindir@
549smartdscriptdir = @smartdscriptdir@
550smartmontools_release_date = @smartmontools_release_date@
551smartmontools_release_time = @smartmontools_release_time@
552srcdir = @srcdir@
553svn_deps = @svn_deps@
554sysconfdir = @sysconfdir@
555systemdenvfile = @systemdenvfile@
556systemdsystemunitdir = @systemdsystemunitdir@
557target_alias = @target_alias@
558top_build_prefix = @top_build_prefix@
559top_builddir = @top_builddir@
560top_srcdir = @top_srcdir@
561with_nvme_devicescan = @with_nvme_devicescan@
f9e10201
JD
562with_update_smart_drivedb = @with_update_smart_drivedb@
563ACLOCAL_AMFLAGS = -I m4
564
565# Make sure .cpp takes precedence to avoid compiling old .c file
566SUFFIXES = .cpp .c .s .o
567
568# BUILD_INFO can be provided by package maintainers (see INSTALL file)
569BUILD_INFO = "(local build)"
570AM_CPPFLAGS = -DBUILD_INFO='$(BUILD_INFO)' \
571 -DSMARTMONTOOLS_SYSCONFDIR='"$(sysconfdir)"' \
572 -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"$(smartdscriptdir)"' \
573 $(am__append_1) $(am__append_2) $(am__append_3) \
574 $(am__append_4) $(am__append_5) $(am__append_6)
575@ENABLE_UPDATE_SMART_DRIVEDB_TRUE@@OS_WIN32_MINGW_FALSE@sbin_SCRIPTS = update-smart-drivedb
576smartctl_SOURCES = smartctl.cpp smartctl.h atacmdnames.cpp \
577 atacmdnames.h atacmds.cpp atacmds.h ataidentify.cpp \
578 ataidentify.h ataprint.cpp ataprint.h dev_ata_cmd_set.cpp \
579 dev_ata_cmd_set.h dev_intelliprop.cpp dev_intelliprop.h \
580 dev_interface.cpp dev_interface.h dev_tunnelled.h drivedb.h \
ff28b140
TL
581 json.cpp json.h knowndrives.cpp knowndrives.h nvmecmds.cpp \
582 nvmecmds.h nvmeprint.cpp nvmeprint.h scsicmds.cpp scsicmds.h \
583 scsiata.cpp scsinvme.cpp scsiprint.cpp scsiprint.h utility.cpp \
584 utility.h sg_unaligned.h $(am__append_7) $(am__append_13) \
585 $(am__append_15) $(am__append_19)
586smartctl_LDADD = $(os_deps) $(os_libs) $(am__append_8) \
587 $(am__append_21)
588smartctl_DEPENDENCIES = $(os_deps) $(am__append_9)
f9e10201
JD
589EXTRA_smartctl_SOURCES = os_darwin.cpp os_darwin.h os_linux.cpp \
590 os_linux.h os_freebsd.cpp os_freebsd.h os_netbsd.cpp \
591 os_netbsd.h os_openbsd.cpp os_openbsd.h os_os2.cpp os_os2.h \
592 os_qnxnto.cpp os_qnxnto.h os_solaris.cpp os_solaris.h \
593 os_win32.cpp os_generic.cpp os_generic.h aacraid.h cciss.cpp \
594 cciss.h cissio_freebsd.h dev_areca.cpp dev_areca.h \
ff28b140 595 dev_legacy.cpp linux_nvme_ioctl.h megaraid.h $(am__append_17)
f9e10201
JD
596smartd_SOURCES = smartd.cpp atacmdnames.cpp atacmdnames.h atacmds.cpp \
597 atacmds.h dev_ata_cmd_set.cpp dev_ata_cmd_set.h \
598 dev_intelliprop.cpp dev_intelliprop.h dev_interface.cpp \
ff28b140
TL
599 dev_interface.h dev_tunnelled.h drivedb.h knowndrives.cpp \
600 knowndrives.h nvmecmds.cpp nvmecmds.h scsicmds.cpp scsicmds.h \
601 scsiata.cpp scsinvme.cpp utility.cpp utility.h sg_unaligned.h \
602 $(am__append_10) $(am__append_14) $(am__append_16) \
603 $(am__append_20)
604smartd_LDADD = $(os_deps) $(os_libs) $(CAPNG_LDADD) $(SYSTEMD_LDADD) \
605 $(am__append_11) $(am__append_22)
606smartd_DEPENDENCIES = $(os_deps) $(am__append_12)
f9e10201
JD
607EXTRA_smartd_SOURCES = os_darwin.cpp os_darwin.h os_linux.cpp \
608 os_linux.h os_freebsd.cpp os_freebsd.h os_netbsd.cpp \
609 os_netbsd.h os_openbsd.cpp os_openbsd.h os_os2.cpp os_os2.h \
610 os_qnxnto.cpp os_qnxnto.h os_solaris.cpp os_solaris.h \
611 os_win32.cpp os_generic.cpp os_generic.h aacraid.h cciss.cpp \
612 cciss.h cissio_freebsd.h dev_areca.cpp dev_areca.h \
613 dev_legacy.cpp linux_nvme_ioctl.h freebsd_nvme_ioctl.h \
ff28b140 614 netbsd_nvme_ioctl.h megaraid.h $(am__append_18)
f9e10201
JD
615
616# Exclude from source tarball
617nodist_EXTRA_smartctl_SOURCES = os_solaris_ata.s
618nodist_EXTRA_smartd_SOURCES = os_solaris_ata.s
619
620# This block is required because Solaris uses manual page section 1m
621# for administrative command (linux/freebsd use section 8) and Solaris
622# uses manual page section 4 for file formats (linux/freebsd use
623# section 5). Automake can deal cleanly with man page sections 1-8
624# and n, but NOT with sections of the form 1m.
625@OS_SOLARIS_TRUE@extra_MANS = smartd.conf.4 smartctl.1m smartd.1m \
ff28b140 626@OS_SOLARIS_TRUE@ $(am__append_23)
f9e10201
JD
627# For systems that adopts traditional manner
628@OS_SOLARIS_FALSE@man_MANS = smartd.conf.5 smartctl.8 smartd.8 \
ff28b140 629@OS_SOLARIS_FALSE@ $(am__append_24)
f9e10201
JD
630docsdir = $(docdir)
631docs_DATA = \
632 AUTHORS \
633 ChangeLog \
634 ChangeLog-5.0-6.0 \
635 COPYING \
636 INSTALL \
637 NEWS \
638 README \
639 TODO \
640 smartd.conf
641
642examplesdir = $(exampledir)
643examples_DATA = \
644 examplescripts/README
645
646examples_SCRIPTS = \
647 examplescripts/Example1 \
648 examplescripts/Example2 \
649 examplescripts/Example3 \
650 examplescripts/Example4 \
651 examplescripts/Example5 \
652 examplescripts/Example6
653
654sysconf_DATA = smartd.conf
655smartdscript_SCRIPTS = smartd_warning.sh
656EXTRA_DIST = \
657 .editorconfig \
658 autogen.sh \
659 smartd.initd.in \
ff28b140 660 smartd.cygwin.initd.in \
f9e10201
JD
661 smartd.freebsd.initd.in \
662 smartd.8.in \
663 smartctl.8.in \
664 smartd.conf.5.in \
665 smartd.conf \
666 smartd.service.in \
667 smartd_warning.sh.in \
668 update-smart-drivedb.in \
669 update-smart-drivedb.8.in \
670 m4/pkg.m4 \
671 os_darwin/com.smartmontools.smartd.plist.in \
672 os_darwin/pkg/PackageInfo.in \
673 os_darwin/pkg/Distribution.in \
674 os_darwin/pkg/installer/README.html \
675 os_darwin/pkg/root/usr/local/sbin/smart-pkg-uninstall \
676 os_win32/default.manifest \
677 os_win32/installer.nsi \
678 os_win32/runcmd.c \
679 os_win32/smartd_mailer.ps1 \
680 os_win32/smartd_mailer.conf.sample.ps1 \
681 os_win32/smartd_warning.cmd \
682 os_win32/syslogevt.mc \
683 os_win32/update-smart-drivedb.nsi \
f9e10201
JD
684 os_win32/versioninfo.rc.in \
685 os_win32/wtssendmsg.c \
686 $(docs_DATA) \
687 $(examples_DATA) \
688 $(examples_SCRIPTS)
689
690CLEANFILES = smartd.8 smartd.1m smartd.8.html smartd.8.html.tmp \
691 smartd.8.pdf smartd.8.txt smartctl.8 smartctl.1m \
692 smartctl.8.html smartctl.8.html.tmp smartctl.8.pdf \
693 smartctl.8.txt smartd.conf.5 smartd.conf.4 smartd.conf.5.html \
694 smartd.conf.5.html.tmp smartd.conf.5.pdf smartd.conf.5.txt \
ff28b140
TL
695 smartd.initd smartd.cygwin.initd smartd.freebsd.initd \
696 smartd.service smartd_warning.sh svnversion.h \
697 update-smart-drivedb update-smart-drivedb.8 \
698 update-smart-drivedb.1m update-smart-drivedb.8.html \
699 update-smart-drivedb.8.html.tmp update-smart-drivedb.8.pdf \
700 update-smart-drivedb.8.txt SMART $(am__append_27)
f9e10201
JD
701
702# 'make maintainer-clean' also removes files generated by './autogen.sh'
703MAINTAINERCLEANFILES = \
704 $(srcdir)/Makefile.in \
705 $(srcdir)/aclocal.m4 \
706 $(srcdir)/compile \
707 $(srcdir)/configure \
708 $(srcdir)/config.guess \
709 $(srcdir)/config.h.in \
710 $(srcdir)/config.h.in~ \
711 $(srcdir)/config.sub \
712 $(srcdir)/depcomp \
713 $(srcdir)/install-sh \
714 $(srcdir)/missing \
715 $(srcdir)/m4/pkg.m4
716
717@ENABLE_DRIVEDB_TRUE@drivedb_DATA = drivedb.h
718@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@initd_DATA = $(initdfile)
719@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@initd_DATA = com.smartmontools.smartd.plist
720@INSTALL_INITSCRIPT_FALSE@initd_DATA_install = install-initdDATA-null
721@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@initd_DATA_install = install-initdDATA-generic
722@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@initd_DATA_install = install-initdDATA-darwin
723@INSTALL_INITSCRIPT_FALSE@initd_DATA_uninstall = uninstall-initdDATA-null
724@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@initd_DATA_uninstall = uninstall-initdDATA-generic
725@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@initd_DATA_uninstall = uninstall-initdDATA-darwin
726@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@initd_install_name = smartd$(smartd_suffix)
727@INSTALL_SYSTEMDUNIT_TRUE@systemdsystemunit_DATA = smartd.service
728
729#
730# Build man pages
731#
732MAN_FILTER = { \
733 sed -e 's|CURRENT_SVN_VERSION|$(releaseversion)|g' \
734 -e "s|CURRENT_SVN_DATE|`sed -n 's,^.*DATE[^"]*"\([^"]*\)".*$$,\1,p' svnversion.h`|g" \
735 -e "s|CURRENT_SVN_REV|`sed -n 's,^.*REV[^"]*"\([^"]*\)".*$$,r\1,p' svnversion.h`|g" \
736 -e 's|/usr/local/share/man/|$(mandir)/|g' \
737 -e 's|/usr/local/sbin/|$(sbindir)/|g' \
738 -e 's|/usr/local/share/doc/smartmontools/examplescripts/|!exampledir!|g' \
739 -e 's|/usr/local/share/doc/smartmontools/|$(docsdir)/|g' \
740 -e 's|!exampledir!|$(exampledir)/|g' \
741 -e 's|/usr/local/etc/smartd\.conf|$(sysconfdir)/smartd.conf|g' \
742 -e 's|/usr/local/etc/smart_drivedb\.h|$(sysconfdir)/smart_drivedb.h|g' \
743 -e 's|/usr/local/etc/smartd_warning\.sh|$(smartdscriptdir)/smartd_warning.sh|g' \
744 -e 's|\\fBmail\\fP|\\fB$(os_mailer)\\fP|g' \
745 -e 's|\\'\''mail\\'\''|\\'\''$(os_mailer)\\'\''|g' \
746 -e 's|/usr/bin/mail|/usr/bin/$(os_mailer)|g' \
747 -e 's|RELEASE_6_0_DRIVEDB|$(DRIVEDB_BRANCH)|g' | \
748 if test -n '$(drivedbdir)'; then \
749 sed 's|/usr/local/share/smartmontools/drivedb\.h|$(drivedbdir)/drivedb.h|g' ; \
750 else \
751 sed '/^\.\\" %IF ENABLE_DRIVEDB/,/^\.\\" %ENDIF ENABLE_DRIVEDB/ s,^,.\\"\# ,' ; \
752 fi | \
753 if test '$(with_update_smart_drivedb)' = 'yes'; then \
754 cat; \
755 else \
756 sed '/^\.\\" %IF ENABLE_UPDATE_SMART_DRIVEDB/,/^\.\\" %ENDIF ENABLE_UPDATE_SMART_DRIVEDB/ s,^,.\\"\# ,' ; \
757 fi | \
758 if test -n '$(initddir)'; then \
759 sed 's|/usr/local/etc/rc\.d/init\.d/|$(initddir)/|g' ; \
760 else \
761 sed '/^\.\\" %IF ENABLE_INITSCRIPT/,/^\.\\" %ENDIF ENABLE_INITSCRIPT/ s,^,.\\"\# ,' ; \
762 fi | \
763 if test -n '$(savestates)'; then \
764 sed 's|/usr/local/var/lib/smartmontools/smartd\.|$(savestates)|g' ; \
765 else \
766 sed '/^\.\\" %IF ENABLE_SAVESTATES/,/^\.\\" %ENDIF ENABLE_SAVESTATES/ s,^,.\\"\# ,' ; \
767 fi | \
768 if test -n '$(attributelog)'; then \
769 sed 's|/usr/local/var/lib/smartmontools/attrlog\.|$(attributelog)|g' ; \
770 else \
771 sed '/^\.\\" %IF ENABLE_ATTRIBUTELOG/,/^\.\\" %ENDIF ENABLE_ATTRIBUTELOG/ s,^,.\\"\# ,' ; \
772 fi | \
773 if test -n '$(smartdplugindir)'; then \
774 sed 's|/usr/local/etc/smartd_warning\.d|$(smartdplugindir)|g' ; \
775 else \
776 sed '/^\.\\" %IF ENABLE_SMARTDPLUGINDIR/,/^\.\\" %ENDIF ENABLE_SMARTDPLUGINDIR/ s,^,.\\"\# ,' ; \
777 fi | \
778 if test -n '$(CAPNG_LDADD)'; then \
779 cat; \
780 else \
781 sed '/^\.\\" %IF ENABLE_CAPABILITIES/,/^\.\\" %ENDIF ENABLE_CAPABILITIES/ s,^,.\\"\# ,' ; \
782 fi | \
ff28b140
TL
783 if test -n '$(SYSTEMD_LDADD)'; then \
784 cat; \
785 else \
786 sed '/^\.\\" %IF ENABLE_SYSTEMD_NOTIFY/,/^\.\\" %ENDIF ENABLE_SYSTEMD_NOTIFY/ s,^,.\\"\# ,' ; \
787 fi | \
f9e10201
JD
788 if test '$(with_nvme_devicescan)' = 'yes'; then \
789 cat; \
790 else \
791 sed '/^\.\\" %IF ENABLE_NVME_DEVICESCAN/,/^\.\\" %ENDIF ENABLE_NVME_DEVICESCAN/ s,^,.\\"\# ,' ; \
792 fi | \
793 if test -n '$(os_man_filter)'; then \
794 sed -e 's,OS_MAN_FILTER,$(os_man_filter),g' \
795 -e '/^\.\\" %IF NOT OS .*$(os_man_filter)/,/^.\\" %ENDIF NOT OS .*$(os_man_filter)/ s,^,.\\"\# ,' \
796 -e '/^\.\\" %IF OS .*$(os_man_filter)/,/^\.\\" %ENDIF OS .*$(os_man_filter)/ s,^,!!,' \
797 -e '/^\.\\" %IF OS ./,/^\.\\" %ENDIF OS ./ s,^,.\\"\# ,' \
798 -e '/^!*\.\\" %IF NOT OS ./,/^!*\.\\" %ENDIF NOT OS ./ s,^,!!,' \
799 -e 's,^!!!*\.\\"! \(.*\)$$,\1 \\"\#,' \
800 -e 's,^!!!*,,' ; \
801 else \
802 cat; \
803 fi; }
804
805
806# Build Solaris specific man pages
807SOLARIS_MAN_FILTER = \
808 sed -e '/^\.TH/s, \([58]\) , !!\1!! ,' \
809 -e '/^\.BR/s, (\([578]\)), (!!\1!!),' \
810 -e 's,\\fP(\([578]\)),\\fP(!!\1!!),g' \
811 -e 's,!!5!!,4,g' -e 's,!!7!!,5,g' -e 's,!!8!!,1m,g' \
812 -e 's,/var/log/messages,/var/adm/messages,g'
813
814
815# Convert man pages into .html, .pdf and .txt
816# TODO: configure
817MAN2HTML = man2html
818#MAN2HTML = groff -man -Thtml
819MAN2PDF = man -Tpdf -l
820#MAN2PDF = groff -man -Tpdf
821MAN2TXT = groff -man -Tascii -P'-bcou'
822
823# Remove HTTP header and fix links in man2html output
824FIXHTML = sed -e '1s,^Content-type.*,,' \
825 -e 's,<A HREF="[^"]*/man2html?\([1-8]\)+\(smart[cd][.a-z]*\)">,<A HREF="\2.\1.html">,g' \
826 -e 's,<A HREF="[^"]*/man2html">,<A HREF=".">,g' \
827 -e 's,<A HREF="[^"]*/man2html?[^"]*">\([^<]*\)</A>,\1,g' \
828 -e 's,<A HREF="mailto:[^s][^m][^a][^"]*">\([^<]*\)</A>,\1,g'
829
830
831# Convert version for VERSIONINFO resource: 6.6 r4519 -> 6.6.0.4519,
832# set description, name, version and year
833@OS_WIN32_MINGW_TRUE@WIN_RC_FILTER = { \
834@OS_WIN32_MINGW_TRUE@ ver=`echo '$(PACKAGE_VERSION).0' | sed -n 's,^\([0-9]*\.[0-9]*\.[0-9]*\).*$$,\1,p'` && \
835@OS_WIN32_MINGW_TRUE@ rev=`sed -n 's,^.*REV[^"]*"\([0-9]*\).*$$,\1,p' svnversion.h` && \
836@OS_WIN32_MINGW_TRUE@ txtver="$${ver:-0.0.0}.$${rev:-0}" && binver=`echo "$$txtver" | sed 's|\.|,|g'` && \
837@OS_WIN32_MINGW_TRUE@ yy=`sed -n 's,^.*DATE[^"]*"20\([0-9][0-9]\).*$$,\1,p' svnversion.h` && yy="$${yy:-XX}" && \
838@OS_WIN32_MINGW_TRUE@ sed -e "s|@DESC@|$$d|" -e "s|@NAME@|$$n|" -e "s|@BINARY_VERSION@|$$binver|g" \
839@OS_WIN32_MINGW_TRUE@ -e "s|@TEXT_VERSION@|$$txtver|g" -e "s|@YY@|$$yy|g"; }
840
841@OS_WIN32_MINGW_TRUE@WIN_MAKE_RES = \
842@OS_WIN32_MINGW_TRUE@ echo "n=$$n d=\"$$d"'"; $$(WIN_RC_FILTER) < $< > $@'; \
843@OS_WIN32_MINGW_TRUE@ $(WIN_RC_FILTER) < $< > $@
844
845@OS_WIN32_MINGW_TRUE@WIN_APP_MANIFEST = \
846@OS_WIN32_MINGW_TRUE@ if test -n '$(os_win32_manifest)'; then \
847@OS_WIN32_MINGW_TRUE@ echo "echo '1 24 \"$(srcdir)/$(os_win32_manifest)\"' >> $@"; \
848@OS_WIN32_MINGW_TRUE@ echo '1 24 "$(srcdir)/$(os_win32_manifest)"' >> $@; \
849@OS_WIN32_MINGW_TRUE@ fi
850
851@OS_WIN32_MINGW_TRUE@@OS_WIN64_FALSE@win_bits = 32
852
853# Definitions for Windows distribution
854@OS_WIN32_MINGW_TRUE@@OS_WIN64_TRUE@win_bits = 64
855@OS_WIN32_MINGW_TRUE@distdir_win32 = $(PACKAGE)-$(VERSION).win$(win_bits)
856@OS_WIN32_MINGW_TRUE@distzip_win32 = $(PACKAGE)-$(VERSION).win$(win_bits).zip
857@OS_WIN32_MINGW_TRUE@distinst_win32 = $(PACKAGE)-$(VERSION).win$(win_bits)-setup.exe
858@OS_WIN32_MINGW_TRUE@exedir_win32 = $(distdir_win32)/bin
859@OS_WIN32_MINGW_TRUE@docdir_win32 = $(distdir_win32)/doc
860@OS_WIN32_MINGW_TRUE@EXEFILES_WIN32 = $(exedir_win32)/smartctl.exe \
861@OS_WIN32_MINGW_TRUE@ $(exedir_win32)/smartctl-nc.exe \
862@OS_WIN32_MINGW_TRUE@ $(exedir_win32)/smartd.exe \
863@OS_WIN32_MINGW_TRUE@ $(exedir_win32)/smartd_mailer.ps1 \
864@OS_WIN32_MINGW_TRUE@ $(exedir_win32)/smartd_mailer.conf.sample.ps1 \
865@OS_WIN32_MINGW_TRUE@ $(exedir_win32)/smartd_warning.cmd \
866@OS_WIN32_MINGW_TRUE@ $(exedir_win32)/runcmda.exe \
867@OS_WIN32_MINGW_TRUE@ $(exedir_win32)/runcmdu.exe \
868@OS_WIN32_MINGW_TRUE@ $(exedir_win32)/wtssendmsg.exe \
ff28b140 869@OS_WIN32_MINGW_TRUE@ $(am__append_25)
f9e10201
JD
870@OS_WIN32_MINGW_TRUE@FILES_WIN32 = $(EXEFILES_WIN32) \
871@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/AUTHORS.txt \
872@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/ChangeLog.txt \
873@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/ChangeLog-5.0-6.0.txt \
874@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/COPYING.txt \
875@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/INSTALL.txt \
876@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/NEWS.txt \
877@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/README.txt \
878@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/TODO.txt \
879@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/checksums$(win_bits).txt \
880@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/smartd.conf \
881@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/smartctl.8.html \
882@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/smartctl.8.pdf \
883@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/smartd.8.html \
884@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/smartd.8.pdf \
885@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/smartd.conf.5.html \
886@OS_WIN32_MINGW_TRUE@ $(docdir_win32)/smartd.conf.5.pdf \
ff28b140 887@OS_WIN32_MINGW_TRUE@ $(am__append_26)
f9e10201
JD
888
889# Note: Only use without options to be compatible with all variants
890@OS_WIN32_MINGW_TRUE@UNIX2DOS = unix2dos
891
892# Build os_win32/vc14/{config.h,smart*.rc,svnversion.h} for MSVC14 from MinGW files
893@OS_WIN32_MINGW_TRUE@vcver = 14
894@OS_WIN32_MINGW_TRUE@CONFIG_VC_FILES = \
895@OS_WIN32_MINGW_TRUE@ $(srcdir)/os_win32/vc$(vcver)/config.h \
896@OS_WIN32_MINGW_TRUE@ $(srcdir)/os_win32/vc$(vcver)/smartctl_res.rc \
897@OS_WIN32_MINGW_TRUE@ $(srcdir)/os_win32/vc$(vcver)/smartd_res.rc \
898@OS_WIN32_MINGW_TRUE@ $(srcdir)/os_win32/vc$(vcver)/svnversion.h
899
900
901# Definitions for OSX distribution
902@OS_DARWIN_TRUE@distdir_darwin = $(PACKAGE)-$(VERSION).darwin
903@OS_DARWIN_TRUE@dmg_darwin = $(PACKAGE)-$(VERSION).dmg
904@OS_DARWIN_TRUE@pkg_darwin = $(PACKAGE)-$(VERSION).pkg
905all: config.h
906 $(MAKE) $(AM_MAKEFLAGS) all-am
907
908.SUFFIXES:
909.SUFFIXES: .cpp .c .s .o .obj
910am--refresh: Makefile
911 @:
912$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
913 @for dep in $?; do \
914 case '$(am__configure_deps)' in \
915 *$$dep*) \
916 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
917 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
918 && exit 0; \
919 exit 1;; \
920 esac; \
921 done; \
922 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
923 $(am__cd) $(top_srcdir) && \
924 $(AUTOMAKE) --foreign Makefile
925Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
926 @case '$?' in \
927 *config.status*) \
928 echo ' $(SHELL) ./config.status'; \
929 $(SHELL) ./config.status;; \
930 *) \
931 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
932 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
933 esac;
934
935$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
936 $(SHELL) ./config.status --recheck
937
938$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
939 $(am__cd) $(srcdir) && $(AUTOCONF)
940$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
941 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
942$(am__aclocal_m4_deps):
943
944config.h: stamp-h1
945 @test -f $@ || rm -f stamp-h1
946 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
947
948stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
949 @rm -f stamp-h1
950 cd $(top_builddir) && $(SHELL) ./config.status config.h
951$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
952 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
953 rm -f stamp-h1
954 touch $@
955
956distclean-hdr:
957 -rm -f config.h stamp-h1
958install-sbinPROGRAMS: $(sbin_PROGRAMS)
959 @$(NORMAL_INSTALL)
960 @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
961 if test -n "$$list"; then \
962 echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
963 $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
964 fi; \
965 for p in $$list; do echo "$$p $$p"; done | \
966 sed 's/$(EXEEXT)$$//' | \
967 while read p p1; do if test -f $$p \
968 ; then echo "$$p"; echo "$$p"; else :; fi; \
969 done | \
970 sed -e 'p;s,.*/,,;n;h' \
971 -e 's|.*|.|' \
972 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
973 sed 'N;N;N;s,\n, ,g' | \
974 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
975 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
976 if ($$2 == $$4) files[d] = files[d] " " $$1; \
977 else { print "f", $$3 "/" $$4, $$1; } } \
978 END { for (d in files) print "f", d, files[d] }' | \
979 while read type dir files; do \
980 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
981 test -z "$$files" || { \
982 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
983 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
984 } \
985 ; done
986
987uninstall-sbinPROGRAMS:
988 @$(NORMAL_UNINSTALL)
989 @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
990 files=`for p in $$list; do echo "$$p"; done | \
991 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
992 -e 's/$$/$(EXEEXT)/' \
993 `; \
994 test -n "$$list" || exit 0; \
995 echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
996 cd "$(DESTDIR)$(sbindir)" && rm -f $$files
997
998clean-sbinPROGRAMS:
999 -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
1000
1001smartctl$(EXEEXT): $(smartctl_OBJECTS) $(smartctl_DEPENDENCIES) $(EXTRA_smartctl_DEPENDENCIES)
1002 @rm -f smartctl$(EXEEXT)
1003 $(AM_V_CXXLD)$(CXXLINK) $(smartctl_OBJECTS) $(smartctl_LDADD) $(LIBS)
1004
1005smartd$(EXEEXT): $(smartd_OBJECTS) $(smartd_DEPENDENCIES) $(EXTRA_smartd_DEPENDENCIES)
1006 @rm -f smartd$(EXEEXT)
1007 $(AM_V_CXXLD)$(CXXLINK) $(smartd_OBJECTS) $(smartd_LDADD) $(LIBS)
1008install-examplesSCRIPTS: $(examples_SCRIPTS)
1009 @$(NORMAL_INSTALL)
1010 @list='$(examples_SCRIPTS)'; test -n "$(examplesdir)" || list=; \
1011 if test -n "$$list"; then \
1012 echo " $(MKDIR_P) '$(DESTDIR)$(examplesdir)'"; \
1013 $(MKDIR_P) "$(DESTDIR)$(examplesdir)" || exit 1; \
1014 fi; \
1015 for p in $$list; do \
1016 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1017 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
1018 done | \
1019 sed -e 'p;s,.*/,,;n' \
1020 -e 'h;s|.*|.|' \
1021 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
1022 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
1023 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1024 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
1025 if (++n[d] == $(am__install_max)) { \
1026 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
1027 else { print "f", d "/" $$4, $$1 } } \
1028 END { for (d in files) print "f", d, files[d] }' | \
1029 while read type dir files; do \
1030 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1031 test -z "$$files" || { \
1032 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(examplesdir)$$dir'"; \
1033 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(examplesdir)$$dir" || exit $$?; \
1034 } \
1035 ; done
1036
1037uninstall-examplesSCRIPTS:
1038 @$(NORMAL_UNINSTALL)
1039 @list='$(examples_SCRIPTS)'; test -n "$(examplesdir)" || exit 0; \
1040 files=`for p in $$list; do echo "$$p"; done | \
1041 sed -e 's,.*/,,;$(transform)'`; \
1042 dir='$(DESTDIR)$(examplesdir)'; $(am__uninstall_files_from_dir)
1043install-sbinSCRIPTS: $(sbin_SCRIPTS)
1044 @$(NORMAL_INSTALL)
1045 @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \
1046 if test -n "$$list"; then \
1047 echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
1048 $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
1049 fi; \
1050 for p in $$list; do \
1051 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1052 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
1053 done | \
1054 sed -e 'p;s,.*/,,;n' \
1055 -e 'h;s|.*|.|' \
1056 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
1057 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
1058 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1059 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
1060 if (++n[d] == $(am__install_max)) { \
1061 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
1062 else { print "f", d "/" $$4, $$1 } } \
1063 END { for (d in files) print "f", d, files[d] }' | \
1064 while read type dir files; do \
1065 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1066 test -z "$$files" || { \
1067 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
1068 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
1069 } \
1070 ; done
1071
1072uninstall-sbinSCRIPTS:
1073 @$(NORMAL_UNINSTALL)
1074 @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \
1075 files=`for p in $$list; do echo "$$p"; done | \
1076 sed -e 's,.*/,,;$(transform)'`; \
1077 dir='$(DESTDIR)$(sbindir)'; $(am__uninstall_files_from_dir)
1078install-smartdscriptSCRIPTS: $(smartdscript_SCRIPTS)
1079 @$(NORMAL_INSTALL)
1080 @list='$(smartdscript_SCRIPTS)'; test -n "$(smartdscriptdir)" || list=; \
1081 if test -n "$$list"; then \
1082 echo " $(MKDIR_P) '$(DESTDIR)$(smartdscriptdir)'"; \
1083 $(MKDIR_P) "$(DESTDIR)$(smartdscriptdir)" || exit 1; \
1084 fi; \
1085 for p in $$list; do \
1086 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1087 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
1088 done | \
1089 sed -e 'p;s,.*/,,;n' \
1090 -e 'h;s|.*|.|' \
1091 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
1092 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
1093 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1094 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
1095 if (++n[d] == $(am__install_max)) { \
1096 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
1097 else { print "f", d "/" $$4, $$1 } } \
1098 END { for (d in files) print "f", d, files[d] }' | \
1099 while read type dir files; do \
1100 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1101 test -z "$$files" || { \
1102 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(smartdscriptdir)$$dir'"; \
1103 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(smartdscriptdir)$$dir" || exit $$?; \
1104 } \
1105 ; done
1106
1107uninstall-smartdscriptSCRIPTS:
1108 @$(NORMAL_UNINSTALL)
1109 @list='$(smartdscript_SCRIPTS)'; test -n "$(smartdscriptdir)" || exit 0; \
1110 files=`for p in $$list; do echo "$$p"; done | \
1111 sed -e 's,.*/,,;$(transform)'`; \
1112 dir='$(DESTDIR)$(smartdscriptdir)'; $(am__uninstall_files_from_dir)
1113
1114mostlyclean-compile:
1115 -rm -f *.$(OBJEXT)
1116
1117distclean-compile:
1118 -rm -f *.tab.c
1119
1120@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atacmdnames.Po@am__quote@
1121@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atacmds.Po@am__quote@
1122@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ataidentify.Po@am__quote@
1123@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ataprint.Po@am__quote@
1124@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cciss.Po@am__quote@
1125@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/daemon_win32.Po@am__quote@
1126@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_areca.Po@am__quote@
1127@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_ata_cmd_set.Po@am__quote@
1128@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_intelliprop.Po@am__quote@
1129@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_interface.Po@am__quote@
1130@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_legacy.Po@am__quote@
1131@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
1132@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
ff28b140 1133@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/json.Po@am__quote@
f9e10201
JD
1134@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/knowndrives.Po@am__quote@
1135@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nvmecmds.Po@am__quote@
1136@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nvmeprint.Po@am__quote@
1137@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_darwin.Po@am__quote@
1138@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_freebsd.Po@am__quote@
1139@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_generic.Po@am__quote@
1140@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_linux.Po@am__quote@
1141@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_netbsd.Po@am__quote@
1142@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_openbsd.Po@am__quote@
1143@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_os2.Po@am__quote@
1144@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_qnxnto.Po@am__quote@
1145@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_solaris.Po@am__quote@
1146@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_win32.Po@am__quote@
ff28b140 1147@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/popen_win32.Po@am__quote@
f9e10201
JD
1148@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regcomp.Po@am__quote@
1149@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex.Po@am__quote@
1150@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex_internal.Po@am__quote@
1151@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regexec.Po@am__quote@
1152@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsiata.Po@am__quote@
1153@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsicmds.Po@am__quote@
ff28b140 1154@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsinvme.Po@am__quote@
f9e10201
JD
1155@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsiprint.Po@am__quote@
1156@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smartctl.Po@am__quote@
1157@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smartd.Po@am__quote@
1158@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syslog_win32.Po@am__quote@
1159@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utility.Po@am__quote@
1160@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wmiquery.Po@am__quote@
1161
1162.c.o:
1163@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1164@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1165@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1166@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1167@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
1168
1169.c.obj:
1170@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1171@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1172@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1173@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1174@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1175
1176getopt.o: getopt/getopt.c
1177@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt.o -MD -MP -MF $(DEPDIR)/getopt.Tpo -c -o getopt.o `test -f 'getopt/getopt.c' || echo '$(srcdir)/'`getopt/getopt.c
1178@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/getopt.Tpo $(DEPDIR)/getopt.Po
1179@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='getopt/getopt.c' object='getopt.o' libtool=no @AMDEPBACKSLASH@
1180@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1181@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.o `test -f 'getopt/getopt.c' || echo '$(srcdir)/'`getopt/getopt.c
1182
1183getopt.obj: getopt/getopt.c
1184@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt.obj -MD -MP -MF $(DEPDIR)/getopt.Tpo -c -o getopt.obj `if test -f 'getopt/getopt.c'; then $(CYGPATH_W) 'getopt/getopt.c'; else $(CYGPATH_W) '$(srcdir)/getopt/getopt.c'; fi`
1185@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/getopt.Tpo $(DEPDIR)/getopt.Po
1186@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='getopt/getopt.c' object='getopt.obj' libtool=no @AMDEPBACKSLASH@
1187@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1188@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt.obj `if test -f 'getopt/getopt.c'; then $(CYGPATH_W) 'getopt/getopt.c'; else $(CYGPATH_W) '$(srcdir)/getopt/getopt.c'; fi`
1189
1190getopt1.o: getopt/getopt1.c
1191@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt1.o -MD -MP -MF $(DEPDIR)/getopt1.Tpo -c -o getopt1.o `test -f 'getopt/getopt1.c' || echo '$(srcdir)/'`getopt/getopt1.c
1192@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/getopt1.Tpo $(DEPDIR)/getopt1.Po
1193@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='getopt/getopt1.c' object='getopt1.o' libtool=no @AMDEPBACKSLASH@
1194@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1195@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt1.o `test -f 'getopt/getopt1.c' || echo '$(srcdir)/'`getopt/getopt1.c
1196
1197getopt1.obj: getopt/getopt1.c
1198@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT getopt1.obj -MD -MP -MF $(DEPDIR)/getopt1.Tpo -c -o getopt1.obj `if test -f 'getopt/getopt1.c'; then $(CYGPATH_W) 'getopt/getopt1.c'; else $(CYGPATH_W) '$(srcdir)/getopt/getopt1.c'; fi`
1199@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/getopt1.Tpo $(DEPDIR)/getopt1.Po
1200@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='getopt/getopt1.c' object='getopt1.obj' libtool=no @AMDEPBACKSLASH@
1201@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1202@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o getopt1.obj `if test -f 'getopt/getopt1.c'; then $(CYGPATH_W) 'getopt/getopt1.c'; else $(CYGPATH_W) '$(srcdir)/getopt/getopt1.c'; fi`
1203
1204regex.o: regex/regex.c
1205@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regex.o -MD -MP -MF $(DEPDIR)/regex.Tpo -c -o regex.o `test -f 'regex/regex.c' || echo '$(srcdir)/'`regex/regex.c
1206@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/regex.Tpo $(DEPDIR)/regex.Po
1207@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='regex/regex.c' object='regex.o' libtool=no @AMDEPBACKSLASH@
1208@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1209@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regex.o `test -f 'regex/regex.c' || echo '$(srcdir)/'`regex/regex.c
1210
1211regex.obj: regex/regex.c
1212@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regex.obj -MD -MP -MF $(DEPDIR)/regex.Tpo -c -o regex.obj `if test -f 'regex/regex.c'; then $(CYGPATH_W) 'regex/regex.c'; else $(CYGPATH_W) '$(srcdir)/regex/regex.c'; fi`
1213@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/regex.Tpo $(DEPDIR)/regex.Po
1214@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='regex/regex.c' object='regex.obj' libtool=no @AMDEPBACKSLASH@
1215@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1216@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regex.obj `if test -f 'regex/regex.c'; then $(CYGPATH_W) 'regex/regex.c'; else $(CYGPATH_W) '$(srcdir)/regex/regex.c'; fi`
1217
1218regcomp.o: regex/regcomp.c
1219@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regcomp.o -MD -MP -MF $(DEPDIR)/regcomp.Tpo -c -o regcomp.o `test -f 'regex/regcomp.c' || echo '$(srcdir)/'`regex/regcomp.c
1220@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/regcomp.Tpo $(DEPDIR)/regcomp.Po
1221@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='regex/regcomp.c' object='regcomp.o' libtool=no @AMDEPBACKSLASH@
1222@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1223@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regcomp.o `test -f 'regex/regcomp.c' || echo '$(srcdir)/'`regex/regcomp.c
1224
1225regcomp.obj: regex/regcomp.c
1226@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regcomp.obj -MD -MP -MF $(DEPDIR)/regcomp.Tpo -c -o regcomp.obj `if test -f 'regex/regcomp.c'; then $(CYGPATH_W) 'regex/regcomp.c'; else $(CYGPATH_W) '$(srcdir)/regex/regcomp.c'; fi`
1227@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/regcomp.Tpo $(DEPDIR)/regcomp.Po
1228@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='regex/regcomp.c' object='regcomp.obj' libtool=no @AMDEPBACKSLASH@
1229@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1230@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regcomp.obj `if test -f 'regex/regcomp.c'; then $(CYGPATH_W) 'regex/regcomp.c'; else $(CYGPATH_W) '$(srcdir)/regex/regcomp.c'; fi`
1231
1232regexec.o: regex/regexec.c
1233@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regexec.o -MD -MP -MF $(DEPDIR)/regexec.Tpo -c -o regexec.o `test -f 'regex/regexec.c' || echo '$(srcdir)/'`regex/regexec.c
1234@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/regexec.Tpo $(DEPDIR)/regexec.Po
1235@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='regex/regexec.c' object='regexec.o' libtool=no @AMDEPBACKSLASH@
1236@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1237@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regexec.o `test -f 'regex/regexec.c' || echo '$(srcdir)/'`regex/regexec.c
1238
1239regexec.obj: regex/regexec.c
1240@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regexec.obj -MD -MP -MF $(DEPDIR)/regexec.Tpo -c -o regexec.obj `if test -f 'regex/regexec.c'; then $(CYGPATH_W) 'regex/regexec.c'; else $(CYGPATH_W) '$(srcdir)/regex/regexec.c'; fi`
1241@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/regexec.Tpo $(DEPDIR)/regexec.Po
1242@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='regex/regexec.c' object='regexec.obj' libtool=no @AMDEPBACKSLASH@
1243@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1244@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regexec.obj `if test -f 'regex/regexec.c'; then $(CYGPATH_W) 'regex/regexec.c'; else $(CYGPATH_W) '$(srcdir)/regex/regexec.c'; fi`
1245
1246regex_internal.o: regex/regex_internal.c
1247@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regex_internal.o -MD -MP -MF $(DEPDIR)/regex_internal.Tpo -c -o regex_internal.o `test -f 'regex/regex_internal.c' || echo '$(srcdir)/'`regex/regex_internal.c
1248@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/regex_internal.Tpo $(DEPDIR)/regex_internal.Po
1249@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='regex/regex_internal.c' object='regex_internal.o' libtool=no @AMDEPBACKSLASH@
1250@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1251@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regex_internal.o `test -f 'regex/regex_internal.c' || echo '$(srcdir)/'`regex/regex_internal.c
1252
1253regex_internal.obj: regex/regex_internal.c
1254@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT regex_internal.obj -MD -MP -MF $(DEPDIR)/regex_internal.Tpo -c -o regex_internal.obj `if test -f 'regex/regex_internal.c'; then $(CYGPATH_W) 'regex/regex_internal.c'; else $(CYGPATH_W) '$(srcdir)/regex/regex_internal.c'; fi`
1255@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/regex_internal.Tpo $(DEPDIR)/regex_internal.Po
1256@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='regex/regex_internal.c' object='regex_internal.obj' libtool=no @AMDEPBACKSLASH@
1257@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1258@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o regex_internal.obj `if test -f 'regex/regex_internal.c'; then $(CYGPATH_W) 'regex/regex_internal.c'; else $(CYGPATH_W) '$(srcdir)/regex/regex_internal.c'; fi`
1259
1260.cpp.o:
1261@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1262@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1263@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1264@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1265@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
1266
1267.cpp.obj:
1268@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1269@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1270@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1271@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1272@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1273
ff28b140
TL
1274popen_win32.o: os_win32/popen_win32.cpp
1275@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT popen_win32.o -MD -MP -MF $(DEPDIR)/popen_win32.Tpo -c -o popen_win32.o `test -f 'os_win32/popen_win32.cpp' || echo '$(srcdir)/'`os_win32/popen_win32.cpp
1276@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/popen_win32.Tpo $(DEPDIR)/popen_win32.Po
1277@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='os_win32/popen_win32.cpp' object='popen_win32.o' libtool=no @AMDEPBACKSLASH@
1278@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1279@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o popen_win32.o `test -f 'os_win32/popen_win32.cpp' || echo '$(srcdir)/'`os_win32/popen_win32.cpp
1280
1281popen_win32.obj: os_win32/popen_win32.cpp
1282@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT popen_win32.obj -MD -MP -MF $(DEPDIR)/popen_win32.Tpo -c -o popen_win32.obj `if test -f 'os_win32/popen_win32.cpp'; then $(CYGPATH_W) 'os_win32/popen_win32.cpp'; else $(CYGPATH_W) '$(srcdir)/os_win32/popen_win32.cpp'; fi`
1283@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/popen_win32.Tpo $(DEPDIR)/popen_win32.Po
1284@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='os_win32/popen_win32.cpp' object='popen_win32.obj' libtool=no @AMDEPBACKSLASH@
1285@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1286@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o popen_win32.obj `if test -f 'os_win32/popen_win32.cpp'; then $(CYGPATH_W) 'os_win32/popen_win32.cpp'; else $(CYGPATH_W) '$(srcdir)/os_win32/popen_win32.cpp'; fi`
1287
f9e10201
JD
1288wmiquery.o: os_win32/wmiquery.cpp
1289@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT wmiquery.o -MD -MP -MF $(DEPDIR)/wmiquery.Tpo -c -o wmiquery.o `test -f 'os_win32/wmiquery.cpp' || echo '$(srcdir)/'`os_win32/wmiquery.cpp
1290@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/wmiquery.Tpo $(DEPDIR)/wmiquery.Po
1291@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='os_win32/wmiquery.cpp' object='wmiquery.o' libtool=no @AMDEPBACKSLASH@
1292@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1293@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o wmiquery.o `test -f 'os_win32/wmiquery.cpp' || echo '$(srcdir)/'`os_win32/wmiquery.cpp
1294
1295wmiquery.obj: os_win32/wmiquery.cpp
1296@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT wmiquery.obj -MD -MP -MF $(DEPDIR)/wmiquery.Tpo -c -o wmiquery.obj `if test -f 'os_win32/wmiquery.cpp'; then $(CYGPATH_W) 'os_win32/wmiquery.cpp'; else $(CYGPATH_W) '$(srcdir)/os_win32/wmiquery.cpp'; fi`
1297@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/wmiquery.Tpo $(DEPDIR)/wmiquery.Po
1298@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='os_win32/wmiquery.cpp' object='wmiquery.obj' libtool=no @AMDEPBACKSLASH@
1299@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1300@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o wmiquery.obj `if test -f 'os_win32/wmiquery.cpp'; then $(CYGPATH_W) 'os_win32/wmiquery.cpp'; else $(CYGPATH_W) '$(srcdir)/os_win32/wmiquery.cpp'; fi`
1301
1302daemon_win32.o: os_win32/daemon_win32.cpp
1303@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT daemon_win32.o -MD -MP -MF $(DEPDIR)/daemon_win32.Tpo -c -o daemon_win32.o `test -f 'os_win32/daemon_win32.cpp' || echo '$(srcdir)/'`os_win32/daemon_win32.cpp
1304@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/daemon_win32.Tpo $(DEPDIR)/daemon_win32.Po
1305@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='os_win32/daemon_win32.cpp' object='daemon_win32.o' libtool=no @AMDEPBACKSLASH@
1306@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1307@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o daemon_win32.o `test -f 'os_win32/daemon_win32.cpp' || echo '$(srcdir)/'`os_win32/daemon_win32.cpp
1308
1309daemon_win32.obj: os_win32/daemon_win32.cpp
1310@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT daemon_win32.obj -MD -MP -MF $(DEPDIR)/daemon_win32.Tpo -c -o daemon_win32.obj `if test -f 'os_win32/daemon_win32.cpp'; then $(CYGPATH_W) 'os_win32/daemon_win32.cpp'; else $(CYGPATH_W) '$(srcdir)/os_win32/daemon_win32.cpp'; fi`
1311@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/daemon_win32.Tpo $(DEPDIR)/daemon_win32.Po
1312@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='os_win32/daemon_win32.cpp' object='daemon_win32.obj' libtool=no @AMDEPBACKSLASH@
1313@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1314@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o daemon_win32.obj `if test -f 'os_win32/daemon_win32.cpp'; then $(CYGPATH_W) 'os_win32/daemon_win32.cpp'; else $(CYGPATH_W) '$(srcdir)/os_win32/daemon_win32.cpp'; fi`
1315
1316syslog_win32.o: os_win32/syslog_win32.cpp
1317@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT syslog_win32.o -MD -MP -MF $(DEPDIR)/syslog_win32.Tpo -c -o syslog_win32.o `test -f 'os_win32/syslog_win32.cpp' || echo '$(srcdir)/'`os_win32/syslog_win32.cpp
1318@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/syslog_win32.Tpo $(DEPDIR)/syslog_win32.Po
1319@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='os_win32/syslog_win32.cpp' object='syslog_win32.o' libtool=no @AMDEPBACKSLASH@
1320@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1321@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o syslog_win32.o `test -f 'os_win32/syslog_win32.cpp' || echo '$(srcdir)/'`os_win32/syslog_win32.cpp
1322
1323syslog_win32.obj: os_win32/syslog_win32.cpp
1324@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT syslog_win32.obj -MD -MP -MF $(DEPDIR)/syslog_win32.Tpo -c -o syslog_win32.obj `if test -f 'os_win32/syslog_win32.cpp'; then $(CYGPATH_W) 'os_win32/syslog_win32.cpp'; else $(CYGPATH_W) '$(srcdir)/os_win32/syslog_win32.cpp'; fi`
1325@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/syslog_win32.Tpo $(DEPDIR)/syslog_win32.Po
1326@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='os_win32/syslog_win32.cpp' object='syslog_win32.obj' libtool=no @AMDEPBACKSLASH@
1327@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1328@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o syslog_win32.obj `if test -f 'os_win32/syslog_win32.cpp'; then $(CYGPATH_W) 'os_win32/syslog_win32.cpp'; else $(CYGPATH_W) '$(srcdir)/os_win32/syslog_win32.cpp'; fi`
1329
1330.s.o:
1331 $(AM_V_CCAS)$(CCASCOMPILE) -c -o $@ $<
1332
1333.s.obj:
1334 $(AM_V_CCAS)$(CCASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
1335install-man5: $(man_MANS)
1336 @$(NORMAL_INSTALL)
1337 @list1=''; \
1338 list2='$(man_MANS)'; \
1339 test -n "$(man5dir)" \
1340 && test -n "`echo $$list1$$list2`" \
1341 || exit 0; \
1342 echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \
1343 $(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \
1344 { for i in $$list1; do echo "$$i"; done; \
1345 if test -n "$$list2"; then \
1346 for i in $$list2; do echo "$$i"; done \
1347 | sed -n '/\.5[a-z]*$$/p'; \
1348 fi; \
1349 } | while read p; do \
1350 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1351 echo "$$d$$p"; echo "$$p"; \
1352 done | \
1353 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
1354 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1355 sed 'N;N;s,\n, ,g' | { \
1356 list=; while read file base inst; do \
1357 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1358 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
1359 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
1360 fi; \
1361 done; \
1362 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1363 while read files; do \
1364 test -z "$$files" || { \
1365 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
1366 $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
1367 done; }
1368
1369uninstall-man5:
1370 @$(NORMAL_UNINSTALL)
1371 @list=''; test -n "$(man5dir)" || exit 0; \
1372 files=`{ for i in $$list; do echo "$$i"; done; \
1373 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1374 sed -n '/\.5[a-z]*$$/p'; \
1375 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
1376 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1377 dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir)
1378install-man8: $(man_MANS)
1379 @$(NORMAL_INSTALL)
1380 @list1=''; \
1381 list2='$(man_MANS)'; \
1382 test -n "$(man8dir)" \
1383 && test -n "`echo $$list1$$list2`" \
1384 || exit 0; \
1385 echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
1386 $(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
1387 { for i in $$list1; do echo "$$i"; done; \
1388 if test -n "$$list2"; then \
1389 for i in $$list2; do echo "$$i"; done \
1390 | sed -n '/\.8[a-z]*$$/p'; \
1391 fi; \
1392 } | while read p; do \
1393 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1394 echo "$$d$$p"; echo "$$p"; \
1395 done | \
1396 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
1397 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1398 sed 'N;N;s,\n, ,g' | { \
1399 list=; while read file base inst; do \
1400 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1401 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
1402 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
1403 fi; \
1404 done; \
1405 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1406 while read files; do \
1407 test -z "$$files" || { \
1408 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
1409 $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
1410 done; }
1411
1412uninstall-man8:
1413 @$(NORMAL_UNINSTALL)
1414 @list=''; test -n "$(man8dir)" || exit 0; \
1415 files=`{ for i in $$list; do echo "$$i"; done; \
1416 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1417 sed -n '/\.8[a-z]*$$/p'; \
1418 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
1419 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
1420 dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
1421install-docsDATA: $(docs_DATA)
1422 @$(NORMAL_INSTALL)
1423 @list='$(docs_DATA)'; test -n "$(docsdir)" || list=; \
1424 if test -n "$$list"; then \
1425 echo " $(MKDIR_P) '$(DESTDIR)$(docsdir)'"; \
1426 $(MKDIR_P) "$(DESTDIR)$(docsdir)" || exit 1; \
1427 fi; \
1428 for p in $$list; do \
1429 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1430 echo "$$d$$p"; \
1431 done | $(am__base_list) | \
1432 while read files; do \
1433 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsdir)'"; \
1434 $(INSTALL_DATA) $$files "$(DESTDIR)$(docsdir)" || exit $$?; \
1435 done
1436
1437uninstall-docsDATA:
1438 @$(NORMAL_UNINSTALL)
1439 @list='$(docs_DATA)'; test -n "$(docsdir)" || list=; \
1440 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1441 dir='$(DESTDIR)$(docsdir)'; $(am__uninstall_files_from_dir)
1442install-drivedbDATA: $(drivedb_DATA)
1443 @$(NORMAL_INSTALL)
1444 @list='$(drivedb_DATA)'; test -n "$(drivedbdir)" || list=; \
1445 if test -n "$$list"; then \
1446 echo " $(MKDIR_P) '$(DESTDIR)$(drivedbdir)'"; \
1447 $(MKDIR_P) "$(DESTDIR)$(drivedbdir)" || exit 1; \
1448 fi; \
1449 for p in $$list; do \
1450 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1451 echo "$$d$$p"; \
1452 done | $(am__base_list) | \
1453 while read files; do \
1454 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(drivedbdir)'"; \
1455 $(INSTALL_DATA) $$files "$(DESTDIR)$(drivedbdir)" || exit $$?; \
1456 done
1457
1458uninstall-drivedbDATA:
1459 @$(NORMAL_UNINSTALL)
1460 @list='$(drivedb_DATA)'; test -n "$(drivedbdir)" || list=; \
1461 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1462 dir='$(DESTDIR)$(drivedbdir)'; $(am__uninstall_files_from_dir)
1463install-examplesDATA: $(examples_DATA)
1464 @$(NORMAL_INSTALL)
1465 @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \
1466 if test -n "$$list"; then \
1467 echo " $(MKDIR_P) '$(DESTDIR)$(examplesdir)'"; \
1468 $(MKDIR_P) "$(DESTDIR)$(examplesdir)" || exit 1; \
1469 fi; \
1470 for p in $$list; do \
1471 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1472 echo "$$d$$p"; \
1473 done | $(am__base_list) | \
1474 while read files; do \
1475 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(examplesdir)'"; \
1476 $(INSTALL_DATA) $$files "$(DESTDIR)$(examplesdir)" || exit $$?; \
1477 done
1478
1479uninstall-examplesDATA:
1480 @$(NORMAL_UNINSTALL)
1481 @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \
1482 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1483 dir='$(DESTDIR)$(examplesdir)'; $(am__uninstall_files_from_dir)
1484install-systemdsystemunitDATA: $(systemdsystemunit_DATA)
1485 @$(NORMAL_INSTALL)
1486 @list='$(systemdsystemunit_DATA)'; test -n "$(systemdsystemunitdir)" || list=; \
1487 if test -n "$$list"; then \
1488 echo " $(MKDIR_P) '$(DESTDIR)$(systemdsystemunitdir)'"; \
1489 $(MKDIR_P) "$(DESTDIR)$(systemdsystemunitdir)" || exit 1; \
1490 fi; \
1491 for p in $$list; do \
1492 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1493 echo "$$d$$p"; \
1494 done | $(am__base_list) | \
1495 while read files; do \
1496 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(systemdsystemunitdir)'"; \
1497 $(INSTALL_DATA) $$files "$(DESTDIR)$(systemdsystemunitdir)" || exit $$?; \
1498 done
1499
1500uninstall-systemdsystemunitDATA:
1501 @$(NORMAL_UNINSTALL)
1502 @list='$(systemdsystemunit_DATA)'; test -n "$(systemdsystemunitdir)" || list=; \
1503 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1504 dir='$(DESTDIR)$(systemdsystemunitdir)'; $(am__uninstall_files_from_dir)
1505
1506ID: $(am__tagged_files)
1507 $(am__define_uniq_tagged_files); mkid -fID $$unique
1508tags: tags-am
1509TAGS: tags
1510
1511tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1512 set x; \
1513 here=`pwd`; \
1514 $(am__define_uniq_tagged_files); \
1515 shift; \
1516 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1517 test -n "$$unique" || unique=$$empty_fix; \
1518 if test $$# -gt 0; then \
1519 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1520 "$$@" $$unique; \
1521 else \
1522 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1523 $$unique; \
1524 fi; \
1525 fi
1526ctags: ctags-am
1527
1528CTAGS: ctags
1529ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1530 $(am__define_uniq_tagged_files); \
1531 test -z "$(CTAGS_ARGS)$$unique" \
1532 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1533 $$unique
1534
1535GTAGS:
1536 here=`$(am__cd) $(top_builddir) && pwd` \
1537 && $(am__cd) $(top_srcdir) \
1538 && gtags -i $(GTAGS_ARGS) "$$here"
1539cscope: cscope.files
1540 test ! -s cscope.files \
1541 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1542clean-cscope:
1543 -rm -f cscope.files
1544cscope.files: clean-cscope cscopelist
1545cscopelist: cscopelist-am
1546
1547cscopelist-am: $(am__tagged_files)
1548 list='$(am__tagged_files)'; \
1549 case "$(srcdir)" in \
1550 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1551 *) sdir=$(subdir)/$(srcdir) ;; \
1552 esac; \
1553 for i in $$list; do \
1554 if test -f "$$i"; then \
1555 echo "$(subdir)/$$i"; \
1556 else \
1557 echo "$$sdir/$$i"; \
1558 fi; \
1559 done >> $(top_builddir)/cscope.files
1560
1561distclean-tags:
1562 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1563 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1564
1565distdir: $(DISTFILES)
1566 $(am__remove_distdir)
1567 test -d "$(distdir)" || mkdir "$(distdir)"
1568 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1569 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1570 list='$(DISTFILES)'; \
1571 dist_files=`for file in $$list; do echo $$file; done | \
1572 sed -e "s|^$$srcdirstrip/||;t" \
1573 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1574 case $$dist_files in \
1575 */*) $(MKDIR_P) `echo "$$dist_files" | \
1576 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1577 sort -u` ;; \
1578 esac; \
1579 for file in $$dist_files; do \
1580 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1581 if test -d $$d/$$file; then \
1582 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1583 if test -d "$(distdir)/$$file"; then \
1584 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1585 fi; \
1586 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1587 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1588 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1589 fi; \
1590 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1591 else \
1592 test -f "$(distdir)/$$file" \
1593 || cp -p $$d/$$file "$(distdir)/$$file" \
1594 || exit 1; \
1595 fi; \
1596 done
1597 -test -n "$(am__skip_mode_fix)" \
1598 || find "$(distdir)" -type d ! -perm -755 \
1599 -exec chmod u+rwx,go+rx {} \; -o \
1600 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1601 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1602 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1603 || chmod -R a+r "$(distdir)"
1604dist-gzip: distdir
1605 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
1606 $(am__post_remove_distdir)
1607
1608dist-bzip2: distdir
1609 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1610 $(am__post_remove_distdir)
1611
1612dist-lzip: distdir
1613 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1614 $(am__post_remove_distdir)
1615
1616dist-xz: distdir
1617 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1618 $(am__post_remove_distdir)
1619
1620dist-tarZ: distdir
1621 @echo WARNING: "Support for distribution archives compressed with" \
1622 "legacy program 'compress' is deprecated." >&2
1623 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1624 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1625 $(am__post_remove_distdir)
1626
1627dist-shar: distdir
1628 @echo WARNING: "Support for shar distribution archives is" \
1629 "deprecated." >&2
1630 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1631 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
1632 $(am__post_remove_distdir)
1633
1634dist-zip: distdir
1635 -rm -f $(distdir).zip
1636 zip -rq $(distdir).zip $(distdir)
1637 $(am__post_remove_distdir)
1638
1639dist dist-all:
1640 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1641 $(am__post_remove_distdir)
1642
1643# This target untars the dist file and tries a VPATH configuration. Then
1644# it guarantees that the distribution is self-contained by making another
1645# tarfile.
1646distcheck: dist
1647 case '$(DIST_ARCHIVES)' in \
1648 *.tar.gz*) \
1649 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
1650 *.tar.bz2*) \
1651 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1652 *.tar.lz*) \
1653 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1654 *.tar.xz*) \
1655 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1656 *.tar.Z*) \
1657 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1658 *.shar.gz*) \
1659 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
1660 *.zip*) \
1661 unzip $(distdir).zip ;;\
1662 esac
1663 chmod -R a-w $(distdir)
1664 chmod u+w $(distdir)
1665 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1666 chmod a-w $(distdir)
1667 test -d $(distdir)/_build || exit 0; \
1668 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1669 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1670 && am__cwd=`pwd` \
1671 && $(am__cd) $(distdir)/_build/sub \
1672 && ../../configure \
1673 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1674 $(DISTCHECK_CONFIGURE_FLAGS) \
1675 --srcdir=../.. --prefix="$$dc_install_base" \
1676 && $(MAKE) $(AM_MAKEFLAGS) \
1677 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1678 && $(MAKE) $(AM_MAKEFLAGS) check \
1679 && $(MAKE) $(AM_MAKEFLAGS) install \
1680 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1681 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1682 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1683 distuninstallcheck \
1684 && chmod -R a-w "$$dc_install_base" \
1685 && ({ \
1686 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1687 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1688 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1689 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1690 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1691 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1692 && rm -rf "$$dc_destdir" \
1693 && $(MAKE) $(AM_MAKEFLAGS) dist \
1694 && rm -rf $(DIST_ARCHIVES) \
1695 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1696 && cd "$$am__cwd" \
1697 || exit 1
1698 $(am__post_remove_distdir)
1699 @(echo "$(distdir) archives ready for distribution: "; \
1700 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1701 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1702distuninstallcheck:
1703 @test -n '$(distuninstallcheck_dir)' || { \
1704 echo 'ERROR: trying to run $@ with an empty' \
1705 '$$(distuninstallcheck_dir)' >&2; \
1706 exit 1; \
1707 }; \
1708 $(am__cd) '$(distuninstallcheck_dir)' || { \
1709 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1710 exit 1; \
1711 }; \
1712 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1713 || { echo "ERROR: files left after uninstall:" ; \
1714 if test -n "$(DESTDIR)"; then \
1715 echo " (check DESTDIR support)"; \
1716 fi ; \
1717 $(distuninstallcheck_listfiles) ; \
1718 exit 1; } >&2
1719distcleancheck: distclean
1720 @if test '$(srcdir)' = . ; then \
1721 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1722 exit 1 ; \
1723 fi
1724 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1725 || { echo "ERROR: files left in build directory after distclean:" ; \
1726 $(distcleancheck_listfiles) ; \
1727 exit 1; } >&2
1728check-am: all-am
1729check: check-am
1730@OS_SOLARIS_FALSE@all-local:
1731all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) config.h \
1732 all-local
1733installdirs: installdirs-local
1734 for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(examplesdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(smartdscriptdir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(docsdir)" "$(DESTDIR)$(drivedbdir)" "$(DESTDIR)$(examplesdir)" "$(DESTDIR)$(initddir)" "$(DESTDIR)$(sysconfdir)" "$(DESTDIR)$(systemdsystemunitdir)"; do \
1735 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1736 done
1737install: install-am
1738install-exec: install-exec-am
1739install-data: install-data-am
1740uninstall: uninstall-am
1741
1742install-am: all-am
1743 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1744
1745installcheck: installcheck-am
1746install-strip:
1747 if test -z '$(STRIP)'; then \
1748 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1749 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1750 install; \
1751 else \
1752 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1753 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1754 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1755 fi
1756mostlyclean-generic:
1757
1758clean-generic:
1759 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1760
1761distclean-generic:
1762 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1763 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1764
1765maintainer-clean-generic:
1766 @echo "This command is intended for maintainers to use"
1767 @echo "it deletes files that may require special tools to rebuild."
1768 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1769clean: clean-am
1770
1771clean-am: clean-generic clean-sbinPROGRAMS mostlyclean-am
1772
1773distclean: distclean-am
1774 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1775 -rm -rf ./$(DEPDIR)
1776 -rm -f Makefile
1777distclean-am: clean-am distclean-compile distclean-generic \
1778 distclean-hdr distclean-tags
1779
1780dvi: dvi-am
1781
1782dvi-am:
1783
1784html: html-am
1785
1786html-am:
1787
1788info: info-am
1789
1790info-am:
1791
1792install-data-am: install-data-local install-docsDATA \
1793 install-drivedbDATA install-examplesDATA \
1794 install-examplesSCRIPTS install-initdDATA install-man \
1795 install-smartdscriptSCRIPTS install-systemdsystemunitDATA
1796
1797install-dvi: install-dvi-am
1798
1799install-dvi-am:
1800
1801install-exec-am: install-sbinPROGRAMS install-sbinSCRIPTS \
1802 install-sysconfDATA
1803
1804install-html: install-html-am
1805
1806install-html-am:
1807
1808install-info: install-info-am
1809
1810install-info-am:
1811
1812@OS_SOLARIS_FALSE@install-man: install-man5 install-man8
1813
1814install-pdf: install-pdf-am
1815
1816install-pdf-am:
1817
1818install-ps: install-ps-am
1819
1820install-ps-am:
1821
1822installcheck-am:
1823
1824maintainer-clean: maintainer-clean-am
1825 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1826 -rm -rf $(top_srcdir)/autom4te.cache
1827 -rm -rf ./$(DEPDIR)
1828 -rm -f Makefile
1829maintainer-clean-am: distclean-am maintainer-clean-generic
1830
1831mostlyclean: mostlyclean-am
1832
1833mostlyclean-am: mostlyclean-compile mostlyclean-generic
1834
1835pdf: pdf-am
1836
1837pdf-am:
1838
1839ps: ps-am
1840
1841ps-am:
1842
1843uninstall-am: uninstall-docsDATA uninstall-drivedbDATA \
1844 uninstall-examplesDATA uninstall-examplesSCRIPTS \
1845 uninstall-initdDATA uninstall-man uninstall-sbinPROGRAMS \
1846 uninstall-sbinSCRIPTS uninstall-smartdscriptSCRIPTS \
1847 uninstall-sysconfDATA uninstall-systemdsystemunitDATA
1848
1849@OS_SOLARIS_FALSE@uninstall-man: uninstall-man5 uninstall-man8
1850
1851.MAKE: all install-am install-strip
1852
1853.PHONY: CTAGS GTAGS TAGS all all-am all-local am--refresh check \
1854 check-am clean clean-cscope clean-generic clean-sbinPROGRAMS \
1855 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1856 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
1857 distcheck distclean distclean-compile distclean-generic \
1858 distclean-hdr distclean-tags distcleancheck distdir \
1859 distuninstallcheck dvi dvi-am html html-am info info-am \
1860 install install-am install-data install-data-am \
1861 install-data-local install-docsDATA install-drivedbDATA \
1862 install-dvi install-dvi-am install-examplesDATA \
1863 install-examplesSCRIPTS install-exec install-exec-am \
1864 install-html install-html-am install-info install-info-am \
1865 install-initdDATA install-man install-man5 install-man8 \
1866 install-pdf install-pdf-am install-ps install-ps-am \
1867 install-sbinPROGRAMS install-sbinSCRIPTS \
1868 install-smartdscriptSCRIPTS install-strip install-sysconfDATA \
1869 install-systemdsystemunitDATA installcheck installcheck-am \
1870 installdirs installdirs-local maintainer-clean \
1871 maintainer-clean-generic mostlyclean mostlyclean-compile \
1872 mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
1873 uninstall-am uninstall-docsDATA uninstall-drivedbDATA \
1874 uninstall-examplesDATA uninstall-examplesSCRIPTS \
1875 uninstall-initdDATA uninstall-man uninstall-man5 \
1876 uninstall-man8 uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS \
1877 uninstall-smartdscriptSCRIPTS uninstall-sysconfDATA \
1878 uninstall-systemdsystemunitDATA
1879
1880.PRECIOUS: Makefile
1881
1882
1883@SET_MAKE@
1884
1885@OS_SOLARIS_TRUE@all-local: $(extra_MANS)
1886@OS_SOLARIS_TRUE@install-man: $(extra_MANS)
1887@OS_SOLARIS_TRUE@ @$(NORMAL_INSTALL)
1888@OS_SOLARIS_TRUE@ $(MKDIR_P) '$(DESTDIR)$(mandir)/man4'
1889@OS_SOLARIS_TRUE@ $(MKDIR_P) '$(DESTDIR)$(mandir)/man1m'
1890@OS_SOLARIS_TRUE@ for i in $(extra_MANS); do \
1891@OS_SOLARIS_TRUE@ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
1892@OS_SOLARIS_TRUE@ else file=$$i; fi; \
1893@OS_SOLARIS_TRUE@ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
1894@OS_SOLARIS_TRUE@ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
1895@OS_SOLARIS_TRUE@ inst=`echo $$inst | sed -e 's/^.*\///'`; \
1896@OS_SOLARIS_TRUE@ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
1897@OS_SOLARIS_TRUE@ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(mandir)/man$$ext/$$inst'"; \
1898@OS_SOLARIS_TRUE@ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(mandir)/man$$ext/$$inst"; \
1899@OS_SOLARIS_TRUE@ done
1900@OS_SOLARIS_TRUE@uninstall-man:
1901@OS_SOLARIS_TRUE@ @$(NORMAL_UNINSTALL)
1902@OS_SOLARIS_TRUE@ for i in $(extra_MANS); do \
1903@OS_SOLARIS_TRUE@ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
1904@OS_SOLARIS_TRUE@ else file=$$i; fi; \
1905@OS_SOLARIS_TRUE@ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
1906@OS_SOLARIS_TRUE@ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
1907@OS_SOLARIS_TRUE@ inst=`echo $$inst | sed -e 's/^.*\///'`; \
1908@OS_SOLARIS_TRUE@ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
1909@OS_SOLARIS_TRUE@ echo " rm -f '$(DESTDIR)$(mandir)/man$$ext/$$inst'"; \
1910@OS_SOLARIS_TRUE@ rm -f "$(DESTDIR)$(mandir)/man$$ext/$$inst"; \
1911@OS_SOLARIS_TRUE@ done
1912
1913# If modified smartd.conf exists install smartd.conf.sample instead
1914install-sysconfDATA: $(sysconf_DATA)
1915 $(MKDIR_P) '$(DESTDIR)$(sysconfdir)'
1916 @s="$(srcdir)/smartd.conf"; \
1917 f="$(DESTDIR)$(sysconfdir)/smartd.conf$(smartd_suffix)"; \
1918 if test -z "$(smartd_suffix)" && test -f "$$f"; then \
1919 if cmp "$$s" "$$f" >/dev/null 2>/dev/null; then :; else \
1920 echo "************************************************************"; \
1921 echo "*** $$f preserved"; \
1922 echo "*** installing smartd.conf.sample instead"; \
1923 echo "************************************************************"; \
1924 f="$$f".sample; \
1925 fi; \
1926 fi; \
1927 echo " $(INSTALL_DATA) '$$s' '$$f'"; \
1928 $(INSTALL_DATA) "$$s" "$$f"
1929
1930# If smartd.conf.sample exists preserve smartd.conf
1931uninstall-sysconfDATA:
1932 @f="$(DESTDIR)$(sysconfdir)/smartd.conf$(smartd_suffix)"; \
1933 if test -z "$(smartd_suffix)" && test -f "$$f".sample; then \
1934 echo "************************************************************"; \
1935 echo "*** $$f preserved"; \
1936 echo "*** removing smartd.conf.sample instead"; \
1937 echo "************************************************************"; \
1938 f="$$f".sample; \
1939 fi; \
1940 echo " rm -f '$$f'"; \
1941 rm -f "$$f"
1942
ff28b140 1943smartctl.o utility.o: svnversion.h
f9e10201
JD
1944
1945# Get version info from SVN
1946@IS_SVN_BUILD_TRUE@svnversion.h: ChangeLog Makefile $(svn_deps)
1947@IS_SVN_BUILD_TRUE@ @echo ' svn info | $$(VERSION_FROM_SVN_INFO) > $@'
1948@IS_SVN_BUILD_TRUE@ @echo '/* svnversion.h. Generated by Makefile from svn info. */' > $@
1949@IS_SVN_BUILD_TRUE@ @(cd $(srcdir) \
1950@IS_SVN_BUILD_TRUE@ && svnversion 2>/dev/null | sed -n 's,^\([0-9].*\),REV "\1",p' \
1951@IS_SVN_BUILD_TRUE@ && TZ= LC_ALL=C svn info 2>/dev/null \
1952@IS_SVN_BUILD_TRUE@ | sed -n 'h;s,^.* Date: *\([^ ]*\) .*$$,DATE "\1",p;g;s,^.* Date: *[^ ]* *\([^ ]*\) .*$$,TIME "\1",p') \
1953@IS_SVN_BUILD_TRUE@ | sed 's,^,#define SMARTMONTOOLS_SVN_,' >> $@
1954
1955# SVN not available, guess version info from Id strings
1956@IS_SVN_BUILD_FALSE@svnversion.h: ChangeLog Makefile NEWS
1957@IS_SVN_BUILD_FALSE@ @echo ' cat ChangeLog NEWS $$(SOURCES) | $$(VERSION_FROM_SVN_IDS) > $@'
1958@IS_SVN_BUILD_FALSE@ @echo '/* svnversion.h. Generated by Makefile from Id strings. */' > $@
1959@IS_SVN_BUILD_FALSE@ @(cd $(srcdir) && cat ChangeLog NEWS Makefile.am configure.ac smart*.in *.cpp *.h) \
1960@IS_SVN_BUILD_FALSE@ | sed -n 's,^.*\$$[I][d]: [^ ]* \([0-9][0-9]* [0-9][-0-9]* [0-9][:0-9]*\)[^:0-9][^$$]*\$$.*$$,\1,p' \
1961@IS_SVN_BUILD_FALSE@ | sort -n -r \
1962@IS_SVN_BUILD_FALSE@ | sed -n 'h;s,^\([^ ]*\) .*$$,REV "\1",p;g;s,^[^ ]* \([^ ]*\) .*$$,DATE "\1",p;g;s,^[^ ]* [^ ]* \([^ ]*\)$$,TIME "\1",p;q' \
1963@IS_SVN_BUILD_FALSE@ | sed 's,^,#define SMARTMONTOOLS_SVN_,' >> $@
1964
1965update-smart-drivedb: update-smart-drivedb.in config.status
1966 $(SHELL) ./config.status --file=$@
1967 chmod +x $@
1968
1969smartd_warning.sh: smartd_warning.sh.in config.status
1970 $(SHELL) ./config.status --file=$@
1971 chmod +x $@
1972
1973@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@com.smartmontools.smartd.plist : os_darwin/com.smartmontools.smartd.plist.in
1974@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@ sed "s|/usr/sbin/|$(sbindir)/|" $< > $@
1975
1976@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@install-initdDATA-darwin: $(initd_DATA)
1977@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@ $(MKDIR_P) '$(DESTDIR)$(initddir)'
1978@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@ $(INSTALL_DATA) $(top_builddir)/$(initd_DATA) $(DESTDIR)$(initddir)/$(initd_DATA)
1979
1980@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@uninstall-initdDATA-darwin:
1981@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@ rm -f $(DESTDIR)$(initddir)/$(initd_DATA)
1982
1983@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@$(initdfile): $(srcdir)/$(initdfile).in Makefile
1984@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@ sed 's|/usr/local/sbin/|$(sbindir)/|g' $(srcdir)/$(initdfile).in > $@
1985
1986@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@install-initdDATA-generic: $(initd_DATA)
1987@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@ $(MKDIR_P) '$(DESTDIR)$(initddir)'
1988@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@ $(INSTALL_SCRIPT) '$(top_builddir)/$(initdfile)' '$(DESTDIR)$(initddir)/smartd$(smartd_suffix)'
1989
1990@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@uninstall-initdDATA-generic:
1991@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@ rm -f '$(DESTDIR)$(initddir)/$(initd_install_name)'
1992
1993@INSTALL_INITSCRIPT_FALSE@install-initdDATA-null:
1994@INSTALL_INITSCRIPT_FALSE@uninstall-initdDATA-null:
1995
1996install-initdDATA : $(initd_DATA_install)
1997
1998uninstall-initdDATA: $(initd_DATA_uninstall)
1999
2000smartd.service: smartd.service.in Makefile
2001 @echo ' $$(SMARTD_SERVICE_FILTER) < $(srcdir)/smartd.service.in > $@'
2002 @{ \
2003 sed 's|/usr/local/sbin/smartd|$(sbindir)/smartd|' | \
2004 if test -n '$(systemdenvfile)'; then \
2005 sed 's|/usr/local/etc/sysconfig/smartmontools|$(systemdenvfile)|'; \
2006 else \
2007 sed -e '/^EnvironmentFile=/d' -e 's| *\$$smartd[_a-z]* *||g'; \
2008 fi; } < $(srcdir)/smartd.service.in > $@
2009
2010# Create empty directories if configured.
2011# Default install rules no longer create empty directories since automake 1.11.
2012installdirs-local:
2013 @for d in '$(smartdplugindir)' '$(savestatesdir)' '$(attributelogdir)'; do \
2014 test -n "$$d" || continue; \
2015 echo " $(MKDIR_P) '$(DESTDIR)$$d'"; \
2016 $(MKDIR_P) "$(DESTDIR)$$d" || exit 1; \
2017 done
2018
2019install-data-local: installdirs-local
2020
2021# Implicit rule 'smart%: smart%.in ...' does not work with BSD make
2022smartctl.8: smartctl.8.in Makefile svnversion.h
2023 @echo ' $$(MAN_FILTER) < $(srcdir)/smartctl.8.in > $@'
2024 @$(MAN_FILTER) < $(srcdir)/smartctl.8.in > $@
2025
2026smartd.8: smartd.8.in Makefile svnversion.h
2027 @echo ' $$(MAN_FILTER) < $(srcdir)/smartd.8.in > $@'
2028 @$(MAN_FILTER) < $(srcdir)/smartd.8.in > $@
2029
2030smartd.conf.5: smartd.conf.5.in Makefile svnversion.h
2031 @echo ' $$(MAN_FILTER) < $(srcdir)/smartd.conf.5.in > $@'
2032 @$(MAN_FILTER) < $(srcdir)/smartd.conf.5.in > $@
2033
2034update-smart-drivedb.8: update-smart-drivedb.8.in Makefile svnversion.h
2035 @echo ' $$(MAN_FILTER) < $(srcdir)/update-smart-drivedb.8.in > $@'
2036 @$(MAN_FILTER) < $(srcdir)/update-smart-drivedb.8.in > $@
2037
2038smartctl.1m: smartctl.8
2039 @echo ' $$(SOLARIS_MAN_FILTER) < smartctl.8 > $@'
2040 @$(SOLARIS_MAN_FILTER) < smartctl.8 > $@
2041
2042smartd.1m: smartd.8
2043 @echo ' $$(SOLARIS_MAN_FILTER) < smartd.8 > $@'
2044 @$(SOLARIS_MAN_FILTER) < smartd.8 > $@
2045
2046smartd.conf.4: smartd.conf.5
2047 @echo ' $$(SOLARIS_MAN_FILTER) < smartd.conf.5 > $@'
2048 @$(SOLARIS_MAN_FILTER) < smartd.conf.5 > $@
2049
2050update-smart-drivedb.1m: update-smart-drivedb.8
2051 @echo ' $$(SOLARIS_MAN_FILTER) < update-smart-drivedb.8 > $@'
2052 @$(SOLARIS_MAN_FILTER) < update-smart-drivedb.8 > $@
2053
2054htmlman: smartctl.8.html smartd.8.html smartd.conf.5.html update-smart-drivedb.8.html
2055
2056pdfman: smartctl.8.pdf smartd.8.pdf smartd.conf.5.pdf update-smart-drivedb.8.pdf
2057
2058txtman: smartctl.8.txt smartd.8.txt smartd.conf.5.txt update-smart-drivedb.8.txt
2059
2060%.5.html: %.5
2061 $(MAN2HTML) $< > $@.tmp
2062 @echo ' $$(FIXHTML) < $@.tmp > $@'
2063 @$(FIXHTML) < $@.tmp > $@
2064
2065%.8.html: %.8
2066 $(MAN2HTML) $< > $@.tmp
2067 @echo ' $$(FIXHTML) < $@.tmp > $@'
2068 @$(FIXHTML) < $@.tmp > $@
2069
2070%.5.pdf: %.5
2071 $(MAN2PDF) $< > $@
2072
2073%.8.pdf: %.8
2074 $(MAN2PDF) $< > $@
2075
2076%.5.txt: %.5
2077 $(MAN2TXT) $< > $@
2078
2079%.8.txt: %.8
2080 $(MAN2TXT) $< > $@
2081
2082# Check drive database syntax
2083check:
2084 @if ./smartctl -B $(srcdir)/drivedb.h -P showall >/dev/null; then \
2085 echo "$(srcdir)/drivedb.h: OK"; \
2086 else \
2087 echo "$(srcdir)/drivedb.h: Syntax check failed"; exit 1; \
2088 fi
2089
2090# Windows resources
2091
2092@OS_WIN32_MINGW_TRUE@smartctl_res.o: smartctl_res.rc $(os_win32_manifest)
2093@OS_WIN32_MINGW_TRUE@ $(WINDRES) $< $@
2094
2095@OS_WIN32_MINGW_TRUE@smartd_res.o: smartd_res.rc syslogevt.rc $(os_win32_manifest)
2096@OS_WIN32_MINGW_TRUE@ $(WINDRES) $< $@
2097
2098@OS_WIN32_MINGW_TRUE@runcmda_res.o: runcmda_res.rc defadmin.manifest
2099@OS_WIN32_MINGW_TRUE@ $(WINDRES) $< $@
2100
2101@OS_WIN32_MINGW_TRUE@runcmdu_res.o: runcmdu_res.rc $(os_win32_manifest)
2102@OS_WIN32_MINGW_TRUE@ $(WINDRES) $< $@
2103
2104@OS_WIN32_MINGW_TRUE@wtssendmsg_res.o: wtssendmsg_res.rc $(os_win32_manifest)
2105@OS_WIN32_MINGW_TRUE@ $(WINDRES) $< $@
2106
2107@OS_WIN32_MINGW_TRUE@smartctl_res.rc: os_win32/versioninfo.rc.in Makefile svnversion.h
2108@OS_WIN32_MINGW_TRUE@ @n=smartctl d="Control and Monitor Utility for SMART Disks"; $(WIN_MAKE_RES)
2109@OS_WIN32_MINGW_TRUE@ @$(WIN_APP_MANIFEST)
2110
2111@OS_WIN32_MINGW_TRUE@smartd_res.rc: os_win32/versioninfo.rc.in Makefile svnversion.h
2112@OS_WIN32_MINGW_TRUE@ @n=smartd d="SMART Disk Monitoring Daemon"; $(WIN_MAKE_RES)
2113@OS_WIN32_MINGW_TRUE@ echo '#include "./syslogevt.rc"' >> $@
2114@OS_WIN32_MINGW_TRUE@ @$(WIN_APP_MANIFEST)
2115
2116@OS_WIN32_MINGW_TRUE@runcmdu_res.rc: os_win32/versioninfo.rc.in Makefile svnversion.h
2117@OS_WIN32_MINGW_TRUE@ @n=runcmdu d="Run console command"; $(WIN_MAKE_RES)
2118@OS_WIN32_MINGW_TRUE@ @$(WIN_APP_MANIFEST)
2119
2120@OS_WIN32_MINGW_TRUE@runcmda_res.rc: os_win32/versioninfo.rc.in Makefile svnversion.h
2121@OS_WIN32_MINGW_TRUE@ @n=runcmda d="Run console command as admin"; $(WIN_MAKE_RES)
2122@OS_WIN32_MINGW_TRUE@ echo '1 24 "./defadmin.manifest"' >> $@
2123
2124@OS_WIN32_MINGW_TRUE@wtssendmsg_res.rc: os_win32/versioninfo.rc.in Makefile svnversion.h
2125@OS_WIN32_MINGW_TRUE@ @n=wtssendmsg d="Send console messages"; $(WIN_MAKE_RES)
2126@OS_WIN32_MINGW_TRUE@ @$(WIN_APP_MANIFEST)
2127
2128@OS_WIN32_MINGW_TRUE@syslogevt.rc: os_win32/syslogevt.mc
2129@OS_WIN32_MINGW_TRUE@ $(WINDMC) -b $<
2130
2131@OS_WIN32_MINGW_TRUE@defadmin.manifest: os_win32/default.manifest
2132@OS_WIN32_MINGW_TRUE@ sed 's,"asInvoker","requireAdministrator",' $< > $@
2133
2134# Build Windows distribution
2135
2136@OS_WIN32_MINGW_TRUE@dist-win32: $(distzip_win32)
2137
2138@OS_WIN32_MINGW_TRUE@install-win32: $(distinst_win32)
2139@OS_WIN32_MINGW_TRUE@ ./$(distinst_win32)
2140
2141@OS_WIN32_MINGW_TRUE@installer-win32: $(distinst_win32)
2142
2143@OS_WIN32_MINGW_TRUE@distdir-win32: distdir.mkdir $(FILES_WIN32)
2144
2145@OS_WIN32_MINGW_TRUE@$(distzip_win32): distdir.mkdir $(FILES_WIN32)
2146@OS_WIN32_MINGW_TRUE@ @rm -fv $(distzip_win32)
2147@OS_WIN32_MINGW_TRUE@ cd $(distdir_win32) && zip -9 ../$(distzip_win32) bin/* doc/*
2148@OS_WIN32_MINGW_TRUE@ md5sum $@ > $@.md5
2149@OS_WIN32_MINGW_TRUE@ sha1sum $@ > $@.sha1
2150@OS_WIN32_MINGW_TRUE@ sha256sum $@ > $@.sha256
2151
2152# Build NSIS installer
2153# Note: Only option character '-' is also compatible with Linux version of makensis
ff28b140 2154@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@$(distinst_win32): os_win32/installer.nsi smartctl_res.rc distdir.mkdir $(FILES_WIN32)
f9e10201
JD
2155@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ test -z '$(builddir_win64)' || ( cd $(builddir_win64) && make distdir-win32 )
2156@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ @date=`sed -n 's,^.*DATE[^"]*"\([^"]*\)".*$$,\1,p' svnversion.h` && \
2157@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ rev=`sed -n 's,^.*REV[^"]*"\([^"]*\)".*$$,r\1,p' svnversion.h` && \
ff28b140
TL
2158@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ version=`sed -n 's|^ *VALUE "FileVersion", "\([0-9.]*\)".*$$|\1|p' smartctl_res.rc` && \
2159@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ yy=`echo "$$date" | sed -n 's,^20\([0-9][0-9]\).*$$,\1,p'`; yy="$${yy:-XX}" && \
f9e10201
JD
2160@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ verstr="$(PACKAGE_VERSION) $$date $$rev "$(BUILD_INFO) && \
2161@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ d64= && if [ -n '$(builddir_win64)' ]; then d64='-DINPDIR64=$(builddir_win64)/$(PACKAGE)-$(VERSION).win64'; fi && \
ff28b140
TL
2162@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ echo "'$(MAKENSIS)' -V2 -NOCD -DINPDIR=$(distdir_win32) $$d64 -DOUTFILE=$@ -DVERSION=$$version -DYY=$$yy -DVERSTR='$$verstr' $<" && \
2163@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ '$(MAKENSIS)' -V2 -NOCD -DINPDIR=$(distdir_win32) $$d64 -DOUTFILE=$@ -DVERSION=$$version -DYY=$$yy -DVERSTR="$$verstr" $<
f9e10201
JD
2164@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ md5sum $@ > $@.md5
2165@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ sha1sum $@ > $@.sha1
2166@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ sha256sum $@ > $@.sha256
2167
2168# Build drivedb.h update tool
2169@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@update-smart-drivedb.exe: os_win32/update-smart-drivedb.nsi
2170@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@ "$(MAKENSIS)" -V2 -NOCD -DBRANCH=$(DRIVEDB_BRANCH) $<
2171
2172@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_FALSE@$(distinst_win32):
2173@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_FALSE@ @echo "makensis: command not found. Please install NSIS from http://nsis.sourceforge.net/" 1>&2
2174@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_FALSE@ @exit 1
2175
2176@OS_WIN32_MINGW_TRUE@cleandist-win32:
2177@OS_WIN32_MINGW_TRUE@ rm -rf $(distdir_win32) distdir.mkdir
2178
2179@OS_WIN32_MINGW_TRUE@distdir.mkdir:
2180@OS_WIN32_MINGW_TRUE@ @test -d $(exedir_win32) || mkdir -pv $(exedir_win32)
2181@OS_WIN32_MINGW_TRUE@ @test -d $(docdir_win32) || mkdir -pv $(docdir_win32)
2182@OS_WIN32_MINGW_TRUE@ touch $@
2183
2184@OS_WIN32_MINGW_TRUE@$(exedir_win32)/%.exe: %.exe
2185@OS_WIN32_MINGW_TRUE@ cp -p $< $@
2186@OS_WIN32_MINGW_TRUE@ if test -n '$(STRIP)'; then $(STRIP) -s $@; else strip -s $@; fi
2187@OS_WIN32_MINGW_TRUE@ touch -r $< $@
2188
2189# strip would break NSIS integrity check
2190@OS_WIN32_MINGW_TRUE@$(exedir_win32)/update-smart-drivedb.exe: update-smart-drivedb.exe
2191@OS_WIN32_MINGW_TRUE@ cp -p $< $@
2192
2193@OS_WIN32_MINGW_TRUE@$(exedir_win32)/%.h: $(srcdir)/%.h
2194@OS_WIN32_MINGW_TRUE@ $(UNIX2DOS) < $< > $@
2195@OS_WIN32_MINGW_TRUE@ touch -r $< $@
2196
2197@OS_WIN32_MINGW_TRUE@$(exedir_win32)/%.cmd: $(srcdir)/os_win32/%.cmd
2198@OS_WIN32_MINGW_TRUE@ $(UNIX2DOS) < $< > $@
2199@OS_WIN32_MINGW_TRUE@ touch -r $< $@
2200
2201@OS_WIN32_MINGW_TRUE@$(exedir_win32)/%.ps1: $(srcdir)/os_win32/%.ps1
2202@OS_WIN32_MINGW_TRUE@ $(UNIX2DOS) < $< > $@
2203@OS_WIN32_MINGW_TRUE@ touch -r $< $@
2204
2205@OS_WIN32_MINGW_TRUE@$(docdir_win32)/%.html: %.html
2206@OS_WIN32_MINGW_TRUE@ $(UNIX2DOS) < $< > $@
2207@OS_WIN32_MINGW_TRUE@ touch -r $< $@
2208
2209@OS_WIN32_MINGW_TRUE@$(docdir_win32)/%.pdf: %.pdf
2210@OS_WIN32_MINGW_TRUE@ cp -p $< $@
2211
2212@OS_WIN32_MINGW_TRUE@$(docdir_win32)/%.txt: $(srcdir)/%
2213@OS_WIN32_MINGW_TRUE@ $(UNIX2DOS) < $< > $@
2214@OS_WIN32_MINGW_TRUE@ touch -r $< $@
2215
2216@OS_WIN32_MINGW_TRUE@$(docdir_win32)/%.conf: $(srcdir)/%.conf
2217@OS_WIN32_MINGW_TRUE@ $(UNIX2DOS) < $< > $@
2218@OS_WIN32_MINGW_TRUE@ touch -r $< $@
2219
2220@OS_WIN32_MINGW_TRUE@$(docdir_win32)/checksums$(win_bits).txt: $(EXEFILES_WIN32)
2221@OS_WIN32_MINGW_TRUE@ (cd $(exedir_win32) && md5sum *.exe && sha1sum *.exe && sha256sum *.exe) \
2222@OS_WIN32_MINGW_TRUE@ | $(UNIX2DOS) > $@
2223
2224# Build non-console version of smartctl for GSmartControl.
2225# The script below changes the word at offset 220 (Subsystem) from 3
2226# (Console) to 2 (GUI) in a copy of smartctl.exe.
2227# This will be changed when a tool (like 'editbin') is available in
2228# the Cygwin distribution
2229@OS_WIN32_MINGW_TRUE@smartctl-nc.exe: smartctl.exe
2230@OS_WIN32_MINGW_TRUE@ @rm -f $@
2231@OS_WIN32_MINGW_TRUE@ cp -p smartctl.exe $@.tmp
2232@OS_WIN32_MINGW_TRUE@ @if test `od -A n -j 220 -N 2 -d $@.tmp` -eq 3; then :; \
2233@OS_WIN32_MINGW_TRUE@ else echo "invalid EXE header"; exit 1; fi
2234@OS_WIN32_MINGW_TRUE@ @echo "editbin /subsystem:windows $@.tmp"
2235@OS_WIN32_MINGW_TRUE@ @echo -ne '\002' | dd bs=1 seek=220 count=1 conv=notrunc of=$@.tmp 2>/dev/null
2236@OS_WIN32_MINGW_TRUE@ @if test `od -A n -j 220 -N 2 -d $@.tmp` -eq 2; then :; \
2237@OS_WIN32_MINGW_TRUE@ else echo "EXE patch failed"; exit 1; fi
2238@OS_WIN32_MINGW_TRUE@ mv -f $@.tmp $@
2239
2240# Build runcmd?.exe and wtssendmsg.exe
2241@OS_WIN32_MINGW_TRUE@runcmd.o: os_win32/runcmd.c
2242@OS_WIN32_MINGW_TRUE@ $(CC) -c -Os $<
2243
2244@OS_WIN32_MINGW_TRUE@runcmdu.exe: runcmd.o runcmdu_res.o
2245@OS_WIN32_MINGW_TRUE@ $(CC) -o $@ $^
2246
2247@OS_WIN32_MINGW_TRUE@runcmda.exe: runcmd.o runcmda_res.o
2248@OS_WIN32_MINGW_TRUE@ $(CC) -o $@ $^
2249
2250@OS_WIN32_MINGW_TRUE@wtssendmsg.exe: os_win32/wtssendmsg.c wtssendmsg_res.o
2251@OS_WIN32_MINGW_TRUE@ $(CC) -Os -o $@ $^ -lwtsapi32
2252
2253@OS_WIN32_MINGW_TRUE@config-vc$(vcver): $(CONFIG_VC_FILES)
2254
2255@OS_WIN32_MINGW_TRUE@$(srcdir)/os_win32/vc$(vcver)/config.h: config.h Makefile
2256@OS_WIN32_MINGW_TRUE@ sed -e '1i/* os_win32/vc$(vcver)/config.h. Generated from config.h by Makefile. */' \
ff28b140 2257@OS_WIN32_MINGW_TRUE@ -e 's,^#define HAVE_\(ATTR_PACKED\|GETTIMEOFDAY\|[DK_]*NTDDDISK_H\|LONG_DOUBLE_WIDER\|STRINGS_H\|UNISTD_H\) 1$$,/* #undef HAVE_\1 */ /* VC$(vcver) */,' \
f9e10201
JD
2258@OS_WIN32_MINGW_TRUE@ -e 's,^\(#define SMARTMONTOOLS_BUILD_HOST "[^-]*\)[^"]*,\1-pc-w32vc$(vcver),' $< > $@
2259
2260@OS_WIN32_MINGW_TRUE@$(srcdir)/os_win32/vc$(vcver)/svnversion.h: svnversion.h
2261@OS_WIN32_MINGW_TRUE@ cp $< $@
2262
2263@OS_WIN32_MINGW_TRUE@$(srcdir)/os_win32/vc$(vcver)/smartctl_res.rc: smartctl_res.rc
2264@OS_WIN32_MINGW_TRUE@ sed '/^1 24 /d' $< > $@
2265
2266@OS_WIN32_MINGW_TRUE@$(srcdir)/os_win32/vc$(vcver)/smartd_res.rc: smartd_res.rc
2267@OS_WIN32_MINGW_TRUE@ sed '/^1 24 /d' $< > $@
2268
2269@OS_WIN32_MINGW_TRUE@clean-vc$(vcver):
2270@OS_WIN32_MINGW_TRUE@ rm -f $(srcdir)/os_win32/vc$(vcver)/smartmontools.VC.VC.opendb
2271@OS_WIN32_MINGW_TRUE@ rm -f $(srcdir)/os_win32/vc$(vcver)/smartmontools.VC.db
2272@OS_WIN32_MINGW_TRUE@ rm -f $(srcdir)/os_win32/vc$(vcver)/syslogevt.h
2273@OS_WIN32_MINGW_TRUE@ rm -rf $(srcdir)/os_win32/vc$(vcver)/Debug
2274@OS_WIN32_MINGW_TRUE@ rm -rf $(srcdir)/os_win32/vc$(vcver)/Release
2275@OS_WIN32_MINGW_TRUE@ rm -rf $(srcdir)/os_win32/vc$(vcver)/x64
2276
2277@OS_WIN32_MINGW_TRUE@distclean-vc$(vcver): clean-vc$(vcver)
2278@OS_WIN32_MINGW_TRUE@ rm -f $(CONFIG_VC_FILES)
2279
2280@OS_WIN32_MINGW_TRUE@maintainer-clean-vc$(vcver): distclean-vc$(vcver)
2281@OS_WIN32_MINGW_TRUE@ rm -rf $(srcdir)/os_win32/vc$(vcver)/.vs
2282
2283# build darwin installer
2284@OS_DARWIN_TRUE@$(pkg_darwin):
2285@OS_DARWIN_TRUE@ ${MAKE} install DESTDIR=$(distdir_darwin)/root
2286@OS_DARWIN_TRUE@ @cp $(srcdir)/os_darwin/pkg/root/usr/local/sbin/smart-pkg-uninstall $(distdir_darwin)/root$(sbindir)
2287@OS_DARWIN_TRUE@ @mkdir -p $(distdir_darwin)/pkg
2288@OS_DARWIN_TRUE@ @( cd $(distdir_darwin)/root && find . | cpio -o --format odc --owner 0:80 | gzip -c ) > $(distdir_darwin)/pkg/Payload
2289@OS_DARWIN_TRUE@ PAYLOAD_FILES=`find $(distdir_darwin)/root | wc -l` &&\
2290@OS_DARWIN_TRUE@ PAYLOAD_SIZEKB=`du -BK -s $(distdir_darwin)/root|${AWK} '{print $$1}'|tr -d 'K'` &&\
2291@OS_DARWIN_TRUE@ sed -e "s|@version@|$(VERSION)|" -e "s|@files@|$${PAYLOAD_FILES}|" \
2292@OS_DARWIN_TRUE@ -e "s|@size@|$${PAYLOAD_SIZEKB}|" $(srcdir)/os_darwin/pkg/PackageInfo.in \
2293@OS_DARWIN_TRUE@ > $(distdir_darwin)/pkg/PackageInfo &&\
2294@OS_DARWIN_TRUE@ sed -e "s|@version@|$(VERSION)|" -e "s|@files@|$${PAYLOAD_FILES}|" -e "s|@size@|$${PAYLOAD_SIZEKB}|" \
2295@OS_DARWIN_TRUE@ -e "s|@pkgname@|$(pkg_darwin)|" \
2296@OS_DARWIN_TRUE@ $(srcdir)/os_darwin/pkg/Distribution.in > $(distdir_darwin)/pkg/Distribution
2297@OS_DARWIN_TRUE@ @mkdir -p $(distdir_darwin)/pkg/Resources/English.lproj
2298@OS_DARWIN_TRUE@ @cp $(srcdir)/COPYING $(distdir_darwin)/pkg/Resources/English.lproj/license.txt
2299@OS_DARWIN_TRUE@ @mkbom -u 0 -g 80 $(distdir_darwin)/root $(distdir_darwin)/pkg/Bom
2300@OS_DARWIN_TRUE@ @mkdir -p $(distdir_darwin)/dmg
2301@OS_DARWIN_TRUE@ @( cd $(distdir_darwin)/pkg && xar --compression none -cf "../dmg/$(pkg_darwin)" * )
2302
2303# build darwon dmg image
2304@OS_DARWIN_TRUE@$(dmg_darwin):
2305@OS_DARWIN_TRUE@ @cp $(srcdir)/os_darwin/pkg/installer/README.html $(distdir_darwin)/dmg
2306@OS_DARWIN_TRUE@ @mkisofs -V 'smartmontools' -no-pad -r -apple -o $(distdir_darwin)/smartmontools-$(VERSION).iso \
2307@OS_DARWIN_TRUE@ -hfs-bless "$(distdir_darwin)/dmg/" "$(distdir_darwin)/dmg/"
2308@OS_DARWIN_TRUE@ @dmg dmg $(distdir_darwin)/smartmontools-$(VERSION).iso $(dmg_darwin)
2309@OS_DARWIN_TRUE@ md5sum $@ > $@.md5
2310@OS_DARWIN_TRUE@ sha1sum $@ > $@.sha1
2311@OS_DARWIN_TRUE@ sha256sum $@ > $@.sha256
2312
2313@OS_DARWIN_TRUE@install-darwin: install-darwin-cleanup $(pkg_darwin) $(dmg_darwin)
2314
2315@OS_DARWIN_TRUE@install-darwin-cleanup:
2316@OS_DARWIN_TRUE@ @rm -rf $(distdir_darwin)
2317
2318# Tell versions [3.59,3.63) of GNU make to not export all variables.
2319# Otherwise a system limit (for SysV at least) may be exceeded.
2320.NOEXPORT: