~ubuntu-branches/ubuntu/raring/hal/raring

« back to all changes in this revision

Viewing changes to .pc/99-autoreconf.patch/tools/linux/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl, Martin Pitt, Michael Biebl
  • Date: 2011-04-10 07:21:18 UTC
  • mfrom: (1.1.22 sid)
  • Revision ID: james.westby@ubuntu.com-20110410072118-ojw5p0hmiwe7i78v
Tags: 0.5.14-6
[ Martin Pitt ]
* Add 00upstream_video4linux_check.patch: Do not build
  hald-probe-video4linux if v4l1 is not available. (LP: #721399)
* Refresh 99-autoreconf.patch for above.
* 45-fix-libusb-detection.patch: Unfuzz.

[ Michael Biebl ]
* debian/patches/00_disable_v4l1_probing.patch
  - The hald-probe-video4linux prober supports both v4l1 and v4l2. Support
    for v4l1 has been removed from Linux kernel 2.6.38. Instead of
    disabling the prober altogether, #ifdef the v4l1 parts when building on a
    newer kernel. This partially reverts 00upstream_video4linux_check.patch.
    (Closes: #621973)
* Refresh all patches to apply cleanly.
* Use dh-autoreconf to update the build system
  - Drop debian/patches/99-autoreconf.patch
  - Add Build-Depends on dh-autoreconf.
  - Include /usr/share/cdbs/1/rules/autoreconf.mk in debian/rules.
* Bump Standards-Version to 3.9.2. No further changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
 
20
 
VPATH = @srcdir@
21
 
pkgdatadir = $(datadir)/@PACKAGE@
22
 
pkgincludedir = $(includedir)/@PACKAGE@
23
 
pkglibdir = $(libdir)/@PACKAGE@
24
 
pkglibexecdir = $(libexecdir)/@PACKAGE@
25
 
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26
 
install_sh_DATA = $(install_sh) -c -m 644
27
 
install_sh_PROGRAM = $(install_sh) -c
28
 
install_sh_SCRIPT = $(install_sh) -c
29
 
INSTALL_HEADER = $(INSTALL_DATA)
30
 
transform = $(program_transform_name)
31
 
NORMAL_INSTALL = :
32
 
PRE_INSTALL = :
33
 
POST_INSTALL = :
34
 
NORMAL_UNINSTALL = :
35
 
PRE_UNINSTALL = :
36
 
POST_UNINSTALL = :
37
 
build_triplet = @build@
38
 
host_triplet = @host@
39
 
libexec_PROGRAMS =
40
 
subdir = tools/linux
41
 
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
42
 
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43
 
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
44
 
        $(top_srcdir)/configure.in
45
 
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
46
 
        $(ACLOCAL_M4)
47
 
mkinstalldirs = $(install_sh) -d
48
 
CONFIG_HEADER = $(top_builddir)/config.h
49
 
CONFIG_CLEAN_FILES =
50
 
CONFIG_CLEAN_VPATH_FILES =
51
 
am__installdirs = "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(scriptdir)" \
52
 
        "$(DESTDIR)$(udevrulesdir)"
53
 
PROGRAMS = $(libexec_PROGRAMS)
54
 
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
55
 
am__vpath_adj = case $$p in \
56
 
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
57
 
    *) f=$$p;; \
58
 
  esac;
59
 
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
60
 
am__install_max = 40
61
 
am__nobase_strip_setup = \
62
 
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
63
 
am__nobase_strip = \
64
 
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
65
 
am__nobase_list = $(am__nobase_strip_setup); \
66
 
  for p in $$list; do echo "$$p $$p"; done | \
67
 
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
68
 
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
69
 
    if (++n[$$2] == $(am__install_max)) \
70
 
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
71
 
    END { for (dir in files) print dir, files[dir] }'
72
 
am__base_list = \
73
 
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
74
 
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
75
 
SCRIPTS = $(script_SCRIPTS)
76
 
AM_V_GEN = $(am__v_GEN_$(V))
77
 
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
78
 
am__v_GEN_0 = @echo "  GEN   " $@;
79
 
AM_V_at = $(am__v_at_$(V))
80
 
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
81
 
am__v_at_0 = @
82
 
SOURCES =
83
 
DIST_SOURCES =
84
 
DATA = $(udevrules_DATA)
85
 
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
86
 
ACLOCAL = @ACLOCAL@
87
 
ACPI_ACPID = @ACPI_ACPID@
88
 
ACPI_PROC = @ACPI_PROC@
89
 
AMTAR = @AMTAR@
90
 
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
91
 
AR = @AR@
92
 
AUTOCONF = @AUTOCONF@
93
 
AUTOHEADER = @AUTOHEADER@
94
 
AUTOMAKE = @AUTOMAKE@
95
 
AWK = @AWK@
96
 
BLKID_CFLAGS = @BLKID_CFLAGS@
97
 
BLKID_LIBS = @BLKID_LIBS@
98
 
BUILD_ACPI_IBM = @BUILD_ACPI_IBM@
99
 
BUILD_ACPI_TOSHIBA = @BUILD_ACPI_TOSHIBA@
100
 
CC = @CC@
101
 
CCDEPMODE = @CCDEPMODE@
102
 
CFLAGS = @CFLAGS@
103
 
CPP = @CPP@
104
 
CPPFLAGS = @CPPFLAGS@
105
 
CXX = @CXX@
106
 
CXXCPP = @CXXCPP@
107
 
CXXDEPMODE = @CXXDEPMODE@
108
 
CXXFLAGS = @CXXFLAGS@
109
 
CYGPATH_W = @CYGPATH_W@
110
 
DBUS_CFLAGS = @DBUS_CFLAGS@
111
 
DBUS_LIBS = @DBUS_LIBS@
112
 
DBUS_SYS_DIR = @DBUS_SYS_DIR@
113
 
DEFS = @DEFS@
114
 
DEPDIR = @DEPDIR@
115
 
DSYMUTIL = @DSYMUTIL@
116
 
DUMPBIN = @DUMPBIN@
117
 
ECHO_C = @ECHO_C@
118
 
ECHO_N = @ECHO_N@
119
 
ECHO_T = @ECHO_T@
120
 
EGREP = @EGREP@
121
 
EJECT_PROGRAM = @EJECT_PROGRAM@
122
 
EXEEXT = @EXEEXT@
123
 
EXPAT_LIB = @EXPAT_LIB@
124
 
FGREP = @FGREP@
125
 
GLIB_CFLAGS = @GLIB_CFLAGS@
126
 
GLIB_LIBS = @GLIB_LIBS@
127
 
GPERF = @GPERF@
128
 
GREP = @GREP@
129
 
HALD_BACKEND = @HALD_BACKEND@
130
 
HALD_OS_LIBS = @HALD_OS_LIBS@
131
 
HALD_PID_FILE = @HALD_PID_FILE@
132
 
HALD_SOCKET_DIR = @HALD_SOCKET_DIR@
133
 
HAL_GROUP = @HAL_GROUP@
134
 
HAL_USER = @HAL_USER@
135
 
HAVE_GPERF = @HAVE_GPERF@
136
 
HTML_DIR = @HTML_DIR@
137
 
INSTALL = @INSTALL@
138
 
INSTALL_DATA = @INSTALL_DATA@
139
 
INSTALL_PROGRAM = @INSTALL_PROGRAM@
140
 
INSTALL_SCRIPT = @INSTALL_SCRIPT@
141
 
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
142
 
LD = @LD@
143
 
LDFLAGS = @LDFLAGS@
144
 
LIBOBJS = @LIBOBJS@
145
 
LIBS = @LIBS@
146
 
LIBTOOL = @LIBTOOL@
147
 
LIBUSB20_LIBS = @LIBUSB20_LIBS@
148
 
LINUX_INPUT_H = @LINUX_INPUT_H@
149
 
LIPO = @LIPO@
150
 
LN_S = @LN_S@
151
 
LTLIBOBJS = @LTLIBOBJS@
152
 
LT_AGE = @LT_AGE@
153
 
LT_CURRENT = @LT_CURRENT@
154
 
LT_REVISION = @LT_REVISION@
155
 
MAINT = @MAINT@
156
 
MAKEINFO = @MAKEINFO@
157
 
MAN_PAGES_ENABLED = @MAN_PAGES_ENABLED@
158
 
MKDIR_P = @MKDIR_P@
159
 
NM = @NM@
160
 
NMEDIT = @NMEDIT@
161
 
OBJDUMP = @OBJDUMP@
162
 
OBJEXT = @OBJEXT@
163
 
OTOOL = @OTOOL@
164
 
OTOOL64 = @OTOOL64@
165
 
PACKAGE = @PACKAGE@
166
 
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
167
 
PACKAGE_NAME = @PACKAGE_NAME@
168
 
PACKAGE_STRING = @PACKAGE_STRING@
169
 
PACKAGE_TARNAME = @PACKAGE_TARNAME@
170
 
PACKAGE_URL = @PACKAGE_URL@
171
 
PACKAGE_VERSION = @PACKAGE_VERSION@
172
 
PARTED_CFLAGS = @PARTED_CFLAGS@
173
 
PARTED_LIBS = @PARTED_LIBS@
174
 
PATH_SEPARATOR = @PATH_SEPARATOR@
175
 
PCI_IDS_DIR = @PCI_IDS_DIR@
176
 
PKG_CONFIG = @PKG_CONFIG@
177
 
POLKIT_CFLAGS = @POLKIT_CFLAGS@
178
 
POLKIT_LIBS = @POLKIT_LIBS@
179
 
POLKIT_POLICY_FILE_VALIDATE = @POLKIT_POLICY_FILE_VALIDATE@
180
 
RANLIB = @RANLIB@
181
 
SED = @SED@
182
 
SET_MAKE = @SET_MAKE@
183
 
SHELL = @SHELL@
184
 
STRIP = @STRIP@
185
 
USB_IDS_DIR = @USB_IDS_DIR@
186
 
USE_PARTED = @USE_PARTED@
187
 
USE_PCI_IDS = @USE_PCI_IDS@
188
 
USE_PNP_IDS = @USE_PNP_IDS@
189
 
USE_USB_IDS = @USE_USB_IDS@
190
 
VERSION = @VERSION@
191
 
VOLUME_ID_CFLAGS = @VOLUME_ID_CFLAGS@
192
 
VOLUME_ID_LIBS = @VOLUME_ID_LIBS@
193
 
XMLLINT = @XMLLINT@
194
 
XMLTO = @XMLTO@
195
 
abs_builddir = @abs_builddir@
196
 
abs_srcdir = @abs_srcdir@
197
 
abs_top_builddir = @abs_top_builddir@
198
 
abs_top_srcdir = @abs_top_srcdir@
199
 
ac_ct_CC = @ac_ct_CC@
200
 
ac_ct_CXX = @ac_ct_CXX@
201
 
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
202
 
am__include = @am__include@
203
 
am__leading_dot = @am__leading_dot@
204
 
am__quote = @am__quote@
205
 
am__tar = @am__tar@
206
 
am__untar = @am__untar@
207
 
bindir = @bindir@
208
 
build = @build@
209
 
build_alias = @build_alias@
210
 
build_cpu = @build_cpu@
211
 
build_os = @build_os@
212
 
build_vendor = @build_vendor@
213
 
builddir = @builddir@
214
 
datadir = @datadir@
215
 
datarootdir = @datarootdir@
216
 
docdir = @docdir@
217
 
dvidir = @dvidir@
218
 
exec_prefix = @exec_prefix@
219
 
host = @host@
220
 
host_alias = @host_alias@
221
 
host_cpu = @host_cpu@
222
 
host_os = @host_os@
223
 
host_vendor = @host_vendor@
224
 
htmldir = @htmldir@
225
 
includedir = @includedir@
226
 
infodir = @infodir@
227
 
install_sh = @install_sh@
228
 
libdir = @libdir@
229
 
libexecdir = @libexecdir@
230
 
localedir = @localedir@
231
 
localstatedir = @localstatedir@
232
 
lt_ECHO = @lt_ECHO@
233
 
mandir = @mandir@
234
 
mkdir_p = @mkdir_p@
235
 
oldincludedir = @oldincludedir@
236
 
pdfdir = @pdfdir@
237
 
prefix = @prefix@
238
 
program_transform_name = @program_transform_name@
239
 
psdir = @psdir@
240
 
sbindir = @sbindir@
241
 
sharedstatedir = @sharedstatedir@
242
 
srcdir = @srcdir@
243
 
sysconfdir = @sysconfdir@
244
 
target_alias = @target_alias@
245
 
top_build_prefix = @top_build_prefix@
246
 
top_builddir = @top_builddir@
247
 
top_srcdir = @top_srcdir@
248
 
udev_prefix = @udev_prefix@
249
 
udevrulesdir = $(udev_prefix)/udev/rules.d
250
 
udevrules_DATA = 90-hal.rules
251
 
AM_CPPFLAGS = \
252
 
        -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
253
 
        -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
254
 
        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
255
 
        -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
256
 
        -DPACKAGE_LOCALSTATEDIR=\""$(localstatedir)"\" \
257
 
        -DPACKAGE_SCRIPT_DIR=\""$(libexecdir)/scripts"\" \
258
 
        -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
259
 
        -I$(top_srcdir) -I$(top_srcdir)/libhal -I$(top_srcdir)/libhal-storage \
260
 
        @DBUS_CFLAGS@ @GLIB_CFLAGS@ @POLKIT_CFLAGS@
261
 
 
262
 
scriptdir = $(libexecdir)/scripts/linux
263
 
script_SCRIPTS = \
264
 
        hal-luks-setup-linux                            \
265
 
        hal-luks-teardown-linux                         \
266
 
        hal-luks-remove-linux                           \
267
 
        hal-system-power-suspend-linux                  \
268
 
        hal-system-power-suspend-hybrid-linux           \
269
 
        hal-system-power-hibernate-linux                \
270
 
        hal-system-power-shutdown-linux                 \
271
 
        hal-system-power-reboot-linux                   \
272
 
        hal-system-lcd-get-brightness-linux             \
273
 
        hal-system-lcd-set-brightness-linux             \
274
 
        hal-system-power-set-power-save-linux           \
275
 
        hal-system-killswitch-get-power-linux           \
276
 
        hal-system-killswitch-set-power-linux           \
277
 
        hal-dockstation-undock-linux                    \
278
 
        hal-system-wol-linux
279
 
 
280
 
EXTRA_DIST = 90-hal.rules $(script_SCRIPTS)
281
 
all: all-am
282
 
 
283
 
.SUFFIXES:
284
 
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
285
 
        @for dep in $?; do \
286
 
          case '$(am__configure_deps)' in \
287
 
            *$$dep*) \
