📄 makefile.am
字号:
## Process this file with automake to produce Makefile.in## $Id: Makefile.am,v 1.81 2007/04/01 16:49:44 shattered Exp $#@SET_MAKE@# Make sure .cpp takes precedence to avoid compiling old .c fileSUFFIXES = .cpp .c .s .oAM_CPPFLAGS = -DSMARTMONTOOLS_SYSCONFDIR=\"$(sysconfdir)\"sbin_PROGRAMS = smartd \ smartctlsmartd_SOURCES = smartd.cpp \ smartd.h \ atacmdnames.cpp \ atacmdnames.h \ atacmds.cpp \ atacmds.h \ ataprint.cpp \ ataprint.h \ extern.h \ int64.h \ knowndrives.cpp \ knowndrives.h \ scsicmds.cpp \ scsicmds.h \ scsiata.cpp \ scsiata.h \ scsiprint.cpp \ scsiprint.h \ utility.cpp \ utility.hsmartd_LDADD = @os_deps@ @os_libs@smartd_DEPENDENCIES = @os_deps@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_solaris.cpp \ os_solaris.h \ os_solaris_ata.s \ os_win32.cpp \ os_generic.cpp \ os_generic.h \ cciss.cpp \ cciss.hif OS_WIN32_MINGWsmartd_SOURCES += \ posix/regex.h \ posix/regex.c \ os_win32/daemon_win32.h \ os_win32/daemon_win32.cpp \ os_win32/hostname_win32.h \ os_win32/hostname_win32.cpp \ os_win32/syslog.h \ os_win32/syslog_win32.cpp# Included by regex.c:EXTRA_smartd_SOURCES += \ posix/regcomp.c \ posix/regexec.c \ posix/regex_internal.c \ posix/regex_internal.hendifsmartctl_SOURCES= smartctl.cpp \ smartctl.h \ atacmdnames.cpp \ atacmdnames.h \ atacmds.cpp \ atacmds.h \ ataprint.cpp \ ataprint.h \ extern.h \ int64.h \ knowndrives.cpp \ knowndrives.h \ scsicmds.cpp \ scsicmds.h \ scsiata.cpp \ scsiata.h \ scsiprint.cpp \ scsiprint.h \ utility.cpp \ utility.hsmartctl_LDADD = @os_deps@ @os_libs@smartctl_DEPENDENCIES = @os_deps@EXTRA_smartctl_SOURCES = 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_solaris.cpp \ os_solaris.h \ os_win32.cpp \ os_generic.cpp \ os_generic.h \ cciss.cpp \ cciss.hif OS_WIN32_MINGWsmartctl_SOURCES += \ posix/regex.h \ posix/regex.c \ os_win32/syslog.h# Included by regex.c:EXTRA_smartctl_SOURCES += \ posix/regcomp.c \ posix/regexec.c \ posix/regex_internal.c \ posix/regex_internal.hendifif OS_SOLARIS# 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.extra_MANS = smartd.conf.4 \ smartctl.1m \ smartd.1minstall-man: $(extra_MANS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(mandir)/man4 $(mkinstalldirs) $(DESTDIR)$(mandir)/man1m for i in $(extra_MANS); do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$$ext/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$$ext/$$inst; \ doneuninstall-man: @$(NORMAL_UNINSTALL) for i in $(extra_MANS); do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(mandir)/man$$ext/$$inst"; \ rm -f $(DESTDIR)$(mandir)/man$$ext/$$inst; \ done%.1m: %.8 awk '/^.TH/ {$$3="1m"} {print}' < $< | \ sed -e 's/smartd\.conf\(.*\)(5)/smartd.conf\1(4)/g' \ -e 's/syslog\.conf\(.*\)(5)/syslog.conf\1(4)/g' \ -e 's/smartctl\(.*\)(8)/smartctl\1(1m)/g' \ -e 's/syslogd\(.*\)(8)/syslogd\1(1m)/g' \ -e 's|/var/log/messages|/var/adm/messages|g' \ -e 's/smartd\(.*\)(8)/smartd\1(1m)/g' > $@%.4: %.5 awk '/^.TH/ {$$3="4"} {print}' < $< | \ sed -e 's/smartd\.conf\(.*\)(5)/smartd.conf\1(4)/g' \ -e 's/syslog\.conf\(.*\)(5)/syslog.conf\1(4)/g' \ -e 's/smartctl\(.*\)(8)/smartdctl\1(1m)/g' \ -e 's/syslogd\(.*\)(8)/syslogd\1(1m)/g' \ -e 's|/var/log/messages|/var/adm/messages|g' \ -e 's/smartd\(.*\)(8)/smartd\1(1m)/g' > $@else# For systems that adopts traditional mannerman_MANS = smartd.conf.5 \ smartctl.8 \ smartd.8endifdocsdir=$(docdir)docs_DATA = AUTHORS \ CHANGELOG \ COPYING \ INSTALL \ NEWS \ README \ TODO \ WARNINGS \ smartd.confsysconf_DATA = smartd.conf$(smartd_suffix)if SMARTD_SUFFIXsmartd.conf$(smartd_suffix): smartd.conf cp ${srcdir}/smartd.conf smartd.conf$(smartd_suffix)endifEXTRA_DIST = smartmontools.spec \ smartd.initd.in \ smartd.8.in \ smartctl.8.in \ smartd.conf.5.in \ smartd.conf \ autogen.sh \ os_darwin/SMART.in \ os_darwin/StartupParameters.plist \ os_darwin/English_Localizable.strings \ os_win32/installer.nsi \ $(docs_DATA)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 \ SMARTif SMARTD_SUFFIXCLEANFILES += smartd.conf$(smartd_suffix)endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -