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