288
 
              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
289
 
                && { if test -f $@; then exit 0; else break; fi; }; \
290
 
              exit 1;; \
291
 
          esac; \
292
 
        done; \
293
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/linux/Makefile'; \
294
 
        $(am__cd) $(top_srcdir) && \
295
 
          $(AUTOMAKE) --gnu tools/linux/Makefile
296
 
.PRECIOUS: Makefile
297
 
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
298
 
        @case '$?' in \
299
 
          *config.status*) \
300
 
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
301
 
          *) \
302
 
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
303
 
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
304
 
        esac;
305
 
 
306
 
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
307
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
308
 
 
309
 
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
310
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
311
 
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
312
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
313
 
$(am__aclocal_m4_deps):
314
 
install-libexecPROGRAMS: $(libexec_PROGRAMS)
315
 
        @$(NORMAL_INSTALL)
316
 
        test -z "$(libexecdir)" || $(MKDIR_P) "$(DESTDIR)$(libexecdir)"
317
 
        @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
318
 
        for p in $$list; do echo "$$p $$p"; done | \
319
 
        sed 's/$(EXEEXT)$$//' | \
320
 
        while read p p1; do if test -f $$p || test -f $$p1; \
321
 
          then echo "$$p"; echo "$$p"; else :; fi; \
