1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
20 ### Build script for SOD
22 ### (c) 2015 Straylight/Edgeware
25 ###----- Licensing notice ---------------------------------------------------
27 ### This file is part of the Sensble Object Design, an object system for C.
29 ### SOD is free software; you can redistribute it and/or modify
30 ### it under the terms of the GNU General Public License as published by
31 ### the Free Software Foundation; either version 2 of the License, or
32 ### (at your option) any later version.
34 ### SOD is distributed in the hope that it will be useful,
35 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
36 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
37 ### GNU General Public License for more details.
39 ### You should have received a copy of the GNU General Public License
40 ### along with SOD; if not, write to the Free Software Foundation,
41 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
45 ### Common variable definitions for build scripts
47 ### (c) 2015 Straylight/Edgeware
50 ###----- Licensing notice ---------------------------------------------------
52 ### This file is part of the Sensble Object Design, an object system for C.
54 ### SOD is free software; you can redistribute it and/or modify
55 ### it under the terms of the GNU General Public License as published by
56 ### the Free Software Foundation; either version 2 of the License, or
57 ### (at your option) any later version.
59 ### SOD is distributed in the hope that it will be useful,
60 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
61 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
62 ### GNU General Public License for more details.
64 ### You should have received a copy of the GNU General Public License
65 ### along with SOD; if not, write to the Free Software Foundation,
66 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
68 ###--------------------------------------------------------------------------
69 ### Miscellaneous useful definitions.
79 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
80 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
82 for am__flg in $$MAKEFLAGS; do \
85 *n*) am__dry=yes; break;; \
89 test $$am__dry = yes; \
91 pkgdatadir = $(datadir)/@PACKAGE@
92 pkgincludedir = $(includedir)/@PACKAGE@
93 pkglibdir = $(libdir)/@PACKAGE@
94 pkglibexecdir = $(libexecdir)/@PACKAGE@
95 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
96 install_sh_DATA = $(install_sh) -c -m 644
97 install_sh_PROGRAM = $(install_sh) -c
98 install_sh_SCRIPT = $(install_sh) -c
99 INSTALL_HEADER = $(INSTALL_DATA)
100 transform = $(program_transform_name)
107 build_triplet = @build@
108 host_triplet = @host@
109 DIST_COMMON = $(am__configure_deps) $(dist_man_MANS) \
110 $(pkginclude_HEADERS) $(srcdir)/Makefile.am \
111 $(srcdir)/Makefile.in $(top_srcdir)/configure \
112 $(top_srcdir)/vars.am COPYING COPYING.LIB config/config.guess \
113 config/config.sub config/depcomp config/install-sh \
114 config/ltmain.sh config/missing
118 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
119 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
120 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
122 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
123 configure.lineno config.status.lineno
124 mkinstalldirs = $(install_sh) -d
126 CONFIG_CLEAN_VPATH_FILES =
127 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" \
128 "$(DESTDIR)$(pkgincludedir)"
129 PROGRAMS = $(bin_PROGRAMS)
130 AM_V_GEN = $(am__v_GEN_@AM_V@)
131 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
132 am__v_GEN_0 = @echo " GEN " $@;
133 AM_V_at = $(am__v_at_@AM_V@)
134 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
138 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
139 html-recursive info-recursive install-data-recursive \
140 install-dvi-recursive install-exec-recursive \
141 install-html-recursive install-info-recursive \
142 install-pdf-recursive install-ps-recursive install-recursive \
143 installcheck-recursive installdirs-recursive pdf-recursive \
144 ps-recursive uninstall-recursive
145 am__can_run_installinfo = \
146 case $$AM_UPDATE_INFO_DIR in \
148 *) (install-info --version) >/dev/null 2>&1;; \
150 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
151 am__vpath_adj = case $$p in \
152 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
155 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
157 am__nobase_strip_setup = \
158 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
160 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
161 am__nobase_list = $(am__nobase_strip_setup); \
162 for p in $$list; do echo "$$p $$p"; done | \
163 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
164 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
165 if (++n[$$2] == $(am__install_max)) \
166 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
167 END { for (dir in files) print dir, files[dir] }'
169 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
170 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
171 am__uninstall_files_from_dir = { \
173 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
174 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
175 $(am__cd) "$$dir" && rm -f $$files; }; \
177 DATA = $(pkgconfig_DATA)
178 HEADERS = $(pkginclude_HEADERS)
179 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
180 distclean-recursive maintainer-clean-recursive
181 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
182 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
183 distdir dist dist-all distcheck
186 DIST_SUBDIRS = $(SUBDIRS)
187 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
188 distdir = $(PACKAGE)-$(VERSION)
189 top_distdir = $(distdir)
190 am__remove_distdir = \
191 if test -d "$(distdir)"; then \
192 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
193 && rm -rf "$(distdir)" \
194 || { sleep 5 && rm -rf "$(distdir)"; }; \
198 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
199 sed_rest='s,^[^/]*/*,,'; \
200 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
201 sed_butlast='s,/*[^/]*$$,,'; \
202 while test -n "$$dir1"; do \
203 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
204 if test "$$first" != "."; then \
205 if test "$$first" = ".."; then \
206 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
207 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
209 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
210 if test "$$first2" = "$$first"; then \
211 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
215 dir0="$$dir0"/"$$first"; \
218 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
221 DIST_ARCHIVES = $(distdir).tar.gz
223 distuninstallcheck_listfiles = find . -type f -print
224 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
225 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
226 distcleancheck_listfiles = find . -type f -print
229 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
231 ASDF_VERSION = @ASDF_VERSION@
232 AUTOCONF = @AUTOCONF@
233 AUTOHEADER = @AUTOHEADER@
234 AUTOMAKE = @AUTOMAKE@
237 CCDEPMODE = @CCDEPMODE@
239 CL_LAUNCH = @CL_LAUNCH@
241 CPPFLAGS = @CPPFLAGS@
242 CYGPATH_W = @CYGPATH_W@
246 DSYMUTIL = @DSYMUTIL@
256 INSTALL_DATA = @INSTALL_DATA@
257 INSTALL_PROGRAM = @INSTALL_PROGRAM@
258 INSTALL_SCRIPT = @INSTALL_SCRIPT@
259 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
265 LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
269 LTLIBOBJS = @LTLIBOBJS@
270 MAKEINFO = @MAKEINFO@
271 MANIFEST_TOOL = @MANIFEST_TOOL@
280 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
281 PACKAGE_NAME = @PACKAGE_NAME@
282 PACKAGE_STRING = @PACKAGE_STRING@
283 PACKAGE_TARNAME = @PACKAGE_TARNAME@
284 PACKAGE_URL = @PACKAGE_URL@
285 PACKAGE_VERSION = @PACKAGE_VERSION@
286 PATH_SEPARATOR = @PATH_SEPARATOR@
289 SET_MAKE = @SET_MAKE@
293 abs_builddir = @abs_builddir@
294 abs_srcdir = @abs_srcdir@
295 abs_top_builddir = @abs_top_builddir@
296 abs_top_srcdir = @abs_top_srcdir@
297 ac_ct_AR = @ac_ct_AR@
298 ac_ct_CC = @ac_ct_CC@
299 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
300 am__include = @am__include@
301 am__leading_dot = @am__leading_dot@
302 am__quote = @am__quote@
304 am__untar = @am__untar@
307 build_alias = @build_alias@
308 build_cpu = @build_cpu@
309 build_os = @build_os@
310 build_vendor = @build_vendor@
311 builddir = @builddir@
313 datarootdir = @datarootdir@
316 exec_prefix = @exec_prefix@
319 host_alias = @host_alias@
320 host_cpu = @host_cpu@
322 host_vendor = @host_vendor@
324 includedir = @includedir@
326 install_sh = @install_sh@
328 libexecdir = @libexecdir@
329 lispsrcdir = @lispsrcdir@
330 lispsysdir = @lispsysdir@
331 localedir = @localedir@
332 localstatedir = @localstatedir@
335 oldincludedir = @oldincludedir@
338 program_transform_name = @program_transform_name@
341 sharedstatedir = @sharedstatedir@
343 sysconfdir = @sysconfdir@
344 target_alias = @target_alias@
345 top_build_prefix = @top_build_prefix@
346 top_builddir = @top_builddir@
347 top_srcdir = @top_srcdir@
348 pkglispsrcdir = $(lispsrcdir)/$(PACKAGE)
350 ###--------------------------------------------------------------------------
351 ### Initial values for common variables.
353 ###--------------------------------------------------------------------------
355 EXTRA_DIST = sod.pc.in config/auto-version config/confsubst \
356 debian/rules debian/copyright debian/control debian/changelog \
357 debian/compat debian/libsod.install debian/libsod-dev.install \
358 debian/sod.install debian/sod-dev.install
359 CLEANFILES = $(BUILT_SOURCES) sod.pc
361 MAINTAINERCLEANFILES =
362 SUFFIXES = .c .h .sod
367 ###--------------------------------------------------------------------------
368 ### Include and library path.
370 -I$(top_srcdir)/lib -I$(top_builddir)/lib
372 AM_CPPFLAGS = $(SOD_INCLUDES)
373 LDADD = $(top_builddir)/lib/libsod.la
375 ###--------------------------------------------------------------------------
376 ### Standard configuration substitutions.
377 confsubst = $(top_srcdir)/config/confsubst
379 prefix=$(prefix) exec_prefix=$(exec_prefix) \
380 libdir=$(libdir) includedir=$(includedir) \
381 bindir=$(bindir) sbindir=$(sbindir) \
383 PACKAGE=$(PACKAGE) VERSION=$(VERSION) ASDF_VERSION=$(ASDF_VERSION)
385 V_SUBST = $(V_SUBST_$(V))
386 V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
387 V_SUBST_0 = @echo " SUBST $@";
388 SUBST = $(V_SUBST)$(confsubst)
390 ###--------------------------------------------------------------------------
391 ### Translating SOD input files.
392 SOD = $(top_builddir)/src/sod
393 V_SOD_c = $(V_SOD_c_$(V))
394 V_SOD_c_ = $(V_SOD_c_$(AM_DEFAULT_VERBOSITY))
395 V_SOD_c_0 = @echo " SOD[c] $@";
396 V_SOD_h = $(V_SOD_h_$(V))
397 V_SOD_h_ = $(V_SOD_h_$(AM_DEFAULT_VERBOSITY))
398 V_SOD_h_0 = @echo " SOD[h] $@";
400 ###--------------------------------------------------------------------------
401 ### Silent rules for Lisp.
402 V_DUMP = $(V_DUMP_$(V))
403 V_DUMP_ = $(V_DUMP_$(AM_DEFAULT_VERBOSITY))
404 V_DUMP_0 = @echo " DUMP $@";
405 V_TEST = $(V_TEST_$(V))
406 V_TEST_ = $(V_TEST_$(AM_DEFAULT_VERBOSITY))
407 V_TEST_0 = @echo " TEST $@";
409 ###--------------------------------------------------------------------------
410 ### Subdirectories to build
411 SUBDIRS = src lib test
413 ###--------------------------------------------------------------------------
414 ### Package-configuration file.
415 pkgconfigdir = $(libdir)/pkgconfig
416 pkgconfig_DATA = sod.pc
417 all: $(BUILT_SOURCES)
418 $(MAKE) $(AM_MAKEFLAGS) all-recursive
421 .SUFFIXES: .c .h .sod
422 am--refresh: Makefile
424 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/vars.am $(am__configure_deps)
426 case '$(am__configure_deps)' in \
428 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
429 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
434 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
435 $(am__cd) $(top_srcdir) && \
436 $(AUTOMAKE) --foreign Makefile
438 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
441 echo ' $(SHELL) ./config.status'; \
442 $(SHELL) ./config.status;; \
444 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
445 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
447 $(top_srcdir)/vars.am:
449 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
450 $(SHELL) ./config.status --recheck
452 $(top_srcdir)/configure: $(am__configure_deps)
453 $(am__cd) $(srcdir) && $(AUTOCONF)
454 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
455 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
456 $(am__aclocal_m4_deps):
457 install-binPROGRAMS: $(bin_PROGRAMS)
459 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
460 if test -n "$$list"; then \
461 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
462 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
464 for p in $$list; do echo "$$p $$p"; done | \
465 sed 's/$(EXEEXT)$$//' | \
466 while read p p1; do if test -f $$p || test -f $$p1; \
467 then echo "$$p"; echo "$$p"; else :; fi; \
469 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
470 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
471 sed 'N;N;N;s,\n, ,g' | \
472 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
473 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
474 if ($$2 == $$4) files[d] = files[d] " " $$1; \
475 else { print "f", $$3 "/" $$4, $$1; } } \
476 END { for (d in files) print "f", d, files[d] }' | \
477 while read type dir files; do \
478 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
479 test -z "$$files" || { \
480 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
481 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
485 uninstall-binPROGRAMS:
487 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
488 files=`for p in $$list; do echo "$$p"; done | \
489 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
490 -e 's/$$/$(EXEEXT)/' `; \
491 test -n "$$list" || exit 0; \
492 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
493 cd "$(DESTDIR)$(bindir)" && rm -f $$files
496 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
497 echo " rm -f" $$list; \
498 rm -f $$list || exit $$?; \
499 test -n "$(EXEEXT)" || exit 0; \
500 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
501 echo " rm -f" $$list; \
505 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
506 echo " rm -f" $$list; \
507 rm -f $$list || exit $$?; \
508 test -n "$(EXEEXT)" || exit 0; \
509 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
510 echo " rm -f" $$list; \
520 -rm -f libtool config.lt
521 install-pkgconfigDATA: $(pkgconfig_DATA)
523 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
524 if test -n "$$list"; then \
525 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
526 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
528 for p in $$list; do \
529 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
531 done | $(am__base_list) | \
532 while read files; do \
533 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
534 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
537 uninstall-pkgconfigDATA:
539 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
540 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
541 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
542 install-pkgincludeHEADERS: $(pkginclude_HEADERS)
544 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
545 if test -n "$$list"; then \
546 echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
547 $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
549 for p in $$list; do \
550 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
552 done | $(am__base_list) | \
553 while read files; do \
554 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
555 $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
558 uninstall-pkgincludeHEADERS:
560 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
561 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
562 dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
564 # This directory's subdirectories are mostly independent; you can cd
565 # into them and run `make' without going through this Makefile.
566 # To change the values of `make' variables: instead of editing Makefiles,
567 # (1) if the variable is set in `config.status', edit `config.status'
568 # (which will cause the Makefiles to be regenerated when you run `make');
569 # (2) otherwise, pass the desired values on the `make' command line.
570 $(RECURSIVE_TARGETS):
571 @fail= failcom='exit 1'; \
572 for f in x $$MAKEFLAGS; do \
575 *k*) failcom='fail=yes';; \
579 target=`echo $@ | sed s/-recursive//`; \
580 list='$(SUBDIRS)'; for subdir in $$list; do \
581 echo "Making $$target in $$subdir"; \
582 if test "$$subdir" = "."; then \
584 local_target="$$target-am"; \
586 local_target="$$target"; \
588 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
591 if test "$$dot_seen" = "no"; then \
592 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
595 $(RECURSIVE_CLEAN_TARGETS):
596 @fail= failcom='exit 1'; \
597 for f in x $$MAKEFLAGS; do \
600 *k*) failcom='fail=yes';; \
605 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
606 *) list='$(SUBDIRS)' ;; \
608 rev=''; for subdir in $$list; do \
609 if test "$$subdir" = "."; then :; else \
610 rev="$$subdir $$rev"; \
614 target=`echo $@ | sed s/-recursive//`; \
615 for subdir in $$rev; do \
616 echo "Making $$target in $$subdir"; \
617 if test "$$subdir" = "."; then \
618 local_target="$$target-am"; \
620 local_target="$$target"; \
622 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
624 done && test -z "$$fail"
626 list='$(SUBDIRS)'; for subdir in $$list; do \
627 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
630 list='$(SUBDIRS)'; for subdir in $$list; do \
631 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
634 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
635 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
636 unique=`for i in $$list; do \
637 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
639 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
640 END { if (nonempty) { for (i in files) print i; }; }'`; \
644 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
645 $(TAGS_FILES) $(LISP)
648 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
649 include_option=--etags-include; \
652 include_option=--include; \
655 list='$(SUBDIRS)'; for subdir in $$list; do \
656 if test "$$subdir" = .; then :; else \
657 test ! -f $$subdir/TAGS || \
658 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
661 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
662 unique=`for i in $$list; do \
663 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
665 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
666 END { if (nonempty) { for (i in files) print i; }; }'`; \
668 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
669 test -n "$$unique" || unique=$$empty_fix; \
670 if test $$# -gt 0; then \
671 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
674 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
679 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
680 $(TAGS_FILES) $(LISP)
681 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
682 unique=`for i in $$list; do \
683 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
685 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
686 END { if (nonempty) { for (i in files) print i; }; }'`; \
687 test -z "$(CTAGS_ARGS)$$unique" \
688 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
692 here=`$(am__cd) $(top_builddir) && pwd` \
693 && $(am__cd) $(top_srcdir) \
694 && gtags -i $(GTAGS_ARGS) "$$here"
697 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
699 distdir: $(DISTFILES)
700 $(am__remove_distdir)
701 test -d "$(distdir)" || mkdir "$(distdir)"
702 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
703 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
704 list='$(DISTFILES)'; \
705 dist_files=`for file in $$list; do echo $$file; done | \
706 sed -e "s|^$$srcdirstrip/||;t" \
707 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
708 case $$dist_files in \
709 */*) $(MKDIR_P) `echo "$$dist_files" | \
710 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
713 for file in $$dist_files; do \
714 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
715 if test -d $$d/$$file; then \
716 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
717 if test -d "$(distdir)/$$file"; then \
718 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
720 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
721 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
722 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
724 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
726 test -f "$(distdir)/$$file" \
727 || cp -p $$d/$$file "$(distdir)/$$file" \
731 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
732 if test "$$subdir" = .; then :; else \
734 || test -d "$(distdir)/$$subdir" \
735 || $(MKDIR_P) "$(distdir)/$$subdir" \
737 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
739 new_distdir=$$reldir; \
740 dir1=$$subdir; dir2="$(top_distdir)"; \
742 new_top_distdir=$$reldir; \
743 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
744 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
745 ($(am__cd) $$subdir && \
746 $(MAKE) $(AM_MAKEFLAGS) \
747 top_distdir="$$new_top_distdir" \
748 distdir="$$new_distdir" \
749 am__remove_distdir=: \
750 am__skip_length_check=: \
751 am__skip_mode_fix=: \
756 $(MAKE) $(AM_MAKEFLAGS) \
757 top_distdir="$(top_distdir)" distdir="$(distdir)" \
759 -test -n "$(am__skip_mode_fix)" \
760 || find "$(distdir)" -type d ! -perm -755 \
761 -exec chmod u+rwx,go+rx {} \; -o \
762 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
763 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
764 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
765 || chmod -R a+r "$(distdir)"
767 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
768 $(am__remove_distdir)
771 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
772 $(am__remove_distdir)
775 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
776 $(am__remove_distdir)
779 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
780 $(am__remove_distdir)
783 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
784 $(am__remove_distdir)
787 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
788 $(am__remove_distdir)
791 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
792 $(am__remove_distdir)
795 -rm -f $(distdir).zip
796 zip -rq $(distdir).zip $(distdir)
797 $(am__remove_distdir)
799 dist dist-all: distdir
800 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
801 $(am__remove_distdir)
803 # This target untars the dist file and tries a VPATH configuration. Then
804 # it guarantees that the distribution is self-contained by making another
807 case '$(DIST_ARCHIVES)' in \
809 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
811 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
813 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
815 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
817 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
819 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
821 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
823 unzip $(distdir).zip ;;\
825 chmod -R a-w $(distdir); chmod u+w $(distdir)
826 mkdir $(distdir)/_build
827 mkdir $(distdir)/_inst
829 test -d $(distdir)/_build || exit 0; \
830 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
831 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
833 && $(am__cd) $(distdir)/_build \
834 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
835 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
836 $(DISTCHECK_CONFIGURE_FLAGS) \
837 && $(MAKE) $(AM_MAKEFLAGS) \
838 && $(MAKE) $(AM_MAKEFLAGS) dvi \
839 && $(MAKE) $(AM_MAKEFLAGS) check \
840 && $(MAKE) $(AM_MAKEFLAGS) install \
841 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
842 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
843 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
845 && chmod -R a-w "$$dc_install_base" \
847 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
848 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
849 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
850 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
851 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
852 } || { rm -rf "$$dc_destdir"; exit 1; }) \
853 && rm -rf "$$dc_destdir" \
854 && $(MAKE) $(AM_MAKEFLAGS) dist \
855 && rm -rf $(DIST_ARCHIVES) \
856 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
859 $(am__remove_distdir)
860 @(echo "$(distdir) archives ready for distribution: "; \
861 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
862 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
864 @test -n '$(distuninstallcheck_dir)' || { \
865 echo 'ERROR: trying to run $@ with an empty' \
866 '$$(distuninstallcheck_dir)' >&2; \
869 $(am__cd) '$(distuninstallcheck_dir)' || { \
870 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
873 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
874 || { echo "ERROR: files left after uninstall:" ; \
875 if test -n "$(DESTDIR)"; then \
876 echo " (check DESTDIR support)"; \
878 $(distuninstallcheck_listfiles) ; \
880 distcleancheck: distclean
881 @if test '$(srcdir)' = . ; then \
882 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
885 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
886 || { echo "ERROR: files left in build directory after distclean:" ; \
887 $(distcleancheck_listfiles) ; \
890 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
891 check: $(BUILT_SOURCES)
892 $(MAKE) $(AM_MAKEFLAGS) check-recursive
893 all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
894 installdirs: installdirs-recursive
896 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)"; do \
897 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
899 install: $(BUILT_SOURCES)
900 $(MAKE) $(AM_MAKEFLAGS) install-recursive
901 install-exec: install-exec-recursive
902 install-data: install-data-recursive
903 uninstall: uninstall-recursive
906 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
908 installcheck: installcheck-recursive
910 if test -z '$(STRIP)'; then \
911 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
912 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
915 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
916 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
917 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
922 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
925 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
926 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
927 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
929 maintainer-clean-generic:
930 @echo "This command is intended for maintainers to use"
931 @echo "it deletes files that may require special tools to rebuild."
932 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
933 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
934 clean: clean-recursive
936 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
937 clean-libtool mostlyclean-am
939 distclean: distclean-recursive
940 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
942 distclean-am: clean-am distclean-generic distclean-libtool \
957 install-data-am: install-pkgconfigDATA install-pkgincludeHEADERS
959 install-dvi: install-dvi-recursive
963 install-exec-am: install-binPROGRAMS
965 install-html: install-html-recursive
969 install-info: install-info-recursive
975 install-pdf: install-pdf-recursive
979 install-ps: install-ps-recursive
985 maintainer-clean: maintainer-clean-recursive
986 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
987 -rm -rf $(top_srcdir)/autom4te.cache
989 maintainer-clean-am: distclean-am maintainer-clean-generic
991 mostlyclean: mostlyclean-recursive
993 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1003 uninstall-am: uninstall-binPROGRAMS uninstall-pkgconfigDATA \
1004 uninstall-pkgincludeHEADERS
1006 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1007 check-am ctags-recursive install install-am install-strip \
1010 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1011 all all-am am--refresh check check-am clean clean-binPROGRAMS \
1012 clean-checkPROGRAMS clean-generic clean-libtool ctags \
1013 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
1014 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
1015 distcheck distclean distclean-generic distclean-libtool \
1016 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1017 dvi-am html html-am info info-am install install-am \
1018 install-binPROGRAMS install-data install-data-am install-dvi \
1019 install-dvi-am install-exec install-exec-am install-html \
1020 install-html-am install-info install-info-am install-man \
1021 install-pdf install-pdf-am install-pkgconfigDATA \
1022 install-pkgincludeHEADERS install-ps install-ps-am \
1023 install-strip installcheck installcheck-am installdirs \
1024 installdirs-am maintainer-clean maintainer-clean-generic \
1025 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1026 ps ps-am tags tags-recursive uninstall uninstall-am \
1027 uninstall-binPROGRAMS uninstall-pkgconfigDATA \
1028 uninstall-pkgincludeHEADERS
1030 .sod.c: $(SOD); $(V_SOD_c)$(SOD) -tc $<
1031 .sod.h: $(SOD); $(V_SOD_h)$(SOD) -th $<
1033 ###----- That's all, folks --------------------------------------------------
1035 sod.pc: sod.pc.in Makefile
1036 $(SUBST) $(srcdir)/sod.pc.in >$@.new $(SUBSTITUTIONS) && mv $@.new $@
1038 ###--------------------------------------------------------------------------
1042 echo $(VERSION) >$(distdir)/RELEASE
1044 ###----- That's all, folks --------------------------------------------------
1046 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1047 # Otherwise a system limit (for SysV at least) may be exceeded.