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