Debian Codegraph @

Makefile.in

raw
1 # Makefile.in generated by automake 1.18.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2025 Free Software Foundation, Inc.
5
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 # Variables
18
19 #export STP_MODULE_PATH = $(top_builddir)/src/main/.libs:$(top_builddir)/src/main
20 #export STP_DATA_PATH = $(top_srcdir)/src/xml
21 VPATH = @srcdir@
22 am__is_gnu_make = { \
23 if test -z '$(MAKELEVEL)'; then \
24 false; \
25 elif test -n '$(MAKE_HOST)'; then \
26 true; \
27 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
28 true; \
29 else \
30 false; \
31 fi; \
32 }
33 am__make_running_with_option = \
34 case $${target_option-} in \
35 ?) ;; \
36 *) echo "am__make_running_with_option: internal error: invalid" \
37 "target option '$${target_option-}' specified" >&2; \
38 exit 1;; \
39 esac; \
40 has_opt=no; \
41 sane_makeflags=$$MAKEFLAGS; \
42 if $(am__is_gnu_make); then \
43 sane_makeflags=$$MFLAGS; \
44 else \
45 case $$MAKEFLAGS in \
46 *\\[\ \ ]*) \
47 bs=\\; \
48 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
49 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
50 esac; \
51 fi; \
52 skip_next=no; \
53 strip_trailopt () \
54 { \
55 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
56 }; \
57 for flg in $$sane_makeflags; do \
58 test $$skip_next = yes && { skip_next=no; continue; }; \
59 case $$flg in \
60 *=*|--*) continue;; \
61 -*I) strip_trailopt 'I'; skip_next=yes;; \
62 -*I?*) strip_trailopt 'I';; \
63 -*O) strip_trailopt 'O'; skip_next=yes;; \
64 -*O?*) strip_trailopt 'O';; \
65 -*l) strip_trailopt 'l'; skip_next=yes;; \
66 -*l?*) strip_trailopt 'l';; \
67 -[dEDm]) skip_next=yes;; \
68 -[JT]) skip_next=yes;; \
69 esac; \
70 case $$flg in \
71 *$$target_option*) has_opt=yes; break;; \
72 esac; \
73 done; \
74 test $$has_opt = yes
75 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
76 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
77 am__rm_f = rm -f $(am__rm_f_notfound)
78 am__rm_rf = rm -rf $(am__rm_f_notfound)
79 pkgdatadir = $(datadir)/@PACKAGE@
80 pkgincludedir = $(includedir)/@PACKAGE@
81 pkglibdir = $(libdir)/@PACKAGE@
82 pkglibexecdir = $(libexecdir)/@PACKAGE@
83 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
84 install_sh_DATA = $(install_sh) -c -m 644
85 install_sh_PROGRAM = $(install_sh) -c
86 install_sh_SCRIPT = $(install_sh) -c
87 INSTALL_HEADER = $(INSTALL_DATA)
88 transform = $(program_transform_name)
89 NORMAL_INSTALL = :
90 PRE_INSTALL = :
91 POST_INSTALL = :
92 NORMAL_UNINSTALL = :
93 PRE_UNINSTALL = :
94 POST_UNINSTALL = :
95 build_triplet = @build@
96 host_triplet = @host@
97 subdir = .
98 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
99 am__aclocal_m4_deps = $(top_srcdir)/m4local/stp.m4 \
100 $(top_srcdir)/m4local/stp_cups.m4 \
101 $(top_srcdir)/m4local/stp_option.m4 \
102 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
103 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
104 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
105 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
106 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
107 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
108 $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/stp_release.m4 \
109 $(top_srcdir)/configure.ac
110 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
111 $(ACLOCAL_M4)
112 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
113 $(am__configure_deps) $(am__DIST_COMMON)
114 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
115 configure.lineno config.status.lineno
116 mkinstalldirs = $(install_sh) -d
117 CONFIG_HEADER = config.h
118 CONFIG_CLEAN_FILES =
119 CONFIG_CLEAN_VPATH_FILES =
120 AM_V_P = $(am__v_P_@AM_V@)
121 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
122 am__v_P_0 = false
123 am__v_P_1 = :
124 AM_V_GEN = $(am__v_GEN_@AM_V@)
125 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
126 am__v_GEN_0 = @echo " GEN " $@;
127 am__v_GEN_1 =
128 AM_V_at = $(am__v_at_@AM_V@)
129 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
130 am__v_at_0 = @
131 am__v_at_1 =
132 SOURCES =
133 DIST_SOURCES =
134 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
135 ctags-recursive dvi-recursive html-recursive info-recursive \
136 install-data-recursive install-dvi-recursive \
137 install-exec-recursive install-html-recursive \
138 install-info-recursive install-pdf-recursive \
139 install-ps-recursive install-recursive installcheck-recursive \
140 installdirs-recursive pdf-recursive ps-recursive \
141 tags-recursive uninstall-recursive
142 am__can_run_installinfo = \
143 case $$AM_UPDATE_INFO_DIR in \
144 n|no|NO) false;; \
145 *) (install-info --version) >/dev/null 2>&1;; \
146 esac
147 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
148 distclean-recursive maintainer-clean-recursive
149 am__recursive_targets = \
150 $(RECURSIVE_TARGETS) \
151 $(RECURSIVE_CLEAN_TARGETS) \
152 $(am__extra_recursive_targets)
153 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
154 cscope distdir distdir-am dist dist-all distcheck
155 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
156 config.h.in
157 # Read a list of newline-separated strings from the standard input,
158 # and print each of them once, without duplicates. Input order is
159 # *not* preserved.
160 am__uniquify_input = $(AWK) '\
161 BEGIN { nonempty = 0; } \
162 { items[$$0] = 1; nonempty = 1; } \
163 END { if (nonempty) { for (i in items) print i; }; } \
164 '
165 # Make sure the list of sources is unique. This is necessary because,
166 # e.g., the same source file might be shared among _SOURCES variables
167 # for different programs/libraries.
168 am__define_uniq_tagged_files = \
169 list='$(am__tagged_files)'; \
170 unique=`for i in $$list; do \
171 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
172 done | $(am__uniquify_input)`
173 DIST_SUBDIRS = $(SUBDIRS)
174 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
175 $(top_srcdir)/scripts/compile \
176 $(top_srcdir)/scripts/config.guess \
177 $(top_srcdir)/scripts/config.rpath \
178 $(top_srcdir)/scripts/config.sub \
179 $(top_srcdir)/scripts/global.mk \
180 $(top_srcdir)/scripts/install-sh \
181 $(top_srcdir)/scripts/ltmain.sh $(top_srcdir)/scripts/missing \
182 ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README
183 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
184 distdir = $(PACKAGE)-$(VERSION)
185 top_distdir = $(distdir)
186 am__remove_distdir = \
187 if test -d "$(distdir)"; then \
188 find "$(distdir)" -type d ! -perm -700 -exec chmod u+rwx {} ';' \
189 ; rm -rf "$(distdir)" \
190 || { sleep 5 && rm -rf "$(distdir)"; }; \
191 else :; fi
192 am__post_remove_distdir = $(am__remove_distdir)
193 am__relativize = \
194 dir0=`pwd`; \
195 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
196 sed_rest='s,^[^/]*/*,,'; \
197 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
198 sed_butlast='s,/*[^/]*$$,,'; \
199 while test -n "$$dir1"; do \
200 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
201 if test "$$first" != "."; then \
202 if test "$$first" = ".."; then \
203 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
204 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
205 else \
206 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
207 if test "$$first2" = "$$first"; then \
208 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
209 else \
210 dir2="../$$dir2"; \
211 fi; \
212 dir0="$$dir0"/"$$first"; \
213 fi; \
214 fi; \
215 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
216 done; \
217 reldir="$$dir2"
218 GZIP_ENV = -9
219 DIST_ARCHIVES = $(distdir).tar.bz2 $(distdir).tar.xz
220 DIST_TARGETS = dist-xz dist-bzip2
221 # Exists only to be overridden by the user if desired.
222 AM_DISTCHECK_DVI_TARGET = dvi
223 distuninstallcheck_listfiles = find . -type f -print
224 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
225 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
226 distcleancheck_listfiles = \
227 find . \( -type f -a \! \
228 \( -name .nfs* -o -name .smb* -o -name .__afs* \) \) -print
229 ACLOCAL = @ACLOCAL@
230 ALL_LINGUAS = @ALL_LINGUAS@
231 AMTAR = @AMTAR@
232 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
233 AR = @AR@
234 AUTOCONF = @AUTOCONF@
235 AUTOHEADER = @AUTOHEADER@
236 AUTOMAKE = @AUTOMAKE@
237 AWK = @AWK@
238 BASH = @BASH@
239 BASHREAL = @BASHREAL@
240 BUILD_CUPS_PPDS = @BUILD_CUPS_PPDS@
241 BZIP2 = @BZIP2@
242 CC = @CC@
243 CCDEPMODE = @CCDEPMODE@
244 CFLAGS = @CFLAGS@
245 COMPRESS = @COMPRESS@
246 CONVERT = @CONVERT@
247 CPPFLAGS = @CPPFLAGS@
248 CSCOPE = @CSCOPE@
249 CSUF = @CSUF@
250 CTAGS = @CTAGS@
251 CUPS_CFLAGS = @CUPS_CFLAGS@
252 CUPS_CONFIG = @CUPS_CONFIG@
253 CUPS_LIBS = @CUPS_LIBS@
254 CUPS_PPD_PS_LEVEL = @CUPS_PPD_PS_LEVEL@
255 CYGPATH_W = @CYGPATH_W@
256 DB2HTML = @DB2HTML@
257 DB2PDF = @DB2PDF@
258 DB2PS = @DB2PS@
259 DEFS = @DEFS@
260 DEPDIR = @DEPDIR@
261 DLLTOOL = @DLLTOOL@
262 DOXYGEN = @DOXYGEN@
263 DSYMUTIL = @DSYMUTIL@
264 DUMPBIN = @DUMPBIN@
265 DVIPDF = @DVIPDF@
266 DVIPS = @DVIPS@
267 ECHO_C = @ECHO_C@
268 ECHO_N = @ECHO_N@
269 ECHO_T = @ECHO_T@
270 EGREP = @EGREP@
271 ENABLE_SHARED = @ENABLE_SHARED@
272 ENABLE_STATIC = @ENABLE_STATIC@
273 ETAGS = @ETAGS@
274 EXEEXT = @EXEEXT@
275 FGREP = @FGREP@
276 FILECMD = @FILECMD@
277 FIND = @FIND@
278 GENPPD_LIBS = @GENPPD_LIBS@
279 GIMP2_CFLAGS = @GIMP2_CFLAGS@
280 GIMP2_LIBS = @GIMP2_LIBS@
281 GIMPTOOL2_CHECK = @GIMPTOOL2_CHECK@
282 GLIB_MKENUMS = @GLIB_MKENUMS@
283 GMSGFMT = @GMSGFMT@
284 GMSGFMT_015 = @GMSGFMT_015@
285 GNUCFLAGS = @GNUCFLAGS@
286 GREP = @GREP@
287 GTK2_CFLAGS = @GTK2_CFLAGS@
288 GTK2_LIBS = @GTK2_LIBS@
289 GUTENPRINTUI2_BINARY_AGE = @GUTENPRINTUI2_BINARY_AGE@
290 GUTENPRINTUI2_CFLAGS = @GUTENPRINTUI2_CFLAGS@
291 GUTENPRINTUI2_CURRENT_INTERFACE = @GUTENPRINTUI2_CURRENT_INTERFACE@
292 GUTENPRINTUI2_INTERFACE_AGE = @GUTENPRINTUI2_INTERFACE_AGE@
293 GUTENPRINTUI2_LIBDEPS = @GUTENPRINTUI2_LIBDEPS@
294 GUTENPRINTUI2_LIBS = $(top_builddir)/src/gutenprintui2/libgutenprintui2.la
295 GUTENPRINTUI2_VERSION = @GUTENPRINTUI2_VERSION@
296 GUTENPRINT_BASE_VERSION = @GUTENPRINT_BASE_VERSION@
297 GUTENPRINT_BINARY_AGE = @GUTENPRINT_BINARY_AGE@
298 GUTENPRINT_CFLAGS = @GUTENPRINT_CFLAGS@
299 GUTENPRINT_CURRENT_INTERFACE = @GUTENPRINT_CURRENT_INTERFACE@
300 GUTENPRINT_INTERFACE_AGE = @GUTENPRINT_INTERFACE_AGE@
301 GUTENPRINT_LIBDEPS = @GUTENPRINT_LIBDEPS@
302
303 # Libraries
304 GUTENPRINT_LIBS = $(top_builddir)/src/main/libgutenprint.la
305 GUTENPRINT_MAJOR_VERSION = @GUTENPRINT_MAJOR_VERSION@
306 GUTENPRINT_MICRO_VERSION = @GUTENPRINT_MICRO_VERSION@
307 GUTENPRINT_MINOR_VERSION = @GUTENPRINT_MINOR_VERSION@
308 GUTENPRINT_RELEASE_VERSION = @GUTENPRINT_RELEASE_VERSION@
309 GUTENPRINT_VERSION = @GUTENPRINT_VERSION@
310 GZIP = @GZIP@
311 INSTALL = @INSTALL@
312 INSTALL_DATA = @INSTALL_DATA@
313 INSTALL_PROGRAM = @INSTALL_PROGRAM@
314 INSTALL_SCRIPT = @INSTALL_SCRIPT@
315 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
316 INTLLIBS = @INTLLIBS@
317 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
318 LD = @LD@
319 LDFLAGS = @LDFLAGS@
320 LEX = @LEX@
321 LEXLIB = @LEXLIB@
322 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
323 LIBICONV = @LIBICONV@
324 LIBINTL = @LIBINTL@
325 LIBM = @LIBM@
326 LIBOBJS = @LIBOBJS@
327 LIBREADLINE_DEPS = @LIBREADLINE_DEPS@
328 LIBS = $(INTLLIBS) @LIBS@
329 LIBTOOL = @LIBTOOL@
330 LIBTOOL_DEPS = @LIBTOOL_DEPS@
331 LIBUSB_BACKEND_LIBDEPS = @LIBUSB_BACKEND_LIBDEPS@
332 LIBUSB_CFLAGS = @LIBUSB_CFLAGS@
333 LIBUSB_LIBS = @LIBUSB_LIBS@
334 LIPO = @LIPO@
335 LN_S = @LN_S@
336 LRZIP = @LRZIP@
337 LTALLOCA = @LTALLOCA@
338 LTLIBICONV = @LTLIBICONV@
339 LTLIBINTL = @LTLIBINTL@
340 LTLIBOBJS = @LTLIBOBJS@
341 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
342 MAINT = @MAINT@
343 MAINTAINER_CFLAGS = @MAINTAINER_CFLAGS@
344 MAKEINFO = @MAKEINFO@
345 MANIFEST_TOOL = @MANIFEST_TOOL@
346 MINIMAL_PRINTERS_TO_TEST = @MINIMAL_PRINTERS_TO_TEST@
347 MKDIR_P = @MKDIR_P@
348 MSGFMT = @MSGFMT@
349 MSGFMT_015 = @MSGFMT_015@
350 MSGMERGE = @MSGMERGE@
351 NM = @NM@
352 NMEDIT = @NMEDIT@
353 OBJDUMP = @OBJDUMP@
354 OBJEXT = @OBJEXT@
355 OTOOL = @OTOOL@
356 OTOOL64 = @OTOOL64@
357 PACKAGE = @PACKAGE@
358 PACKAGE_BIN_DIR = @PACKAGE_BIN_DIR@
359 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
360 PACKAGE_DATA_DIR = @PACKAGE_DATA_DIR@
361 PACKAGE_LIB_DIR = @PACKAGE_LIB_DIR@
362 PACKAGE_LOCALE_DIR = @PACKAGE_LOCALE_DIR@
363 PACKAGE_NAME = @PACKAGE_NAME@
364 PACKAGE_STRING = @PACKAGE_STRING@
365 PACKAGE_TARNAME = @PACKAGE_TARNAME@
366 PACKAGE_URL = @PACKAGE_URL@
367 PACKAGE_VERSION = @PACKAGE_VERSION@
368 PATH_SEPARATOR = @PATH_SEPARATOR@
369 PERL = @PERL@
370 PKGMODULEDIR = @PKGMODULEDIR@
371 PKGROOT = @PKGROOT@
372 PKGXMLDATADIR = @PKGXMLDATADIR@
373 PKG_CONFIG = @PKG_CONFIG@
374 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
375 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
376 POSUB = @POSUB@
377 RANLIB = @RANLIB@
378 RELEASE_DATE = @RELEASE_DATE@
379 RM = @RM@
380 RZIP = @RZIP@
381 SED = @SED@
382 SET_MAKE = @SET_MAKE@
383 SHELL = @SHELL@
384 STRIP = @STRIP@
385 TEST = @TEST@
386 TEXI2HTML = @TEXI2HTML@
387 TRUE = @TRUE@
388 USE_NLS = @USE_NLS@
389 VERSION = @VERSION@
390 WHICH_PPDS = @WHICH_PPDS@
391 XGETTEXT = @XGETTEXT@
392 XGETTEXT_015 = @XGETTEXT_015@
393 XZ = @XZ@
394 YACC = @YACC@
395 YFLAGS = @YFLAGS@
396 ZPAQ = @ZPAQ@
397 abs_builddir = @abs_builddir@
398 abs_srcdir = @abs_srcdir@
399 abs_top_builddir = @abs_top_builddir@
400 abs_top_srcdir = @abs_top_srcdir@
401 ac_ct_AR = @ac_ct_AR@
402 ac_ct_CC = @ac_ct_CC@
403 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
404 am__include = @am__include@
405 am__leading_dot = @am__leading_dot@
406 am__quote = @am__quote@
407 am__rm_f_notfound = @am__rm_f_notfound@
408 am__tar = @am__tar@
409 am__untar = @am__untar@
410 am__xargs_n = @am__xargs_n@
411 bindir = @bindir@
412 build = @build@
413 build_alias = @build_alias@
414 build_cpu = @build_cpu@
415 build_os = @build_os@
416 build_vendor = @build_vendor@
417 builddir = @builddir@
418 cups_bindir = @cups_bindir@
419 cups_conf_datadir = @cups_conf_datadir@
420 cups_conf_serverbin = @cups_conf_serverbin@
421 cups_conf_serverroot = @cups_conf_serverroot@
422 cups_exec_prefix = @cups_exec_prefix@
423 cups_prefix = @cups_prefix@
424 cups_sbindir = @cups_sbindir@
425 datadir = @datadir@
426 datarootdir = @datarootdir@
427 docdir = $(datadir)/$(PACKAGE)/doc
428 dvidir = @dvidir@
429 exec_prefix = @exec_prefix@
430 gimp2_plug_indir = @gimp2_plug_indir@
431 gutenprint_cflags = @gutenprint_cflags@
432 gutenprint_libdeps = @gutenprint_libdeps@
433 gutenprint_libs = @gutenprint_libs@
434 gutenprintui2_cflags = @gutenprintui2_cflags@
435 gutenprintui2_libdeps = @gutenprintui2_libdeps@
436 gutenprintui2_libs = @gutenprintui2_libs@
437 host = @host@
438 host_alias = @host_alias@
439 host_cpu = @host_cpu@
440 host_os = @host_os@
441 host_vendor = @host_vendor@
442 htmldir = @htmldir@
443 includedir = @includedir@
444 infodir = @infodir@
445 install_sh = @install_sh@
446 libdir = @libdir@
447 libexecdir = @libexecdir@
448 localedir = @localedir@
449 localstatedir = @localstatedir@
450 mandir = @mandir@
451 mkdir_p = @mkdir_p@
452 oldincludedir = @oldincludedir@
453 pdfdir = @pdfdir@
454 prefix = @prefix@
455 program_transform_name = @program_transform_name@
456 psdir = @psdir@
457 runstatedir = @runstatedir@
458 sbindir = @sbindir@
459 sharedstatedir = @sharedstatedir@
460 srcdir = @srcdir@
461 sysconfdir = @sysconfdir@
462 target_alias = @target_alias@
463 top_build_prefix = @top_build_prefix@
464 top_builddir = @top_builddir@
465 top_srcdir = @top_srcdir@
466 ACLOCAL_AMFLAGS = -I m4 -I m4local
467 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include $(LOCAL_CPPFLAGS) $(GNUCFLAGS) -DPACKAGE_LOCALE_DIR=\"$(PACKAGE_LOCALE_DIR)\" -DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" -DPACKAGE_LIB_DIR=\"$(PACKAGE_LIB_DIR)\" -DPACKAGE_BIN_DIR=\"$(PACKAGE_BIN_DIR)\" -DPKGMODULEDIR=\"$(PKGMODULEDIR)\" -DPKGXMLDATADIR=\"$(PKGXMLDATADIR)\"
468 BUILT_SOURCES = src/xml/xmli18n-tmp.h
469 SUBDIRS = include src samples test po man doc scripts
470 DISTDIRS = m4 m4extra
471 CONFIGSUMMARYDIR = $(pkglibdir)/@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@
472
473 #################################################################
474 # TESTING #
475 #################################################################
476 CPUS = `scripts/count-cpus`
477
478 # STP_PROFILE=full
479 MAKECHECK = STP_TEST_SUITE=1 /usr/bin/time $(MAKE) -k -s -j$(CPUS) DISTCHECK_CONFIGURE_FLAGS=NO_PKGCONFIG_PATHS=1 check
480 MAKEDISTCHECK = STP_TEST_SUITE=1 STP_TEST_DIST=1 /usr/bin/time $(MAKE) -k -s -j$(CPUS) DISTCHECK_CONFIGURE_FLAGS=NO_PKGCONFIG_PATHS=1 distcheck
481 MAKECHECK_PARALLEL = STP_PARALLEL=$(CPUS) $(MAKECHECK)
482 MAKEDISTCHECK_PARALLEL = STP_PARALLEL=$(CPUS) $(MAKEDISTCHECK)
483
484 # ...but we can't do
485 # AM_TESTS_ENVIRONMENT=STP_PARALLEL=$(shell scripts/count-cpus)
486 # because $(shell...) is (still only) a GNU extension, which we
487 # want to avoid. And we can't do
488 # AM_TESTS_ENVIRONMENT=STP_PARALLEL=`scripts/count-cpus`
489 # because all expansions are lazy, so anything not in the root directory
490 # won't find the script. And we can't even do
491 # AM_TESTS_ENVIRONMENT=STP_PARALLEL=`(at)TOP_BUILDDIR(at)scripts/count-cpus`
492 # because TOP_BUILDDIR itself is a relative path. And, just to make it
493 # even more fun, we won't be able to do
494 # AM_TESTS_ENVIRONMENT!=
495 # syntax even if POSIX approves it because it's only present in GNU make 4,
496 # but Apple doesn't use that.
497
498 # check-%: is a GNU make extension, so we have to explicitly list the targets
499 # of interest. Bah humbug.
500 CHECK_TARGETS = check-parallel check-minimal check-fast check-full
501 CHECK_VALGRIND_TARGETS = check-valgrind check-valgrind-minimal check-valgrind-fast
502 DISTCHECK_TARGETS = distcheck-parallel distcheck-minimal distcheck-fast distcheck-full
503 DISTCHECK_VALGRIND_TARGETS = distcheck-valgrind distcheck-valgrind-minimal distcheck-valgrind-fast
504 CLEANMFOUR = \
505 m4/*
506
507 CLEANPO = \
508 po/ChangeLog \
509 po/gutenprint.pot \
510 po/Makefile.in.in \
511 po/boldquot.sed \
512 po/[email protected] \
513 po/[email protected] \
514 po/insert-header.sin \
515 po/Makevars.template \
516 po/quot.sed \
517 po/remove-potcdate.sin \
518 po/Rules-quot \
519 po/*~
520
521 CLEANFILES = .noupdate
522 MAINTAINERCLEANFILES = \
523 ABOUT-NLS \
524 ChangeLog \
525 INSTALL \
526 aclocal.m4 \
527 config.h.in \
528 config.h.in~ \
529 config.rpath \
530 configure \
531 git-version-stamp \
532 Makefile.in \
533 stamp-h.in \
534 stamp-h1.in \
535 stamp-h2.in \
536 stamp-h3.in \
537 stamp-h4.in \
538 $(CLEANMFOUR) \
539 $(CLEANPO)
540
541 EXTRA_DIST = autogen.sh README.package git-version-stamp
542 all: $(BUILT_SOURCES) config.h
543 $(MAKE) $(AM_MAKEFLAGS) all-recursive
544
545 .SUFFIXES:
546 am--refresh: Makefile
547 @:
548 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/scripts/global.mk $(am__configure_deps)
549 @for dep in $?; do \
550 case '$(am__configure_deps)' in \
551 *$$dep*) \
552 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
553 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
554 && exit 0; \
555 exit 1;; \
556 esac; \
557 done; \
558 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
559 $(am__cd) $(top_srcdir) && \
560 $(AUTOMAKE) --gnu Makefile
561 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
562 @case '$?' in \
563 *config.status*) \
564 echo ' $(SHELL) ./config.status'; \
565 $(SHELL) ./config.status;; \
566 *) \
567 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
568 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
569 esac;
570 $(top_srcdir)/scripts/global.mk $(am__empty):
571
572 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
573 $(SHELL) ./config.status --recheck
574
575 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
576 $(am__cd) $(srcdir) && $(AUTOCONF)
577 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
578 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
579 $(am__aclocal_m4_deps):
580
581 config.h: stamp-h1
582 @test -f $@ || rm -f stamp-h1
583 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
584
585 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
586 $(AM_V_at)rm -f stamp-h1
587 $(AM_V_GEN)cd $(top_builddir) && $(SHELL) ./config.status config.h
588 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
589 $(AM_V_GEN)($(am__cd) $(top_srcdir) && $(AUTOHEADER))
590 $(AM_V_at)rm -f stamp-h1
591 $(AM_V_at)touch $@
592
593 distclean-hdr:
594 -rm -f config.h stamp-h1
595
596 mostlyclean-libtool:
597 -rm -f *.lo
598
599 clean-libtool:
600 -rm -rf .libs _libs
601
602 distclean-libtool:
603 -rm -f libtool config.lt
604
605 # This directory's subdirectories are mostly independent; you can cd
606 # into them and run 'make' without going through this Makefile.
607 # To change the values of 'make' variables: instead of editing Makefiles,
608 # (1) if the variable is set in 'config.status', edit 'config.status'
609 # (which will cause the Makefiles to be regenerated when you run 'make');
610 # (2) otherwise, pass the desired values on the 'make' command line.
611 $(am__recursive_targets):
612 @fail=; \
613 if $(am__make_keepgoing); then \
614 failcom='fail=yes'; \
615 else \
616 failcom='exit 1'; \
617 fi; \
618 dot_seen=no; \
619 target=`echo $@ | sed s/-recursive//`; \
620 case "$@" in \
621 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
622 *) list='$(SUBDIRS)' ;; \
623 esac; \
624 for subdir in $$list; do \
625 echo "Making $$target in $$subdir"; \
626 if test "$$subdir" = "."; then \
627 dot_seen=yes; \
628 local_target="$$target-am"; \
629 else \
630 local_target="$$target"; \
631 fi; \
632 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
633 || eval $$failcom; \
634 done; \
635 if test "$$dot_seen" = "no"; then \
636 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
637 fi; test -z "$$fail"
638
639 ID: $(am__tagged_files)
640 $(am__define_uniq_tagged_files); mkid -fID $$unique
641 tags: tags-recursive
642 TAGS: tags
643
644 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
645 set x; \
646 here=`pwd`; \
647 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
648 include_option=--etags-include; \
649 empty_fix=.; \
650 else \
651 include_option=--include; \
652 empty_fix=; \
653 fi; \
654 list='$(SUBDIRS)'; for subdir in $$list; do \
655 if test "$$subdir" = .; then :; else \
656 test ! -f $$subdir/TAGS || \
657 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
658 fi; \
659 done; \
660 $(am__define_uniq_tagged_files); \
661 shift; \
662 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
663 test -n "$$unique" || unique=$$empty_fix; \
664 if test $$# -gt 0; then \
665 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
666 "$$@" $$unique; \
667 else \
668 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
669 $$unique; \
670 fi; \
671 fi
672 ctags: ctags-recursive
673
674 CTAGS: ctags
675 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
676 $(am__define_uniq_tagged_files); \
677 test -z "$(CTAGS_ARGS)$$unique" \
678 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
679 $$unique
680
681 GTAGS:
682 here=`$(am__cd) $(top_builddir) && pwd` \
683 && $(am__cd) $(top_srcdir) \
684 && gtags -i $(GTAGS_ARGS) "$$here"
685 cscope: cscope.files
686 test ! -s cscope.files \
687 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
688 clean-cscope:
689 -rm -f cscope.files
690 cscope.files: clean-cscope cscopelist
691 cscopelist: cscopelist-recursive
692
693 cscopelist-am: $(am__tagged_files)
694 list='$(am__tagged_files)'; \
695 case "$(srcdir)" in \
696 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
697 *) sdir=$(subdir)/$(srcdir) ;; \
698 esac; \
699 for i in $$list; do \
700 if test -f "$$i"; then \
701 echo "$(subdir)/$$i"; \
702 else \
703 echo "$$sdir/$$i"; \
704 fi; \
705 done >> $(top_builddir)/cscope.files
706
707 distclean-tags:
708 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
709 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
710
711 distdir: $(BUILT_SOURCES)
712 $(MAKE) $(AM_MAKEFLAGS) distdir-am
713
714 distdir-am: $(DISTFILES)
715 $(am__remove_distdir)
716 $(AM_V_at)$(MKDIR_P) "$(distdir)"
717 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
718 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
719 list='$(DISTFILES)'; \
720 dist_files=`for file in $$list; do echo $$file; done | \
721 sed -e "s|^$$srcdirstrip/||;t" \
722 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
723 case $$dist_files in \
724 */*) $(MKDIR_P) `echo "$$dist_files" | \
725 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
726 sort -u` ;; \
727 esac; \
728 for file in $$dist_files; do \
729 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
730 if test -d $$d/$$file; then \
731 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
732 if test -d "$(distdir)/$$file"; then \
733 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
734 fi; \
735 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
736 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
737 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
738 fi; \
739 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
740 else \
741 test -f "$(distdir)/$$file" \
742 || cp -p $$d/$$file "$(distdir)/$$file" \
743 || exit 1; \
744 fi; \
745 done
746 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
747 if test "$$subdir" = .; then :; else \
748 $(am__make_dryrun) \
749 || test -d "$(distdir)/$$subdir" \
750 || $(MKDIR_P) "$(distdir)/$$subdir" \
751 || exit 1; \
752 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
753 $(am__relativize); \
754 new_distdir=$$reldir; \
755 dir1=$$subdir; dir2="$(top_distdir)"; \
756 $(am__relativize); \
757 new_top_distdir=$$reldir; \
758 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
759 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
760 ($(am__cd) $$subdir && \
761 $(MAKE) $(AM_MAKEFLAGS) \
762 top_distdir="$$new_top_distdir" \
763 distdir="$$new_distdir" \
764 am__remove_distdir=: \
765 am__skip_length_check=: \
766 am__skip_mode_fix=: \
767 distdir) \
768 || exit 1; \
769 fi; \
770 done
771 $(MAKE) $(AM_MAKEFLAGS) \
772 top_distdir="$(top_distdir)" distdir="$(distdir)" \
773 dist-hook
774 -test -n "$(am__skip_mode_fix)" \
775 || find "$(distdir)" -type d ! -perm -755 \
776 -exec chmod u+rwx,go+rx {} \; -o \
777 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
778 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
779 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
780 || chmod -R a+r "$(distdir)"
781 dist-gzip: distdir
782 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
783 $(am__post_remove_distdir)
784 dist-bzip2: distdir
785 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
786 $(am__post_remove_distdir)
787
788 dist-bzip3: distdir
789 tardir=$(distdir) && $(am__tar) | bzip3 -c >$(distdir).tar.bz3
790 $(am__post_remove_distdir)
791
792 dist-lzip: distdir
793 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
794 $(am__post_remove_distdir)
795 dist-xz: distdir
796 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
797 $(am__post_remove_distdir)
798
799 dist-zstd: distdir
800 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
801 $(am__post_remove_distdir)
802
803 dist-tarZ: distdir
804 @echo WARNING: "Support for distribution archives compressed with" \
805 "legacy program 'compress' is deprecated." >&2
806 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
807 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
808 $(am__post_remove_distdir)
809
810 dist-shar: distdir
811 @echo WARNING: "Support for shar distribution archives is" \
812 "deprecated." >&2
813 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
814 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
815 $(am__post_remove_distdir)
816
817 dist-zip: distdir
818 -rm -f $(distdir).zip
819 zip -rq $(distdir).zip $(distdir)
820 $(am__post_remove_distdir)
821
822 dist dist-all:
823 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
824 $(am__post_remove_distdir)
825
826 # This target untars the dist file and tries a VPATH configuration. Then
827 # it guarantees that the distribution is self-contained by making another
828 # tarfile.
829 distcheck: dist
830 case '$(DIST_ARCHIVES)' in \
831 *.tar.gz*) \
832 eval GZIP= gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
833 *.tar.bz2*) \
834 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
835 *.tar.bz3*) \
836 bzip3 -dc $(distdir).tar.bz3 | $(am__untar) ;;\
837 *.tar.lz*) \
838 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
839 *.tar.xz*) \
840 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
841 *.tar.Z*) \
842 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
843 *.shar.gz*) \
844 eval GZIP= gzip -dc $(distdir).shar.gz | unshar ;;\
845 *.zip*) \
846 unzip $(distdir).zip ;;\
847 *.tar.zst*) \
848 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
849 esac
850 chmod -R a-w $(distdir)
851 chmod u+w $(distdir)
852 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
853 chmod a-w $(distdir)
854 test -d $(distdir)/_build || exit 0; \
855 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
856 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
857 && am__cwd=`pwd` \
858 && $(am__cd) $(distdir)/_build/sub \
859 && ../../configure \
860 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
861 $(DISTCHECK_CONFIGURE_FLAGS) \
862 --srcdir=../.. --prefix="$$dc_install_base" \
863 && $(MAKE) $(AM_MAKEFLAGS) \
864 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
865 && $(MAKE) $(AM_MAKEFLAGS) check \
866 && $(MAKE) $(AM_MAKEFLAGS) install \
867 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
868 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
869 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
870 distuninstallcheck \
871 && chmod -R a-w "$$dc_install_base" \
872 && ({ \
873 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
874 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
875 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
876 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
877 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
878 } || { rm -rf "$$dc_destdir"; exit 1; }) \
879 && rm -rf "$$dc_destdir" \
880 && $(MAKE) $(AM_MAKEFLAGS) dist \
881 && rm -rf $(DIST_ARCHIVES) \
882 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
883 && cd "$$am__cwd" \
884 || exit 1
885 $(am__post_remove_distdir)
886 @(echo "$(distdir) archives ready for distribution: "; \
887 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
888 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
889 distuninstallcheck:
890 @test -n '$(distuninstallcheck_dir)' || { \
891 echo 'ERROR: trying to run $@ with an empty' \
892 '$$(distuninstallcheck_dir)' >&2; \
893 exit 1; \
894 }; \
895 $(am__cd) '$(distuninstallcheck_dir)' || { \
896 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
897 exit 1; \
898 }; \
899 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
900 || { echo "ERROR: files left after uninstall:" ; \
901 if test -n "$(DESTDIR)"; then \
902 echo " (check DESTDIR support)"; \
903 fi ; \
904 $(distuninstallcheck_listfiles) ; \
905 exit 1; } >&2
906 distcleancheck: distclean
907 @if test '$(srcdir)' = . ; then \
908 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
909 exit 1 ; \
910 fi
911 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
912 || { echo "ERROR: files left in build directory after distclean:" ; \
913 $(distcleancheck_listfiles) ; \
914 exit 1; } >&2
915 check-am: all-am
916 check: $(BUILT_SOURCES)
917 $(MAKE) $(AM_MAKEFLAGS) check-recursive
918 all-am: Makefile config.h
919 installdirs: installdirs-recursive
920 installdirs-am:
921 install: $(BUILT_SOURCES)
922 $(MAKE) $(AM_MAKEFLAGS) install-recursive
923 install-exec: $(BUILT_SOURCES)
924 $(MAKE) $(AM_MAKEFLAGS) install-exec-recursive
925 install-data: install-data-recursive
926 uninstall: uninstall-recursive
927
928 install-am: all-am
929 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
930
931 installcheck: installcheck-recursive
932 install-strip:
933 if test -z '$(STRIP)'; then \
934 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
935 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
936 install; \
937 else \
938 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
939 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
940 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
941 fi
942 mostlyclean-generic:
943
944 clean-generic:
945 -$(am__rm_f) $(CLEANFILES)
946
947 distclean-generic:
948 -$(am__rm_f) $(CONFIG_CLEAN_FILES)
949 -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
950
951 maintainer-clean-generic:
952 @echo "This command is intended for maintainers to use"
953 @echo "it deletes files that may require special tools to rebuild."
954 -$(am__rm_f) $(BUILT_SOURCES)
955 -$(am__rm_f) $(MAINTAINERCLEANFILES)
956 clean: clean-recursive
957
958 clean-am: clean-generic clean-libtool mostlyclean-am
959
960 distclean: distclean-recursive
961 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
962 -rm -f Makefile
963 distclean-am: clean-am distclean-generic distclean-hdr \
964 distclean-libtool distclean-local distclean-tags
965
966 dvi: dvi-recursive
967
968 dvi-am:
969
970 html: html-recursive
971
972 html-am:
973
974 info: info-recursive
975
976 info-am:
977
978 install-data-am: install-data-local
979
980 install-dvi: install-dvi-recursive
981
982 install-dvi-am:
983
984 install-exec-am:
985
986 install-html: install-html-recursive
987
988 install-html-am:
989
990 install-info: install-info-recursive
991
992 install-info-am:
993
994 install-man:
995
996 install-pdf: install-pdf-recursive
997
998 install-pdf-am:
999
1000 install-ps: install-ps-recursive
1001
1002 install-ps-am:
1003
1004 installcheck-am:
1005
1006 maintainer-clean: maintainer-clean-recursive
1007 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1008 -rm -rf $(top_srcdir)/autom4te.cache
1009 -rm -f Makefile
1010 maintainer-clean-am: distclean-am maintainer-clean-generic
1011
1012 mostlyclean: mostlyclean-recursive
1013
1014 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1015
1016 pdf: pdf-recursive
1017
1018 pdf-am:
1019
1020 ps: ps-recursive
1021
1022 ps-am:
1023
1024 uninstall-am: uninstall-local
1025
1026 .MAKE: $(am__recursive_targets) all check install install-am \
1027 install-exec install-strip
1028
1029 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1030 am--refresh check check-am clean clean-cscope clean-generic \
1031 clean-libtool cscope cscopelist-am ctags ctags-am dist \
1032 dist-all dist-bzip2 dist-bzip3 dist-gzip dist-hook dist-lzip \
1033 dist-shar dist-tarZ dist-xz dist-zip dist-zstd distcheck \
1034 distclean distclean-generic distclean-hdr distclean-libtool \
1035 distclean-local distclean-tags distcleancheck distdir \
1036 distuninstallcheck dvi dvi-am html html-am info info-am \
1037 install install-am install-data install-data-am \
1038 install-data-local install-dvi install-dvi-am install-exec \
1039 install-exec-am install-html install-html-am install-info \
1040 install-info-am install-man install-pdf install-pdf-am \
1041 install-ps install-ps-am install-strip installcheck \
1042 installcheck-am installdirs installdirs-am maintainer-clean \
1043 maintainer-clean-generic mostlyclean mostlyclean-generic \
1044 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1045 uninstall-am uninstall-local
1046
1047 .PRECIOUS: Makefile
1048
1049
1050 @SET_MAKE@
1051
1052 # Rules
1053
1054 $(top_builddir)/src/main/libgutenprint.la:
1055 cd $(top_builddir)/src/main; \
1056 $(MAKE)
1057
1058 $(top_builddir)/src/gutenprintui2/libgutenprintui2.la:
1059 cd $(top_builddir)/src/gutenprintui2; \
1060 $(MAKE)
1061
1062 src/xml/xmli18n-tmp.h:
1063 $(MAKE) -C src/xml
1064
1065 # Libtool dependency
1066 libtool: $(LIBTOOL_DEPS)
1067 cd $(srcdir); \
1068 $(SHELL) ./config.status --recheck
1069
1070 # Don't list ChangeLog as a dependency here because it forces network
1071 # access, and because it usually runs as superuser rather than the user
1072 # who normally builds Gutenprint.
1073 # Don't list config.summary either because it's generated by configure.
1074 install-data-local: NEWS AUTHORS COPYING README
1075 $(MKDIR_P) $(DESTDIR)$(docdir)
1076 $(INSTALL_DATA) $(srcdir)/NEWS $(DESTDIR)$(docdir)
1077 $(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(docdir)
1078 $(INSTALL_DATA) $(srcdir)/AUTHORS $(DESTDIR)$(docdir)
1079 $(INSTALL_DATA) $(srcdir)/COPYING $(DESTDIR)$(docdir)
1080 $(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(docdir)
1081 $(MKDIR_P) $(DESTDIR)$(CONFIGSUMMARYDIR)
1082 $(INSTALL_DATA) config.summary $(DESTDIR)$(CONFIGSUMMARYDIR)
1083
1084 # git log is local, so it's fast enough that we don't need to
1085 # engage in any subterfuge like we did with CVS. It's really fast
1086 # when we use a static file from the pre-Git era (since there are no
1087 # live branches from that time) to save a lot of diffs.
1088
1089 # This isn't really the right spot for these checks.
1090 # It's perfectly legal to update the change log even if NEWS
1091 # or configure is out of date. But it greatly reduces build spew
1092 # to do it here, and manually updating the changelog is not a
1093 # normal thing to do.
1094 ChangeLog: dist-time-check dist-news-check
1095 if [ -d .git -a -f ChangeLog.pre-5.2.11 ] ; then \
1096 $(MAKE) -C scripts mkgitlog; \
1097 scripts/mkgitlog -i ChangeLog.pre-5.2.11 -r gutenprint-5_2_11 > ChangeLog; \
1098 fi
1099
1100 dist: src/xml/xmli18n-tmp.h
1101
1102 dist-time-check:
1103 @if [ "$(top_srcdir)/configure" -ot "$(top_srcdir)/configure.ac" ] ; then \
1104 echo 1>&2; \
1105 echo "****************************************************************" 1>&2; \
1106 echo "*** configure is out of date (older than configure.ac) -- rerun ./autogen.sh first!" 1>&2; \
1107 echo "****************************************************************" 1>&2; \
1108 echo 1>&2; \
1109 exit 1; \
1110 fi
1111
1112 # This would normally be done by AM_INIT_AUTOMAKE. However,
1113 # we don't want to do this if we're building a snapshot, because
1114 # we don't want to update the NEWS file for each snapshot and
1115 # there's no convenient way I've found to conditionalize the
1116 # automake options.
1117 dist-news-check:
1118 @if [ "$$STP_BUILD_SNAPSHOT" = "" ] ; then \
1119 case "`sed 15q $(srcdir)/NEWS`" in \
1120 *$(VERSION)*) : ;; \
1121 *) \
1122 echo 1>&2; \
1123 echo "****************************************************************" 1>&2; \
1124 echo "*** NEWS not updated to $(VERSION); not releasing" 1>&2; \
1125 echo "****************************************************************" 1>&2; \
1126 echo 1>&2; \
1127 exit 1; \
1128 esac ; \
1129 fi
1130
1131 git-version-stamp:
1132 if [ -d .git ] ; then scripts/gversion > /dev/null; fi
1133
1134 dist-hook: dist-time-check dist-news-check git-version-stamp
1135 for dir in $(DISTDIRS) ; do \
1136 if test -d $(srcdir)/$$dir ; then \
1137 mkdir $(distdir)/$$dir; \
1138 for dirfile in $(srcdir)/$$dir/*; do \
1139 if test -f $$dirfile ; then \
1140 cp -p $$dirfile $(distdir)/$$dir; \
1141 fi \
1142 done \
1143 fi \
1144 done
1145 # Remove any backup files found in distdir
1146 $(FIND) $(distdir) -name '.*' -print | xargs $(RM) -rf
1147 $(FIND) $(distdir) -name '#*' -print | xargs $(RM) -rf
1148 $(FIND) $(distdir) -name '*~' -print | xargs $(RM) -rf
1149
1150 snapshot: scripts/gversion git-version-stamp
1151 $(MAKE) dist distdir=$(PACKAGE)-$(VERSION)-`date +"%Y%m%d%H%M%S"`
1152
1153 $(CHECK_TARGETS) $(CHECK_VALGRIND_TARGETS):
1154 STP_TEST_PROFILE=`echo $@ |sed -e s/check-// -e s/-/_/g -e s/parallel//` $(MAKECHECK_PARALLEL)
1155
1156 $(DISTCHECK_TARGETS) $(DISTCHECK_VALGRIND_TARGETS):
1157 STP_TEST_PROFILE=`echo $@ |sed -e s/distcheck-// -e s/-/_/g -e s/parallel//` $(MAKEDISTCHECK_PARALLEL)
1158
1159 checksums: scripts/count-cpus
1160 STP_PARALLEL=$(CPUS) $(MAKE) -j$(CPUS) -C src/testpattern checksums-release
1161
1162 build-release: scripts/build-release scripts/count-cpus
1163 STP_PARALLEL=$(CPUS) /usr/bin/time scripts/build-release
1164
1165 sanity: scripts/build-release scripts/count-cpus
1166 STP_PARALLEL=$(CPUS) /usr/bin/time scripts/build-release preflight check_git check_git_builds
1167
1168 distclean-local:
1169 -rm -f config.summary
1170
1171 uninstall-local:
1172 -rm -f $(DESTDIR)$(CONFIGSUMMARYDIR)/config.summary
1173
1174 .PHONY: deb html install-cups install-gimp snapshot ChangeLog Phony dist-time-check git-version-stamp
1175
1176 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1177 # Otherwise a system limit (for SysV at least) may be exceeded.
1178 .NOEXPORT:
1179
1180 # Tell GNU make to disable its built-in pattern rules.
1181 %:: %,v
1182 %:: RCS/%,v
1183 %:: RCS/%
1184 %:: s.%
1185 %:: SCCS/s.%