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