Update automatically managed build utilities.
[sod] / src / Makefile.in
CommitLineData
5dff0f1f
MW
1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18### -*-makefile-*-
19###
20### Build script for the SOD translator
21###
22### (c) 2015 Straylight/Edgeware
23###
24
25###----- Licensing notice ---------------------------------------------------
26###
27### This file is part of the Sensble Object Design, an object system for C.
28###
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.
33###
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.
38###
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.
42
43### -*-makefile-*-
44###
45### Common variable definitions for build scripts
46###
47### (c) 2015 Straylight/Edgeware
48###
49
50###----- Licensing notice ---------------------------------------------------
51###
52### This file is part of the Sensble Object Design, an object system for C.
53###
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.
58###
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.
63###
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.
67
68###--------------------------------------------------------------------------
69### Miscellaneous useful definitions.
70
71
72
73VPATH = @srcdir@
74am__make_dryrun = \
75 { \
76 am__dry=no; \
77 case $$MAKEFLAGS in \
78 *\\[\ \ ]*) \
79 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
80 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
81 *) \
82 for am__flg in $$MAKEFLAGS; do \
83 case $$am__flg in \
84 *=*|--*) ;; \
85 *n*) am__dry=yes; break;; \
86 esac; \
87 done;; \
88 esac; \
89 test $$am__dry = yes; \
90 }
91pkgdatadir = $(datadir)/@PACKAGE@
92pkgincludedir = $(includedir)/@PACKAGE@
93pkglibdir = $(libdir)/@PACKAGE@
94pkglibexecdir = $(libexecdir)/@PACKAGE@
95am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
96install_sh_DATA = $(install_sh) -c -m 644
97install_sh_PROGRAM = $(install_sh) -c
98install_sh_SCRIPT = $(install_sh) -c
99INSTALL_HEADER = $(INSTALL_DATA)
100transform = $(program_transform_name)
101NORMAL_INSTALL = :
102PRE_INSTALL = :
103POST_INSTALL = :
104NORMAL_UNINSTALL = :
105PRE_UNINSTALL = :
106POST_UNINSTALL = :
107build_triplet = @build@
108host_triplet = @host@
dfdcf6ca
MW
109DIST_COMMON = $(dist_man_MANS) $(nobase_dist_pkglispsrc_DATA) \
110 $(pkginclude_HEADERS) $(srcdir)/Makefile.am \
111 $(srcdir)/Makefile.in $(top_srcdir)/vars.am
5dff0f1f
MW
112bin_PROGRAMS = sod$(EXEEXT)
113check_PROGRAMS =
114subdir = src
115ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
116am__aclocal_m4_deps = $(top_srcdir)/configure.ac
117am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
118 $(ACLOCAL_M4)
119mkinstalldirs = $(install_sh) -d
120CONFIG_CLEAN_FILES =
121CONFIG_CLEAN_VPATH_FILES =
122am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglispsrcdir)" \
123 "$(DESTDIR)$(pkgincludedir)"
124PROGRAMS = $(bin_PROGRAMS)
125am_sod_OBJECTS =
126sod_OBJECTS = $(am_sod_OBJECTS)
127sod_LDADD = $(LDADD)
128sod_DEPENDENCIES = $(top_builddir)/lib/libsod.la
129AM_V_lt = $(am__v_lt_@AM_V@)
130am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
131am__v_lt_0 = --silent
132DEFAULT_INCLUDES = -I.@am__isrc@
133COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
134 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
135LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
136 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
137 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
138 $(AM_CFLAGS) $(CFLAGS)
139AM_V_CC = $(am__v_CC_@AM_V@)
140am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
141am__v_CC_0 = @echo " CC " $@;
142AM_V_at = $(am__v_at_@AM_V@)
143am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
144am__v_at_0 = @
145CCLD = $(CC)
146LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
147 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
148 $(AM_LDFLAGS) $(LDFLAGS) -o $@
149AM_V_CCLD = $(am__v_CCLD_@AM_V@)
150am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
151am__v_CCLD_0 = @echo " CCLD " $@;
152AM_V_GEN = $(am__v_GEN_@AM_V@)
153am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
154am__v_GEN_0 = @echo " GEN " $@;
155SOURCES = $(sod_SOURCES)
156DIST_SOURCES = $(sod_SOURCES)
157am__can_run_installinfo = \
158 case $$AM_UPDATE_INFO_DIR in \
159 n|no|NO) false;; \
160 *) (install-info --version) >/dev/null 2>&1;; \
161 esac
162am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
163am__vpath_adj = case $$p in \
164 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
165 *) f=$$p;; \
166 esac;
167am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
168am__install_max = 40
169am__nobase_strip_setup = \
170 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
171am__nobase_strip = \
172 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
173am__nobase_list = $(am__nobase_strip_setup); \
174 for p in $$list; do echo "$$p $$p"; done | \
175 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
176 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
177 if (++n[$$2] == $(am__install_max)) \
178 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
179 END { for (dir in files) print dir, files[dir] }'
180am__base_list = \
181 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
182 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
183am__uninstall_files_from_dir = { \
184 test -z "$$files" \
185 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
186 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
187 $(am__cd) "$$dir" && rm -f $$files; }; \
188 }
031a15b2 189DATA = $(nobase_dist_pkglispsrc_DATA)
5dff0f1f
MW
190HEADERS = $(pkginclude_HEADERS)
191DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
192ACLOCAL = @ACLOCAL@
193AMTAR = @AMTAR@
194AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
195AR = @AR@
03ff6477 196ASDF_VERSION = @ASDF_VERSION@
5dff0f1f
MW
197AUTOCONF = @AUTOCONF@
198AUTOHEADER = @AUTOHEADER@
199AUTOMAKE = @AUTOMAKE@
200AWK = @AWK@
201CC = @CC@
202CCDEPMODE = @CCDEPMODE@
203CFLAGS = @CFLAGS@
204CL_LAUNCH = @CL_LAUNCH@
205CPP = @CPP@
206CPPFLAGS = @CPPFLAGS@
207CYGPATH_W = @CYGPATH_W@
208DEFS = @DEFS@
209DEPDIR = @DEPDIR@
210DLLTOOL = @DLLTOOL@
211DSYMUTIL = @DSYMUTIL@
212DUMPBIN = @DUMPBIN@
213ECHO_C = @ECHO_C@
214ECHO_N = @ECHO_N@
215ECHO_T = @ECHO_T@
216EGREP = @EGREP@
217EXEEXT = @EXEEXT@
5dff0f1f
MW
218FGREP = @FGREP@
219GREP = @GREP@
220INSTALL = @INSTALL@
221INSTALL_DATA = @INSTALL_DATA@
222INSTALL_PROGRAM = @INSTALL_PROGRAM@
223INSTALL_SCRIPT = @INSTALL_SCRIPT@
224INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
225LD = @LD@
226LDFLAGS = @LDFLAGS@
227LIBOBJS = @LIBOBJS@
228LIBS = @LIBS@
229LIBTOOL = @LIBTOOL@
230LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
231LIPO = @LIPO@
232LISPSYS = @LISPSYS@
233LN_S = @LN_S@
234LTLIBOBJS = @LTLIBOBJS@
235MAKEINFO = @MAKEINFO@
236MANIFEST_TOOL = @MANIFEST_TOOL@
237MKDIR_P = @MKDIR_P@
238NM = @NM@
239NMEDIT = @NMEDIT@
240OBJDUMP = @OBJDUMP@
241OBJEXT = @OBJEXT@
242OTOOL = @OTOOL@
243OTOOL64 = @OTOOL64@
244PACKAGE = @PACKAGE@
245PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
246PACKAGE_NAME = @PACKAGE_NAME@
247PACKAGE_STRING = @PACKAGE_STRING@
248PACKAGE_TARNAME = @PACKAGE_TARNAME@
249PACKAGE_URL = @PACKAGE_URL@
250PACKAGE_VERSION = @PACKAGE_VERSION@
251PATH_SEPARATOR = @PATH_SEPARATOR@
252RANLIB = @RANLIB@
253SED = @SED@
254SET_MAKE = @SET_MAKE@
255SHELL = @SHELL@
256STRIP = @STRIP@
257VERSION = @VERSION@
258abs_builddir = @abs_builddir@
259abs_srcdir = @abs_srcdir@
260abs_top_builddir = @abs_top_builddir@
261abs_top_srcdir = @abs_top_srcdir@
262ac_ct_AR = @ac_ct_AR@
263ac_ct_CC = @ac_ct_CC@
264ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
265am__include = @am__include@
266am__leading_dot = @am__leading_dot@
267am__quote = @am__quote@
268am__tar = @am__tar@
269am__untar = @am__untar@
270bindir = @bindir@
271build = @build@
272build_alias = @build_alias@
273build_cpu = @build_cpu@
274build_os = @build_os@
275build_vendor = @build_vendor@
276builddir = @builddir@
277datadir = @datadir@
278datarootdir = @datarootdir@
279docdir = @docdir@
280dvidir = @dvidir@
281exec_prefix = @exec_prefix@
031a15b2 282fasl = @fasl@
5dff0f1f
MW
283host = @host@
284host_alias = @host_alias@
285host_cpu = @host_cpu@
286host_os = @host_os@
287host_vendor = @host_vendor@
288htmldir = @htmldir@
289includedir = @includedir@
290infodir = @infodir@
291install_sh = @install_sh@
292libdir = @libdir@
293libexecdir = @libexecdir@
294lispsrcdir = @lispsrcdir@
295lispsysdir = @lispsysdir@
296localedir = @localedir@
297localstatedir = @localstatedir@
298mandir = @mandir@
299mkdir_p = @mkdir_p@
300oldincludedir = @oldincludedir@
301pdfdir = @pdfdir@
302prefix = @prefix@
303program_transform_name = @program_transform_name@
304psdir = @psdir@
305sbindir = @sbindir@
306sharedstatedir = @sharedstatedir@
307srcdir = @srcdir@
308sysconfdir = @sysconfdir@
309target_alias = @target_alias@
310top_build_prefix = @top_build_prefix@
311top_builddir = @top_builddir@
312top_srcdir = @top_srcdir@
313pkglispsrcdir = $(lispsrcdir)/$(PACKAGE)
314
315###--------------------------------------------------------------------------
316### Initial values for common variables.
031a15b2
MW
317
318###--------------------------------------------------------------------------
319### Unit testing.
03ff6477
MW
320EXTRA_DIST = auto.lisp.in sod.asd.in sod-frontend.asd.in \
321 sod-test.asd.in test-base.lisp parser/parser-test.lisp \
031a15b2 322 parser/scanner-charbuf-test.lisp c-types-test.lisp \
03ff6477 323 codegen-test.lisp lexer-test.lisp sod-test.asd.in
5dff0f1f
MW
324
325###--------------------------------------------------------------------------
326### Constructing an output image.
03ff6477
MW
327CLEANFILES = $(BUILT_SOURCES) *.$(fasl) parser/*.$(fasl) auto.lisp \
328 sod.asd sod-frontend.asd sod-test.asd
5dff0f1f
MW
329DISTCLEANFILES =
330MAINTAINERCLEANFILES =
331SUFFIXES = .c .h .sod
332BUILT_SOURCES =
333pkginclude_HEADERS =
dfdcf6ca 334dist_man_MANS =
5dff0f1f
MW
335
336###--------------------------------------------------------------------------
337### Include and library path.
338SOD_INCLUDES = \
339 -I$(top_srcdir)/lib -I$(top_builddir)/lib
340
341AM_CPPFLAGS = $(SOD_INCLUDES)
342LDADD = $(top_builddir)/lib/libsod.la
343
344###--------------------------------------------------------------------------
031a15b2
MW
345### Standard configuration substitutions.
346confsubst = $(top_srcdir)/config/confsubst
347SUBSTITUTIONS = \
348 prefix=$(prefix) exec_prefix=$(exec_prefix) \
349 libdir=$(libdir) includedir=$(includedir) \
350 bindir=$(bindir) sbindir=$(sbindir) \
03ff6477
MW
351 srcdir=$(srcdir) \
352 PACKAGE=$(PACKAGE) VERSION=$(VERSION) ASDF_VERSION=$(ASDF_VERSION)
031a15b2
MW
353
354V_SUBST = $(V_SUBST_$(V))
355V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
356V_SUBST_0 = @echo " SUBST $@";
357SUBST = $(V_SUBST)$(confsubst)
358
359###--------------------------------------------------------------------------
5dff0f1f
MW
360### Translating SOD input files.
361SOD = $(top_builddir)/src/sod
031a15b2
MW
362V_SOD_c = $(V_SOD_c_$(V))
363V_SOD_c_ = $(V_SOD_c_$(AM_DEFAULT_VERBOSITY))
364V_SOD_c_0 = @echo " SOD[c] $@";
365V_SOD_h = $(V_SOD_h_$(V))
366V_SOD_h_ = $(V_SOD_h_$(AM_DEFAULT_VERBOSITY))
367V_SOD_h_0 = @echo " SOD[h] $@";
368
369###--------------------------------------------------------------------------
370### Silent rules for Lisp.
371V_DUMP = $(V_DUMP_$(V))
372V_DUMP_ = $(V_DUMP_$(AM_DEFAULT_VERBOSITY))
373V_DUMP_0 = @echo " DUMP $@";
374V_TEST = $(V_TEST_$(V))
375V_TEST_ = $(V_TEST_$(AM_DEFAULT_VERBOSITY))
376V_TEST_0 = @echo " TEST $@";
377nobase_dist_pkglispsrc_DATA = $(LISP_SOURCES)
5dff0f1f
MW
378
379###--------------------------------------------------------------------------
380### The source files.
03ff6477 381LISP_SOURCES = package.lisp utilities.lisp parser/package.lisp \
5dff0f1f
MW
382 parser/floc-proto.lisp parser/floc-impl.lisp \
383 parser/streams-proto.lisp parser/streams-impl.lisp \
384 parser/scanner-proto.lisp parser/scanner-impl.lisp \
385 parser/scanner-charbuf-impl.lisp \
386 parser/scanner-token-impl.lisp parser/parser-proto.lisp \
387 parser/parser-impl.lisp parser/parser-expr-proto.lisp \
388 parser/parser-expr-impl.lisp parser/scanner-context-impl.lisp \
389 lexer-proto.lisp lexer-impl.lisp fragment-parse.lisp \
390 c-types-proto.lisp c-types-impl.lisp c-types-parse.lisp \
391 pset-proto.lisp pset-impl.lisp pset-parse.lisp \
392 codegen-proto.lisp codegen-impl.lisp output-proto.lisp \
393 output-impl.lisp module-proto.lisp module-impl.lisp \
394 module-parse.lisp module-output.lisp builtin.lisp classes.lisp \
395 c-types-class-impl.lisp class-utilities.lisp \
396 class-make-proto.lisp class-make-impl.lisp \
397 class-layout-proto.lisp class-layout-impl.lisp \
398 class-finalize-proto.lisp class-finalize-impl.lisp \
399 class-output.lisp method-proto.lisp method-impl.lisp \
03ff6477
MW
400 method-aggregate.lisp frontend.lisp optparse.lisp final.lisp
401SYSDEFS =
5dff0f1f
MW
402sod_SOURCES =
403all: $(BUILT_SOURCES)
404 $(MAKE) $(AM_MAKEFLAGS) all-am
405
406.SUFFIXES:
407.SUFFIXES: .c .h .sod
408$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/vars.am $(am__configure_deps)
409 @for dep in $?; do \
410 case '$(am__configure_deps)' in \
411 *$$dep*) \
412 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
413 && { if test -f $@; then exit 0; else break; fi; }; \
414 exit 1;; \
415 esac; \
416 done; \
417 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
418 $(am__cd) $(top_srcdir) && \
419 $(AUTOMAKE) --foreign src/Makefile
420.PRECIOUS: Makefile
421Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
422 @case '$?' in \
423 *config.status*) \
424 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
425 *) \
426 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
427 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
428 esac;
429$(top_srcdir)/vars.am:
430
431$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
432 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
433
434$(top_srcdir)/configure: $(am__configure_deps)
435 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
436$(ACLOCAL_M4): $(am__aclocal_m4_deps)
437 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
438$(am__aclocal_m4_deps):
439install-binPROGRAMS: $(bin_PROGRAMS)
440 @$(NORMAL_INSTALL)
441 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
442 if test -n "$$list"; then \
443 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
444 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
445 fi; \
446 for p in $$list; do echo "$$p $$p"; done | \
447 sed 's/$(EXEEXT)$$//' | \
448 while read p p1; do if test -f $$p || test -f $$p1; \
449 then echo "$$p"; echo "$$p"; else :; fi; \
450 done | \
451 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
452 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
453 sed 'N;N;N;s,\n, ,g' | \
454 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
455 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
456 if ($$2 == $$4) files[d] = files[d] " " $$1; \
457 else { print "f", $$3 "/" $$4, $$1; } } \
458 END { for (d in files) print "f", d, files[d] }' | \
459 while read type dir files; do \
460 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
461 test -z "$$files" || { \
462 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
463 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
464 } \
465 ; done
466
467uninstall-binPROGRAMS:
468 @$(NORMAL_UNINSTALL)
469 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
470 files=`for p in $$list; do echo "$$p"; done | \
471 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
472 -e 's/$$/$(EXEEXT)/' `; \
473 test -n "$$list" || exit 0; \
474 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
475 cd "$(DESTDIR)$(bindir)" && rm -f $$files
476
477clean-binPROGRAMS:
478 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
479 echo " rm -f" $$list; \
480 rm -f $$list || exit $$?; \
481 test -n "$(EXEEXT)" || exit 0; \
482 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
483 echo " rm -f" $$list; \
484 rm -f $$list
485
486clean-checkPROGRAMS:
487 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
488 echo " rm -f" $$list; \
489 rm -f $$list || exit $$?; \
490 test -n "$(EXEEXT)" || exit 0; \
491 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
492 echo " rm -f" $$list; \
493 rm -f $$list
494
495mostlyclean-compile:
496 -rm -f *.$(OBJEXT)
497
498distclean-compile:
499 -rm -f *.tab.c
500
501mostlyclean-libtool:
502 -rm -f *.lo
503
504clean-libtool:
505 -rm -rf .libs _libs
031a15b2 506install-nobase_dist_pkglispsrcDATA: $(nobase_dist_pkglispsrc_DATA)
5dff0f1f 507 @$(NORMAL_INSTALL)
031a15b2 508 @list='$(nobase_dist_pkglispsrc_DATA)'; test -n "$(pkglispsrcdir)" || list=; \
5dff0f1f
MW
509 if test -n "$$list"; then \
510 echo " $(MKDIR_P) '$(DESTDIR)$(pkglispsrcdir)'"; \
511 $(MKDIR_P) "$(DESTDIR)$(pkglispsrcdir)" || exit 1; \
512 fi; \
031a15b2
MW
513 $(am__nobase_list) | while read dir files; do \
514 xfiles=; for file in $$files; do \
515 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
516 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
517 test -z "$$xfiles" || { \
518 test "x$$dir" = x. || { \
519 echo " $(MKDIR_P) '$(DESTDIR)$(pkglispsrcdir)/$$dir'"; \
520 $(MKDIR_P) "$(DESTDIR)$(pkglispsrcdir)/$$dir"; }; \
521 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(pkglispsrcdir)/$$dir'"; \
522 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(pkglispsrcdir)/$$dir" || exit $$?; }; \
5dff0f1f
MW
523 done
524
031a15b2 525uninstall-nobase_dist_pkglispsrcDATA:
5dff0f1f 526 @$(NORMAL_UNINSTALL)
031a15b2
MW
527 @list='$(nobase_dist_pkglispsrc_DATA)'; test -n "$(pkglispsrcdir)" || list=; \
528 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
5dff0f1f
MW
529 dir='$(DESTDIR)$(pkglispsrcdir)'; $(am__uninstall_files_from_dir)
530install-pkgincludeHEADERS: $(pkginclude_HEADERS)
531 @$(NORMAL_INSTALL)
532 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
533 if test -n "$$list"; then \
534 echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
535 $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
536 fi; \
537 for p in $$list; do \
538 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
539 echo "$$d$$p"; \
540 done | $(am__base_list) | \
541 while read files; do \
542 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
543 $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
544 done
545
546uninstall-pkgincludeHEADERS:
547 @$(NORMAL_UNINSTALL)
548 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
549 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
550 dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
551tags: TAGS
552TAGS:
553
554ctags: CTAGS
555CTAGS:
556
557
558distdir: $(DISTFILES)
559 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
560 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
561 list='$(DISTFILES)'; \
562 dist_files=`for file in $$list; do echo $$file; done | \
563 sed -e "s|^$$srcdirstrip/||;t" \
564 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
565 case $$dist_files in \
566 */*) $(MKDIR_P) `echo "$$dist_files" | \
567 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
568 sort -u` ;; \
569 esac; \
570 for file in $$dist_files; do \
571 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
572 if test -d $$d/$$file; then \
573 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
574 if test -d "$(distdir)/$$file"; then \
575 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
576 fi; \
577 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
578 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
579 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
580 fi; \
581 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
582 else \
583 test -f "$(distdir)/$$file" \
584 || cp -p $$d/$$file "$(distdir)/$$file" \
585 || exit 1; \
586 fi; \
587 done
588check-am: all-am
589 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
031a15b2 590 $(MAKE) $(AM_MAKEFLAGS) check-local
5dff0f1f
MW
591check: $(BUILT_SOURCES)
592 $(MAKE) $(AM_MAKEFLAGS) check-am
593all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
594installdirs:
595 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglispsrcdir)" "$(DESTDIR)$(pkgincludedir)"; do \
596 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
597 done
598install: $(BUILT_SOURCES)
599 $(MAKE) $(AM_MAKEFLAGS) install-am
600install-exec: install-exec-am
601install-data: install-data-am
602uninstall: uninstall-am
603
604install-am: all-am
605 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
606
607installcheck: installcheck-am
608install-strip:
609 if test -z '$(STRIP)'; then \
610 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
611 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
612 install; \
613 else \
614 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
615 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
616 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
617 fi
618mostlyclean-generic:
619
620clean-generic:
621 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
622
623distclean-generic:
624 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
625 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
626 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
627
628maintainer-clean-generic:
629 @echo "This command is intended for maintainers to use"
630 @echo "it deletes files that may require special tools to rebuild."
631 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
632 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
633clean: clean-am
634
635clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
636 clean-libtool mostlyclean-am
637
638distclean: distclean-am
639 -rm -f Makefile
640distclean-am: clean-am distclean-compile distclean-generic
641
642dvi: dvi-am
643
644dvi-am:
645
646html: html-am
647
648html-am:
649
650info: info-am
651
652info-am:
653
031a15b2 654install-data-am: install-data-local install-nobase_dist_pkglispsrcDATA \
5dff0f1f
MW
655 install-pkgincludeHEADERS
656
657install-dvi: install-dvi-am
658
659install-dvi-am:
660
661install-exec-am: install-binPROGRAMS
662
663install-html: install-html-am
664
665install-html-am:
666
667install-info: install-info-am
668
669install-info-am:
670
671install-man:
672
673install-pdf: install-pdf-am
674
675install-pdf-am:
676
677install-ps: install-ps-am
678
679install-ps-am:
680
681installcheck-am:
682
683maintainer-clean: maintainer-clean-am
684 -rm -f Makefile
685maintainer-clean-am: distclean-am maintainer-clean-generic
686
687mostlyclean: mostlyclean-am
688
689mostlyclean-am: mostlyclean-compile mostlyclean-generic \
690 mostlyclean-libtool
691
692pdf: pdf-am
693
694pdf-am:
695
696ps: ps-am
697
698ps-am:
699
03ff6477 700uninstall-am: uninstall-binPROGRAMS uninstall-local \
031a15b2 701 uninstall-nobase_dist_pkglispsrcDATA \
5dff0f1f
MW
702 uninstall-pkgincludeHEADERS
703
704.MAKE: all check check-am install install-am install-strip
705
031a15b2 706.PHONY: all all-am check check-am check-local clean clean-binPROGRAMS \
5dff0f1f
MW
707 clean-checkPROGRAMS clean-generic clean-libtool distclean \
708 distclean-compile distclean-generic distclean-libtool distdir \
709 dvi dvi-am html html-am info info-am install install-am \
710 install-binPROGRAMS install-data install-data-am \
031a15b2
MW
711 install-data-local install-dvi install-dvi-am install-exec \
712 install-exec-am install-html install-html-am install-info \
713 install-info-am install-man install-nobase_dist_pkglispsrcDATA \
5dff0f1f
MW
714 install-pdf install-pdf-am install-pkgincludeHEADERS \
715 install-ps install-ps-am install-strip installcheck \
716 installcheck-am installdirs maintainer-clean \
717 maintainer-clean-generic mostlyclean mostlyclean-compile \
718 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
03ff6477 719 uninstall uninstall-am uninstall-binPROGRAMS uninstall-local \
031a15b2
MW
720 uninstall-nobase_dist_pkglispsrcDATA \
721 uninstall-pkgincludeHEADERS
5dff0f1f 722
031a15b2
MW
723.sod.c: $(SOD); $(V_SOD_c)$(SOD) -tc $<
724.sod.h: $(SOD); $(V_SOD_h)$(SOD) -th $<
5dff0f1f
MW
725
726###----- That's all, folks --------------------------------------------------
03ff6477
MW
727auto.lisp: auto.lisp.in Makefile
728 $(SUBST) $(srcdir)/auto.lisp.in >$@.new $(SUBSTITUTIONS) && \
729 grep '^[^;]' $@.new >$@.strip && \
730 rm -f $@.new && mv $@.strip $@
731sod.asd: sod.asd.in Makefile
732 $(SUBST) $(srcdir)/sod.asd.in >$@.new $(SUBSTITUTIONS) && \
733 mv $@.new $@
734sod-frontend.asd: sod-frontend.asd.in Makefile
735 $(SUBST) $(srcdir)/sod-frontend.asd.in >$@.new $(SUBSTITUTIONS) && \
736 mv $@.new $@
737sod: $(LISP_SOURCES) sod.asd sod-frontend.asd auto.lisp
738 $(V_DUMP)$(CL_LAUNCH) -o sod -d ! -l $(LISPSYS) +I \
5dff0f1f 739 -s sod-frontend -r sod-frontend:main
03ff6477
MW
740sod-test.asd: sod-test.asd.in Makefile
741 $(SUBST) $(srcdir)/sod-test.asd.in >$@.new $(SUBSTITUTIONS) && \
742 mv $@.new $@
5dff0f1f 743
03ff6477
MW
744check-local: sod sod-test.asd
745 $(V_TEST)$(CL_LAUNCH) -l $(LISPSYS) -s sod-test +I \
746 -i '(handler-case (asdf:test-system "sod") ;\
031a15b2
MW
747 (error (cond) ;\
748 (format *error-output* "ERR: ~A~%" cond) ;\
749 (cl-launch:quit 1)))'
750
5dff0f1f
MW
751###--------------------------------------------------------------------------
752### Installation.
753
754install-data-local:
03ff6477 755 $(MKDIR_P) $(DESTDIR)$(lispsysdir) $(DESTDIR)$(pkglispsrcdir)
5dff0f1f 756 @set -e; \
03ff6477 757 from=$(lispsysdir) to=$(pkglispsrcdir); \
5dff0f1f
MW
758 set -- $$(echo $$from | tr "/" " "); fwd=$$*; \
759 set -- $$(echo $$to | tr "/" " "); twd=$$*; \
760 while :; do \
761 set -- $$fwd; fhd=$$1 fn=$$#; \
762 set -- $$twd; thd=$$1 tn=$$#; \
763 case :$$fn:$$tn: in *:0:*) break ;; esac; \
764 case "$$fhd" in "$$thd") ;; *) break ;; esac; \
765 set -- $$fwd; shift; fwd=$$*; \
766 set -- $$twd; shift; twd=$$*; \
767 done; \
768 dots=$$(echo $$fwd | sed 's/[^ ][^ ]*/../g'); \
769 rel=$$(echo $$dots $$twd | tr " " "/"); \
03ff6477
MW
770 for i in sod.asd sod-frontend.asd; do \
771 echo >&2 "CREATE $$to/$$i"; \
772 sed -e '/#|@-auto-@|#/ { r auto.lisp' -e ' d; }' \
773 -e '/#|@-path-@|#/ d' \
774 $(srcdir)/$$i.in >$(DESTDIR)$(pkglispsrcdir)/$$i.new; \
775 mv $(DESTDIR)$(pkglispsrcdir)/$$i.new \
776 $(DESTDIR)$(pkglispsrcdir)/$$i; \
777 echo >&2 "LINK $$rel/$$i $$to/$$i"; \
778 ln -s $$rel/$$i $(DESTDIR)$$from/$$i.new; \
779 mv $(DESTDIR)$$from/$$i.new $(DESTDIR)$$from/$$i; \
780 done
781
782uninstall-local:
783 for i in sod.asd sod-frontend.asd; do \
784 rm -f $(DESTDIR)$(pkglispsrcdir)/$$i $(DESTDIR)$(lispsysdir)/$$i; \
785 done
5dff0f1f
MW
786
787###----- That's all, folks --------------------------------------------------
788
789# Tell versions [3.59,3.63) of GNU make to not export all variables.
790# Otherwise a system limit (for SysV at least) may be exceeded.
791.NOEXPORT: