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