File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / smartmontools / Makefile.in
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 14 07:54:03 2013 UTC (11 years, 2 months ago) by misho
Branches: smartmontools, elwix, MAIN
CVS tags: v6_2, HEAD
v 6.2

# Makefile.in generated by automake 1.12.5 from Makefile.am.
# @configure_input@

# Copyright (C) 1994-2012 Free Software Foundation, Inc.

# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

#
# $Id: Makefile.in,v 1.1.1.4 2013/10/14 07:54:03 misho Exp $
#



VPATH = @srcdir@
am__make_dryrun = \
  { \
    am__dry=no; \
    case $$MAKEFLAGS in \
      *\\[\ \	]*) \
        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
      *) \
        for am__flg in $$MAKEFLAGS; do \
          case $$am__flg in \
            *=*|--*) ;; \
            *n*) am__dry=yes; break;; \
          esac; \
        done;; \
    esac; \
    test $$am__dry = yes; \
  }
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
@ENABLE_DRIVEDB_TRUE@am__append_1 = -DSMARTMONTOOLS_DRIVEDBDIR='"$(drivedbdir)"'
@ENABLE_SAVESTATES_TRUE@am__append_2 = -DSMARTMONTOOLS_SAVESTATES='"$(savestates)"'
@ENABLE_ATTRIBUTELOG_TRUE@am__append_3 = -DSMARTMONTOOLS_ATTRIBUTELOG='"$(attributelog)"'
@OS_WIN32_MINGW_TRUE@am__append_4 = -I$(srcdir)/os_win32
@NEED_GETOPT_LONG_TRUE@am__append_5 = -I$(srcdir)/getopt -DHAVE_GETOPT_LONG -D__GNU_LIBRARY__
@NEED_REGEX_TRUE@am__append_6 = -I$(srcdir)/regex
sbin_PROGRAMS = smartctl$(EXEEXT) smartd$(EXEEXT)
@OS_WIN32_MINGW_TRUE@am__append_7 = smartctl_res.o
@OS_WIN32_MINGW_TRUE@am__append_8 = smartctl_res.o
@OS_WIN32_MINGW_TRUE@am__append_9 = \
@OS_WIN32_MINGW_TRUE@        os_win32/daemon_win32.cpp \
@OS_WIN32_MINGW_TRUE@        os_win32/daemon_win32.h \
@OS_WIN32_MINGW_TRUE@        os_win32/syslog_win32.cpp \
@OS_WIN32_MINGW_TRUE@        os_win32/syslog.h

@OS_WIN32_MINGW_TRUE@am__append_10 = smartd_res.o
@OS_WIN32_MINGW_TRUE@am__append_11 = smartd_res.o
@NEED_GETOPT_LONG_TRUE@am__append_12 = \
@NEED_GETOPT_LONG_TRUE@        getopt/getopt.c \
@NEED_GETOPT_LONG_TRUE@        getopt/getopt.h \
@NEED_GETOPT_LONG_TRUE@        getopt/getopt1.c

@NEED_GETOPT_LONG_TRUE@am__append_13 = \
@NEED_GETOPT_LONG_TRUE@        getopt/getopt.c \
@NEED_GETOPT_LONG_TRUE@        getopt/getopt.h \
@NEED_GETOPT_LONG_TRUE@        getopt/getopt1.c

@NEED_REGEX_TRUE@am__append_14 = \
@NEED_REGEX_TRUE@        regex/regex.c \
@NEED_REGEX_TRUE@        regex/regex.h \
@NEED_REGEX_TRUE@        regex/regex_internal.h

@NEED_REGEX_TRUE@am__append_15 = \
@NEED_REGEX_TRUE@        regex/regex.c \
@NEED_REGEX_TRUE@        regex/regex.h \
@NEED_REGEX_TRUE@        regex/regex_internal.h


# Included by regex.c:
@NEED_REGEX_TRUE@am__append_16 = \
@NEED_REGEX_TRUE@        regex/regcomp.c \
@NEED_REGEX_TRUE@        regex/regexec.c \
@NEED_REGEX_TRUE@        regex/regex_internal.c

@NEED_REGEX_TRUE@am__append_17 = \
@NEED_REGEX_TRUE@        regex/regcomp.c \
@NEED_REGEX_TRUE@        regex/regexec.c \
@NEED_REGEX_TRUE@        regex/regex_internal.c

@OS_WIN32_TRUE@am__append_18 = \
@OS_WIN32_TRUE@        csmisas.h \
@OS_WIN32_TRUE@        os_win32/wmiquery.cpp \
@OS_WIN32_TRUE@        os_win32/wmiquery.h

@OS_WIN32_TRUE@am__append_19 = \
@OS_WIN32_TRUE@        csmisas.h \
@OS_WIN32_TRUE@        os_win32/wmiquery.cpp \
@OS_WIN32_TRUE@        os_win32/wmiquery.h

@OS_WIN32_TRUE@am__append_20 = -lole32 -loleaut32
@OS_WIN32_TRUE@am__append_21 = -lole32 -loleaut32
@ENABLE_DRIVEDB_TRUE@@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@am__append_22 = \
@ENABLE_DRIVEDB_TRUE@@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@        $(exedir_win32)/update-smart-drivedb.exe

@ENABLE_DRIVEDB_TRUE@@OS_WIN32_MINGW_TRUE@am__append_23 = \
@ENABLE_DRIVEDB_TRUE@@OS_WIN32_MINGW_TRUE@        $(exedir_win32)/drivedb.h

@OS_WIN32_MINGW_TRUE@am__append_24 = \
@OS_WIN32_MINGW_TRUE@        $(FILES_WIN32) \
@OS_WIN32_MINGW_TRUE@        runcmdu.exe \
@OS_WIN32_MINGW_TRUE@        smartctl-nc.exe smartctl-nc.exe.tmp \
@OS_WIN32_MINGW_TRUE@        smartctl_res.rc smartctl_res.o \
@OS_WIN32_MINGW_TRUE@        smartd_res.rc smartd_res.o \
@OS_WIN32_MINGW_TRUE@        syslogevt.h syslogevt.o \
@OS_WIN32_MINGW_TRUE@        syslogevt.rc syslogevt_*.bin \
@OS_WIN32_MINGW_TRUE@        wtssendmsg.exe \
@OS_WIN32_MINGW_TRUE@        update-smart-drivedb.exe \
@OS_WIN32_MINGW_TRUE@        distdir.mkdir

subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(srcdir)/config.h.in \
	$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
	TODO config.guess config.sub depcomp install-sh missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/pkg.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(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)"
PROGRAMS = $(sbin_PROGRAMS)
am__smartctl_SOURCES_DIST = smartctl.cpp smartctl.h atacmdnames.cpp \
	atacmdnames.h atacmds.cpp atacmds.h ataidentify.cpp \
	ataidentify.h ataprint.cpp ataprint.h dev_ata_cmd_set.cpp \
	dev_ata_cmd_set.h dev_interface.cpp dev_interface.h \
	dev_tunnelled.h drivedb.h int64.h knowndrives.cpp \
	knowndrives.h scsicmds.cpp scsicmds.h scsiata.cpp \
	scsiprint.cpp scsiprint.h utility.cpp utility.h \
	getopt/getopt.c getopt/getopt.h getopt/getopt1.c regex/regex.c \
	regex/regex.h regex/regex_internal.h csmisas.h \
	os_win32/wmiquery.cpp os_win32/wmiquery.h
@NEED_GETOPT_LONG_TRUE@am__objects_1 = getopt.$(OBJEXT) \
@NEED_GETOPT_LONG_TRUE@	getopt1.$(OBJEXT)
@NEED_REGEX_TRUE@am__objects_2 = regex.$(OBJEXT)
@OS_WIN32_TRUE@am__objects_3 = wmiquery.$(OBJEXT)
am_smartctl_OBJECTS = smartctl.$(OBJEXT) atacmdnames.$(OBJEXT) \
	atacmds.$(OBJEXT) ataidentify.$(OBJEXT) ataprint.$(OBJEXT) \
	dev_ata_cmd_set.$(OBJEXT) dev_interface.$(OBJEXT) \
	knowndrives.$(OBJEXT) scsicmds.$(OBJEXT) scsiata.$(OBJEXT) \
	scsiprint.$(OBJEXT) utility.$(OBJEXT) $(am__objects_1) \
	$(am__objects_2) $(am__objects_3)
am__EXTRA_smartctl_SOURCES_DIST = os_darwin.cpp os_darwin.h \
	os_linux.cpp os_linux.h os_freebsd.cpp os_freebsd.h \
	os_netbsd.cpp os_netbsd.h os_openbsd.cpp os_openbsd.h \
	os_qnxnto.cpp os_qnxnto.h os_solaris.cpp os_solaris.h \
	os_solaris_ata.s os_win32.cpp os_generic.cpp os_generic.h \
	cciss.cpp cciss.h cissio_freebsd.h dev_areca.cpp dev_areca.h \
	dev_legacy.cpp megaraid.h regex/regcomp.c regex/regexec.c \
	regex/regex_internal.c
smartctl_OBJECTS = $(am_smartctl_OBJECTS)
am__DEPENDENCIES_1 =
am__smartd_SOURCES_DIST = smartd.cpp atacmdnames.cpp atacmdnames.h \
	atacmds.cpp atacmds.h dev_ata_cmd_set.cpp dev_ata_cmd_set.h \
	dev_interface.cpp dev_interface.h dev_tunnelled.h drivedb.h \
	int64.h knowndrives.cpp knowndrives.h scsicmds.cpp scsicmds.h \
	scsiata.cpp utility.cpp utility.h os_win32/daemon_win32.cpp \
	os_win32/daemon_win32.h os_win32/syslog_win32.cpp \
	os_win32/syslog.h getopt/getopt.c getopt/getopt.h \
	getopt/getopt1.c regex/regex.c regex/regex.h \
	regex/regex_internal.h csmisas.h os_win32/wmiquery.cpp \
	os_win32/wmiquery.h
@OS_WIN32_MINGW_TRUE@am__objects_4 = daemon_win32.$(OBJEXT) \
@OS_WIN32_MINGW_TRUE@	syslog_win32.$(OBJEXT)
am_smartd_OBJECTS = smartd.$(OBJEXT) atacmdnames.$(OBJEXT) \
	atacmds.$(OBJEXT) dev_ata_cmd_set.$(OBJEXT) \
	dev_interface.$(OBJEXT) knowndrives.$(OBJEXT) \
	scsicmds.$(OBJEXT) scsiata.$(OBJEXT) utility.$(OBJEXT) \
	$(am__objects_4) $(am__objects_1) $(am__objects_2) \
	$(am__objects_3)
am__EXTRA_smartd_SOURCES_DIST = os_darwin.cpp os_darwin.h os_linux.cpp \
	os_linux.h os_freebsd.cpp os_freebsd.h os_netbsd.cpp \
	os_netbsd.h os_openbsd.cpp os_openbsd.h os_qnxnto.cpp \
	os_qnxnto.h os_solaris.cpp os_solaris.h os_solaris_ata.s \
	os_win32.cpp os_generic.cpp os_generic.h cciss.cpp cciss.h \
	cissio_freebsd.h dev_areca.cpp dev_areca.h dev_legacy.cpp \
	megaraid.h regex/regcomp.c regex/regexec.c \
	regex/regex_internal.c
smartd_OBJECTS = $(am_smartd_OBJECTS)
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
  for p in $$list; do echo "$$p $$p"; done | \
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
    if (++n[$$2] == $(am__install_max)) \
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
    END { for (dir in files) print dir, files[dir] }'
am__base_list = \
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
  test -z "$$files" \
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
         $(am__cd) "$$dir" && rm -f $$files; }; \
  }
SCRIPTS = $(examples_SCRIPTS) $(sbin_SCRIPTS) $(sysscript_SCRIPTS)
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
	-o $@
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
SOURCES = $(smartctl_SOURCES) $(EXTRA_smartctl_SOURCES) \
	$(smartd_SOURCES) $(EXTRA_smartd_SOURCES)
DIST_SOURCES = $(am__smartctl_SOURCES_DIST) \
	$(am__EXTRA_smartctl_SOURCES_DIST) $(am__smartd_SOURCES_DIST) \
	$(am__EXTRA_smartd_SOURCES_DIST)
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
man5dir = $(mandir)/man5
man8dir = $(mandir)/man8
NROFF = nroff
MANS = $(man_MANS)
DATA = $(attributelog_DATA) $(docs_DATA) $(drivedb_DATA) \
	$(examples_DATA) $(initd_DATA) $(savestates_DATA) \
	$(sysconf_DATA) $(systemdsystemunit_DATA)
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
AM_RECURSIVE_TARGETS = cscope
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
  if test -d "$(distdir)"; then \
    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
      && rm -rf "$(distdir)" \
      || { sleep 5 && rm -rf "$(distdir)"; }; \
  else :; fi
am__post_remove_distdir = $(am__remove_distdir)
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
DIST_TARGETS = dist-gzip
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
ASFLAGS = @ASFLAGS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CAPNG_LDADD = @CAPNG_LDADD@
CC = @CC@
CCAS = @CCAS@
CCASDEPMODE = @CCASDEPMODE@
CCASFLAGS = @CCASFLAGS@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DRIVEDB_BRANCH = @DRIVEDB_BRANCH@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MAKENSIS = @MAKENSIS@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
WINDMC = @WINDMC@
WINDRES = @WINDRES@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
attributelog = @attributelog@
attributelogdir = @attributelogdir@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
drivedbdir = @drivedbdir@
dvidir = @dvidir@
exampledir = @exampledir@
exec_prefix = @exec_prefix@
gcc_have_attr_packed = @gcc_have_attr_packed@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
initddir = @initddir@
initdfile = @initdfile@
install_sh = @install_sh@
libc_have_working_snprintf = @libc_have_working_snprintf@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
os_deps = @os_deps@
os_dltools = @os_dltools@
os_dnsdomainname = @os_dnsdomainname@
os_hostname = @os_hostname@
os_libs = @os_libs@
os_mailer = @os_mailer@
os_man_filter = @os_man_filter@
os_nisdomainname = @os_nisdomainname@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
releaseversion = @releaseversion@
savestates = @savestates@
savestatesdir = @savestatesdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
smartd_suffix = @smartd_suffix@
smartmontools_release_date = @smartmontools_release_date@
smartmontools_release_time = @smartmontools_release_time@
srcdir = @srcdir@
svn_deps = @svn_deps@
sysconfdir = @sysconfdir@
systemdsystemunitdir = @systemdsystemunitdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
with_selinux = @with_selinux@
ACLOCAL_AMFLAGS = -I m4

# Make sure .cpp takes precedence to avoid compiling old .c file
SUFFIXES = .cpp .c .s .o

# BUILD_INFO can be provided by package maintainers (see INSTALL file)
BUILD_INFO = "(local build)"
AM_CPPFLAGS = -DBUILD_INFO='$(BUILD_INFO)' \
	-DSMARTMONTOOLS_SYSCONFDIR='"$(sysconfdir)"' $(am__append_1) \
	$(am__append_2) $(am__append_3) $(am__append_4) \
	$(am__append_5) $(am__append_6)
@ENABLE_DRIVEDB_TRUE@@OS_WIN32_MINGW_FALSE@sbin_SCRIPTS = update-smart-drivedb
smartctl_SOURCES = smartctl.cpp smartctl.h atacmdnames.cpp \
	atacmdnames.h atacmds.cpp atacmds.h ataidentify.cpp \
	ataidentify.h ataprint.cpp ataprint.h dev_ata_cmd_set.cpp \
	dev_ata_cmd_set.h dev_interface.cpp dev_interface.h \
	dev_tunnelled.h drivedb.h int64.h knowndrives.cpp \
	knowndrives.h scsicmds.cpp scsicmds.h scsiata.cpp \
	scsiprint.cpp scsiprint.h utility.cpp utility.h \
	$(am__append_12) $(am__append_14) $(am__append_18)
smartctl_LDADD = @os_deps@ @os_libs@ $(am__append_7) $(am__append_20)
smartctl_DEPENDENCIES = @os_deps@ $(am__append_8)
EXTRA_smartctl_SOURCES = os_darwin.cpp os_darwin.h os_linux.cpp \
	os_linux.h os_freebsd.cpp os_freebsd.h os_netbsd.cpp \
	os_netbsd.h os_openbsd.cpp os_openbsd.h os_qnxnto.cpp \
	os_qnxnto.h os_solaris.cpp os_solaris.h os_solaris_ata.s \
	os_win32.cpp os_generic.cpp os_generic.h cciss.cpp cciss.h \
	cissio_freebsd.h dev_areca.cpp dev_areca.h dev_legacy.cpp \
	megaraid.h $(am__append_16)
smartd_SOURCES = smartd.cpp atacmdnames.cpp atacmdnames.h atacmds.cpp \
	atacmds.h dev_ata_cmd_set.cpp dev_ata_cmd_set.h \
	dev_interface.cpp dev_interface.h dev_tunnelled.h drivedb.h \
	int64.h knowndrives.cpp knowndrives.h scsicmds.cpp scsicmds.h \
	scsiata.cpp utility.cpp utility.h $(am__append_9) \
	$(am__append_13) $(am__append_15) $(am__append_19)
smartd_LDADD = @os_deps@ @os_libs@ @CAPNG_LDADD@ $(am__append_10) \
	$(am__append_21)
smartd_DEPENDENCIES = @os_deps@ $(am__append_11)
EXTRA_smartd_SOURCES = os_darwin.cpp os_darwin.h os_linux.cpp \
	os_linux.h os_freebsd.cpp os_freebsd.h os_netbsd.cpp \
	os_netbsd.h os_openbsd.cpp os_openbsd.h os_qnxnto.cpp \
	os_qnxnto.h os_solaris.cpp os_solaris.h os_solaris_ata.s \
	os_win32.cpp os_generic.cpp os_generic.h cciss.cpp cciss.h \
	cissio_freebsd.h dev_areca.cpp dev_areca.h dev_legacy.cpp \
	megaraid.h $(am__append_17)

# This block is required because Solaris uses manual page section 1m
# for administrative command (linux/freebsd use section 8) and Solaris
# uses manual page section 4 for file formats (linux/freebsd use
# section 5).  Automake can deal cleanly with man page sections 1-8
# and n, but NOT with sections of the form 1m.
@OS_SOLARIS_TRUE@extra_MANS = smartd.conf.4 \
@OS_SOLARIS_TRUE@                  smartctl.1m   \
@OS_SOLARIS_TRUE@                  smartd.1m

# For systems that adopts traditional manner
@OS_SOLARIS_FALSE@man_MANS = smartd.conf.5 \
@OS_SOLARIS_FALSE@                  smartctl.8    \
@OS_SOLARIS_FALSE@                  smartd.8

docsdir = $(docdir)
docs_DATA = \
        AUTHORS \
        ChangeLog \
        ChangeLog-5.0-6.0 \
        COPYING \
        INSTALL \
        NEWS \
        README \
        TODO \
        WARNINGS \
        smartd.conf

examplesdir = $(exampledir)
examples_DATA = \
        examplescripts/README

examples_SCRIPTS = \
        examplescripts/Example1 \
        examplescripts/Example2 \
        examplescripts/Example3 \
        examplescripts/Example4

sysconf_DATA = smartd.conf

# automake does not allow 'sysconf_SCRIPTS'
sysscriptdir = $(sysconfdir)
sysscript_SCRIPTS = smartd_warning.sh
EXTRA_DIST = \
        autogen.sh \
        smartd.initd.in \
        smartd.freebsd.initd.in \
        smartd.8.in \
        smartctl.8.in \
        smartd.conf.5.in \
        smartd.conf \
        smartd.service.in \
        smartd_warning.sh.in \
        update-smart-drivedb.in \
        m4/pkg.m4 \
        os_darwin/SMART.in \
        os_darwin/StartupParameters.plist \
        os_darwin/English_Localizable.strings \
        os_win32/installer.nsi \
        os_win32/runcmd.c \
        os_win32/runcmda.exe.manifest \
        os_win32/runcmdu.exe.manifest \
        os_win32/smartctl_res.rc.in \
        os_win32/smartd_res.rc.in \
        os_win32/smartd_warning.cmd \
        os_win32/syslogevt.mc \
        os_win32/update-smart-drivedb.nsi \
        os_win32/wbemcli_small.h \
        os_win32/wtssendmsg.c \
        $(docs_DATA) \
        $(examples_DATA) \
        $(examples_SCRIPTS)

CLEANFILES = smartd.conf.5 smartd.conf.4 smartd.8 smartd.1m \
	smartd.8.html smartd.8.txt smartctl.8 smartctl.1m \
	smartctl.8.html smartctl.8.txt smartd.conf.5.html \
	smartd.conf.5.txt smartd.initd smartd.freebsd.initd \
	smartd.service smartd_warning.sh svnversion.h \
	update-smart-drivedb SMART $(am__append_24)

# 'make maintainer-clean' also removes files generated by './autogen.sh'
MAINTAINERCLEANFILES = \
        $(srcdir)/Makefile.in \
        $(srcdir)/aclocal.m4 \
        $(srcdir)/configure \
        $(srcdir)/config.guess \
        $(srcdir)/config.h.in \
        $(srcdir)/config.h.in~ \
        $(srcdir)/config.sub \
        $(srcdir)/depcomp \
        $(srcdir)/install-sh \
        $(srcdir)/missing \
        $(srcdir)/mkinstalldirs \
        $(srcdir)/m4/pkg.m4

@ENABLE_DRIVEDB_TRUE@drivedb_DATA = drivedb.h

# Create $(savestatesdir) only
@ENABLE_SAVESTATES_TRUE@savestates_DATA = 

# Create $(attributelogdir) only
@ENABLE_ATTRIBUTELOG_TRUE@attributelog_DATA = 
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@initd_DATA = @initdfile@
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@initd_DATA = SMART                            \
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	os_darwin/StartupParameters.plist     \
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	os_darwin/English_Localizable.strings

@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@initd_install_name = smartd$(smartd_suffix)
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@initd_install_name = SMART
@INSTALL_INITSCRIPT_FALSE@initd_DATA_install = install-initdDATA-null
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@initd_DATA_install = install-initdDATA-generic
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@initd_DATA_install = install-initdDATA-darwin
@INSTALL_INITSCRIPT_FALSE@initd_DATA_uninstall = uninstall-initdDATA-null
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@initd_DATA_uninstall = uninstall-initdDATA-generic
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@initd_DATA_uninstall = uninstall-initdDATA-darwin
@INSTALL_SYSTEMDUNIT_TRUE@systemdsystemunit_DATA = smartd.service
@ENABLE_CAPABILITIES_FALSE@MAN_CAPABILITIES = sed '/^\.\\" %IF ENABLE_CAPABILITIES/,/^\.\\" %ENDIF ENABLE_CAPABILITIES/ s,^,.\\"\# ,'
@ENABLE_CAPABILITIES_TRUE@MAN_CAPABILITIES = cat
@ENABLE_DRIVEDB_FALSE@MAN_DRIVEDB = sed '/^\.\\" %IF ENABLE_DRIVEDB/,/^\.\\" %ENDIF ENABLE_DRIVEDB/ s,^,.\\"\# ,'
@ENABLE_DRIVEDB_TRUE@MAN_DRIVEDB = sed "s|/usr/local/share/smartmontools/drivedb\\.h|$(drivedbdir)/drivedb.h|g"
@ENABLE_SAVESTATES_FALSE@MAN_SAVESTATES = sed '/^\.\\" %IF ENABLE_SAVESTATES/,/^\.\\" %ENDIF ENABLE_SAVESTATES/ s,^,.\\"\# ,'
@ENABLE_SAVESTATES_TRUE@MAN_SAVESTATES = sed "s|/usr/local/var/lib/smartmontools/smartd\\.|$(savestates)|g"
@ENABLE_ATTRIBUTELOG_FALSE@MAN_ATTRIBUTELOG = sed '/^\.\\" %IF ENABLE_ATTRIBUTELOG/,/^\.\\" %ENDIF ENABLE_ATTRIBUTELOG/ s,^,.\\"\# ,'
@ENABLE_ATTRIBUTELOG_TRUE@MAN_ATTRIBUTELOG = sed "s|/usr/local/var/lib/smartmontools/attrlog\\.|$(attributelog)|g"
MAN_FILTER = \
    sed -e 's|CURRENT_SVN_VERSION|$(releaseversion)|g' \
        -e "s|CURRENT_SVN_DATE|`sed -n 's,^.*DATE[^"]*"\([^"]*\)".*$$,\1,p' svnversion.h`|g" \
        -e "s|CURRENT_SVN_REV|`sed -n 's,^.*REV[^"]*"\([^"]*\)".*$$,r\1,p' svnversion.h`|g" \
        -e 's|/usr/local/share/man/|$(mandir)/|g' \
        -e 's|/usr/local/sbin/|$(sbindir)/|g' \
        -e 's|/usr/local/etc/rc\.d/init.d/|$(initddir)/|g' \
        -e 's|/usr/local/share/doc/smartmontools/examplescripts/|!exampledir!|g' \
        -e 's|/usr/local/share/doc/smartmontools/|$(docsdir)/|g' \
        -e 's|!exampledir!|$(exampledir)/|g' \
        -e 's|/usr/local/etc/smartd\.conf|$(sysconfdir)/smartd.conf|g' \
        -e 's|/usr/local/etc/smartd_warning\.|$(sysconfdir)/smartd_warning.|g' \
        -e 's|/usr/local/etc/smart_drivedb\.h|$(sysconfdir)/smart_drivedb.h|g' | \
    $(MAN_ATTRIBUTELOG) | \
    $(MAN_CAPABILITIES) | \
    $(MAN_DRIVEDB) | \
    $(MAN_SAVESTATES) | \
    if test -n '$(os_man_filter)'; then \
      sed -e 's,OS_MAN_FILTER,$(os_man_filter),g' \
          -e '/^\.\\" %IF NOT OS .*$(os_man_filter)/,/^.\\" %ENDIF NOT OS .*$(os_man_filter)/ s,^,.\\"\# ,' \
          -e '/^\.\\" %IF OS .*$(os_man_filter)/,/^\.\\" %ENDIF OS .*$(os_man_filter)/ s,^,!!,' \
          -e '/^\.\\" %IF OS ./,/^\.\\" %ENDIF OS ./ s,^,.\\"\# ,' \
          -e '/^!*\.\\" %IF NOT OS ./,/^!*\.\\" %ENDIF NOT OS ./ s,^,!!,' \
          -e 's,^!!!*\.\\"! \(.*\)$$,\1 \\"\#,' \
          -e 's,^!!!*,,' ; \
    else \
      cat; \
    fi


# Commands to convert man pages into .html and .txt
# TODO: configure
MAN2HTML = man2html
#MAN2HTML = groff -man -Thtml
MAN2TXT = groff -man -Tascii -P'-bcou'

# Remove HTTP header and fix links in man2html output
FIXHTML = sed -e '1s,^Content-type.*,,' \
              -e 's,<A HREF="[^"]*/man2html?\([1-8]\)+\(smart[cd][.a-z]*\)">,<A HREF="\2.\1.html">,g' \
              -e 's,<A HREF="[^"]*/man2html">,<A HREF=".">,g' \
              -e 's,<A HREF="[^"]*/man2html?[^"]*">\([^<]*\)</A>,\1,g' \
              -e 's,<A HREF="mailto:[^s][^m][^a][^"]*">\([^<]*\)</A>,\1,g'


# Convert version for VERSIONINFO resource: 6.1 r3754 -> 6.1.0.3754
@OS_WIN32_MINGW_TRUE@WIN_RC_FILTER = \
@OS_WIN32_MINGW_TRUE@    ( ver=`echo '$(PACKAGE_VERSION).0' | sed -n 's,^\([0-9]*\.[0-9]*\.[0-9]*\).*$$,\1,p'`; \
@OS_WIN32_MINGW_TRUE@      rev=`sed -n 's,^.*REV[^"]*"\([0-9]*\).*$$,\1,p' svnversion.h`; \
@OS_WIN32_MINGW_TRUE@      txtver="$${ver:-0.0.0}.$${rev:-0}"; binver=`echo "$$txtver" | sed 's|\.|,|g'`; \
@OS_WIN32_MINGW_TRUE@      sed -e "s|@BINARY_VERSION@|$$binver|g" -e "s|@TEXT_VERSION@|$$txtver|g"; )

@OS_WIN32_MINGW_TRUE@@OS_WIN64_FALSE@win_bits = 32

# Definitions for Windows distribution
@OS_WIN32_MINGW_TRUE@@OS_WIN64_TRUE@win_bits = 64
@OS_WIN32_MINGW_TRUE@distdir_win32 = $(PACKAGE)-$(VERSION).win$(win_bits)
@OS_WIN32_MINGW_TRUE@distzip_win32 = $(PACKAGE)-$(VERSION).win$(win_bits).zip
@OS_WIN32_MINGW_TRUE@distinst_win32 = $(PACKAGE)-$(VERSION).win$(win_bits)-setup.exe
@OS_WIN32_MINGW_TRUE@exedir_win32 = $(distdir_win32)/bin
@OS_WIN32_MINGW_TRUE@docdir_win32 = $(distdir_win32)/doc
@OS_WIN32_MINGW_TRUE@EXEFILES_WIN32 = $(exedir_win32)/smartctl.exe \
@OS_WIN32_MINGW_TRUE@	$(exedir_win32)/smartctl-nc.exe \
@OS_WIN32_MINGW_TRUE@	$(exedir_win32)/smartd.exe \
@OS_WIN32_MINGW_TRUE@	$(exedir_win32)/smartd_warning.cmd \
@OS_WIN32_MINGW_TRUE@	$(exedir_win32)/runcmda.exe \
@OS_WIN32_MINGW_TRUE@	$(exedir_win32)/runcmdu.exe \
@OS_WIN32_MINGW_TRUE@	$(exedir_win32)/wtssendmsg.exe \
@OS_WIN32_MINGW_TRUE@	$(am__append_22)
@OS_WIN32_MINGW_TRUE@FILES_WIN32 = $(EXEFILES_WIN32) \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/AUTHORS.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/ChangeLog.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/ChangeLog-5.0-6.0.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/COPYING.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/INSTALL.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/NEWS.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/README.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/TODO.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/WARNINGS.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/checksums$(win_bits).txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/smartd.conf \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/smartctl.8.html \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/smartctl.8.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/smartd.8.html \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/smartd.8.txt \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/smartd.conf.5.html \
@OS_WIN32_MINGW_TRUE@	$(docdir_win32)/smartd.conf.5.txt \
@OS_WIN32_MINGW_TRUE@	$(exedir_win32)/runcmda.exe.manifest \
@OS_WIN32_MINGW_TRUE@	$(exedir_win32)/runcmdu.exe.manifest \
@OS_WIN32_MINGW_TRUE@	$(am__append_23)

# Textfile converter from package cygutils or tofrodos
# Note: Only use without options to be compatible with both packages
@OS_WIN32_MINGW_TRUE@UNIX2DOS = unix2dos
@OS_WIN32_MINGW_TRUE@DOS2UNIX = dos2unix
all: config.h
	$(MAKE) $(AM_MAKEFLAGS) all-am

.SUFFIXES:
.SUFFIXES: .cpp .c .s .o .obj
am--refresh: Makefile
	@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --foreign Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    echo ' $(SHELL) ./config.status'; \
	    $(SHELL) ./config.status;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck

$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
	$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):

config.h: stamp-h1
	@if test ! -f $@; then rm -f stamp-h1; else :; fi
	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi

stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
	@rm -f stamp-h1
	cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
	rm -f stamp-h1
	touch $@

distclean-hdr:
	-rm -f config.h stamp-h1
install-sbinPROGRAMS: $(sbin_PROGRAMS)
	@$(NORMAL_INSTALL)
	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
	fi; \
	for p in $$list; do echo "$$p $$p"; done | \
	sed 's/$(EXEEXT)$$//' | \
	while read p p1; do if test -f $$p; \
	  then echo "$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
	sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
	    else { print "f", $$3 "/" $$4, $$1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	    test -z "$$files" || { \
	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
	    } \
	; done

uninstall-sbinPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
	files=`for p in $$list; do echo "$$p"; done | \
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
	      -e 's/$$/$(EXEEXT)/' `; \
	test -n "$$list" || exit 0; \
	echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(sbindir)" && rm -f $$files

clean-sbinPROGRAMS:
	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
smartctl$(EXEEXT): $(smartctl_OBJECTS) $(smartctl_DEPENDENCIES) $(EXTRA_smartctl_DEPENDENCIES) 
	@rm -f smartctl$(EXEEXT)
	$(CXXLINK) $(smartctl_OBJECTS) $(smartctl_LDADD) $(LIBS)
smartd$(EXEEXT): $(smartd_OBJECTS) $(smartd_DEPENDENCIES) $(EXTRA_smartd_DEPENDENCIES) 
	@rm -f smartd$(EXEEXT)
	$(CXXLINK) $(smartd_OBJECTS) $(smartd_LDADD) $(LIBS)
install-examplesSCRIPTS: $(examples_SCRIPTS)
	@$(NORMAL_INSTALL)
	@list='$(examples_SCRIPTS)'; test -n "$(examplesdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(examplesdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(examplesdir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n' \
	    -e 'h;s|.*|.|' \
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
	      if (++n[d] == $(am__install_max)) { \
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
	    else { print "f", d "/" $$4, $$1 } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	     test -z "$$files" || { \
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(examplesdir)$$dir'"; \
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(examplesdir)$$dir" || exit $$?; \
	     } \
	; done

uninstall-examplesSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(examples_SCRIPTS)'; test -n "$(examplesdir)" || exit 0; \
	files=`for p in $$list; do echo "$$p"; done | \
	       sed -e 's,.*/,,;$(transform)'`; \
	dir='$(DESTDIR)$(examplesdir)'; $(am__uninstall_files_from_dir)
install-sbinSCRIPTS: $(sbin_SCRIPTS)
	@$(NORMAL_INSTALL)
	@list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n' \
	    -e 'h;s|.*|.|' \
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
	      if (++n[d] == $(am__install_max)) { \
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
	    else { print "f", d "/" $$4, $$1 } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	     test -z "$$files" || { \
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
	     } \
	; done

uninstall-sbinSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \
	files=`for p in $$list; do echo "$$p"; done | \
	       sed -e 's,.*/,,;$(transform)'`; \
	dir='$(DESTDIR)$(sbindir)'; $(am__uninstall_files_from_dir)
install-sysscriptSCRIPTS: $(sysscript_SCRIPTS)
	@$(NORMAL_INSTALL)
	@list='$(sysscript_SCRIPTS)'; test -n "$(sysscriptdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(sysscriptdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(sysscriptdir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n' \
	    -e 'h;s|.*|.|' \
	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
	      if (++n[d] == $(am__install_max)) { \
		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
	    else { print "f", d "/" $$4, $$1 } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	     test -z "$$files" || { \
	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sysscriptdir)$$dir'"; \
	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sysscriptdir)$$dir" || exit $$?; \
	     } \
	; done

uninstall-sysscriptSCRIPTS:
	@$(NORMAL_UNINSTALL)
	@list='$(sysscript_SCRIPTS)'; test -n "$(sysscriptdir)" || exit 0; \
	files=`for p in $$list; do echo "$$p"; done | \
	       sed -e 's,.*/,,;$(transform)'`; \
	dir='$(DESTDIR)$(sysscriptdir)'; $(am__uninstall_files_from_dir)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atacmdnames.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/atacmds.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ataidentify.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ataprint.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cciss.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/daemon_win32.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_areca.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_ata_cmd_set.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_interface.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev_legacy.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/knowndrives.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_darwin.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_freebsd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_generic.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_linux.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_netbsd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_openbsd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_qnxnto.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_solaris.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/os_win32.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regcomp.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regex_internal.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/regexec.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsiata.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsicmds.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsiprint.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smartctl.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smartd.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syslog_win32.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utility.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wmiquery.Po@am__quote@

.c.o:
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(COMPILE) -c $<

.c.obj:
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`

getopt.o: getopt/getopt.c
@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
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/getopt.Tpo $(DEPDIR)/getopt.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='getopt/getopt.c' object='getopt.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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

getopt.obj: getopt/getopt.c
@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`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/getopt.Tpo $(DEPDIR)/getopt.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='getopt/getopt.c' object='getopt.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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`

getopt1.o: getopt/getopt1.c
@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
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/getopt1.Tpo $(DEPDIR)/getopt1.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='getopt/getopt1.c' object='getopt1.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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

getopt1.obj: getopt/getopt1.c
@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`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/getopt1.Tpo $(DEPDIR)/getopt1.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='getopt/getopt1.c' object='getopt1.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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`

regex.o: regex/regex.c
@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
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/regex.Tpo $(DEPDIR)/regex.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='regex/regex.c' object='regex.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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

regex.obj: regex/regex.c
@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`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/regex.Tpo $(DEPDIR)/regex.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='regex/regex.c' object='regex.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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`

regcomp.o: regex/regcomp.c
@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
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/regcomp.Tpo $(DEPDIR)/regcomp.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='regex/regcomp.c' object='regcomp.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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

regcomp.obj: regex/regcomp.c
@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`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/regcomp.Tpo $(DEPDIR)/regcomp.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='regex/regcomp.c' object='regcomp.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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`

regexec.o: regex/regexec.c
@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
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/regexec.Tpo $(DEPDIR)/regexec.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='regex/regexec.c' object='regexec.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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

regexec.obj: regex/regexec.c
@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`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/regexec.Tpo $(DEPDIR)/regexec.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='regex/regexec.c' object='regexec.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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`

regex_internal.o: regex/regex_internal.c
@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
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/regex_internal.Tpo $(DEPDIR)/regex_internal.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='regex/regex_internal.c' object='regex_internal.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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

regex_internal.obj: regex/regex_internal.c
@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`
@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/regex_internal.Tpo $(DEPDIR)/regex_internal.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='regex/regex_internal.c' object='regex_internal.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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`

.cpp.o:
@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<

.cpp.obj:
@am__fastdepCXX_TRUE@	$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

wmiquery.o: os_win32/wmiquery.cpp
@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
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/wmiquery.Tpo $(DEPDIR)/wmiquery.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='os_win32/wmiquery.cpp' object='wmiquery.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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

wmiquery.obj: os_win32/wmiquery.cpp
@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`
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/wmiquery.Tpo $(DEPDIR)/wmiquery.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='os_win32/wmiquery.cpp' object='wmiquery.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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`

daemon_win32.o: os_win32/daemon_win32.cpp
@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
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/daemon_win32.Tpo $(DEPDIR)/daemon_win32.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='os_win32/daemon_win32.cpp' object='daemon_win32.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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

daemon_win32.obj: os_win32/daemon_win32.cpp
@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`
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/daemon_win32.Tpo $(DEPDIR)/daemon_win32.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='os_win32/daemon_win32.cpp' object='daemon_win32.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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`

syslog_win32.o: os_win32/syslog_win32.cpp
@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
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/syslog_win32.Tpo $(DEPDIR)/syslog_win32.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='os_win32/syslog_win32.cpp' object='syslog_win32.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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

syslog_win32.obj: os_win32/syslog_win32.cpp
@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`
@am__fastdepCXX_TRUE@	$(am__mv) $(DEPDIR)/syslog_win32.Tpo $(DEPDIR)/syslog_win32.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='os_win32/syslog_win32.cpp' object='syslog_win32.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@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`

.s.o:
	$(CCASCOMPILE) -c -o $@ $<

.s.obj:
	$(CCASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
install-man5: $(man_MANS)
	@$(NORMAL_INSTALL)
	@list1=''; \
	list2='$(man_MANS)'; \
	test -n "$(man5dir)" \
	  && test -n "`echo $$list1$$list2`" \
	  || exit 0; \
	echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \
	$(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \
	{ for i in $$list1; do echo "$$i"; done;  \
	if test -n "$$list2"; then \
	  for i in $$list2; do echo "$$i"; done \
	    | sed -n '/\.5[a-z]*$$/p'; \
	fi; \
	} | while read p; do \
	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; echo "$$p"; \
	done | \
	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
	sed 'N;N;s,\n, ,g' | { \
	list=; while read file base inst; do \
	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man5dir)/$$inst'"; \
	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$inst" || exit $$?; \
	  fi; \
	done; \
	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
	while read files; do \
	  test -z "$$files" || { \
	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man5dir)'"; \
	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \
	done; }

uninstall-man5:
	@$(NORMAL_UNINSTALL)
	@list=''; test -n "$(man5dir)" || exit 0; \
	files=`{ for i in $$list; do echo "$$i"; done; \
	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
	  sed -n '/\.5[a-z]*$$/p'; \
	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
	dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir)
install-man8: $(man_MANS)
	@$(NORMAL_INSTALL)
	@list1=''; \
	list2='$(man_MANS)'; \
	test -n "$(man8dir)" \
	  && test -n "`echo $$list1$$list2`" \
	  || exit 0; \
	echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \
	$(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \
	{ for i in $$list1; do echo "$$i"; done;  \
	if test -n "$$list2"; then \
	  for i in $$list2; do echo "$$i"; done \
	    | sed -n '/\.8[a-z]*$$/p'; \
	fi; \
	} | while read p; do \
	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; echo "$$p"; \
	done | \
	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
	sed 'N;N;s,\n, ,g' | { \
	list=; while read file base inst; do \
	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
	  fi; \
	done; \
	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
	while read files; do \
	  test -z "$$files" || { \
	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
	done; }

uninstall-man8:
	@$(NORMAL_UNINSTALL)
	@list=''; test -n "$(man8dir)" || exit 0; \
	files=`{ for i in $$list; do echo "$$i"; done; \
	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
	  sed -n '/\.8[a-z]*$$/p'; \
	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
	dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
install-attributelogDATA: $(attributelog_DATA)
	@$(NORMAL_INSTALL)
	@list='$(attributelog_DATA)'; test -n "$(attributelogdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(attributelogdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(attributelogdir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(attributelogdir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(attributelogdir)" || exit $$?; \
	done

uninstall-attributelogDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(attributelog_DATA)'; test -n "$(attributelogdir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(attributelogdir)'; $(am__uninstall_files_from_dir)
install-docsDATA: $(docs_DATA)
	@$(NORMAL_INSTALL)
	@list='$(docs_DATA)'; test -n "$(docsdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(docsdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(docsdir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docsdir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(docsdir)" || exit $$?; \
	done

uninstall-docsDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(docs_DATA)'; test -n "$(docsdir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(docsdir)'; $(am__uninstall_files_from_dir)
install-drivedbDATA: $(drivedb_DATA)
	@$(NORMAL_INSTALL)
	@list='$(drivedb_DATA)'; test -n "$(drivedbdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(drivedbdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(drivedbdir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(drivedbdir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(drivedbdir)" || exit $$?; \
	done

uninstall-drivedbDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(drivedb_DATA)'; test -n "$(drivedbdir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(drivedbdir)'; $(am__uninstall_files_from_dir)
install-examplesDATA: $(examples_DATA)
	@$(NORMAL_INSTALL)
	@list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(examplesdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(examplesdir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(examplesdir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(examplesdir)" || exit $$?; \
	done

uninstall-examplesDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(examplesdir)'; $(am__uninstall_files_from_dir)
install-savestatesDATA: $(savestates_DATA)
	@$(NORMAL_INSTALL)
	@list='$(savestates_DATA)'; test -n "$(savestatesdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(savestatesdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(savestatesdir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(savestatesdir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(savestatesdir)" || exit $$?; \
	done

uninstall-savestatesDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(savestates_DATA)'; test -n "$(savestatesdir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(savestatesdir)'; $(am__uninstall_files_from_dir)
install-systemdsystemunitDATA: $(systemdsystemunit_DATA)
	@$(NORMAL_INSTALL)
	@list='$(systemdsystemunit_DATA)'; test -n "$(systemdsystemunitdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(systemdsystemunitdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(systemdsystemunitdir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(systemdsystemunitdir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(systemdsystemunitdir)" || exit $$?; \
	done

uninstall-systemdsystemunitDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(systemdsystemunit_DATA)'; test -n "$(systemdsystemunitdir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(systemdsystemunitdir)'; $(am__uninstall_files_from_dir)

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	set x; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	shift; \
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  if test $$# -gt 0; then \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      "$$@" $$unique; \
	  else \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      $$unique; \
	  fi; \
	fi
ctags: CTAGS
CTAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	test -z "$(CTAGS_ARGS)$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && $(am__cd) $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) "$$here"

cscope: cscope.files
	test ! -s cscope.files \
	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)

clean-cscope:
	-rm -f cscope.files

cscope.files: clean-cscope  cscopelist

cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS) $(LISP)'; \
	case "$(srcdir)" in \
	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
	  *) sdir=$(subdir)/$(srcdir) ;; \
	esac; \
	for i in $$list; do \
	  if test -f "$$i"; then \
	    echo "$(subdir)/$$i"; \
	  else \
	    echo "$$sdir/$$i"; \
	  fi; \
	done >> $(top_builddir)/cscope.files

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files

distdir: $(DISTFILES)
	@list='$(MANS)'; if test -n "$$list"; then \
	  list=`for p in $$list; do \
	    if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
	    if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
	  if test -n "$$list" && \
	    grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
	    echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
	    grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
	    echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
	    echo "       typically 'make maintainer-clean' will remove them" >&2; \
	    exit 1; \
	  else :; fi; \
	else :; fi
	$(am__remove_distdir)
	test -d "$(distdir)" || mkdir "$(distdir)"
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d "$(distdir)/$$file"; then \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
	  else \
	    test -f "$(distdir)/$$file" \
	    || cp -p $$d/$$file "$(distdir)/$$file" \
	    || exit 1; \
	  fi; \
	done
	-test -n "$(am__skip_mode_fix)" \
	|| find "$(distdir)" -type d ! -perm -755 \
		-exec chmod u+rwx,go+rx {} \; -o \
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
	|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__post_remove_distdir)

dist-bzip2: distdir
	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
	$(am__post_remove_distdir)

dist-lzip: distdir
	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
	$(am__post_remove_distdir)

dist-xz: distdir
	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
	$(am__post_remove_distdir)

dist-tarZ: distdir
	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
	$(am__post_remove_distdir)

dist-shar: distdir
	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
	$(am__post_remove_distdir)

dist-zip: distdir
	-rm -f $(distdir).zip
	zip -rq $(distdir).zip $(distdir)
	$(am__post_remove_distdir)

dist dist-all:
	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
	$(am__post_remove_distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	case '$(DIST_ARCHIVES)' in \
	*.tar.gz*) \
	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
	*.tar.bz2*) \
	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
	*.tar.lz*) \
	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
	*.tar.xz*) \
	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
	*.tar.Z*) \
	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
	*.shar.gz*) \
	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
	*.zip*) \
	  unzip $(distdir).zip ;;\
	esac
	chmod -R a-w $(distdir)
	chmod u+w $(distdir)
	mkdir $(distdir)/_build $(distdir)/_inst
	chmod a-w $(distdir)
	test -d $(distdir)/_build || exit 0; \
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
	  && am__cwd=`pwd` \
	  && $(am__cd) $(distdir)/_build \
	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
	    $(DISTCHECK_CONFIGURE_FLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
	        distuninstallcheck \
	  && chmod -R a-w "$$dc_install_base" \
	  && ({ \
	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
	  && rm -rf "$$dc_destdir" \
	  && $(MAKE) $(AM_MAKEFLAGS) dist \
	  && rm -rf $(DIST_ARCHIVES) \
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
	  && cd "$$am__cwd" \
	  || exit 1
	$(am__post_remove_distdir)
	@(echo "$(distdir) archives ready for distribution: "; \
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
	@test -n '$(distuninstallcheck_dir)' || { \
	  echo 'ERROR: trying to run $@ with an empty' \
	       '$$(distuninstallcheck_dir)' >&2; \
	  exit 1; \
	}; \
	$(am__cd) '$(distuninstallcheck_dir)' || { \
	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
	  exit 1; \
	}; \
	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
	   || { echo "ERROR: files left after uninstall:" ; \
	        if test -n "$(DESTDIR)"; then \
	          echo "  (check DESTDIR support)"; \
	        fi ; \
	        $(distuninstallcheck_listfiles) ; \
	        exit 1; } >&2
distcleancheck: distclean
	@if test '$(srcdir)' = . ; then \
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
	  exit 1 ; \
	fi
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
	  || { echo "ERROR: files left in build directory after distclean:" ; \
	       $(distcleancheck_listfiles) ; \
	       exit 1; } >&2
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) config.h
installdirs:
	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 \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	if test -z '$(STRIP)'; then \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	      install; \
	else \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
	fi
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am

clean-am: clean-generic clean-sbinPROGRAMS mostlyclean-am

distclean: distclean-am
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-hdr distclean-tags

dvi: dvi-am

dvi-am:

html: html-am

html-am:

info: info-am

info-am:

install-data-am: install-attributelogDATA install-docsDATA \
	install-drivedbDATA install-examplesDATA \
	install-examplesSCRIPTS install-initdDATA install-man \
	install-savestatesDATA install-sysscriptSCRIPTS \
	install-systemdsystemunitDATA

install-dvi: install-dvi-am

install-dvi-am:

install-exec-am: install-sbinPROGRAMS install-sbinSCRIPTS \
	install-sysconfDATA

install-html: install-html-am

install-html-am:

install-info: install-info-am

install-info-am:

@OS_SOLARIS_FALSE@install-man: install-man5 install-man8

install-pdf: install-pdf-am

install-pdf-am:

install-ps: install-ps-am

install-ps-am:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf $(top_srcdir)/autom4te.cache
	-rm -rf ./$(DEPDIR)
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-compile mostlyclean-generic

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-attributelogDATA uninstall-docsDATA \
	uninstall-drivedbDATA uninstall-examplesDATA \
	uninstall-examplesSCRIPTS uninstall-initdDATA uninstall-man \
	uninstall-savestatesDATA uninstall-sbinPROGRAMS \
	uninstall-sbinSCRIPTS uninstall-sysconfDATA \
	uninstall-sysscriptSCRIPTS uninstall-systemdsystemunitDATA

@OS_SOLARIS_FALSE@uninstall-man: uninstall-man5 uninstall-man8

.MAKE: all install-am install-strip

.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
	clean-cscope clean-generic clean-sbinPROGRAMS cscope \
	cscopelist ctags dist dist-all dist-bzip2 dist-gzip dist-lzip \
	dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
	distclean-compile distclean-generic distclean-hdr \
	distclean-tags distcleancheck distdir distuninstallcheck dvi \
	dvi-am html html-am info info-am install install-am \
	install-attributelogDATA install-data install-data-am \
	install-docsDATA install-drivedbDATA install-dvi \
	install-dvi-am install-examplesDATA install-examplesSCRIPTS \
	install-exec install-exec-am install-html install-html-am \
	install-info install-info-am install-initdDATA install-man \
	install-man5 install-man8 install-pdf install-pdf-am \
	install-ps install-ps-am install-savestatesDATA \
	install-sbinPROGRAMS install-sbinSCRIPTS install-strip \
	install-sysconfDATA install-sysscriptSCRIPTS \
	install-systemdsystemunitDATA installcheck installcheck-am \
	installdirs maintainer-clean maintainer-clean-generic \
	mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
	ps ps-am tags uninstall uninstall-am \
	uninstall-attributelogDATA uninstall-docsDATA \
	uninstall-drivedbDATA uninstall-examplesDATA \
	uninstall-examplesSCRIPTS uninstall-initdDATA uninstall-man \
	uninstall-man5 uninstall-man8 uninstall-savestatesDATA \
	uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS \
	uninstall-sysconfDATA uninstall-sysscriptSCRIPTS \
	uninstall-systemdsystemunitDATA


@SET_MAKE@
@OS_SOLARIS_TRUE@install-man: $(extra_MANS)
@OS_SOLARIS_TRUE@	@$(NORMAL_INSTALL)
@OS_SOLARIS_TRUE@	$(mkinstalldirs) $(DESTDIR)$(mandir)/man4
@OS_SOLARIS_TRUE@	$(mkinstalldirs) $(DESTDIR)$(mandir)/man1m
@OS_SOLARIS_TRUE@	for i in $(extra_MANS); do \
@OS_SOLARIS_TRUE@	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
@OS_SOLARIS_TRUE@	  else file=$$i; fi; \
@OS_SOLARIS_TRUE@	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
@OS_SOLARIS_TRUE@	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
@OS_SOLARIS_TRUE@	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
@OS_SOLARIS_TRUE@	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@OS_SOLARIS_TRUE@	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$$ext/$$inst"; \
@OS_SOLARIS_TRUE@	  $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$$ext/$$inst; \
@OS_SOLARIS_TRUE@	done
@OS_SOLARIS_TRUE@uninstall-man:
@OS_SOLARIS_TRUE@	@$(NORMAL_UNINSTALL)
@OS_SOLARIS_TRUE@	for i in $(extra_MANS); do \
@OS_SOLARIS_TRUE@	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
@OS_SOLARIS_TRUE@	  else file=$$i; fi; \
@OS_SOLARIS_TRUE@	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
@OS_SOLARIS_TRUE@	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
@OS_SOLARIS_TRUE@	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
@OS_SOLARIS_TRUE@	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
@OS_SOLARIS_TRUE@	  echo " rm -f $(DESTDIR)$(mandir)/man$$ext/$$inst"; \
@OS_SOLARIS_TRUE@	  rm -f $(DESTDIR)$(mandir)/man$$ext/$$inst; \
@OS_SOLARIS_TRUE@	done
@OS_SOLARIS_TRUE@%.1m: %.8
@OS_SOLARIS_TRUE@	awk '/^.TH/ {$$3="1m"} {print}' < $< | \
@OS_SOLARIS_TRUE@	sed -e 's/smartd\.conf\(.*\)(5)/smartd.conf\1(4)/g' \
@OS_SOLARIS_TRUE@            -e 's/syslog\.conf\(.*\)(5)/syslog.conf\1(4)/g' \
@OS_SOLARIS_TRUE@	    -e 's/smartctl\(.*\)(8)/smartctl\1(1m)/g' \
@OS_SOLARIS_TRUE@	    -e 's/syslogd\(.*\)(8)/syslogd\1(1m)/g' \
@OS_SOLARIS_TRUE@            -e 's|/var/log/messages|/var/adm/messages|g' \
@OS_SOLARIS_TRUE@	    -e 's/smartd\(.*\)(8)/smartd\1(1m)/g' > $@
@OS_SOLARIS_TRUE@%.4: %.5
@OS_SOLARIS_TRUE@	awk '/^.TH/ {$$3="4"}  {print}' < $< | \
@OS_SOLARIS_TRUE@	sed -e 's/smartd\.conf\(.*\)(5)/smartd.conf\1(4)/g' \
@OS_SOLARIS_TRUE@            -e 's/syslog\.conf\(.*\)(5)/syslog.conf\1(4)/g' \
@OS_SOLARIS_TRUE@	    -e 's/smartctl\(.*\)(8)/smartdctl\1(1m)/g' \
@OS_SOLARIS_TRUE@	    -e 's/syslogd\(.*\)(8)/syslogd\1(1m)/g' \
@OS_SOLARIS_TRUE@            -e 's|/var/log/messages|/var/adm/messages|g' \
@OS_SOLARIS_TRUE@	    -e 's/smartd\(.*\)(8)/smartd\1(1m)/g' > $@

# If modified smartd.conf exists install smartd.conf.sample instead
install-sysconfDATA: $(sysconf_DATA)
	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
	@s="$(srcdir)/smartd.conf"; \
	f="$(DESTDIR)$(sysconfdir)/smartd.conf$(smartd_suffix)"; \
	if test -z "$(smartd_suffix)" && test -f "$$f"; then \
	  if cmp "$$s" "$$f" >/dev/null 2>/dev/null; then :; else \
	    echo "************************************************************"; \
	    echo "*** $$f preserved"; \
	    echo "*** installing smartd.conf.sample instead"; \
	    echo "************************************************************"; \
	    f="$$f".sample; \
	  fi; \
	fi; \
	echo " $(INSTALL_DATA) $$s $$f"; \
	$(INSTALL_DATA) "$$s" "$$f"

# If smartd.conf.sample exists preserve smartd.conf
uninstall-sysconfDATA:
	@f="$(DESTDIR)$(sysconfdir)/smartd.conf$(smartd_suffix)"; \
	if test -z "$(smartd_suffix)" && test -f "$$f".sample; then \
	  echo "************************************************************"; \
	  echo "*** $$f preserved"; \
	  echo "*** removing smartd.conf.sample instead"; \
	  echo "************************************************************"; \
	  f="$$f".sample; \
	fi; \
	echo " rm -f $$f"; \
	rm -f "$$f"

utility.o: svnversion.h

# Get version info from SVN
@IS_SVN_BUILD_TRUE@svnversion.h: ChangeLog Makefile $(svn_deps)
@IS_SVN_BUILD_TRUE@	echo '/* svnversion.h.  Generated by Makefile from svn info.  */' > $@
@IS_SVN_BUILD_TRUE@	(cd $(srcdir) \
@IS_SVN_BUILD_TRUE@	 && svnversion 2>/dev/null | sed -n 's,^\([0-9].*\),REV  "\1",p' \
@IS_SVN_BUILD_TRUE@	 && TZ= LC_ALL=C svn info 2>/dev/null \
@IS_SVN_BUILD_TRUE@	 | sed -n 'h;s,^.* Date: *\([^ ]*\) .*$$,DATE "\1",p;g;s,^.* Date: *[^ ]* *\([^ ]*\) .*$$,TIME "\1",p') \
@IS_SVN_BUILD_TRUE@	| sed 's,^,#define SMARTMONTOOLS_SVN_,' >> $@

# SVN not available, guess version info from Id strings
@IS_SVN_BUILD_FALSE@svnversion.h: ChangeLog Makefile
@IS_SVN_BUILD_FALSE@	echo '/* svnversion.h.  Generated by Makefile from Id strings.  */' > $@
@IS_SVN_BUILD_FALSE@	(cd $(srcdir) && cat ChangeLog Makefile.am configure.ac smart*.in *.cpp *.h *.s) \
@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' \
@IS_SVN_BUILD_FALSE@	| sort -n -r \
@IS_SVN_BUILD_FALSE@	| sed -n 'h;s,^\([^ ]*\) .*$$,REV  "\1",p;g;s,^[^ ]* \([^ ]*\) .*$$,DATE "\1",p;g;s,^[^ ]* [^ ]* \([^ ]*\)$$,TIME "\1",p;q' \
@IS_SVN_BUILD_FALSE@	| sed 's,^,#define SMARTMONTOOLS_SVN_,' >> $@

update-smart-drivedb: update-smart-drivedb.in config.status
	$(SHELL) ./config.status --file=$@
	chmod +x $@

smartd_warning.sh: smartd_warning.sh.in config.status
	$(SHELL) ./config.status --file=$@
	chmod +x $@

@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@SMART : os_darwin/SMART.in
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	sed "s|/usr/sbin/|$(sbindir)/|" $< > $@

@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@install-initdDATA-darwin: $(initd_DATA)
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	$(mkinstalldirs) $(DESTDIR)$(initddir)
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	$(mkinstalldirs) $(DESTDIR)$(initddir)/SMART
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	$(mkinstalldirs) $(DESTDIR)$(initddir)/SMART/Resources
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	$(INSTALL_SCRIPT) $(top_builddir)/SMART $(DESTDIR)$(initddir)/SMART
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	$(INSTALL_DATA) $(srcdir)/os_darwin/StartupParameters.plist \
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	    $(DESTDIR)$(initddir)/SMART/StartupParameters.plist
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	for i in English ; do \
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	  RDIR=$(DESTDIR)$(initddir)/SMART/Resources/$${i}.lproj ; \
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	  $(mkinstalldirs) $$RDIR ;\
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	  $(INSTALL_DATA) $(srcdir)/os_darwin/$${i}_Localizable.strings \
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	    $$RDIR/Localizable.strings ; \
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	done

@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@uninstall-initdDATA-darwin:
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_TRUE@	rm -rf $(DESTDIR)$(initddir)/$(initd_install_name)

@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@@initdfile@: $(srcdir)/@initdfile@.in Makefile
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@	sed "s|/usr/local/sbin/|$(sbindir)/|g" $(srcdir)/@initdfile@.in > $@

@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@install-initdDATA-generic: $(initd_DATA)
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@	$(mkinstalldirs) $(DESTDIR)$(initddir)
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@	$(INSTALL_SCRIPT) $(top_builddir)/@initdfile@ $(DESTDIR)$(initddir)/smartd$(smartd_suffix)

@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@uninstall-initdDATA-generic:
@INSTALL_INITSCRIPT_TRUE@@OS_DARWIN_FALSE@	rm -rf $(DESTDIR)$(initddir)/$(initd_install_name)

@INSTALL_INITSCRIPT_FALSE@install-initdDATA-null:
@INSTALL_INITSCRIPT_FALSE@uninstall-initdDATA-null:

install-initdDATA : $(initd_DATA_install)

uninstall-initdDATA: $(initd_DATA_uninstall)

smartd.service: smartd.service.in Makefile
	sed -e 's|/usr/local/sbin/smartd|$(sbindir)/smartd|g' \
	    -e 's|/usr/local/etc/sysconfig/smartmontools|$(sysconfdir)/sysconfig/smartmontools|g' \
	$(srcdir)/smartd.service.in > $@

# Implicit rule 'smart%: smart%.in ...' does not work with BSD make
smartctl.8: smartctl.8.in Makefile svnversion.h
	cat $(srcdir)/smartctl.8.in | $(MAN_FILTER) > $@

smartd.8: smartd.8.in Makefile svnversion.h
	cat $(srcdir)/smartd.8.in | $(MAN_FILTER) > $@

smartd.conf.5: smartd.conf.5.in Makefile svnversion.h
	cat $(srcdir)/smartd.conf.5.in | $(MAN_FILTER) > $@

# Convert man pages into .html and .txt

htmlman: smartctl.8.html smartd.8.html smartd.conf.5.html

txtman:  smartctl.8.txt smartd.8.txt smartd.conf.5.txt

@OS_WIN32_MINGW_TRUE@%.5.html: %.5
@OS_WIN32_MINGW_TRUE@	$(DOS2UNIX) < $< | $(MAN2HTML) | $(FIXHTML) > $@

@OS_WIN32_MINGW_TRUE@%.8.html: %.8
@OS_WIN32_MINGW_TRUE@	$(DOS2UNIX) < $< | $(MAN2HTML) | $(FIXHTML) > $@

@OS_WIN32_MINGW_FALSE@%.5.html: %.5
@OS_WIN32_MINGW_FALSE@	$(MAN2HTML) $< | $(FIXHTML) > $@

@OS_WIN32_MINGW_FALSE@%.8.html: %.8
@OS_WIN32_MINGW_FALSE@	$(MAN2HTML) $< | $(FIXHTML) > $@

%.5.txt: %.5
	$(MAN2TXT) $< > $@

%.8.txt: %.8
	$(MAN2TXT) $< > $@

# Check drive database syntax
check:
	@if ./smartctl -B $(srcdir)/drivedb.h -P showall >/dev/null; then \
	  echo "$(srcdir)/drivedb.h: OK"; \
	else \
	  echo "$(srcdir)/drivedb.h: Syntax check failed"; exit 1; \
	fi

# Windows resources

@OS_WIN32_MINGW_TRUE@smartctl_res.o: smartctl_res.rc
@OS_WIN32_MINGW_TRUE@	$(WINDRES) $< $@

@OS_WIN32_MINGW_TRUE@smartd_res.o: smartd_res.rc syslogevt.rc
@OS_WIN32_MINGW_TRUE@	$(WINDRES) -I. $< $@

@OS_WIN32_MINGW_TRUE@smartctl_res.rc: os_win32/smartctl_res.rc.in Makefile svnversion.h
@OS_WIN32_MINGW_TRUE@	cat $< | $(WIN_RC_FILTER) > $@

@OS_WIN32_MINGW_TRUE@smartd_res.rc: os_win32/smartd_res.rc.in Makefile svnversion.h
@OS_WIN32_MINGW_TRUE@	cat $< | $(WIN_RC_FILTER) > $@

@OS_WIN32_MINGW_TRUE@syslogevt.rc: os_win32/syslogevt.mc
@OS_WIN32_MINGW_TRUE@	$(WINDMC) -b $<

# Build Windows distribution

@OS_WIN32_MINGW_TRUE@dist-win32: $(distzip_win32)

@OS_WIN32_MINGW_TRUE@install-win32: $(distinst_win32)
@OS_WIN32_MINGW_TRUE@	./$(distinst_win32)

@OS_WIN32_MINGW_TRUE@installer-win32: $(distinst_win32)

@OS_WIN32_MINGW_TRUE@distdir-win32: distdir.mkdir $(FILES_WIN32)

@OS_WIN32_MINGW_TRUE@$(distzip_win32): distdir.mkdir $(FILES_WIN32)
@OS_WIN32_MINGW_TRUE@	@rm -fv $(distzip_win32)
@OS_WIN32_MINGW_TRUE@	cd $(distdir_win32) && zip -9 ../$(distzip_win32) bin/* doc/*
@OS_WIN32_MINGW_TRUE@	md5sum $@ > $@.md5
@OS_WIN32_MINGW_TRUE@	sha1sum $@ > $@.sha1
@OS_WIN32_MINGW_TRUE@	sha256sum $@ > $@.sha256

# Build NSIS installer
# Note: Only option character '-' is also compatible with Linux version of makensis
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@$(distinst_win32): os_win32/installer.nsi distdir.mkdir $(FILES_WIN32)
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	test -z '$(builddir_win64)' || ( cd $(builddir_win64) && make distdir-win32 )
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	@date=`sed -n 's,^.*DATE[^"]*"\([^"]*\)".*$$,\1,p' svnversion.h`; \
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	rev=`sed -n 's,^.*REV[^"]*"\([^"]*\)".*$$,r\1,p' svnversion.h`; \
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	verstr="$(PACKAGE_VERSION) $$date $$rev "$(BUILD_INFO); \
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	d64=; test -z '$(builddir_win64)' || d64='-DINPDIR64=$(builddir_win64)/$(PACKAGE)-$(VERSION).win64'; \
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	echo "'$(MAKENSIS)' -V2 -NOCD -DINPDIR=$(distdir_win32) $$d64 -DOUTFILE=$@ -DVERSTR='$$verstr' $<"; \
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	'$(MAKENSIS)' -V2 -NOCD -DINPDIR=$(distdir_win32) $$d64 -DOUTFILE=$@ -DVERSTR="$$verstr" $<
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	md5sum $@ > $@.md5
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	sha1sum $@ > $@.sha1
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	sha256sum $@ > $@.sha256

# Build drivedb.h update tool
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@update-smart-drivedb.exe: os_win32/update-smart-drivedb.nsi
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_TRUE@	"$(MAKENSIS)" -V2 -NOCD -DBRANCH=$(DRIVEDB_BRANCH) $<

@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_FALSE@$(distinst_win32):
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_FALSE@	@echo "makensis: command not found. Please install NSIS from http://nsis.sourceforge.net/" 1>&2
@OS_WIN32_MINGW_TRUE@@OS_WIN32_NSIS_FALSE@	@exit 1

@OS_WIN32_MINGW_TRUE@cleandist-win32:
@OS_WIN32_MINGW_TRUE@	rm -rf $(distdir_win32) distdir.mkdir

@OS_WIN32_MINGW_TRUE@distdir.mkdir:
@OS_WIN32_MINGW_TRUE@	@test -d $(exedir_win32) || mkdir -pv $(exedir_win32)
@OS_WIN32_MINGW_TRUE@	@test -d $(docdir_win32) || mkdir -pv $(docdir_win32)
@OS_WIN32_MINGW_TRUE@	touch $@

@OS_WIN32_MINGW_TRUE@$(exedir_win32)/%.exe: %.exe
@OS_WIN32_MINGW_TRUE@	cp -p $< $@
@OS_WIN32_MINGW_TRUE@	if test -n '$(STRIP)'; then $(STRIP) -s $@; else strip -s $@; fi
@OS_WIN32_MINGW_TRUE@	touch -r $< $@

# strip would break NSIS integrity check
@OS_WIN32_MINGW_TRUE@$(exedir_win32)/update-smart-drivedb.exe: update-smart-drivedb.exe
@OS_WIN32_MINGW_TRUE@	cp -p $< $@

# runcmd?.exe only differ by .exe.manifest files
@OS_WIN32_MINGW_TRUE@$(exedir_win32)/runcmda.exe: $(exedir_win32)/runcmdu.exe
@OS_WIN32_MINGW_TRUE@	cp -p $< $@

@OS_WIN32_MINGW_TRUE@$(exedir_win32)/%.h: $(srcdir)/%.h
@OS_WIN32_MINGW_TRUE@	$(UNIX2DOS) < $< > $@
@OS_WIN32_MINGW_TRUE@	touch -r $< $@

@OS_WIN32_MINGW_TRUE@$(exedir_win32)/%.exe.manifest: $(srcdir)/os_win32/%.exe.manifest
@OS_WIN32_MINGW_TRUE@	$(UNIX2DOS) < $< > $@
@OS_WIN32_MINGW_TRUE@	touch -r $< $@

@OS_WIN32_MINGW_TRUE@$(exedir_win32)/%.cmd: $(srcdir)/os_win32/%.cmd
@OS_WIN32_MINGW_TRUE@	$(UNIX2DOS) < $< > $@
@OS_WIN32_MINGW_TRUE@	touch -r $< $@

@OS_WIN32_MINGW_TRUE@$(docdir_win32)/%.html: %.html
@OS_WIN32_MINGW_TRUE@	$(UNIX2DOS) < $< > $@
@OS_WIN32_MINGW_TRUE@	touch -r $< $@

@OS_WIN32_MINGW_TRUE@$(docdir_win32)/%.txt: %.txt
@OS_WIN32_MINGW_TRUE@	$(UNIX2DOS) < $< > $@
@OS_WIN32_MINGW_TRUE@	touch -r $< $@

@OS_WIN32_MINGW_TRUE@$(docdir_win32)/%.txt: $(srcdir)/%
@OS_WIN32_MINGW_TRUE@	$(UNIX2DOS) < $< > $@
@OS_WIN32_MINGW_TRUE@	touch -r $< $@

@OS_WIN32_MINGW_TRUE@$(docdir_win32)/%.conf: $(srcdir)/%.conf
@OS_WIN32_MINGW_TRUE@	$(UNIX2DOS) < $< > $@
@OS_WIN32_MINGW_TRUE@	touch -r $< $@

@OS_WIN32_MINGW_TRUE@$(docdir_win32)/checksums$(win_bits).txt: $(EXEFILES_WIN32)
@OS_WIN32_MINGW_TRUE@	(cd $(exedir_win32) && md5sum *.exe && sha1sum *.exe && sha256sum *.exe) \
@OS_WIN32_MINGW_TRUE@	| $(UNIX2DOS) > $@

# Build non-console version of smartctl for GSmartControl.
# The script below changes the word at offset 220 (Subsystem) from 3
# (Console) to 2 (GUI) in a copy of smartctl.exe.
# This will be changed when a tool (like 'editbin') is available in
# the Cygwin distribution
@OS_WIN32_MINGW_TRUE@smartctl-nc.exe: smartctl.exe
@OS_WIN32_MINGW_TRUE@	@rm -f $@
@OS_WIN32_MINGW_TRUE@	cp -p smartctl.exe $@.tmp
@OS_WIN32_MINGW_TRUE@	@if test `od -A n -j 220 -N 2 -d $@.tmp` -eq 3; then :; \
@OS_WIN32_MINGW_TRUE@	  else echo "invalid EXE header"; exit 1; fi
@OS_WIN32_MINGW_TRUE@	@echo "editbin /subsystem:windows $@.tmp"
@OS_WIN32_MINGW_TRUE@	@echo -ne '\002' | dd bs=1 seek=220 count=1 conv=notrunc of=$@.tmp 2>/dev/null
@OS_WIN32_MINGW_TRUE@	@if test `od -A n -j 220 -N 2 -d $@.tmp` -eq 2; then :; \
@OS_WIN32_MINGW_TRUE@	  else echo "EXE patch failed"; exit 1; fi
@OS_WIN32_MINGW_TRUE@	mv -f $@.tmp $@

# Build runcmd?.exe and wtssendmsg.exe
@OS_WIN32_MINGW_TRUE@runcmdu.exe: os_win32/runcmd.c
@OS_WIN32_MINGW_TRUE@	$(CC) -Os -o $@ $<

@OS_WIN32_MINGW_TRUE@wtssendmsg.exe: os_win32/wtssendmsg.c
@OS_WIN32_MINGW_TRUE@	$(CC) -Os -o $@ $< -lwtsapi32

# Build os_win32/vc10/{config.h,smart*.rc,svnversion.h} for MSVC10 from MinGW files

@OS_WIN32_MINGW_TRUE@config-vc10: $(srcdir)/os_win32/vc10/config.h \
@OS_WIN32_MINGW_TRUE@             $(srcdir)/os_win32/vc10/smartctl_res.rc \
@OS_WIN32_MINGW_TRUE@             $(srcdir)/os_win32/vc10/smartd_res.rc \
@OS_WIN32_MINGW_TRUE@             $(srcdir)/os_win32/vc10/svnversion.h

@OS_WIN32_MINGW_TRUE@$(srcdir)/os_win32/vc10/config.h: config.h Makefile
@OS_WIN32_MINGW_TRUE@	sed -e '1i/* os_win32/vc10/config.h.  Generated from config.h by Makefile.  */' \
@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 */,' \
@OS_WIN32_MINGW_TRUE@	    -e 's,^\(#define SMARTMONTOOLS_BUILD_HOST "[^-]*\)[^"]*,\1-pc-w32vc10,' $< > $@

@OS_WIN32_MINGW_TRUE@$(srcdir)/os_win32/vc10/svnversion.h: svnversion.h
@OS_WIN32_MINGW_TRUE@	cp $< $@

@OS_WIN32_MINGW_TRUE@$(srcdir)/os_win32/vc10/smartctl_res.rc: smartctl_res.rc
@OS_WIN32_MINGW_TRUE@	cp $< $@

@OS_WIN32_MINGW_TRUE@$(srcdir)/os_win32/vc10/smartd_res.rc: smartd_res.rc
@OS_WIN32_MINGW_TRUE@	cp $< $@

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>