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