322
 
        done | \
323
 
        sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
324
 
            -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
325
 
        sed 'N;N;N;s,\n, ,g' | \
326
 
        $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
327
 
          { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
328
 
            if ($$2 == $$4) files[d] = files[d] " " $$1; \
329
 
            else { print "f", $$3 "/" $$4, $$1; } } \
330
 
          END { for (d in files) print "f", d, files[d] }' | \
331
 
        while read type dir files; do \
332
 
            if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
333
 
            test -z "$$files" || { \
334
 
            echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(libexecdir)$$dir'"; \
335
 
            $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \
336
 
            } \
337
 
        ; done
338
 
 
339
 
uninstall-libexecPROGRAMS:
340
 
        @$(NORMAL_UNINSTALL)
341
 
        @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \
342
 
        files=`for p in $$list; do echo "$$p"; done | \
343
 
          sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
344
 
              -e 's/$$/$(EXEEXT)/' `; \
345
 
        test -n "$$list" || exit 0; \
346
 
        echo " ( cd '$(DESTDIR)$(libexecdir)' && rm -f" $$files ")"; \
347
 
        cd "$(DESTDIR)$(libexecdir)" && rm -f $$files
348
 
 
349
 
clean-libexecPROGRAMS:
350
 
        @list='$(libexec_PROGRAMS)'; test -n "$$list" || exit 0; \
351
 
        echo " rm -f" $$list; \
352
 
        rm -f $$list || exit $$?; \
353
 
        test -n "$(EXEEXT)" || exit 0; \
354
 
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
355
 
        echo " rm -f" $$list; \
356
 
        rm -f $$list
357
 
install-scriptSCRIPTS: $(script_SCRIPTS)
358
 
        @$(NORMAL_INSTALL)
359
 
        test -z "$(scriptdir)" || $(MKDIR_P) "$(DESTDIR)$(scriptdir)"
360
 
        @list='$(script_SCRIPTS)'; test -n "$(scriptdir)" || list=; \
361
 
        for p in $$list; do \
362
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
363
 
          if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
364
 
        done | \
365
 
        sed -e 'p;s,.*/,,;n' \
366
 
            -e 'h;s|.*|.|' \
367
 
            -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
368
 
        $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
369
 
          { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
370
 
            if ($$2 == $$4) { files[d] = files[d] " " $$1; \
371
 
              if (++n[d] == $(am__install_max)) { \
372
 
                print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
373
 
            else { print "f", d "/" $$4, $$1 } } \
374
 
          END { for (d in files) print "f", d, files[d] }' | \
375
 
        while read type dir files; do \
376
 
             if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
377
 
             test -z "$$files" || { \
378
 
               echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(scriptdir)$$dir'"; \
379
 
               $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(scriptdir)$$dir" || exit $$?; \
380
 
             } \
381
 
        ; done
382
 
 
383
 
uninstall-scriptSCRIPTS:
384
 
        @$(NORMAL_UNINSTALL)
385
 
        @list='$(script_SCRIPTS)'; test -n "$(scriptdir)" || exit 0; \
386
 
        files=`for p in $$list; do echo "$$p"; done | \
387
 
               sed -e 's,.*/,,;$(transform)'`; \
388
 
        test -n "$$list" || exit 0; \
389
 
        echo " ( cd '$(DESTDIR)$(scriptdir)' && rm -f" $$files ")"; \
390
 
        cd "$(DESTDIR)$(scriptdir)" && rm -f $$files
391
 
 
392
 
mostlyclean-libtool:
393
 
        -rm -f *.lo
394
 
 
395
 
clean-libtool:
396
 
        -rm -rf .libs _libs
397
 
install-udevrulesDATA: $(udevrules_DATA)
398
 
        @$(NORMAL_INSTALL)
399
 
        test -z "$(udevrulesdir)" || $(MKDIR_P) "$(DESTDIR)$(udevrulesdir)"
400
 
        @list='$(udevrules_DATA)'; test -n "$(udevrulesdir)" || list=; \
401
 
        for p in $$list; do \
402
 
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
403
 
          echo "$$d$$p"; \
404
 
        done | $(am__base_list) | \
405
 
        while read files; do \
406
 
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(udevrulesdir)'"; \
407
 
          $(INSTALL_DATA) $$files "$(DESTDIR)$(udevrulesdir)" || exit $$?; \
408
 
        done
409
 
 
410
 
uninstall-udevrulesDATA:
411
 
        @$(NORMAL_UNINSTALL)
412
 
        @list='$(udevrules_DATA)'; test -n "$(udevrulesdir)" || list=; \
413
 
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
414
 
        test -n "$$files" || exit 0; \
415
 
        echo " ( cd '$(DESTDIR)$(udevrulesdir)' && rm -f" $$files ")"; \
416
 
        cd "$(DESTDIR)$(udevrulesdir)" && rm -f $$files
417
 
tags: TAGS
418
 
TAGS:
419
 
 
420
 
ctags: CTAGS
421
 
CTAGS:
422
 
 
423
 
 
424
 
distdir: $(DISTFILES)
425
 
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
426
 
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
427
 
        list='$(DISTFILES)'; \
428
 
          dist_files=`for file in $$list; do echo $$file; done | \
429
 
          sed -e "s|^$$srcdirstrip/||;t" \
430
 
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
431
 
        case $$dist_files in \
432
 
          */*) $(MKDIR_P) `echo "$$dist_files" | \
433
 
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
434
 
                           sort -u` ;; \
435
 
        esac; \
436
 
        for file in $$dist_files; do \
437
 
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
438
 
          if test -d $$d/$$file; then \
439
 
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
440
 
            if test -d "$(distdir)/$$file"; then \
441
 
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
442
 
            fi; \
443
 
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
444
 
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
445
 
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
446
 
            fi; \
447
 
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
448
 
          else \
449
 
            test -f "$(distdir)/$$file" \
450
 
            || cp -p $$d/$$file "$(distdir)/$$file" \
451
 
            || exit 1; \
452
 
          fi; \
453
 
        done
454
 
check-am: all-am
455
 
check: check-am
456
 
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA)
457
 
installdirs:
458
 
        for dir in "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(scriptdir)" "$(DESTDIR)$(udevrulesdir)"; do \
459
 
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
460
 
        done
461
 
install: install-am
462
 
install-exec: install-exec-am
463
 
install-data: install-data-am
464
 
uninstall: uninstall-am
465
 
 
466
 
install-am: all-am
467
 
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
468
 
 
469
 
installcheck: installcheck-am
470
 
install-strip:
471
 
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
472
 
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
473
 
          `test -z '$(STRIP)' || \
474
 
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
475
 
mostlyclean-generic:
476
 
 
477
 
clean-generic:
478
 
 
479
 
distclean-generic:
480
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
481
 
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
482
 
 
483
 
maintainer-clean-generic:
484
 
        @echo "This command is intended for maintainers to use"
485
 
        @echo "it deletes files that may require special tools to rebuild."
486
 
clean: clean-am
487
 
 
488
 
clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
489
 
        clean-local mostlyclean-am
490
 
 
491
 
distclean: distclean-am
492
 
        -rm -f Makefile
493
 
distclean-am: clean-am distclean-generic
494
 
 
495
 
dvi: dvi-am
496
 
 
497
 
dvi-am:
498
 
 
499
 
html: html-am
500
 
 
501
 
html-am:
502
 
 
503
 
info: info-am
504
 
 
505
 
info-am:
506
 
 
507
 
install-data-am: install-scriptSCRIPTS install-udevrulesDATA
508
 
        @$(NORMAL_INSTALL)
509
 
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
510
 
install-dvi: install-dvi-am
511
 
 
512
 
install-dvi-am:
513
 
 
514
 
install-exec-am: install-libexecPROGRAMS
515
 
 
516
 
install-html: install-html-am
517
 
 
518
 
install-html-am:
519
 
 
520
 
install-info: install-info-am
521
 
 
522
 
install-info-am:
523
 
 
524
 
install-man:
525
 
 
526
 
install-pdf: install-pdf-am
527
 
 
528
 
install-pdf-am:
529
 
 
530
 
install-ps: install-ps-am
531
 
 
532
 
install-ps-am:
533
 
 
534
 
installcheck-am:
535
 
 
536
 
maintainer-clean: maintainer-clean-am
537
 
        -rm -f Makefile
538
 
maintainer-clean-am: distclean-am maintainer-clean-generic
539
 
 
540
 
mostlyclean: mostlyclean-am
541
 
 
542
 
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
543
 
 
544
 
pdf: pdf-am
545
 
 
546
 
pdf-am:
547
 
 
548
 
ps: ps-am
549
 
 
550
 
ps-am:
551
 
 
552
 
uninstall-am: uninstall-libexecPROGRAMS uninstall-scriptSCRIPTS \
553
 
        uninstall-udevrulesDATA
554
 
        @$(NORMAL_INSTALL)
555
 
        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
556
 
.MAKE: install-am install-data-am install-strip uninstall-am
557
 
 
558
 
.PHONY: all all-am check check-am clean clean-generic \
559
 
        clean-libexecPROGRAMS clean-libtool clean-local distclean \
560
 
        distclean-generic distclean-libtool distdir dvi dvi-am html \
561
 
        html-am info info-am install install-am install-data \
562
 
        install-data-am install-data-hook install-dvi install-dvi-am \
563
 
        install-exec install-exec-am install-html install-html-am \
564
 
        install-info install-info-am install-libexecPROGRAMS \
565
 
        install-man install-pdf install-pdf-am install-ps \
566
 
        install-ps-am install-scriptSCRIPTS install-strip \
567
 
        install-udevrulesDATA installcheck installcheck-am installdirs \
568
 
        maintainer-clean maintainer-clean-generic mostlyclean \
569
 
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
570
 
        uninstall uninstall-am uninstall-hook \
571
 
        uninstall-libexecPROGRAMS uninstall-scriptSCRIPTS \
572
 
        uninstall-udevrulesDATA
573
 
 
574
 
 
575
 
check:
576
 
        for f in $(script_SCRIPTS); do \
577
 
            echo -n "Validate bash syntax in $$f : "; \
578
 
            bash -n $(srcdir)/$$f 2> bash.error;\
579
 
            if test -s bash.error; then \
580
 
                echo failed; \
581
 
                cat bash.error; \
582
 
                rm -f bash.error; \
583
 
                exit 1; \
584
 
            else \
585
 
                echo ok; \
586
 
                rm -f bash.error; \
587
 
            fi; \
588
 
        done;
589
 
 
590
 
clean-local :
591
 
        rm -f *~
592
 
 
593
 
install-data-hook:
594
 
        ln -sf hal-system-wol-linux $(DESTDIR)$(scriptdir)/hal-system-wol-enable-linux
595
 
        ln -sf hal-system-wol-linux $(DESTDIR)$(scriptdir)/hal-system-wol-enabled-linux
596
 
        ln -sf hal-system-wol-linux $(DESTDIR)$(scriptdir)/hal-system-wol-supported-linux
597
 
 
598
 
uninstall-hook:
599
 
        rm -f $(DESTDIR)$(scriptdir)/hal-system-wol-*
600
 
 
601
 
# Tell versions [3.59,3.63) of GNU make to not export all variables.
602
 
# Otherwise a system limit (for SysV at least) may be exceeded.
603
 
.NOEXPORT: