Imported Upstream version 4.0.12
Till Kamppeter
12 years ago
0 | 2012-02-10 Till Kamppeter <till.kamppeter@gmail.com> | |
1 | ||
2 | * Tagged branch for release 4.0.12. | |
3 | ||
4 | * VERSION, README, USAGE, configure.ac: Updated for release 4.0.12. | |
5 | ||
0 | 6 | 2012-02-10 Till Kamppeter <till.kamppeter@gmail.com> |
1 | 7 | |
2 | 8 | * Tagged branch for release 4.0.11. |
0 | Installation Instructions | |
1 | ************************* | |
2 | ||
3 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, | |
4 | 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
5 | ||
6 | Copying and distribution of this file, with or without modification, | |
7 | are permitted in any medium without royalty provided the copyright | |
8 | notice and this notice are preserved. This file is offered as-is, | |
9 | without warranty of any kind. | |
10 | ||
11 | Basic Installation | |
12 | ================== | |
13 | ||
14 | Briefly, the shell commands `./configure; make; make install' should | |
15 | configure, build, and install this package. The following | |
16 | more-detailed instructions are generic; see the `README' file for | |
17 | instructions specific to this package. Some packages provide this | |
18 | `INSTALL' file but do not implement all of the features documented | |
19 | below. The lack of an optional feature in a given package is not | |
20 | necessarily a bug. More recommendations for GNU packages can be found | |
21 | in *note Makefile Conventions: (standards)Makefile Conventions. | |
22 | ||
23 | The `configure' shell script attempts to guess correct values for | |
24 | various system-dependent variables used during compilation. It uses | |
25 | those values to create a `Makefile' in each directory of the package. | |
26 | It may also create one or more `.h' files containing system-dependent | |
27 | definitions. Finally, it creates a shell script `config.status' that | |
28 | you can run in the future to recreate the current configuration, and a | |
29 | file `config.log' containing compiler output (useful mainly for | |
30 | debugging `configure'). | |
31 | ||
32 | It can also use an optional file (typically called `config.cache' | |
33 | and enabled with `--cache-file=config.cache' or simply `-C') that saves | |
34 | the results of its tests to speed up reconfiguring. Caching is | |
35 | disabled by default to prevent problems with accidental use of stale | |
36 | cache files. | |
37 | ||
38 | If you need to do unusual things to compile the package, please try | |
39 | to figure out how `configure' could check whether to do them, and mail | |
40 | diffs or instructions to the address given in the `README' so they can | |
41 | be considered for the next release. If you are using the cache, and at | |
42 | some point `config.cache' contains results you don't want to keep, you | |
43 | may remove or edit it. | |
44 | ||
45 | The file `configure.ac' (or `configure.in') is used to create | |
46 | `configure' by a program called `autoconf'. You need `configure.ac' if | |
47 | you want to change it or regenerate `configure' using a newer version | |
48 | of `autoconf'. | |
49 | ||
50 | The simplest way to compile this package is: | |
51 | ||
52 | 1. `cd' to the directory containing the package's source code and type | |
53 | `./configure' to configure the package for your system. | |
54 | ||
55 | Running `configure' might take a while. While running, it prints | |
56 | some messages telling which features it is checking for. | |
57 | ||
58 | 2. Type `make' to compile the package. | |
59 | ||
60 | 3. Optionally, type `make check' to run any self-tests that come with | |
61 | the package, generally using the just-built uninstalled binaries. | |
62 | ||
63 | 4. Type `make install' to install the programs and any data files and | |
64 | documentation. When installing into a prefix owned by root, it is | |
65 | recommended that the package be configured and built as a regular | |
66 | user, and only the `make install' phase executed with root | |
67 | privileges. | |
68 | ||
69 | 5. Optionally, type `make installcheck' to repeat any self-tests, but | |
70 | this time using the binaries in their final installed location. | |
71 | This target does not install anything. Running this target as a | |
72 | regular user, particularly if the prior `make install' required | |
73 | root privileges, verifies that the installation completed | |
74 | correctly. | |
75 | ||
76 | 6. You can remove the program binaries and object files from the | |
77 | source code directory by typing `make clean'. To also remove the | |
78 | files that `configure' created (so you can compile the package for | |
79 | a different kind of computer), type `make distclean'. There is | |
80 | also a `make maintainer-clean' target, but that is intended mainly | |
81 | for the package's developers. If you use it, you may have to get | |
82 | all sorts of other programs in order to regenerate files that came | |
83 | with the distribution. | |
84 | ||
85 | 7. Often, you can also type `make uninstall' to remove the installed | |
86 | files again. In practice, not all packages have tested that | |
87 | uninstallation works correctly, even though it is required by the | |
88 | GNU Coding Standards. | |
89 | ||
90 | 8. Some packages, particularly those that use Automake, provide `make | |
91 | distcheck', which can by used by developers to test that all other | |
92 | targets like `make install' and `make uninstall' work correctly. | |
93 | This target is generally not run by end users. | |
94 | ||
95 | Compilers and Options | |
96 | ===================== | |
97 | ||
98 | Some systems require unusual options for compilation or linking that | |
99 | the `configure' script does not know about. Run `./configure --help' | |
100 | for details on some of the pertinent environment variables. | |
101 | ||
102 | You can give `configure' initial values for configuration parameters | |
103 | by setting variables in the command line or in the environment. Here | |
104 | is an example: | |
105 | ||
106 | ./configure CC=c99 CFLAGS=-g LIBS=-lposix | |
107 | ||
108 | *Note Defining Variables::, for more details. | |
109 | ||
110 | Compiling For Multiple Architectures | |
111 | ==================================== | |
112 | ||
113 | You can compile the package for more than one kind of computer at the | |
114 | same time, by placing the object files for each architecture in their | |
115 | own directory. To do this, you can use GNU `make'. `cd' to the | |
116 | directory where you want the object files and executables to go and run | |
117 | the `configure' script. `configure' automatically checks for the | |
118 | source code in the directory that `configure' is in and in `..'. This | |
119 | is known as a "VPATH" build. | |
120 | ||
121 | With a non-GNU `make', it is safer to compile the package for one | |
122 | architecture at a time in the source code directory. After you have | |
123 | installed the package for one architecture, use `make distclean' before | |
124 | reconfiguring for another architecture. | |
125 | ||
126 | On MacOS X 10.5 and later systems, you can create libraries and | |
127 | executables that work on multiple system types--known as "fat" or | |
128 | "universal" binaries--by specifying multiple `-arch' options to the | |
129 | compiler but only a single `-arch' option to the preprocessor. Like | |
130 | this: | |
131 | ||
132 | ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | |
133 | CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ | |
134 | CPP="gcc -E" CXXCPP="g++ -E" | |
135 | ||
136 | This is not guaranteed to produce working output in all cases, you | |
137 | may have to build one architecture at a time and combine the results | |
138 | using the `lipo' tool if you have problems. | |
139 | ||
140 | Installation Names | |
141 | ================== | |
142 | ||
143 | By default, `make install' installs the package's commands under | |
144 | `/usr/local/bin', include files under `/usr/local/include', etc. You | |
145 | can specify an installation prefix other than `/usr/local' by giving | |
146 | `configure' the option `--prefix=PREFIX', where PREFIX must be an | |
147 | absolute file name. | |
148 | ||
149 | You can specify separate installation prefixes for | |
150 | architecture-specific files and architecture-independent files. If you | |
151 | pass the option `--exec-prefix=PREFIX' to `configure', the package uses | |
152 | PREFIX as the prefix for installing programs and libraries. | |
153 | Documentation and other data files still use the regular prefix. | |
154 | ||
155 | In addition, if you use an unusual directory layout you can give | |
156 | options like `--bindir=DIR' to specify different values for particular | |
157 | kinds of files. Run `configure --help' for a list of the directories | |
158 | you can set and what kinds of files go in them. In general, the | |
159 | default for these options is expressed in terms of `${prefix}', so that | |
160 | specifying just `--prefix' will affect all of the other directory | |
161 | specifications that were not explicitly provided. | |
162 | ||
163 | The most portable way to affect installation locations is to pass the | |
164 | correct locations to `configure'; however, many packages provide one or | |
165 | both of the following shortcuts of passing variable assignments to the | |
166 | `make install' command line to change installation locations without | |
167 | having to reconfigure or recompile. | |
168 | ||
169 | The first method involves providing an override variable for each | |
170 | affected directory. For example, `make install | |
171 | prefix=/alternate/directory' will choose an alternate location for all | |
172 | directory configuration variables that were expressed in terms of | |
173 | `${prefix}'. Any directories that were specified during `configure', | |
174 | but not in terms of `${prefix}', must each be overridden at install | |
175 | time for the entire installation to be relocated. The approach of | |
176 | makefile variable overrides for each directory variable is required by | |
177 | the GNU Coding Standards, and ideally causes no recompilation. | |
178 | However, some platforms have known limitations with the semantics of | |
179 | shared libraries that end up requiring recompilation when using this | |
180 | method, particularly noticeable in packages that use GNU Libtool. | |
181 | ||
182 | The second method involves providing the `DESTDIR' variable. For | |
183 | example, `make install DESTDIR=/alternate/directory' will prepend | |
184 | `/alternate/directory' before all installation names. The approach of | |
185 | `DESTDIR' overrides is not required by the GNU Coding Standards, and | |
186 | does not work on platforms that have drive letters. On the other hand, | |
187 | it does better at avoiding recompilation issues, and works well even | |
188 | when some directory options were not specified in terms of `${prefix}' | |
189 | at `configure' time. | |
190 | ||
191 | Optional Features | |
192 | ================= | |
193 | ||
194 | If the package supports it, you can cause programs to be installed | |
195 | with an extra prefix or suffix on their names by giving `configure' the | |
196 | option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. | |
197 | ||
198 | Some packages pay attention to `--enable-FEATURE' options to | |
199 | `configure', where FEATURE indicates an optional part of the package. | |
200 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE | |
201 | is something like `gnu-as' or `x' (for the X Window System). The | |
202 | `README' should mention any `--enable-' and `--with-' options that the | |
203 | package recognizes. | |
204 | ||
205 | For packages that use the X Window System, `configure' can usually | |
206 | find the X include and library files automatically, but if it doesn't, | |
207 | you can use the `configure' options `--x-includes=DIR' and | |
208 | `--x-libraries=DIR' to specify their locations. | |
209 | ||
210 | Some packages offer the ability to configure how verbose the | |
211 | execution of `make' will be. For these packages, running `./configure | |
212 | --enable-silent-rules' sets the default to minimal output, which can be | |
213 | overridden with `make V=1'; while running `./configure | |
214 | --disable-silent-rules' sets the default to verbose, which can be | |
215 | overridden with `make V=0'. | |
216 | ||
217 | Particular systems | |
218 | ================== | |
219 | ||
220 | On HP-UX, the default C compiler is not ANSI C compatible. If GNU | |
221 | CC is not installed, it is recommended to use the following options in | |
222 | order to use an ANSI C compiler: | |
223 | ||
224 | ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" | |
225 | ||
226 | and if that doesn't work, install pre-built binaries of GCC for HP-UX. | |
227 | ||
228 | On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot | |
229 | parse its `<wchar.h>' header file. The option `-nodtk' can be used as | |
230 | a workaround. If GNU CC is not installed, it is therefore recommended | |
231 | to try | |
232 | ||
233 | ./configure CC="cc" | |
234 | ||
235 | and if that doesn't work, try | |
236 | ||
237 | ./configure CC="cc -nodtk" | |
238 | ||
239 | On Solaris, don't put `/usr/ucb' early in your `PATH'. This | |
240 | directory contains several dysfunctional programs; working variants of | |
241 | these programs are available in `/usr/bin'. So, if you need `/usr/ucb' | |
242 | in your `PATH', put it _after_ `/usr/bin'. | |
243 | ||
244 | On Haiku, software installed for all users goes in `/boot/common', | |
245 | not `/usr/local'. It is recommended to use the following options: | |
246 | ||
247 | ./configure --prefix=/boot/common | |
248 | ||
249 | Specifying the System Type | |
250 | ========================== | |
251 | ||
252 | There may be some features `configure' cannot figure out | |
253 | automatically, but needs to determine by the type of machine the package | |
254 | will run on. Usually, assuming the package is built to be run on the | |
255 | _same_ architectures, `configure' can figure that out, but if it prints | |
256 | a message saying it cannot guess the machine type, give it the | |
257 | `--build=TYPE' option. TYPE can either be a short name for the system | |
258 | type, such as `sun4', or a canonical name which has the form: | |
259 | ||
260 | CPU-COMPANY-SYSTEM | |
261 | ||
262 | where SYSTEM can have one of these forms: | |
263 | ||
264 | OS | |
265 | KERNEL-OS | |
266 | ||
267 | See the file `config.sub' for the possible values of each field. If | |
268 | `config.sub' isn't included in this package, then this package doesn't | |
269 | need to know the machine type. | |
270 | ||
271 | If you are _building_ compiler tools for cross-compiling, you should | |
272 | use the option `--target=TYPE' to select the type of system they will | |
273 | produce code for. | |
274 | ||
275 | If you want to _use_ a cross compiler, that generates code for a | |
276 | platform different from the build platform, you should specify the | |
277 | "host" platform (i.e., that on which the generated programs will | |
278 | eventually be run) with `--host=TYPE'. | |
279 | ||
280 | Sharing Defaults | |
281 | ================ | |
282 | ||
283 | If you want to set default values for `configure' scripts to share, | |
284 | you can create a site shell script called `config.site' that gives | |
285 | default values for variables like `CC', `cache_file', and `prefix'. | |
286 | `configure' looks for `PREFIX/share/config.site' if it exists, then | |
287 | `PREFIX/etc/config.site' if it exists. Or, you can set the | |
288 | `CONFIG_SITE' environment variable to the location of the site script. | |
289 | A warning: not all `configure' scripts look for a site script. | |
290 | ||
291 | Defining Variables | |
292 | ================== | |
293 | ||
294 | Variables not defined in a site shell script can be set in the | |
295 | environment passed to `configure'. However, some packages may run | |
296 | configure again during the build, and the customized values of these | |
297 | variables may be lost. In order to avoid this problem, you should set | |
298 | them in the `configure' command line, using `VAR=value'. For example: | |
299 | ||
300 | ./configure CC=/usr/local2/bin/gcc | |
301 | ||
302 | causes the specified `gcc' to be used as the C compiler (unless it is | |
303 | overridden in the site shell script). | |
304 | ||
305 | Unfortunately, this technique does not work for `CONFIG_SHELL' due to | |
306 | an Autoconf bug. Until the bug is fixed you can use this workaround: | |
307 | ||
308 | CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash | |
309 | ||
310 | `configure' Invocation | |
311 | ====================== | |
312 | ||
313 | `configure' recognizes the following options to control how it | |
314 | operates. | |
315 | ||
316 | `--help' | |
317 | `-h' | |
318 | Print a summary of all of the options to `configure', and exit. | |
319 | ||
320 | `--help=short' | |
321 | `--help=recursive' | |
322 | Print a summary of the options unique to this package's | |
323 | `configure', and exit. The `short' variant lists options used | |
324 | only in the top level, while the `recursive' variant lists options | |
325 | also present in any nested packages. | |
326 | ||
327 | `--version' | |
328 | `-V' | |
329 | Print the version of Autoconf used to generate the `configure' | |
330 | script, and exit. | |
331 | ||
332 | `--cache-file=FILE' | |
333 | Enable the cache: use and save the results of the tests in FILE, | |
334 | traditionally `config.cache'. FILE defaults to `/dev/null' to | |
335 | disable caching. | |
336 | ||
337 | `--config-cache' | |
338 | `-C' | |
339 | Alias for `--cache-file=config.cache'. | |
340 | ||
341 | `--quiet' | |
342 | `--silent' | |
343 | `-q' | |
344 | Do not print messages saying which checks are being made. To | |
345 | suppress all normal output, redirect it to `/dev/null' (any error | |
346 | messages will still be shown). | |
347 | ||
348 | `--srcdir=DIR' | |
349 | Look for the package's source code in directory DIR. Usually | |
350 | `configure' can determine that directory automatically. | |
351 | ||
352 | `--prefix=DIR' | |
353 | Use DIR as the installation prefix. *note Installation Names:: | |
354 | for more details, including other options available for fine-tuning | |
355 | the installation locations. | |
356 | ||
357 | `--no-create' | |
358 | `-n' | |
359 | Run the configure checks, but stop before creating any output | |
360 | files. | |
361 | ||
362 | `configure' also accepts some other, not widely useful, options. Run | |
363 | `configure --help' for more details. | |
364 |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
1 | # @configure_input@ | |
2 | ||
3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
6 | # This Makefile.in is free software; the Free Software Foundation | |
7 | # gives unlimited permission to copy and/or distribute it, | |
8 | # with or without modifications, as long as this notice is preserved. | |
9 | ||
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
13 | # PARTICULAR PURPOSE. | |
14 | ||
15 | @SET_MAKE@ | |
16 | ||
17 | VPATH = @srcdir@ | |
18 | pkgdatadir = $(datadir)/@PACKAGE@ | |
19 | pkgincludedir = $(includedir)/@PACKAGE@ | |
20 | pkglibdir = $(libdir)/@PACKAGE@ | |
21 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
22 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
23 | install_sh_DATA = $(install_sh) -c -m 644 | |
24 | install_sh_PROGRAM = $(install_sh) -c | |
25 | install_sh_SCRIPT = $(install_sh) -c | |
26 | INSTALL_HEADER = $(INSTALL_DATA) | |
27 | transform = $(program_transform_name) | |
28 | NORMAL_INSTALL = : | |
29 | PRE_INSTALL = : | |
30 | POST_INSTALL = : | |
31 | NORMAL_UNINSTALL = : | |
32 | PRE_UNINSTALL = : | |
33 | POST_UNINSTALL = : | |
34 | bin_PROGRAMS = foomatic-rip$(EXEEXT) | |
35 | @BUILD_DBUS_TRUE@am__append_1 = \ | |
36 | @BUILD_DBUS_TRUE@ colord.c \ | |
37 | @BUILD_DBUS_TRUE@ colord.h | |
38 | ||
39 | subdir = . | |
40 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ | |
41 | $(srcdir)/Makefile.in $(srcdir)/beh.in $(srcdir)/config.h.in \ | |
42 | $(srcdir)/foomatic-rip.1.in $(top_srcdir)/configure AUTHORS \ | |
43 | COPYING ChangeLog INSTALL NEWS TODO compile depcomp install-sh \ | |
44 | missing mkinstalldirs | |
45 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
46 | am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ | |
47 | $(top_srcdir)/configure.ac | |
48 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
49 | $(ACLOCAL_M4) | |
50 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | |
51 | configure.lineno config.status.lineno | |
52 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | |
53 | CONFIG_HEADER = config.h | |
54 | CONFIG_CLEAN_FILES = beh foomatic-rip.1 | |
55 | CONFIG_CLEAN_VPATH_FILES = | |
56 | am__installdirs = "$(DESTDIR)$(bindir)" | |
57 | PROGRAMS = $(bin_PROGRAMS) | |
58 | am__foomatic_rip_SOURCES_DIST = foomaticrip.c foomaticrip.h options.c \ | |
59 | options.h pdf.c pdf.h postscript.c postscript.h util.c util.h \ | |
60 | spooler.h spooler.c process.h process.c renderer.c renderer.h \ | |
61 | fileconverter.c fileconverter.h colord.c colord.h | |
62 | @BUILD_DBUS_TRUE@am__objects_1 = foomatic_rip-colord.$(OBJEXT) | |
63 | am_foomatic_rip_OBJECTS = foomatic_rip-foomaticrip.$(OBJEXT) \ | |
64 | foomatic_rip-options.$(OBJEXT) foomatic_rip-pdf.$(OBJEXT) \ | |
65 | foomatic_rip-postscript.$(OBJEXT) foomatic_rip-util.$(OBJEXT) \ | |
66 | foomatic_rip-spooler.$(OBJEXT) foomatic_rip-process.$(OBJEXT) \ | |
67 | foomatic_rip-renderer.$(OBJEXT) \ | |
68 | foomatic_rip-fileconverter.$(OBJEXT) $(am__objects_1) | |
69 | foomatic_rip_OBJECTS = $(am_foomatic_rip_OBJECTS) | |
70 | am__DEPENDENCIES_1 = | |
71 | @BUILD_DBUS_TRUE@foomatic_rip_DEPENDENCIES = $(am__DEPENDENCIES_1) | |
72 | foomatic_rip_LINK = $(CCLD) $(foomatic_rip_CFLAGS) $(CFLAGS) \ | |
73 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
74 | DEFAULT_INCLUDES = -I.@am__isrc@ | |
75 | depcomp = $(SHELL) $(top_srcdir)/depcomp | |
76 | am__depfiles_maybe = depfiles | |
77 | am__mv = mv -f | |
78 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | |
79 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
80 | CCLD = $(CC) | |
81 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ | |
82 | SOURCES = $(foomatic_rip_SOURCES) | |
83 | DIST_SOURCES = $(am__foomatic_rip_SOURCES_DIST) | |
84 | ETAGS = etags | |
85 | CTAGS = ctags | |
86 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
87 | distdir = $(PACKAGE)-$(VERSION) | |
88 | top_distdir = $(distdir) | |
89 | am__remove_distdir = \ | |
90 | { test ! -d "$(distdir)" \ | |
91 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
92 | && rm -fr "$(distdir)"; }; } | |
93 | DIST_ARCHIVES = $(distdir).tar.gz | |
94 | GZIP_ENV = --best | |
95 | distuninstallcheck_listfiles = find . -type f -print | |
96 | distcleancheck_listfiles = find . -type f -print | |
97 | A2PS = @A2PS@ | |
98 | ACLOCAL = @ACLOCAL@ | |
99 | AMTAR = @AMTAR@ | |
100 | AUTOCONF = @AUTOCONF@ | |
101 | AUTOHEADER = @AUTOHEADER@ | |
102 | AUTOMAKE = @AUTOMAKE@ | |
103 | AWK = @AWK@ | |
104 | CC = @CC@ | |
105 | CCDEPMODE = @CCDEPMODE@ | |
106 | CFLAGS = @CFLAGS@ | |
107 | CPP = @CPP@ | |
108 | CPPFLAGS = @CPPFLAGS@ | |
109 | ||
110 | # Paths for CUPS | |
111 | CUPS = @CUPS@ | |
112 | CUPS_BACKENDS = @CUPS_BACKENDS@ | |
113 | CUPS_CONFIG = @CUPS_CONFIG@ | |
114 | CUPS_FILTERS = @CUPS_FILTERS@ | |
115 | CXX = @CXX@ | |
116 | CXXDEPMODE = @CXXDEPMODE@ | |
117 | CXXFLAGS = @CXXFLAGS@ | |
118 | CYGPATH_W = @CYGPATH_W@ | |
119 | DBUS_CFLAGS = @DBUS_CFLAGS@ | |
120 | DBUS_LIBS = @DBUS_LIBS@ | |
121 | DEFS = @DEFS@ | |
122 | DEPDIR = @DEPDIR@ | |
123 | ECHO = @ECHO@ | |
124 | ECHO_C = @ECHO_C@ | |
125 | ECHO_N = @ECHO_N@ | |
126 | ECHO_T = @ECHO_T@ | |
127 | EGREP = @EGREP@ | |
128 | ENSCRIPT = @ENSCRIPT@ | |
129 | EXECPATH = @EXECPATH@ | |
130 | EXEEXT = @EXEEXT@ | |
131 | FILECONVERTER = @FILECONVERTER@ | |
132 | GREP = @GREP@ | |
133 | INSTALL = @INSTALL@ | |
134 | INSTALL_DATA = @INSTALL_DATA@ | |
135 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
136 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
137 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
138 | LDFLAGS = @LDFLAGS@ | |
139 | LIBOBJS = @LIBOBJS@ | |
140 | LIBS = @LIBS@ | |
141 | LN_S = @LN_S@ | |
142 | LTLIBOBJS = @LTLIBOBJS@ | |
143 | MAKEINFO = @MAKEINFO@ | |
144 | MKDIR_P = @MKDIR_P@ | |
145 | MPAGE = @MPAGE@ | |
146 | OBJEXT = @OBJEXT@ | |
147 | PACKAGE = @PACKAGE@ | |
148 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
149 | PACKAGE_NAME = @PACKAGE_NAME@ | |
150 | PACKAGE_STRING = @PACKAGE_STRING@ | |
151 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
152 | PACKAGE_URL = @PACKAGE_URL@ | |
153 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
154 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
155 | PERL = @PERL@ | |
156 | PKG_CONFIG = @PKG_CONFIG@ | |
157 | POW_LIB = @POW_LIB@ | |
158 | ||
159 | # Paths for PPR | |
160 | PPR = @PPR@ | |
161 | PPR_INTERFACES = @PPR_INTERFACES@ | |
162 | PPR_LIB = @PPR_LIB@ | |
163 | PRINTCAP = @PRINTCAP@ | |
164 | SET_MAKE = @SET_MAKE@ | |
165 | SHELL = @SHELL@ | |
166 | STRIP = @STRIP@ | |
167 | TEXTTOPS = @TEXTTOPS@ | |
168 | VERSION = @VERSION@ | |
169 | abs_builddir = @abs_builddir@ | |
170 | abs_srcdir = @abs_srcdir@ | |
171 | abs_top_builddir = @abs_top_builddir@ | |
172 | abs_top_srcdir = @abs_top_srcdir@ | |
173 | ac_ct_CC = @ac_ct_CC@ | |
174 | ac_ct_CXX = @ac_ct_CXX@ | |
175 | am__include = @am__include@ | |
176 | am__leading_dot = @am__leading_dot@ | |
177 | am__quote = @am__quote@ | |
178 | am__tar = @am__tar@ | |
179 | am__untar = @am__untar@ | |
180 | bindir = @bindir@ | |
181 | build_alias = @build_alias@ | |
182 | builddir = @builddir@ | |
183 | datadir = @datadir@ | |
184 | datarootdir = @datarootdir@ | |
185 | docdir = @docdir@ | |
186 | dvidir = @dvidir@ | |
187 | exec_prefix = @exec_prefix@ | |
188 | host_alias = @host_alias@ | |
189 | htmldir = @htmldir@ | |
190 | includedir = @includedir@ | |
191 | infodir = @infodir@ | |
192 | install_sh = @install_sh@ | |
193 | libdir = @libdir@ | |
194 | libexecdir = @libexecdir@ | |
195 | localedir = @localedir@ | |
196 | localstatedir = @localstatedir@ | |
197 | mandir = @mandir@ | |
198 | mkdir_p = @mkdir_p@ | |
199 | oldincludedir = @oldincludedir@ | |
200 | pdfdir = @pdfdir@ | |
201 | ||
202 | # Variables | |
203 | prefix = @prefix@ | |
204 | program_transform_name = @program_transform_name@ | |
205 | psdir = @psdir@ | |
206 | sbindir = @sbindir@ | |
207 | sharedstatedir = @sharedstatedir@ | |
208 | srcdir = @srcdir@ | |
209 | sysconfdir = @sysconfdir@ | |
210 | target_alias = @target_alias@ | |
211 | top_build_prefix = @top_build_prefix@ | |
212 | top_builddir = @top_builddir@ | |
213 | top_srcdir = @top_srcdir@ | |
214 | PREFIX = $(prefix) | |
215 | SRC = @srcdir@ | |
216 | BINDIR = $(bindir) | |
217 | SBINDIR = $(sbindir) | |
218 | MANDIR = $(mandir) | |
219 | ETCDIR = $(sysconfdir)/foomatic | |
220 | foomatic_ripdir = . | |
221 | foomatic_rip_SOURCES = foomaticrip.c foomaticrip.h options.c options.h \ | |
222 | pdf.c pdf.h postscript.c postscript.h util.c util.h spooler.h \ | |
223 | spooler.c process.h process.c renderer.c renderer.h \ | |
224 | fileconverter.c fileconverter.h $(am__append_1) | |
225 | @BUILD_DBUS_TRUE@foomatic_rip_CFLAGS = $(DBUS_CFLAGS) -DHAVE_DBUS | |
226 | @BUILD_DBUS_TRUE@foomatic_rip_LDADD = $(DBUS_LIBS) | |
227 | AM_CPPFLAGS = -DCONFIG_PATH='"$(sysconfdir)/foomatic"' | |
228 | ||
229 | # Masks for trash files which have to be removed before packaging Foomatic | |
230 | TRASHFILES = "*~" "*\#*" ".??*" "*.rej" | |
231 | all: config.h | |
232 | $(MAKE) $(AM_MAKEFLAGS) all-am | |
233 | ||
234 | .SUFFIXES: | |
235 | .SUFFIXES: .c .o .obj | |
236 | am--refresh: | |
237 | @: | |
238 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) | |
239 | @for dep in $?; do \ | |
240 | case '$(am__configure_deps)' in \ | |
241 | *$$dep*) \ | |
242 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ | |
243 | $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ | |
244 | && exit 0; \ | |
245 | exit 1;; \ | |
246 | esac; \ | |
247 | done; \ | |
248 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ | |
249 | $(am__cd) $(top_srcdir) && \ | |
250 | $(AUTOMAKE) --gnu Makefile | |
251 | .PRECIOUS: Makefile | |
252 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
253 | @case '$?' in \ | |
254 | *config.status*) \ | |
255 | echo ' $(SHELL) ./config.status'; \ | |
256 | $(SHELL) ./config.status;; \ | |
257 | *) \ | |
258 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | |
259 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
260 | esac; | |
261 | ||
262 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
263 | $(SHELL) ./config.status --recheck | |
264 | ||
265 | $(top_srcdir)/configure: $(am__configure_deps) | |
266 | $(am__cd) $(srcdir) && $(AUTOCONF) | |
267 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
268 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | |
269 | $(am__aclocal_m4_deps): | |
270 | ||
271 | config.h: stamp-h1 | |
272 | @if test ! -f $@; then \ | |
273 | rm -f stamp-h1; \ | |
274 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | |
275 | else :; fi | |
276 | ||
277 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status | |
278 | @rm -f stamp-h1 | |
279 | cd $(top_builddir) && $(SHELL) ./config.status config.h | |
280 | $(srcdir)/config.h.in: $(am__configure_deps) | |
281 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) | |
282 | rm -f stamp-h1 | |
283 | touch $@ | |
284 | ||
285 | distclean-hdr: | |
286 | -rm -f config.h stamp-h1 | |
287 | beh: $(top_builddir)/config.status $(srcdir)/beh.in | |
288 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
289 | foomatic-rip.1: $(top_builddir)/config.status $(srcdir)/foomatic-rip.1.in | |
290 | cd $(top_builddir) && $(SHELL) ./config.status $@ | |
291 | install-binPROGRAMS: $(bin_PROGRAMS) | |
292 | @$(NORMAL_INSTALL) | |
293 | test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" | |
294 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |
295 | for p in $$list; do echo "$$p $$p"; done | \ | |
296 | sed 's/$(EXEEXT)$$//' | \ | |
297 | while read p p1; do if test -f $$p; \ | |
298 | then echo "$$p"; echo "$$p"; else :; fi; \ | |
299 | done | \ | |
300 | sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ | |
301 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ | |
302 | sed 'N;N;N;s,\n, ,g' | \ | |
303 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ | |
304 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | |
305 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ | |
306 | else { print "f", $$3 "/" $$4, $$1; } } \ | |
307 | END { for (d in files) print "f", d, files[d] }' | \ | |
308 | while read type dir files; do \ | |
309 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | |
310 | test -z "$$files" || { \ | |
311 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | |
312 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | |
313 | } \ | |
314 | ; done | |
315 | ||
316 | uninstall-binPROGRAMS: | |
317 | @$(NORMAL_UNINSTALL) | |
318 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |
319 | files=`for p in $$list; do echo "$$p"; done | \ | |
320 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ | |
321 | -e 's/$$/$(EXEEXT)/' `; \ | |
322 | test -n "$$list" || exit 0; \ | |
323 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | |
324 | cd "$(DESTDIR)$(bindir)" && rm -f $$files | |
325 | ||
326 | clean-binPROGRAMS: | |
327 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) | |
328 | foomatic-rip$(EXEEXT): $(foomatic_rip_OBJECTS) $(foomatic_rip_DEPENDENCIES) | |
329 | @rm -f foomatic-rip$(EXEEXT) | |
330 | $(foomatic_rip_LINK) $(foomatic_rip_OBJECTS) $(foomatic_rip_LDADD) $(LIBS) | |
331 | ||
332 | mostlyclean-compile: | |
333 | -rm -f *.$(OBJEXT) | |
334 | ||
335 | distclean-compile: | |
336 | -rm -f *.tab.c | |
337 | ||
338 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-colord.Po@am__quote@ | |
339 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-fileconverter.Po@am__quote@ | |
340 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-foomaticrip.Po@am__quote@ | |
341 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-options.Po@am__quote@ | |
342 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-pdf.Po@am__quote@ | |
343 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-postscript.Po@am__quote@ | |
344 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-process.Po@am__quote@ | |
345 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-renderer.Po@am__quote@ | |
346 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-spooler.Po@am__quote@ | |
347 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/foomatic_rip-util.Po@am__quote@ | |
348 | ||
349 | .c.o: | |
350 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< | |
351 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
352 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
353 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
354 | @am__fastdepCC_FALSE@ $(COMPILE) -c $< | |
355 | ||
356 | .c.obj: | |
357 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` | |
358 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
359 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ | |
360 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
361 | @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` | |
362 | ||
363 | foomatic_rip-foomaticrip.o: foomaticrip.c | |
364 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-foomaticrip.o -MD -MP -MF $(DEPDIR)/foomatic_rip-foomaticrip.Tpo -c -o foomatic_rip-foomaticrip.o `test -f 'foomaticrip.c' || echo '$(srcdir)/'`foomaticrip.c | |
365 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-foomaticrip.Tpo $(DEPDIR)/foomatic_rip-foomaticrip.Po | |
366 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='foomaticrip.c' object='foomatic_rip-foomaticrip.o' libtool=no @AMDEPBACKSLASH@ | |
367 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
368 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-foomaticrip.o `test -f 'foomaticrip.c' || echo '$(srcdir)/'`foomaticrip.c | |
369 | ||
370 | foomatic_rip-foomaticrip.obj: foomaticrip.c | |
371 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-foomaticrip.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-foomaticrip.Tpo -c -o foomatic_rip-foomaticrip.obj `if test -f 'foomaticrip.c'; then $(CYGPATH_W) 'foomaticrip.c'; else $(CYGPATH_W) '$(srcdir)/foomaticrip.c'; fi` | |
372 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-foomaticrip.Tpo $(DEPDIR)/foomatic_rip-foomaticrip.Po | |
373 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='foomaticrip.c' object='foomatic_rip-foomaticrip.obj' libtool=no @AMDEPBACKSLASH@ | |
374 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
375 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-foomaticrip.obj `if test -f 'foomaticrip.c'; then $(CYGPATH_W) 'foomaticrip.c'; else $(CYGPATH_W) '$(srcdir)/foomaticrip.c'; fi` | |
376 | ||
377 | foomatic_rip-options.o: options.c | |
378 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-options.o -MD -MP -MF $(DEPDIR)/foomatic_rip-options.Tpo -c -o foomatic_rip-options.o `test -f 'options.c' || echo '$(srcdir)/'`options.c | |
379 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-options.Tpo $(DEPDIR)/foomatic_rip-options.Po | |
380 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='options.c' object='foomatic_rip-options.o' libtool=no @AMDEPBACKSLASH@ | |
381 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
382 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-options.o `test -f 'options.c' || echo '$(srcdir)/'`options.c | |
383 | ||
384 | foomatic_rip-options.obj: options.c | |
385 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-options.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-options.Tpo -c -o foomatic_rip-options.obj `if test -f 'options.c'; then $(CYGPATH_W) 'options.c'; else $(CYGPATH_W) '$(srcdir)/options.c'; fi` | |
386 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-options.Tpo $(DEPDIR)/foomatic_rip-options.Po | |
387 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='options.c' object='foomatic_rip-options.obj' libtool=no @AMDEPBACKSLASH@ | |
388 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
389 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-options.obj `if test -f 'options.c'; then $(CYGPATH_W) 'options.c'; else $(CYGPATH_W) '$(srcdir)/options.c'; fi` | |
390 | ||
391 | foomatic_rip-pdf.o: pdf.c | |
392 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-pdf.o -MD -MP -MF $(DEPDIR)/foomatic_rip-pdf.Tpo -c -o foomatic_rip-pdf.o `test -f 'pdf.c' || echo '$(srcdir)/'`pdf.c | |
393 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-pdf.Tpo $(DEPDIR)/foomatic_rip-pdf.Po | |
394 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pdf.c' object='foomatic_rip-pdf.o' libtool=no @AMDEPBACKSLASH@ | |
395 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
396 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-pdf.o `test -f 'pdf.c' || echo '$(srcdir)/'`pdf.c | |
397 | ||
398 | foomatic_rip-pdf.obj: pdf.c | |
399 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-pdf.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-pdf.Tpo -c -o foomatic_rip-pdf.obj `if test -f 'pdf.c'; then $(CYGPATH_W) 'pdf.c'; else $(CYGPATH_W) '$(srcdir)/pdf.c'; fi` | |
400 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-pdf.Tpo $(DEPDIR)/foomatic_rip-pdf.Po | |
401 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pdf.c' object='foomatic_rip-pdf.obj' libtool=no @AMDEPBACKSLASH@ | |
402 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
403 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-pdf.obj `if test -f 'pdf.c'; then $(CYGPATH_W) 'pdf.c'; else $(CYGPATH_W) '$(srcdir)/pdf.c'; fi` | |
404 | ||
405 | foomatic_rip-postscript.o: postscript.c | |
406 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-postscript.o -MD -MP -MF $(DEPDIR)/foomatic_rip-postscript.Tpo -c -o foomatic_rip-postscript.o `test -f 'postscript.c' || echo '$(srcdir)/'`postscript.c | |
407 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-postscript.Tpo $(DEPDIR)/foomatic_rip-postscript.Po | |
408 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='postscript.c' object='foomatic_rip-postscript.o' libtool=no @AMDEPBACKSLASH@ | |
409 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
410 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-postscript.o `test -f 'postscript.c' || echo '$(srcdir)/'`postscript.c | |
411 | ||
412 | foomatic_rip-postscript.obj: postscript.c | |
413 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-postscript.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-postscript.Tpo -c -o foomatic_rip-postscript.obj `if test -f 'postscript.c'; then $(CYGPATH_W) 'postscript.c'; else $(CYGPATH_W) '$(srcdir)/postscript.c'; fi` | |
414 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-postscript.Tpo $(DEPDIR)/foomatic_rip-postscript.Po | |
415 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='postscript.c' object='foomatic_rip-postscript.obj' libtool=no @AMDEPBACKSLASH@ | |
416 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
417 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-postscript.obj `if test -f 'postscript.c'; then $(CYGPATH_W) 'postscript.c'; else $(CYGPATH_W) '$(srcdir)/postscript.c'; fi` | |
418 | ||
419 | foomatic_rip-util.o: util.c | |
420 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-util.o -MD -MP -MF $(DEPDIR)/foomatic_rip-util.Tpo -c -o foomatic_rip-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c | |
421 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-util.Tpo $(DEPDIR)/foomatic_rip-util.Po | |
422 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='foomatic_rip-util.o' libtool=no @AMDEPBACKSLASH@ | |
423 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
424 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c | |
425 | ||
426 | foomatic_rip-util.obj: util.c | |
427 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-util.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-util.Tpo -c -o foomatic_rip-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi` | |
428 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-util.Tpo $(DEPDIR)/foomatic_rip-util.Po | |
429 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='foomatic_rip-util.obj' libtool=no @AMDEPBACKSLASH@ | |
430 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
431 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi` | |
432 | ||
433 | foomatic_rip-spooler.o: spooler.c | |
434 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-spooler.o -MD -MP -MF $(DEPDIR)/foomatic_rip-spooler.Tpo -c -o foomatic_rip-spooler.o `test -f 'spooler.c' || echo '$(srcdir)/'`spooler.c | |
435 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-spooler.Tpo $(DEPDIR)/foomatic_rip-spooler.Po | |
436 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spooler.c' object='foomatic_rip-spooler.o' libtool=no @AMDEPBACKSLASH@ | |
437 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
438 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-spooler.o `test -f 'spooler.c' || echo '$(srcdir)/'`spooler.c | |
439 | ||
440 | foomatic_rip-spooler.obj: spooler.c | |
441 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-spooler.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-spooler.Tpo -c -o foomatic_rip-spooler.obj `if test -f 'spooler.c'; then $(CYGPATH_W) 'spooler.c'; else $(CYGPATH_W) '$(srcdir)/spooler.c'; fi` | |
442 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-spooler.Tpo $(DEPDIR)/foomatic_rip-spooler.Po | |
443 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='spooler.c' object='foomatic_rip-spooler.obj' libtool=no @AMDEPBACKSLASH@ | |
444 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
445 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-spooler.obj `if test -f 'spooler.c'; then $(CYGPATH_W) 'spooler.c'; else $(CYGPATH_W) '$(srcdir)/spooler.c'; fi` | |
446 | ||
447 | foomatic_rip-process.o: process.c | |
448 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-process.o -MD -MP -MF $(DEPDIR)/foomatic_rip-process.Tpo -c -o foomatic_rip-process.o `test -f 'process.c' || echo '$(srcdir)/'`process.c | |
449 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-process.Tpo $(DEPDIR)/foomatic_rip-process.Po | |
450 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='process.c' object='foomatic_rip-process.o' libtool=no @AMDEPBACKSLASH@ | |
451 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
452 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-process.o `test -f 'process.c' || echo '$(srcdir)/'`process.c | |
453 | ||
454 | foomatic_rip-process.obj: process.c | |
455 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-process.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-process.Tpo -c -o foomatic_rip-process.obj `if test -f 'process.c'; then $(CYGPATH_W) 'process.c'; else $(CYGPATH_W) '$(srcdir)/process.c'; fi` | |
456 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-process.Tpo $(DEPDIR)/foomatic_rip-process.Po | |
457 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='process.c' object='foomatic_rip-process.obj' libtool=no @AMDEPBACKSLASH@ | |
458 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
459 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-process.obj `if test -f 'process.c'; then $(CYGPATH_W) 'process.c'; else $(CYGPATH_W) '$(srcdir)/process.c'; fi` | |
460 | ||
461 | foomatic_rip-renderer.o: renderer.c | |
462 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-renderer.o -MD -MP -MF $(DEPDIR)/foomatic_rip-renderer.Tpo -c -o foomatic_rip-renderer.o `test -f 'renderer.c' || echo '$(srcdir)/'`renderer.c | |
463 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-renderer.Tpo $(DEPDIR)/foomatic_rip-renderer.Po | |
464 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='renderer.c' object='foomatic_rip-renderer.o' libtool=no @AMDEPBACKSLASH@ | |
465 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
466 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-renderer.o `test -f 'renderer.c' || echo '$(srcdir)/'`renderer.c | |
467 | ||
468 | foomatic_rip-renderer.obj: renderer.c | |
469 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-renderer.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-renderer.Tpo -c -o foomatic_rip-renderer.obj `if test -f 'renderer.c'; then $(CYGPATH_W) 'renderer.c'; else $(CYGPATH_W) '$(srcdir)/renderer.c'; fi` | |
470 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-renderer.Tpo $(DEPDIR)/foomatic_rip-renderer.Po | |
471 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='renderer.c' object='foomatic_rip-renderer.obj' libtool=no @AMDEPBACKSLASH@ | |
472 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
473 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-renderer.obj `if test -f 'renderer.c'; then $(CYGPATH_W) 'renderer.c'; else $(CYGPATH_W) '$(srcdir)/renderer.c'; fi` | |
474 | ||
475 | foomatic_rip-fileconverter.o: fileconverter.c | |
476 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-fileconverter.o -MD -MP -MF $(DEPDIR)/foomatic_rip-fileconverter.Tpo -c -o foomatic_rip-fileconverter.o `test -f 'fileconverter.c' || echo '$(srcdir)/'`fileconverter.c | |
477 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-fileconverter.Tpo $(DEPDIR)/foomatic_rip-fileconverter.Po | |
478 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fileconverter.c' object='foomatic_rip-fileconverter.o' libtool=no @AMDEPBACKSLASH@ | |
479 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
480 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-fileconverter.o `test -f 'fileconverter.c' || echo '$(srcdir)/'`fileconverter.c | |
481 | ||
482 | foomatic_rip-fileconverter.obj: fileconverter.c | |
483 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-fileconverter.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-fileconverter.Tpo -c -o foomatic_rip-fileconverter.obj `if test -f 'fileconverter.c'; then $(CYGPATH_W) 'fileconverter.c'; else $(CYGPATH_W) '$(srcdir)/fileconverter.c'; fi` | |
484 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-fileconverter.Tpo $(DEPDIR)/foomatic_rip-fileconverter.Po | |
485 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fileconverter.c' object='foomatic_rip-fileconverter.obj' libtool=no @AMDEPBACKSLASH@ | |
486 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
487 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-fileconverter.obj `if test -f 'fileconverter.c'; then $(CYGPATH_W) 'fileconverter.c'; else $(CYGPATH_W) '$(srcdir)/fileconverter.c'; fi` | |
488 | ||
489 | foomatic_rip-colord.o: colord.c | |
490 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-colord.o -MD -MP -MF $(DEPDIR)/foomatic_rip-colord.Tpo -c -o foomatic_rip-colord.o `test -f 'colord.c' || echo '$(srcdir)/'`colord.c | |
491 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-colord.Tpo $(DEPDIR)/foomatic_rip-colord.Po | |
492 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='colord.c' object='foomatic_rip-colord.o' libtool=no @AMDEPBACKSLASH@ | |
493 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
494 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-colord.o `test -f 'colord.c' || echo '$(srcdir)/'`colord.c | |
495 | ||
496 | foomatic_rip-colord.obj: colord.c | |
497 | @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -MT foomatic_rip-colord.obj -MD -MP -MF $(DEPDIR)/foomatic_rip-colord.Tpo -c -o foomatic_rip-colord.obj `if test -f 'colord.c'; then $(CYGPATH_W) 'colord.c'; else $(CYGPATH_W) '$(srcdir)/colord.c'; fi` | |
498 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/foomatic_rip-colord.Tpo $(DEPDIR)/foomatic_rip-colord.Po | |
499 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='colord.c' object='foomatic_rip-colord.obj' libtool=no @AMDEPBACKSLASH@ | |
500 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
501 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(foomatic_rip_CFLAGS) $(CFLAGS) -c -o foomatic_rip-colord.obj `if test -f 'colord.c'; then $(CYGPATH_W) 'colord.c'; else $(CYGPATH_W) '$(srcdir)/colord.c'; fi` | |
502 | ||
503 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | |
504 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | |
505 | unique=`for i in $$list; do \ | |
506 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
507 | done | \ | |
508 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
509 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
510 | mkid -fID $$unique | |
511 | tags: TAGS | |
512 | ||
513 | TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
514 | $(TAGS_FILES) $(LISP) | |
515 | set x; \ | |
516 | here=`pwd`; \ | |
517 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
518 | unique=`for i in $$list; do \ | |
519 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
520 | done | \ | |
521 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
522 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
523 | shift; \ | |
524 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |
525 | test -n "$$unique" || unique=$$empty_fix; \ | |
526 | if test $$# -gt 0; then \ | |
527 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
528 | "$$@" $$unique; \ | |
529 | else \ | |
530 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |
531 | $$unique; \ | |
532 | fi; \ | |
533 | fi | |
534 | ctags: CTAGS | |
535 | CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ | |
536 | $(TAGS_FILES) $(LISP) | |
537 | list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ | |
538 | unique=`for i in $$list; do \ | |
539 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |
540 | done | \ | |
541 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | |
542 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | |
543 | test -z "$(CTAGS_ARGS)$$unique" \ | |
544 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |
545 | $$unique | |
546 | ||
547 | GTAGS: | |
548 | here=`$(am__cd) $(top_builddir) && pwd` \ | |
549 | && $(am__cd) $(top_srcdir) \ | |
550 | && gtags -i $(GTAGS_ARGS) "$$here" | |
551 | ||
552 | distclean-tags: | |
553 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | |
554 | ||
555 | distdir: $(DISTFILES) | |
556 | $(am__remove_distdir) | |
557 | test -d "$(distdir)" || mkdir "$(distdir)" | |
558 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
559 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
560 | list='$(DISTFILES)'; \ | |
561 | dist_files=`for file in $$list; do echo $$file; done | \ | |
562 | sed -e "s|^$$srcdirstrip/||;t" \ | |
563 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
564 | case $$dist_files in \ | |
565 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
566 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
567 | sort -u` ;; \ | |
568 | esac; \ | |
569 | for file in $$dist_files; do \ | |
570 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
571 | if test -d $$d/$$file; then \ | |
572 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
573 | if test -d "$(distdir)/$$file"; then \ | |
574 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
575 | fi; \ | |
576 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
577 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
578 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
579 | fi; \ | |
580 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
581 | else \ | |
582 | test -f "$(distdir)/$$file" \ | |
583 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
584 | || exit 1; \ | |
585 | fi; \ | |
586 | done | |
587 | -test -n "$(am__skip_mode_fix)" \ | |
588 | || find "$(distdir)" -type d ! -perm -755 \ | |
589 | -exec chmod u+rwx,go+rx {} \; -o \ | |
590 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | |
591 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | |
592 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | |
593 | || chmod -R a+r "$(distdir)" | |
594 | dist-gzip: distdir | |
595 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
596 | $(am__remove_distdir) | |
597 | ||
598 | dist-bzip2: distdir | |
599 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | |
600 | $(am__remove_distdir) | |
601 | ||
602 | dist-lzma: distdir | |
603 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | |
604 | $(am__remove_distdir) | |
605 | ||
606 | dist-xz: distdir | |
607 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | |
608 | $(am__remove_distdir) | |
609 | ||
610 | dist-tarZ: distdir | |
611 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | |
612 | $(am__remove_distdir) | |
613 | ||
614 | dist-shar: distdir | |
615 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | |
616 | $(am__remove_distdir) | |
617 | ||
618 | dist-zip: distdir | |
619 | -rm -f $(distdir).zip | |
620 | zip -rq $(distdir).zip $(distdir) | |
621 | $(am__remove_distdir) | |
622 | ||
623 | dist dist-all: distdir | |
624 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
625 | $(am__remove_distdir) | |
626 | ||
627 | # This target untars the dist file and tries a VPATH configuration. Then | |
628 | # it guarantees that the distribution is self-contained by making another | |
629 | # tarfile. | |
630 | distcheck: dist | |
631 | case '$(DIST_ARCHIVES)' in \ | |
632 | *.tar.gz*) \ | |
633 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | |
634 | *.tar.bz2*) \ | |
635 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ | |
636 | *.tar.lzma*) \ | |
637 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | |
638 | *.tar.xz*) \ | |
639 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | |
640 | *.tar.Z*) \ | |
641 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | |
642 | *.shar.gz*) \ | |
643 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | |
644 | *.zip*) \ | |
645 | unzip $(distdir).zip ;;\ | |
646 | esac | |
647 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
648 | mkdir $(distdir)/_build | |
649 | mkdir $(distdir)/_inst | |
650 | chmod a-w $(distdir) | |
651 | test -d $(distdir)/_build || exit 0; \ | |
652 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | |
653 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | |
654 | && am__cwd=`pwd` \ | |
655 | && $(am__cd) $(distdir)/_build \ | |
656 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | |
657 | $(DISTCHECK_CONFIGURE_FLAGS) \ | |
658 | && $(MAKE) $(AM_MAKEFLAGS) \ | |
659 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | |
660 | && $(MAKE) $(AM_MAKEFLAGS) check \ | |
661 | && $(MAKE) $(AM_MAKEFLAGS) install \ | |
662 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | |
663 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ | |
664 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | |
665 | distuninstallcheck \ | |
666 | && chmod -R a-w "$$dc_install_base" \ | |
667 | && ({ \ | |
668 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ | |
669 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ | |
670 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ | |
671 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ | |
672 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ | |
673 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ | |
674 | && rm -rf "$$dc_destdir" \ | |
675 | && $(MAKE) $(AM_MAKEFLAGS) dist \ | |
676 | && rm -rf $(DIST_ARCHIVES) \ | |
677 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ | |
678 | && cd "$$am__cwd" \ | |
679 | || exit 1 | |
680 | $(am__remove_distdir) | |
681 | @(echo "$(distdir) archives ready for distribution: "; \ | |
682 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | |
683 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' | |
684 | distuninstallcheck: | |
685 | @$(am__cd) '$(distuninstallcheck_dir)' \ | |
686 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | |
687 | || { echo "ERROR: files left after uninstall:" ; \ | |
688 | if test -n "$(DESTDIR)"; then \ | |
689 | echo " (check DESTDIR support)"; \ | |
690 | fi ; \ | |
691 | $(distuninstallcheck_listfiles) ; \ | |
692 | exit 1; } >&2 | |
693 | distcleancheck: distclean | |
694 | @if test '$(srcdir)' = . ; then \ | |
695 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | |
696 | exit 1 ; \ | |
697 | fi | |
698 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | |
699 | || { echo "ERROR: files left in build directory after distclean:" ; \ | |
700 | $(distcleancheck_listfiles) ; \ | |
701 | exit 1; } >&2 | |
702 | check-am: all-am | |
703 | check: check-am | |
704 | all-am: Makefile $(PROGRAMS) config.h | |
705 | installdirs: | |
706 | for dir in "$(DESTDIR)$(bindir)"; do \ | |
707 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
708 | done | |
709 | install-exec: install-exec-am | |
710 | install-data: install-data-am | |
711 | ||
712 | install-am: all-am | |
713 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
714 | ||
715 | installcheck: installcheck-am | |
716 | install-strip: | |
717 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
718 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
719 | `test -z '$(STRIP)' || \ | |
720 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
721 | mostlyclean-generic: | |
722 | ||
723 | clean-generic: | |
724 | ||
725 | distclean-generic: | |
726 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
727 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
728 | ||
729 | maintainer-clean-generic: | |
730 | @echo "This command is intended for maintainers to use" | |
731 | @echo "it deletes files that may require special tools to rebuild." | |
732 | clean-am: clean-binPROGRAMS clean-generic mostlyclean-am | |
733 | ||
734 | distclean-am: clean-am distclean-compile distclean-generic \ | |
735 | distclean-hdr distclean-tags | |
736 | ||
737 | dvi: dvi-am | |
738 | ||
739 | dvi-am: | |
740 | ||
741 | html: html-am | |
742 | ||
743 | html-am: | |
744 | ||
745 | info: info-am | |
746 | ||
747 | info-am: | |
748 | ||
749 | install-data-am: | |
750 | ||
751 | install-dvi: install-dvi-am | |
752 | ||
753 | install-dvi-am: | |
754 | ||
755 | install-exec-am: install-binPROGRAMS | |
756 | ||
757 | install-html: install-html-am | |
758 | ||
759 | install-html-am: | |
760 | ||
761 | install-info: install-info-am | |
762 | ||
763 | install-info-am: | |
764 | ||
765 | install-pdf: install-pdf-am | |
766 | ||
767 | install-pdf-am: | |
768 | ||
769 | install-ps: install-ps-am | |
770 | ||
771 | install-ps-am: | |
772 | ||
773 | installcheck-am: | |
774 | ||
775 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
776 | ||
777 | mostlyclean: mostlyclean-am | |
778 | ||
779 | mostlyclean-am: mostlyclean-compile mostlyclean-generic | |
780 | ||
781 | pdf: pdf-am | |
782 | ||
783 | pdf-am: | |
784 | ||
785 | ps: ps-am | |
786 | ||
787 | ps-am: | |
788 | ||
789 | uninstall-am: uninstall-binPROGRAMS | |
790 | ||
791 | .MAKE: all install-am install-strip | |
792 | ||
793 | .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ | |
794 | clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ | |
795 | dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ | |
796 | distcheck distclean distclean-compile distclean-generic \ | |
797 | distclean-hdr distclean-tags distcleancheck distdir \ | |
798 | distuninstallcheck dvi dvi-am html html-am info info-am \ | |
799 | install install-am install-binPROGRAMS install-data \ | |
800 | install-data-am install-dvi install-dvi-am install-exec \ | |
801 | install-exec-am install-html install-html-am install-info \ | |
802 | install-info-am install-man install-pdf install-pdf-am \ | |
803 | install-ps install-ps-am install-strip installcheck \ | |
804 | installcheck-am installdirs maintainer-clean \ | |
805 | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |
806 | mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ | |
807 | uninstall-am uninstall-binPROGRAMS | |
808 | ||
809 | ||
810 | # The install rule should check for kitloads and avoid stomping. It doesn't | |
811 | install: install-main install-cups install-ppr | |
812 | ||
813 | install-main: install-bin install-man | |
814 | ||
815 | install-cups: install-bin | |
816 | ${SRC}/mkinstalldirs $(DESTDIR)$(CUPS_FILTERS) | |
817 | ${SRC}/mkinstalldirs $(DESTDIR)$(CUPS_BACKENDS) | |
818 | ln -sf $(BINDIR)/foomatic-rip $(DESTDIR)$(CUPS_FILTERS) | |
819 | ${INSTALL} -m 755 beh $(DESTDIR)$(CUPS_BACKENDS) | |
820 | ||
821 | install-ppr: install-bin | |
822 | ${SRC}/mkinstalldirs $(DESTDIR)$(PPR_INTERFACES) | |
823 | ${SRC}/mkinstalldirs $(DESTDIR)$(PPR_LIB) | |
824 | ln -sf $(BINDIR)/foomatic-rip $(DESTDIR)$(PPR_INTERFACES) | |
825 | ln -sf $(BINDIR)/foomatic-rip $(DESTDIR)$(PPR_LIB) | |
826 | ||
827 | install-bin: install-etc | |
828 | ${SRC}/mkinstalldirs $(DESTDIR)$(BINDIR) | |
829 | (for FILE in $(bin_PROGRAMS) ; do \ | |
830 | ${INSTALL} -m 755 $$FILE $(DESTDIR)$(BINDIR) ; done) | |
831 | ||
832 | install-etc: | |
833 | ${SRC}/mkinstalldirs $(DESTDIR)$(ETCDIR)/direct | |
834 | ${INSTALL} -m 644 ${SRC}/filter.conf $(DESTDIR)$(ETCDIR)/filter.conf.sample | |
835 | if [ ! -f $(DESTDIR)$(ETCDIR)/filter.conf ] ; then ${INSTALL} -m 644 ${SRC}/filter.conf $(DESTDIR)$(ETCDIR); fi; | |
836 | ||
837 | install-man: | |
838 | ${SRC}/mkinstalldirs $(DESTDIR)$(MANDIR) | |
839 | ${SRC}/mkinstalldirs $(DESTDIR)$(MANDIR)/man1 | |
840 | (for FILE in *.1 ; do \ | |
841 | ${INSTALL} -m 444 $$FILE $(DESTDIR)$(MANDIR)/man1 ; done) | |
842 | ||
843 | # Clean up the source directory | |
844 | clean: remove-trash | |
845 | rm -f *.o foomatic-rip foomatic-rip.1 beh | |
846 | rm -f .testing-stamp stamp-h1 | |
847 | rm -f test/*.out | |
848 | ||
849 | distclean: clean | |
850 | rm -f $(AC_OUTPUT_FILES) config.log config.status config.cache configure.lineno | |
851 | rm -rf autom*.cache confdefs.h config.h | |
852 | rm -f Makefile test/Makefile | |
853 | rm -rf .deps | |
854 | ||
855 | maintainer-clean: distclean | |
856 | rm -f configure config.h.in Makefile.in aclocal.m4 INSTALL VERSION.full | |
857 | rm -f depcomp missing | |
858 | # Remove editor backup and temporary files | |
859 | remove-trash: | |
860 | for m in $(TRASHFILES); do \ | |
861 | find . -name "$$m" -xtype f -exec rm -f "{}" \; ; \ | |
862 | done | |
863 | ||
864 | # Uninstall an installed Foomatic | |
865 | ||
866 | uninstall: uninstall-cups uninstall-ppr uninstall-main | |
867 | ||
868 | uninstall-main: uninstall-bin uninstall-man | |
869 | ||
870 | uninstall-bin: | |
871 | ( cd $(DESTDIR)$(BINDIR) && \ | |
872 | rm -f $(bin_PROGRAMS) \ | |
873 | ) | |
874 | ||
875 | uninstall-etc: | |
876 | rm -f $(DESTDIR)$(ETCDIR)/filter.conf | |
877 | rm -f $(DESTDIR)$(ETCDIR)/filter.conf.sample | |
878 | rmdir $(DESTDIR)$(ETCDIR)/direct || : | |
879 | rmdir $(DESTDIR)$(ETCDIR) || : | |
880 | ||
881 | uninstall-cups: | |
882 | rm -f $(DESTDIR)$(CUPS_FILTERS)/foomatic-rip | |
883 | rm -f $(DESTDIR)$(CUPS_BACKENDS)/beh | |
884 | rmdir $(DESTDIR)$(CUPS_FILTERS) || : | |
885 | rmdir $(DESTDIR)$(CUPS_BACKENDS) || : | |
886 | rmdir $(DESTDIR)$(CUPS) || : | |
887 | ||
888 | uninstall-ppr: | |
889 | rm -f $(DESTDIR)$(PPR_INTERFACES)/foomatic-rip | |
890 | rmdir $(DESTDIR)$(PPR_INTERFACES) || : | |
891 | rm -f $(DESTDIR)$(PPR_LIB)/foomatic-rip | |
892 | rmdir $(DESTDIR)$(PPR_LIB) || : | |
893 | rmdir $(DESTDIR)$(PPR) || : | |
894 | ||
895 | uninstall-man: check-config | |
896 | for m in $(bin_PROGRAMS); do \ | |
897 | rm -f $(DESTDIR)$(MANDIR)/man1/$$m.*; \ | |
898 | done | |
899 | ||
900 | # Various testing/debugging/etc targets | |
901 | inplace: all | |
902 | chmod a+rx $(bin_PROGRAMS) | |
903 | ||
904 | testing tests: inplace | |
905 | cd tests ; $(MAKE) | |
906 | ||
907 | .PHONY: all install install-bin clean distclean maintainer-clean tests inplace | |
908 | ||
909 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
910 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
911 | .NOEXPORT: |
0 | 4.0.12.246 |
0 | #! /bin/sh | |
1 | # Wrapper for compilers which do not understand `-c -o'. | |
2 | ||
3 | scriptversion=2009-10-06.20; # UTC | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software | |
6 | # Foundation, Inc. | |
7 | # Written by Tom Tromey <tromey@cygnus.com>. | |
8 | # | |
9 | # This program is free software; you can redistribute it and/or modify | |
10 | # it under the terms of the GNU General Public License as published by | |
11 | # the Free Software Foundation; either version 2, or (at your option) | |
12 | # any later version. | |
13 | # | |
14 | # This program is distributed in the hope that it will be useful, | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | # GNU General Public License for more details. | |
18 | # | |
19 | # You should have received a copy of the GNU General Public License | |
20 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
21 | ||
22 | # As a special exception to the GNU General Public License, if you | |
23 | # distribute this file as part of a program that contains a | |
24 | # configuration script generated by Autoconf, you may include it under | |
25 | # the same distribution terms that you use for the rest of that program. | |
26 | ||
27 | # This file is maintained in Automake, please report | |
28 | # bugs to <bug-automake@gnu.org> or send patches to | |
29 | # <automake-patches@gnu.org>. | |
30 | ||
31 | case $1 in | |
32 | '') | |
33 | echo "$0: No command. Try \`$0 --help' for more information." 1>&2 | |
34 | exit 1; | |
35 | ;; | |
36 | -h | --h*) | |
37 | cat <<\EOF | |
38 | Usage: compile [--help] [--version] PROGRAM [ARGS] | |
39 | ||
40 | Wrapper for compilers which do not understand `-c -o'. | |
41 | Remove `-o dest.o' from ARGS, run PROGRAM with the remaining | |
42 | arguments, and rename the output as expected. | |
43 | ||
44 | If you are trying to build a whole package this is not the | |
45 | right script to run: please start by reading the file `INSTALL'. | |
46 | ||
47 | Report bugs to <bug-automake@gnu.org>. | |
48 | EOF | |
49 | exit $? | |
50 | ;; | |
51 | -v | --v*) | |
52 | echo "compile $scriptversion" | |
53 | exit $? | |
54 | ;; | |
55 | esac | |
56 | ||
57 | ofile= | |
58 | cfile= | |
59 | eat= | |
60 | ||
61 | for arg | |
62 | do | |
63 | if test -n "$eat"; then | |
64 | eat= | |
65 | else | |
66 | case $1 in | |
67 | -o) | |
68 | # configure might choose to run compile as `compile cc -o foo foo.c'. | |
69 | # So we strip `-o arg' only if arg is an object. | |
70 | eat=1 | |
71 | case $2 in | |
72 | *.o | *.obj) | |
73 | ofile=$2 | |
74 | ;; | |
75 | *) | |
76 | set x "$@" -o "$2" | |
77 | shift | |
78 | ;; | |
79 | esac | |
80 | ;; | |
81 | *.c) | |
82 | cfile=$1 | |
83 | set x "$@" "$1" | |
84 | shift | |
85 | ;; | |
86 | *) | |
87 | set x "$@" "$1" | |
88 | shift | |
89 | ;; | |
90 | esac | |
91 | fi | |
92 | shift | |
93 | done | |
94 | ||
95 | if test -z "$ofile" || test -z "$cfile"; then | |
96 | # If no `-o' option was seen then we might have been invoked from a | |
97 | # pattern rule where we don't need one. That is ok -- this is a | |
98 | # normal compilation that the losing compiler can handle. If no | |
99 | # `.c' file was seen then we are probably linking. That is also | |
100 | # ok. | |
101 | exec "$@" | |
102 | fi | |
103 | ||
104 | # Name of file we expect compiler to create. | |
105 | cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` | |
106 | ||
107 | # Create the lock directory. | |
108 | # Note: use `[/\\:.-]' here to ensure that we don't use the same name | |
109 | # that we are using for the .o file. Also, base the name on the expected | |
110 | # object file name, since that is what matters with a parallel build. | |
111 | lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d | |
112 | while true; do | |
113 | if mkdir "$lockdir" >/dev/null 2>&1; then | |
114 | break | |
115 | fi | |
116 | sleep 1 | |
117 | done | |
118 | # FIXME: race condition here if user kills between mkdir and trap. | |
119 | trap "rmdir '$lockdir'; exit 1" 1 2 15 | |
120 | ||
121 | # Run the compile. | |
122 | "$@" | |
123 | ret=$? | |
124 | ||
125 | if test -f "$cofile"; then | |
126 | test "$cofile" = "$ofile" || mv "$cofile" "$ofile" | |
127 | elif test -f "${cofile}bj"; then | |
128 | test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" | |
129 | fi | |
130 | ||
131 | rmdir "$lockdir" | |
132 | exit $ret | |
133 | ||
134 | # Local Variables: | |
135 | # mode: shell-script | |
136 | # sh-indentation: 2 | |
137 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
138 | # time-stamp-start: "scriptversion=" | |
139 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
140 | # time-stamp-time-zone: "UTC" | |
141 | # time-stamp-end: "; # UTC" | |
142 | # End: |
0 | /* config.h.in. Generated from configure.ac by autoheader. */ | |
1 | ||
2 | /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ | |
3 | #undef HAVE_DOPRNT | |
4 | ||
5 | /* Define to 1 if you have the `dup2' function. */ | |
6 | #undef HAVE_DUP2 | |
7 | ||
8 | /* Define to 1 if you have the <fcntl.h> header file. */ | |
9 | #undef HAVE_FCNTL_H | |
10 | ||
11 | /* Define to 1 if you have the `fork' function. */ | |
12 | #undef HAVE_FORK | |
13 | ||
14 | /* Define to 1 if you have the `getcwd' function. */ | |
15 | #undef HAVE_GETCWD | |
16 | ||
17 | /* Define to 1 if you have the `gethostname' function. */ | |
18 | #undef HAVE_GETHOSTNAME | |
19 | ||
20 | /* Define to 1 if you have the <inttypes.h> header file. */ | |
21 | #undef HAVE_INTTYPES_H | |
22 | ||
23 | /* Define to 1 if you have the `m' library (-lm). */ | |
24 | #undef HAVE_LIBM | |
25 | ||
26 | /* Define to 1 if your system has a GNU libc compatible `malloc' function, and | |
27 | to 0 otherwise. */ | |
28 | #undef HAVE_MALLOC | |
29 | ||
30 | /* Define to 1 if you have the <memory.h> header file. */ | |
31 | #undef HAVE_MEMORY_H | |
32 | ||
33 | /* Define to 1 if your system has a GNU libc compatible `realloc' function, | |
34 | and to 0 otherwise. */ | |
35 | #undef HAVE_REALLOC | |
36 | ||
37 | /* Define to 1 if you have the `regcomp' function. */ | |
38 | #undef HAVE_REGCOMP | |
39 | ||
40 | /* Define to 1 if you have the `setenv' function. */ | |
41 | #undef HAVE_SETENV | |
42 | ||
43 | /* Define to 1 if you have the <stddef.h> header file. */ | |
44 | #undef HAVE_STDDEF_H | |
45 | ||
46 | /* Define to 1 if you have the <stdint.h> header file. */ | |
47 | #undef HAVE_STDINT_H | |
48 | ||
49 | /* Define to 1 if you have the <stdlib.h> header file. */ | |
50 | #undef HAVE_STDLIB_H | |
51 | ||
52 | /* Define to 1 if you have the `strcasecmp' function. */ | |
53 | #undef HAVE_STRCASECMP | |
54 | ||
55 | /* Define to 1 if you have the `strcasestr' function. */ | |
56 | #undef HAVE_STRCASESTR | |
57 | ||
58 | /* Define to 1 if you have the `strchr' function. */ | |
59 | #undef HAVE_STRCHR | |
60 | ||
61 | /* Define to 1 if you have the `strcspn' function. */ | |
62 | #undef HAVE_STRCSPN | |
63 | ||
64 | /* Define to 1 if you have the `strdup' function. */ | |
65 | #undef HAVE_STRDUP | |
66 | ||
67 | /* Define to 1 if you have the <strings.h> header file. */ | |
68 | #undef HAVE_STRINGS_H | |
69 | ||
70 | /* Define to 1 if you have the <string.h> header file. */ | |
71 | #undef HAVE_STRING_H | |
72 | ||
73 | /* Define to 1 if you have the `strncasecmp' function. */ | |
74 | #undef HAVE_STRNCASECMP | |
75 | ||
76 | /* Define to 1 if you have the `strndup' function. */ | |
77 | #undef HAVE_STRNDUP | |
78 | ||
79 | /* Define to 1 if you have the `strrchr' function. */ | |
80 | #undef HAVE_STRRCHR | |
81 | ||
82 | /* Define to 1 if you have the `strstr' function. */ | |
83 | #undef HAVE_STRSTR | |
84 | ||
85 | /* Define to 1 if you have the `strtol' function. */ | |
86 | #undef HAVE_STRTOL | |
87 | ||
88 | /* Define to 1 if you have the <sys/stat.h> header file. */ | |
89 | #undef HAVE_SYS_STAT_H | |
90 | ||
91 | /* Define to 1 if you have the <sys/types.h> header file. */ | |
92 | #undef HAVE_SYS_TYPES_H | |
93 | ||
94 | /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ | |
95 | #undef HAVE_SYS_WAIT_H | |
96 | ||
97 | /* Define to 1 if you have the <unistd.h> header file. */ | |
98 | #undef HAVE_UNISTD_H | |
99 | ||
100 | /* Define to 1 if you have the `vfork' function. */ | |
101 | #undef HAVE_VFORK | |
102 | ||
103 | /* Define to 1 if you have the <vfork.h> header file. */ | |
104 | #undef HAVE_VFORK_H | |
105 | ||
106 | /* Define to 1 if you have the `vprintf' function. */ | |
107 | #undef HAVE_VPRINTF | |
108 | ||
109 | /* Define to 1 if `fork' works. */ | |
110 | #undef HAVE_WORKING_FORK | |
111 | ||
112 | /* Define to 1 if `vfork' works. */ | |
113 | #undef HAVE_WORKING_VFORK | |
114 | ||
115 | /* Define to the address where bug reports for this package should be sent. */ | |
116 | #undef PACKAGE_BUGREPORT | |
117 | ||
118 | /* Define to the full name of this package. */ | |
119 | #undef PACKAGE_NAME | |
120 | ||
121 | /* Define to the full name and version of this package. */ | |
122 | #undef PACKAGE_STRING | |
123 | ||
124 | /* Define to the one symbol short name of this package. */ | |
125 | #undef PACKAGE_TARNAME | |
126 | ||
127 | /* Define to the home page for this package. */ | |
128 | #undef PACKAGE_URL | |
129 | ||
130 | /* Define to the version of this package. */ | |
131 | #undef PACKAGE_VERSION | |
132 | ||
133 | /* Define as the return type of signal handlers (`int' or `void'). */ | |
134 | #undef RETSIGTYPE | |
135 | ||
136 | /* Define to 1 if you have the ANSI C header files. */ | |
137 | #undef STDC_HEADERS | |
138 | ||
139 | /* Define to 1 if your <sys/time.h> declares `struct tm'. */ | |
140 | #undef TM_IN_SYS_TIME | |
141 | ||
142 | /* Foomatic version */ | |
143 | #undef VERSION | |
144 | ||
145 | /* Define to empty if `const' does not conform to ANSI C. */ | |
146 | #undef const | |
147 | ||
148 | /* Define to `__inline__' or `__inline' if that's what the C compiler | |
149 | calls it, or to nothing if 'inline' is not supported under any name. */ | |
150 | #ifndef __cplusplus | |
151 | #undef inline | |
152 | #endif | |
153 | ||
154 | /* Define to rpl_malloc if the replacement function should be used. */ | |
155 | #undef malloc | |
156 | ||
157 | /* Define to `int' if <sys/types.h> does not define. */ | |
158 | #undef pid_t | |
159 | ||
160 | /* Define to rpl_realloc if the replacement function should be used. */ | |
161 | #undef realloc | |
162 | ||
163 | /* Define to `unsigned int' if <sys/types.h> does not define. */ | |
164 | #undef size_t | |
165 | ||
166 | /* Define to `int' if <sys/types.h> does not define. */ | |
167 | #undef ssize_t | |
168 | ||
169 | /* Define as `fork' if `vfork' does not work. */ | |
170 | #undef vfork |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.65 for foomatic-rip 4.0.11. | |
2 | # Generated by GNU Autoconf 2.65 for foomatic-rip 4.0.12. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
548 | 548 | # Identity of this package. |
549 | 549 | PACKAGE_NAME='foomatic-rip' |
550 | 550 | PACKAGE_TARNAME='foomatic-rip' |
551 | PACKAGE_VERSION='4.0.11' | |
552 | PACKAGE_STRING='foomatic-rip 4.0.11' | |
551 | PACKAGE_VERSION='4.0.12' | |
552 | PACKAGE_STRING='foomatic-rip 4.0.12' | |
553 | 553 | PACKAGE_BUGREPORT='' |
554 | 554 | PACKAGE_URL='' |
555 | 555 | |
1269 | 1269 | # Omit some internal or obsolete options to make the list less imposing. |
1270 | 1270 | # This message is too long to be a string in the A/UX 3.1 sh. |
1271 | 1271 | cat <<_ACEOF |
1272 | \`configure' configures foomatic-rip 4.0.11 to adapt to many kinds of systems. | |
1272 | \`configure' configures foomatic-rip 4.0.12 to adapt to many kinds of systems. | |
1273 | 1273 | |
1274 | 1274 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1275 | 1275 | |
1335 | 1335 | |
1336 | 1336 | if test -n "$ac_init_help"; then |
1337 | 1337 | case $ac_init_help in |
1338 | short | recursive ) echo "Configuration of foomatic-rip 4.0.11:";; | |
1338 | short | recursive ) echo "Configuration of foomatic-rip 4.0.12:";; | |
1339 | 1339 | esac |
1340 | 1340 | cat <<\_ACEOF |
1341 | 1341 | |
1439 | 1439 | test -n "$ac_init_help" && exit $ac_status |
1440 | 1440 | if $ac_init_version; then |
1441 | 1441 | cat <<\_ACEOF |
1442 | foomatic-rip configure 4.0.11 | |
1442 | foomatic-rip configure 4.0.12 | |
1443 | 1443 | generated by GNU Autoconf 2.65 |
1444 | 1444 | |
1445 | 1445 | Copyright (C) 2009 Free Software Foundation, Inc. |
1896 | 1896 | This file contains any messages produced by compilers while |
1897 | 1897 | running configure, to aid debugging if configure makes a mistake. |
1898 | 1898 | |
1899 | It was created by foomatic-rip $as_me 4.0.11, which was | |
1899 | It was created by foomatic-rip $as_me 4.0.12, which was | |
1900 | 1900 | generated by GNU Autoconf 2.65. Invocation command line was |
1901 | 1901 | |
1902 | 1902 | $ $0 $@ |
2704 | 2704 | |
2705 | 2705 | # Define the identity of the package. |
2706 | 2706 | PACKAGE='foomatic-rip' |
2707 | VERSION='4.0.11' | |
2707 | VERSION='4.0.12' | |
2708 | 2708 | |
2709 | 2709 | |
2710 | 2710 | # Some tools Automake needs. |
6870 | 6870 | # report actual input values of CONFIG_FILES etc. instead of their |
6871 | 6871 | # values after options handling. |
6872 | 6872 | ac_log=" |
6873 | This file was extended by foomatic-rip $as_me 4.0.11, which was | |
6873 | This file was extended by foomatic-rip $as_me 4.0.12, which was | |
6874 | 6874 | generated by GNU Autoconf 2.65. Invocation command line was |
6875 | 6875 | |
6876 | 6876 | CONFIG_FILES = $CONFIG_FILES |
6936 | 6936 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6937 | 6937 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6938 | 6938 | ac_cs_version="\\ |
6939 | foomatic-rip config.status 4.0.11 | |
6939 | foomatic-rip config.status 4.0.12 | |
6940 | 6940 | configured by $0, generated by GNU Autoconf 2.65, |
6941 | 6941 | with options \\"\$ac_cs_config\\" |
6942 | 6942 |
1 | 1 | # Process this file with autoconf to produce a configure script. |
2 | 2 | |
3 | 3 | AC_PREREQ([2.61]) |
4 | AC_INIT(foomatic-rip, [4.0.11]) | |
4 | AC_INIT(foomatic-rip, [4.0.12]) | |
5 | 5 | AM_INIT_AUTOMAKE([no-define]) |
6 | 6 | AC_CONFIG_SRCDIR([options.c]) |
7 | 7 |
0 | #! /bin/sh | |
1 | # depcomp - compile a program generating dependencies as side-effects | |
2 | ||
3 | scriptversion=2009-04-28.21; # UTC | |
4 | ||
5 | # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free | |
6 | # Software Foundation, Inc. | |
7 | ||
8 | # This program is free software; you can redistribute it and/or modify | |
9 | # it under the terms of the GNU General Public License as published by | |
10 | # the Free Software Foundation; either version 2, or (at your option) | |
11 | # any later version. | |
12 | ||
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | # GNU General Public License for more details. | |
17 | ||
18 | # You should have received a copy of the GNU General Public License | |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | ||
21 | # As a special exception to the GNU General Public License, if you | |
22 | # distribute this file as part of a program that contains a | |
23 | # configuration script generated by Autoconf, you may include it under | |
24 | # the same distribution terms that you use for the rest of that program. | |
25 | ||
26 | # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. | |
27 | ||
28 | case $1 in | |
29 | '') | |
30 | echo "$0: No command. Try \`$0 --help' for more information." 1>&2 | |
31 | exit 1; | |
32 | ;; | |
33 | -h | --h*) | |
34 | cat <<\EOF | |
35 | Usage: depcomp [--help] [--version] PROGRAM [ARGS] | |
36 | ||
37 | Run PROGRAMS ARGS to compile a file, generating dependencies | |
38 | as side-effects. | |
39 | ||
40 | Environment variables: | |
41 | depmode Dependency tracking mode. | |
42 | source Source file read by `PROGRAMS ARGS'. | |
43 | object Object file output by `PROGRAMS ARGS'. | |
44 | DEPDIR directory where to store dependencies. | |
45 | depfile Dependency file to output. | |
46 | tmpdepfile Temporary file to use when outputing dependencies. | |
47 | libtool Whether libtool is used (yes/no). | |
48 | ||
49 | Report bugs to <bug-automake@gnu.org>. | |
50 | EOF | |
51 | exit $? | |
52 | ;; | |
53 | -v | --v*) | |
54 | echo "depcomp $scriptversion" | |
55 | exit $? | |
56 | ;; | |
57 | esac | |
58 | ||
59 | if test -z "$depmode" || test -z "$source" || test -z "$object"; then | |
60 | echo "depcomp: Variables source, object and depmode must be set" 1>&2 | |
61 | exit 1 | |
62 | fi | |
63 | ||
64 | # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. | |
65 | depfile=${depfile-`echo "$object" | | |
66 | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} | |
67 | tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} | |
68 | ||
69 | rm -f "$tmpdepfile" | |
70 | ||
71 | # Some modes work just like other modes, but use different flags. We | |
72 | # parameterize here, but still list the modes in the big case below, | |
73 | # to make depend.m4 easier to write. Note that we *cannot* use a case | |
74 | # here, because this file can only contain one case statement. | |
75 | if test "$depmode" = hp; then | |
76 | # HP compiler uses -M and no extra arg. | |
77 | gccflag=-M | |
78 | depmode=gcc | |
79 | fi | |
80 | ||
81 | if test "$depmode" = dashXmstdout; then | |
82 | # This is just like dashmstdout with a different argument. | |
83 | dashmflag=-xM | |
84 | depmode=dashmstdout | |
85 | fi | |
86 | ||
87 | cygpath_u="cygpath -u -f -" | |
88 | if test "$depmode" = msvcmsys; then | |
89 | # This is just like msvisualcpp but w/o cygpath translation. | |
90 | # Just convert the backslash-escaped backslashes to single forward | |
91 | # slashes to satisfy depend.m4 | |
92 | cygpath_u="sed s,\\\\\\\\,/,g" | |
93 | depmode=msvisualcpp | |
94 | fi | |
95 | ||
96 | case "$depmode" in | |
97 | gcc3) | |
98 | ## gcc 3 implements dependency tracking that does exactly what | |
99 | ## we want. Yay! Note: for some reason libtool 1.4 doesn't like | |
100 | ## it if -MD -MP comes after the -MF stuff. Hmm. | |
101 | ## Unfortunately, FreeBSD c89 acceptance of flags depends upon | |
102 | ## the command line argument order; so add the flags where they | |
103 | ## appear in depend2.am. Note that the slowdown incurred here | |
104 | ## affects only configure: in makefiles, %FASTDEP% shortcuts this. | |
105 | for arg | |
106 | do | |
107 | case $arg in | |
108 | -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; | |
109 | *) set fnord "$@" "$arg" ;; | |
110 | esac | |
111 | shift # fnord | |
112 | shift # $arg | |
113 | done | |
114 | "$@" | |
115 | stat=$? | |
116 | if test $stat -eq 0; then : | |
117 | else | |
118 | rm -f "$tmpdepfile" | |
119 | exit $stat | |
120 | fi | |
121 | mv "$tmpdepfile" "$depfile" | |
122 | ;; | |
123 | ||
124 | gcc) | |
125 | ## There are various ways to get dependency output from gcc. Here's | |
126 | ## why we pick this rather obscure method: | |
127 | ## - Don't want to use -MD because we'd like the dependencies to end | |
128 | ## up in a subdir. Having to rename by hand is ugly. | |
129 | ## (We might end up doing this anyway to support other compilers.) | |
130 | ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like | |
131 | ## -MM, not -M (despite what the docs say). | |
132 | ## - Using -M directly means running the compiler twice (even worse | |
133 | ## than renaming). | |
134 | if test -z "$gccflag"; then | |
135 | gccflag=-MD, | |
136 | fi | |
137 | "$@" -Wp,"$gccflag$tmpdepfile" | |
138 | stat=$? | |
139 | if test $stat -eq 0; then : | |
140 | else | |
141 | rm -f "$tmpdepfile" | |
142 | exit $stat | |
143 | fi | |
144 | rm -f "$depfile" | |
145 | echo "$object : \\" > "$depfile" | |
146 | alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz | |
147 | ## The second -e expression handles DOS-style file names with drive letters. | |
148 | sed -e 's/^[^:]*: / /' \ | |
149 | -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" | |
150 | ## This next piece of magic avoids the `deleted header file' problem. | |
151 | ## The problem is that when a header file which appears in a .P file | |
152 | ## is deleted, the dependency causes make to die (because there is | |
153 | ## typically no way to rebuild the header). We avoid this by adding | |
154 | ## dummy dependencies for each header file. Too bad gcc doesn't do | |
155 | ## this for us directly. | |
156 | tr ' ' ' | |
157 | ' < "$tmpdepfile" | | |
158 | ## Some versions of gcc put a space before the `:'. On the theory | |
159 | ## that the space means something, we add a space to the output as | |
160 | ## well. | |
161 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
162 | ## correctly. Breaking it into two sed invocations is a workaround. | |
163 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
164 | rm -f "$tmpdepfile" | |
165 | ;; | |
166 | ||
167 | hp) | |
168 | # This case exists only to let depend.m4 do its work. It works by | |
169 | # looking at the text of this script. This case will never be run, | |
170 | # since it is checked for above. | |
171 | exit 1 | |
172 | ;; | |
173 | ||
174 | sgi) | |
175 | if test "$libtool" = yes; then | |
176 | "$@" "-Wp,-MDupdate,$tmpdepfile" | |
177 | else | |
178 | "$@" -MDupdate "$tmpdepfile" | |
179 | fi | |
180 | stat=$? | |
181 | if test $stat -eq 0; then : | |
182 | else | |
183 | rm -f "$tmpdepfile" | |
184 | exit $stat | |
185 | fi | |
186 | rm -f "$depfile" | |
187 | ||
188 | if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files | |
189 | echo "$object : \\" > "$depfile" | |
190 | ||
191 | # Clip off the initial element (the dependent). Don't try to be | |
192 | # clever and replace this with sed code, as IRIX sed won't handle | |
193 | # lines with more than a fixed number of characters (4096 in | |
194 | # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; | |
195 | # the IRIX cc adds comments like `#:fec' to the end of the | |
196 | # dependency line. | |
197 | tr ' ' ' | |
198 | ' < "$tmpdepfile" \ | |
199 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ | |
200 | tr ' | |
201 | ' ' ' >> "$depfile" | |
202 | echo >> "$depfile" | |
203 | ||
204 | # The second pass generates a dummy entry for each header file. | |
205 | tr ' ' ' | |
206 | ' < "$tmpdepfile" \ | |
207 | | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ | |
208 | >> "$depfile" | |
209 | else | |
210 | # The sourcefile does not contain any dependencies, so just | |
211 | # store a dummy comment line, to avoid errors with the Makefile | |
212 | # "include basename.Plo" scheme. | |
213 | echo "#dummy" > "$depfile" | |
214 | fi | |
215 | rm -f "$tmpdepfile" | |
216 | ;; | |
217 | ||
218 | aix) | |
219 | # The C for AIX Compiler uses -M and outputs the dependencies | |
220 | # in a .u file. In older versions, this file always lives in the | |
221 | # current directory. Also, the AIX compiler puts `$object:' at the | |
222 | # start of each line; $object doesn't have directory information. | |
223 | # Version 6 uses the directory in both cases. | |
224 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
225 | test "x$dir" = "x$object" && dir= | |
226 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
227 | if test "$libtool" = yes; then | |
228 | tmpdepfile1=$dir$base.u | |
229 | tmpdepfile2=$base.u | |
230 | tmpdepfile3=$dir.libs/$base.u | |
231 | "$@" -Wc,-M | |
232 | else | |
233 | tmpdepfile1=$dir$base.u | |
234 | tmpdepfile2=$dir$base.u | |
235 | tmpdepfile3=$dir$base.u | |
236 | "$@" -M | |
237 | fi | |
238 | stat=$? | |
239 | ||
240 | if test $stat -eq 0; then : | |
241 | else | |
242 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | |
243 | exit $stat | |
244 | fi | |
245 | ||
246 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" | |
247 | do | |
248 | test -f "$tmpdepfile" && break | |
249 | done | |
250 | if test -f "$tmpdepfile"; then | |
251 | # Each line is of the form `foo.o: dependent.h'. | |
252 | # Do two passes, one to just change these to | |
253 | # `$object: dependent.h' and one to simply `dependent.h:'. | |
254 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" | |
255 | # That's a tab and a space in the []. | |
256 | sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
257 | else | |
258 | # The sourcefile does not contain any dependencies, so just | |
259 | # store a dummy comment line, to avoid errors with the Makefile | |
260 | # "include basename.Plo" scheme. | |
261 | echo "#dummy" > "$depfile" | |
262 | fi | |
263 | rm -f "$tmpdepfile" | |
264 | ;; | |
265 | ||
266 | icc) | |
267 | # Intel's C compiler understands `-MD -MF file'. However on | |
268 | # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c | |
269 | # ICC 7.0 will fill foo.d with something like | |
270 | # foo.o: sub/foo.c | |
271 | # foo.o: sub/foo.h | |
272 | # which is wrong. We want: | |
273 | # sub/foo.o: sub/foo.c | |
274 | # sub/foo.o: sub/foo.h | |
275 | # sub/foo.c: | |
276 | # sub/foo.h: | |
277 | # ICC 7.1 will output | |
278 | # foo.o: sub/foo.c sub/foo.h | |
279 | # and will wrap long lines using \ : | |
280 | # foo.o: sub/foo.c ... \ | |
281 | # sub/foo.h ... \ | |
282 | # ... | |
283 | ||
284 | "$@" -MD -MF "$tmpdepfile" | |
285 | stat=$? | |
286 | if test $stat -eq 0; then : | |
287 | else | |
288 | rm -f "$tmpdepfile" | |
289 | exit $stat | |
290 | fi | |
291 | rm -f "$depfile" | |
292 | # Each line is of the form `foo.o: dependent.h', | |
293 | # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. | |
294 | # Do two passes, one to just change these to | |
295 | # `$object: dependent.h' and one to simply `dependent.h:'. | |
296 | sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" | |
297 | # Some versions of the HPUX 10.20 sed can't process this invocation | |
298 | # correctly. Breaking it into two sed invocations is a workaround. | |
299 | sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | | |
300 | sed -e 's/$/ :/' >> "$depfile" | |
301 | rm -f "$tmpdepfile" | |
302 | ;; | |
303 | ||
304 | hp2) | |
305 | # The "hp" stanza above does not work with aCC (C++) and HP's ia64 | |
306 | # compilers, which have integrated preprocessors. The correct option | |
307 | # to use with these is +Maked; it writes dependencies to a file named | |
308 | # 'foo.d', which lands next to the object file, wherever that | |
309 | # happens to be. | |
310 | # Much of this is similar to the tru64 case; see comments there. | |
311 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
312 | test "x$dir" = "x$object" && dir= | |
313 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
314 | if test "$libtool" = yes; then | |
315 | tmpdepfile1=$dir$base.d | |
316 | tmpdepfile2=$dir.libs/$base.d | |
317 | "$@" -Wc,+Maked | |
318 | else | |
319 | tmpdepfile1=$dir$base.d | |
320 | tmpdepfile2=$dir$base.d | |
321 | "$@" +Maked | |
322 | fi | |
323 | stat=$? | |
324 | if test $stat -eq 0; then : | |
325 | else | |
326 | rm -f "$tmpdepfile1" "$tmpdepfile2" | |
327 | exit $stat | |
328 | fi | |
329 | ||
330 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" | |
331 | do | |
332 | test -f "$tmpdepfile" && break | |
333 | done | |
334 | if test -f "$tmpdepfile"; then | |
335 | sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" | |
336 | # Add `dependent.h:' lines. | |
337 | sed -ne '2,${ | |
338 | s/^ *// | |
339 | s/ \\*$// | |
340 | s/$/:/ | |
341 | p | |
342 | }' "$tmpdepfile" >> "$depfile" | |
343 | else | |
344 | echo "#dummy" > "$depfile" | |
345 | fi | |
346 | rm -f "$tmpdepfile" "$tmpdepfile2" | |
347 | ;; | |
348 | ||
349 | tru64) | |
350 | # The Tru64 compiler uses -MD to generate dependencies as a side | |
351 | # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. | |
352 | # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put | |
353 | # dependencies in `foo.d' instead, so we check for that too. | |
354 | # Subdirectories are respected. | |
355 | dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` | |
356 | test "x$dir" = "x$object" && dir= | |
357 | base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` | |
358 | ||
359 | if test "$libtool" = yes; then | |
360 | # With Tru64 cc, shared objects can also be used to make a | |
361 | # static library. This mechanism is used in libtool 1.4 series to | |
362 | # handle both shared and static libraries in a single compilation. | |
363 | # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. | |
364 | # | |
365 | # With libtool 1.5 this exception was removed, and libtool now | |
366 | # generates 2 separate objects for the 2 libraries. These two | |
367 | # compilations output dependencies in $dir.libs/$base.o.d and | |
368 | # in $dir$base.o.d. We have to check for both files, because | |
369 | # one of the two compilations can be disabled. We should prefer | |
370 | # $dir$base.o.d over $dir.libs/$base.o.d because the latter is | |
371 | # automatically cleaned when .libs/ is deleted, while ignoring | |
372 | # the former would cause a distcleancheck panic. | |
373 | tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 | |
374 | tmpdepfile2=$dir$base.o.d # libtool 1.5 | |
375 | tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 | |
376 | tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 | |
377 | "$@" -Wc,-MD | |
378 | else | |
379 | tmpdepfile1=$dir$base.o.d | |
380 | tmpdepfile2=$dir$base.d | |
381 | tmpdepfile3=$dir$base.d | |
382 | tmpdepfile4=$dir$base.d | |
383 | "$@" -MD | |
384 | fi | |
385 | ||
386 | stat=$? | |
387 | if test $stat -eq 0; then : | |
388 | else | |
389 | rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
390 | exit $stat | |
391 | fi | |
392 | ||
393 | for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" | |
394 | do | |
395 | test -f "$tmpdepfile" && break | |
396 | done | |
397 | if test -f "$tmpdepfile"; then | |
398 | sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" | |
399 | # That's a tab and a space in the []. | |
400 | sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" | |
401 | else | |
402 | echo "#dummy" > "$depfile" | |
403 | fi | |
404 | rm -f "$tmpdepfile" | |
405 | ;; | |
406 | ||
407 | #nosideeffect) | |
408 | # This comment above is used by automake to tell side-effect | |
409 | # dependency tracking mechanisms from slower ones. | |
410 | ||
411 | dashmstdout) | |
412 | # Important note: in order to support this mode, a compiler *must* | |
413 | # always write the preprocessed file to stdout, regardless of -o. | |
414 | "$@" || exit $? | |
415 | ||
416 | # Remove the call to Libtool. | |
417 | if test "$libtool" = yes; then | |
418 | while test "X$1" != 'X--mode=compile'; do | |
419 | shift | |
420 | done | |
421 | shift | |
422 | fi | |
423 | ||
424 | # Remove `-o $object'. | |
425 | IFS=" " | |
426 | for arg | |
427 | do | |
428 | case $arg in | |
429 | -o) | |
430 | shift | |
431 | ;; | |
432 | $object) | |
433 | shift | |
434 | ;; | |
435 | *) | |
436 | set fnord "$@" "$arg" | |
437 | shift # fnord | |
438 | shift # $arg | |
439 | ;; | |
440 | esac | |
441 | done | |
442 | ||
443 | test -z "$dashmflag" && dashmflag=-M | |
444 | # Require at least two characters before searching for `:' | |
445 | # in the target name. This is to cope with DOS-style filenames: | |
446 | # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. | |
447 | "$@" $dashmflag | | |
448 | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" | |
449 | rm -f "$depfile" | |
450 | cat < "$tmpdepfile" > "$depfile" | |
451 | tr ' ' ' | |
452 | ' < "$tmpdepfile" | \ | |
453 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
454 | ## correctly. Breaking it into two sed invocations is a workaround. | |
455 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
456 | rm -f "$tmpdepfile" | |
457 | ;; | |
458 | ||
459 | dashXmstdout) | |
460 | # This case only exists to satisfy depend.m4. It is never actually | |
461 | # run, as this mode is specially recognized in the preamble. | |
462 | exit 1 | |
463 | ;; | |
464 | ||
465 | makedepend) | |
466 | "$@" || exit $? | |
467 | # Remove any Libtool call | |
468 | if test "$libtool" = yes; then | |
469 | while test "X$1" != 'X--mode=compile'; do | |
470 | shift | |
471 | done | |
472 | shift | |
473 | fi | |
474 | # X makedepend | |
475 | shift | |
476 | cleared=no eat=no | |
477 | for arg | |
478 | do | |
479 | case $cleared in | |
480 | no) | |
481 | set ""; shift | |
482 | cleared=yes ;; | |
483 | esac | |
484 | if test $eat = yes; then | |
485 | eat=no | |
486 | continue | |
487 | fi | |
488 | case "$arg" in | |
489 | -D*|-I*) | |
490 | set fnord "$@" "$arg"; shift ;; | |
491 | # Strip any option that makedepend may not understand. Remove | |
492 | # the object too, otherwise makedepend will parse it as a source file. | |
493 | -arch) | |
494 | eat=yes ;; | |
495 | -*|$object) | |
496 | ;; | |
497 | *) | |
498 | set fnord "$@" "$arg"; shift ;; | |
499 | esac | |
500 | done | |
501 | obj_suffix=`echo "$object" | sed 's/^.*\././'` | |
502 | touch "$tmpdepfile" | |
503 | ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" | |
504 | rm -f "$depfile" | |
505 | cat < "$tmpdepfile" > "$depfile" | |
506 | sed '1,2d' "$tmpdepfile" | tr ' ' ' | |
507 | ' | \ | |
508 | ## Some versions of the HPUX 10.20 sed can't process this invocation | |
509 | ## correctly. Breaking it into two sed invocations is a workaround. | |
510 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" | |
511 | rm -f "$tmpdepfile" "$tmpdepfile".bak | |
512 | ;; | |
513 | ||
514 | cpp) | |
515 | # Important note: in order to support this mode, a compiler *must* | |
516 | # always write the preprocessed file to stdout. | |
517 | "$@" || exit $? | |
518 | ||
519 | # Remove the call to Libtool. | |
520 | if test "$libtool" = yes; then | |
521 | while test "X$1" != 'X--mode=compile'; do | |
522 | shift | |
523 | done | |
524 | shift | |
525 | fi | |
526 | ||
527 | # Remove `-o $object'. | |
528 | IFS=" " | |
529 | for arg | |
530 | do | |
531 | case $arg in | |
532 | -o) | |
533 | shift | |
534 | ;; | |
535 | $object) | |
536 | shift | |
537 | ;; | |
538 | *) | |
539 | set fnord "$@" "$arg" | |
540 | shift # fnord | |
541 | shift # $arg | |
542 | ;; | |
543 | esac | |
544 | done | |
545 | ||
546 | "$@" -E | | |
547 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | |
548 | -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | | |
549 | sed '$ s: \\$::' > "$tmpdepfile" | |
550 | rm -f "$depfile" | |
551 | echo "$object : \\" > "$depfile" | |
552 | cat < "$tmpdepfile" >> "$depfile" | |
553 | sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" | |
554 | rm -f "$tmpdepfile" | |
555 | ;; | |
556 | ||
557 | msvisualcpp) | |
558 | # Important note: in order to support this mode, a compiler *must* | |
559 | # always write the preprocessed file to stdout. | |
560 | "$@" || exit $? | |
561 | ||
562 | # Remove the call to Libtool. | |
563 | if test "$libtool" = yes; then | |
564 | while test "X$1" != 'X--mode=compile'; do | |
565 | shift | |
566 | done | |
567 | shift | |
568 | fi | |
569 | ||
570 | IFS=" " | |
571 | for arg | |
572 | do | |
573 | case "$arg" in | |
574 | -o) | |
575 | shift | |
576 | ;; | |
577 | $object) | |
578 | shift | |
579 | ;; | |
580 | "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") | |
581 | set fnord "$@" | |
582 | shift | |
583 | shift | |
584 | ;; | |
585 | *) | |
586 | set fnord "$@" "$arg" | |
587 | shift | |
588 | shift | |
589 | ;; | |
590 | esac | |
591 | done | |
592 | "$@" -E 2>/dev/null | | |
593 | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" | |
594 | rm -f "$depfile" | |
595 | echo "$object : \\" > "$depfile" | |
596 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" | |
597 | echo " " >> "$depfile" | |
598 | sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" | |
599 | rm -f "$tmpdepfile" | |
600 | ;; | |
601 | ||
602 | msvcmsys) | |
603 | # This case exists only to let depend.m4 do its work. It works by | |
604 | # looking at the text of this script. This case will never be run, | |
605 | # since it is checked for above. | |
606 | exit 1 | |
607 | ;; | |
608 | ||
609 | none) | |
610 | exec "$@" | |
611 | ;; | |
612 | ||
613 | *) | |
614 | echo "Unknown depmode $depmode" 1>&2 | |
615 | exit 1 | |
616 | ;; | |
617 | esac | |
618 | ||
619 | exit 0 | |
620 | ||
621 | # Local Variables: | |
622 | # mode: shell-script | |
623 | # sh-indentation: 2 | |
624 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
625 | # time-stamp-start: "scriptversion=" | |
626 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
627 | # time-stamp-time-zone: "UTC" | |
628 | # time-stamp-end: "; # UTC" | |
629 | # End: |
0 | #! /bin/sh | |
1 | # Common stub for a few missing GNU programs while installing. | |
2 | ||
3 | scriptversion=2009-04-28.21; # UTC | |
4 | ||
5 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, | |
6 | # 2008, 2009 Free Software Foundation, Inc. | |
7 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | |
8 | ||
9 | # This program is free software; you can redistribute it and/or modify | |
10 | # it under the terms of the GNU General Public License as published by | |
11 | # the Free Software Foundation; either version 2, or (at your option) | |
12 | # any later version. | |
13 | ||
14 | # This program is distributed in the hope that it will be useful, | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | # GNU General Public License for more details. | |
18 | ||
19 | # You should have received a copy of the GNU General Public License | |
20 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
21 | ||
22 | # As a special exception to the GNU General Public License, if you | |
23 | # distribute this file as part of a program that contains a | |
24 | # configuration script generated by Autoconf, you may include it under | |
25 | # the same distribution terms that you use for the rest of that program. | |
26 | ||
27 | if test $# -eq 0; then | |
28 | echo 1>&2 "Try \`$0 --help' for more information" | |
29 | exit 1 | |
30 | fi | |
31 | ||
32 | run=: | |
33 | sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' | |
34 | sed_minuso='s/.* -o \([^ ]*\).*/\1/p' | |
35 | ||
36 | # In the cases where this matters, `missing' is being run in the | |
37 | # srcdir already. | |
38 | if test -f configure.ac; then | |
39 | configure_ac=configure.ac | |
40 | else | |
41 | configure_ac=configure.in | |
42 | fi | |
43 | ||
44 | msg="missing on your system" | |
45 | ||
46 | case $1 in | |
47 | --run) | |
48 | # Try to run requested program, and just exit if it succeeds. | |
49 | run= | |
50 | shift | |
51 | "$@" && exit 0 | |
52 | # Exit code 63 means version mismatch. This often happens | |
53 | # when the user try to use an ancient version of a tool on | |
54 | # a file that requires a minimum version. In this case we | |
55 | # we should proceed has if the program had been absent, or | |
56 | # if --run hadn't been passed. | |
57 | if test $? = 63; then | |
58 | run=: | |
59 | msg="probably too old" | |
60 | fi | |
61 | ;; | |
62 | ||
63 | -h|--h|--he|--hel|--help) | |
64 | echo "\ | |
65 | $0 [OPTION]... PROGRAM [ARGUMENT]... | |
66 | ||
67 | Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an | |
68 | error status if there is no known handling for PROGRAM. | |
69 | ||
70 | Options: | |
71 | -h, --help display this help and exit | |
72 | -v, --version output version information and exit | |
73 | --run try to run the given command, and emulate it if it fails | |
74 | ||
75 | Supported PROGRAM values: | |
76 | aclocal touch file \`aclocal.m4' | |
77 | autoconf touch file \`configure' | |
78 | autoheader touch file \`config.h.in' | |
79 | autom4te touch the output file, or create a stub one | |
80 | automake touch all \`Makefile.in' files | |
81 | bison create \`y.tab.[ch]', if possible, from existing .[ch] | |
82 | flex create \`lex.yy.c', if possible, from existing .c | |
83 | help2man touch the output file | |
84 | lex create \`lex.yy.c', if possible, from existing .c | |
85 | makeinfo touch the output file | |
86 | tar try tar, gnutar, gtar, then tar without non-portable flags | |
87 | yacc create \`y.tab.[ch]', if possible, from existing .[ch] | |
88 | ||
89 | Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and | |
90 | \`g' are ignored when checking the name. | |
91 | ||
92 | Send bug reports to <bug-automake@gnu.org>." | |
93 | exit $? | |
94 | ;; | |
95 | ||
96 | -v|--v|--ve|--ver|--vers|--versi|--versio|--version) | |
97 | echo "missing $scriptversion (GNU Automake)" | |
98 | exit $? | |
99 | ;; | |
100 | ||
101 | -*) | |
102 | echo 1>&2 "$0: Unknown \`$1' option" | |
103 | echo 1>&2 "Try \`$0 --help' for more information" | |
104 | exit 1 | |
105 | ;; | |
106 | ||
107 | esac | |
108 | ||
109 | # normalize program name to check for. | |
110 | program=`echo "$1" | sed ' | |
111 | s/^gnu-//; t | |
112 | s/^gnu//; t | |
113 | s/^g//; t'` | |
114 | ||
115 | # Now exit if we have it, but it failed. Also exit now if we | |
116 | # don't have it and --version was passed (most likely to detect | |
117 | # the program). This is about non-GNU programs, so use $1 not | |
118 | # $program. | |
119 | case $1 in | |
120 | lex*|yacc*) | |
121 | # Not GNU programs, they don't have --version. | |
122 | ;; | |
123 | ||
124 | tar*) | |
125 | if test -n "$run"; then | |
126 | echo 1>&2 "ERROR: \`tar' requires --run" | |
127 | exit 1 | |
128 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
129 | exit 1 | |
130 | fi | |
131 | ;; | |
132 | ||
133 | *) | |
134 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | |
135 | # We have it, but it failed. | |
136 | exit 1 | |
137 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | |
138 | # Could not run --version or --help. This is probably someone | |
139 | # running `$TOOL --version' or `$TOOL --help' to check whether | |
140 | # $TOOL exists and not knowing $TOOL uses missing. | |
141 | exit 1 | |
142 | fi | |
143 | ;; | |
144 | esac | |
145 | ||
146 | # If it does not exist, or fails to run (possibly an outdated version), | |
147 | # try to emulate it. | |
148 | case $program in | |
149 | aclocal*) | |
150 | echo 1>&2 "\ | |
151 | WARNING: \`$1' is $msg. You should only need it if | |
152 | you modified \`acinclude.m4' or \`${configure_ac}'. You might want | |
153 | to install the \`Automake' and \`Perl' packages. Grab them from | |
154 | any GNU archive site." | |
155 | touch aclocal.m4 | |
156 | ;; | |
157 | ||
158 | autoconf*) | |
159 | echo 1>&2 "\ | |
160 | WARNING: \`$1' is $msg. You should only need it if | |
161 | you modified \`${configure_ac}'. You might want to install the | |
162 | \`Autoconf' and \`GNU m4' packages. Grab them from any GNU | |
163 | archive site." | |
164 | touch configure | |
165 | ;; | |
166 | ||
167 | autoheader*) | |
168 | echo 1>&2 "\ | |
169 | WARNING: \`$1' is $msg. You should only need it if | |
170 | you modified \`acconfig.h' or \`${configure_ac}'. You might want | |
171 | to install the \`Autoconf' and \`GNU m4' packages. Grab them | |
172 | from any GNU archive site." | |
173 | files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` | |
174 | test -z "$files" && files="config.h" | |
175 | touch_files= | |
176 | for f in $files; do | |
177 | case $f in | |
178 | *:*) touch_files="$touch_files "`echo "$f" | | |
179 | sed -e 's/^[^:]*://' -e 's/:.*//'`;; | |
180 | *) touch_files="$touch_files $f.in";; | |
181 | esac | |
182 | done | |
183 | touch $touch_files | |
184 | ;; | |
185 | ||
186 | automake*) | |
187 | echo 1>&2 "\ | |
188 | WARNING: \`$1' is $msg. You should only need it if | |
189 | you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. | |
190 | You might want to install the \`Automake' and \`Perl' packages. | |
191 | Grab them from any GNU archive site." | |
192 | find . -type f -name Makefile.am -print | | |
193 | sed 's/\.am$/.in/' | | |
194 | while read f; do touch "$f"; done | |
195 | ;; | |
196 | ||
197 | autom4te*) | |
198 | echo 1>&2 "\ | |
199 | WARNING: \`$1' is needed, but is $msg. | |
200 | You might have modified some files without having the | |
201 | proper tools for further handling them. | |
202 | You can get \`$1' as part of \`Autoconf' from any GNU | |
203 | archive site." | |
204 | ||
205 | file=`echo "$*" | sed -n "$sed_output"` | |
206 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
207 | if test -f "$file"; then | |
208 | touch $file | |
209 | else | |
210 | test -z "$file" || exec >$file | |
211 | echo "#! /bin/sh" | |
212 | echo "# Created by GNU Automake missing as a replacement of" | |
213 | echo "# $ $@" | |
214 | echo "exit 0" | |
215 | chmod +x $file | |
216 | exit 1 | |
217 | fi | |
218 | ;; | |
219 | ||
220 | bison*|yacc*) | |
221 | echo 1>&2 "\ | |
222 | WARNING: \`$1' $msg. You should only need it if | |
223 | you modified a \`.y' file. You may need the \`Bison' package | |
224 | in order for those modifications to take effect. You can get | |
225 | \`Bison' from any GNU archive site." | |
226 | rm -f y.tab.c y.tab.h | |
227 | if test $# -ne 1; then | |
228 | eval LASTARG="\${$#}" | |
229 | case $LASTARG in | |
230 | *.y) | |
231 | SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` | |
232 | if test -f "$SRCFILE"; then | |
233 | cp "$SRCFILE" y.tab.c | |
234 | fi | |
235 | SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` | |
236 | if test -f "$SRCFILE"; then | |
237 | cp "$SRCFILE" y.tab.h | |
238 | fi | |
239 | ;; | |
240 | esac | |
241 | fi | |
242 | if test ! -f y.tab.h; then | |
243 | echo >y.tab.h | |
244 | fi | |
245 | if test ! -f y.tab.c; then | |
246 | echo 'main() { return 0; }' >y.tab.c | |
247 | fi | |
248 | ;; | |
249 | ||
250 | lex*|flex*) | |
251 | echo 1>&2 "\ | |
252 | WARNING: \`$1' is $msg. You should only need it if | |
253 | you modified a \`.l' file. You may need the \`Flex' package | |
254 | in order for those modifications to take effect. You can get | |
255 | \`Flex' from any GNU archive site." | |
256 | rm -f lex.yy.c | |
257 | if test $# -ne 1; then | |
258 | eval LASTARG="\${$#}" | |
259 | case $LASTARG in | |
260 | *.l) | |
261 | SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` | |
262 | if test -f "$SRCFILE"; then | |
263 | cp "$SRCFILE" lex.yy.c | |
264 | fi | |
265 | ;; | |
266 | esac | |
267 | fi | |
268 | if test ! -f lex.yy.c; then | |
269 | echo 'main() { return 0; }' >lex.yy.c | |
270 | fi | |
271 | ;; | |
272 | ||
273 | help2man*) | |
274 | echo 1>&2 "\ | |
275 | WARNING: \`$1' is $msg. You should only need it if | |
276 | you modified a dependency of a manual page. You may need the | |
277 | \`Help2man' package in order for those modifications to take | |
278 | effect. You can get \`Help2man' from any GNU archive site." | |
279 | ||
280 | file=`echo "$*" | sed -n "$sed_output"` | |
281 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
282 | if test -f "$file"; then | |
283 | touch $file | |
284 | else | |
285 | test -z "$file" || exec >$file | |
286 | echo ".ab help2man is required to generate this page" | |
287 | exit $? | |
288 | fi | |
289 | ;; | |
290 | ||
291 | makeinfo*) | |
292 | echo 1>&2 "\ | |
293 | WARNING: \`$1' is $msg. You should only need it if | |
294 | you modified a \`.texi' or \`.texinfo' file, or any other file | |
295 | indirectly affecting the aspect of the manual. The spurious | |
296 | call might also be the consequence of using a buggy \`make' (AIX, | |
297 | DU, IRIX). You might want to install the \`Texinfo' package or | |
298 | the \`GNU make' package. Grab either from any GNU archive site." | |
299 | # The file to touch is that specified with -o ... | |
300 | file=`echo "$*" | sed -n "$sed_output"` | |
301 | test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` | |
302 | if test -z "$file"; then | |
303 | # ... or it is the one specified with @setfilename ... | |
304 | infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` | |
305 | file=`sed -n ' | |
306 | /^@setfilename/{ | |
307 | s/.* \([^ ]*\) *$/\1/ | |
308 | p | |
309 | q | |
310 | }' $infile` | |
311 | # ... or it is derived from the source name (dir/f.texi becomes f.info) | |
312 | test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info | |
313 | fi | |
314 | # If the file does not exist, the user really needs makeinfo; | |
315 | # let's fail without touching anything. | |
316 | test -f $file || exit 1 | |
317 | touch $file | |
318 | ;; | |
319 | ||
320 | tar*) | |
321 | shift | |
322 | ||
323 | # We have already tried tar in the generic part. | |
324 | # Look for gnutar/gtar before invocation to avoid ugly error | |
325 | # messages. | |
326 | if (gnutar --version > /dev/null 2>&1); then | |
327 | gnutar "$@" && exit 0 | |
328 | fi | |
329 | if (gtar --version > /dev/null 2>&1); then | |
330 | gtar "$@" && exit 0 | |
331 | fi | |
332 | firstarg="$1" | |
333 | if shift; then | |
334 | case $firstarg in | |
335 | *o*) | |
336 | firstarg=`echo "$firstarg" | sed s/o//` | |
337 | tar "$firstarg" "$@" && exit 0 | |
338 | ;; | |
339 | esac | |
340 | case $firstarg in | |
341 | *h*) | |
342 | firstarg=`echo "$firstarg" | sed s/h//` | |
343 | tar "$firstarg" "$@" && exit 0 | |
344 | ;; | |
345 | esac | |
346 | fi | |
347 | ||
348 | echo 1>&2 "\ | |
349 | WARNING: I can't seem to be able to run \`tar' with the given arguments. | |
350 | You may want to install GNU tar or Free paxutils, or check the | |
351 | command line arguments." | |
352 | exit 1 | |
353 | ;; | |
354 | ||
355 | *) | |
356 | echo 1>&2 "\ | |
357 | WARNING: \`$1' is needed, and is $msg. | |
358 | You might have modified some files without having the | |
359 | proper tools for further handling them. Check the \`README' file, | |
360 | it often tells you about the needed prerequisites for installing | |
361 | this package. You may also peek at any GNU archive site, in case | |
362 | some other package would contain this missing \`$1' program." | |
363 | exit 1 | |
364 | ;; | |
365 | esac | |
366 | ||
367 | exit 0 | |
368 | ||
369 | # Local variables: | |
370 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
371 | # time-stamp-start: "scriptversion=" | |
372 | # time-stamp-format: "%:y-%02m-%02d.%02H" | |
373 | # time-stamp-time-zone: "UTC" | |
374 | # time-stamp-end: "; # UTC" | |
375 | # End: |