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@
031a15b2 109DIST_COMMON = $(nobase_dist_pkglispsrc_DATA) $(pkginclude_HEADERS) \
5dff0f1f
MW
110 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
111 $(top_srcdir)/vars.am
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@
196AUTOCONF = @AUTOCONF@
197AUTOHEADER = @AUTOHEADER@
198AUTOMAKE = @AUTOMAKE@
199AWK = @AWK@
200CC = @CC@
201CCDEPMODE = @CCDEPMODE@
202CFLAGS = @CFLAGS@
203CL_LAUNCH = @CL_LAUNCH@
204CPP = @CPP@
205CPPFLAGS = @CPPFLAGS@
206CYGPATH_W = @CYGPATH_W@
207DEFS = @DEFS@
208DEPDIR = @DEPDIR@
209DLLTOOL = @DLLTOOL@
210DSYMUTIL = @DSYMUTIL@
211DUMPBIN = @DUMPBIN@
212ECHO_C = @ECHO_C@
213ECHO_N = @ECHO_N@
214ECHO_T = @ECHO_T@
215EGREP = @EGREP@
216EXEEXT = @EXEEXT@
5dff0f1f
MW
217FGREP = @FGREP@
218GREP = @GREP@
219INSTALL = @INSTALL@
220INSTALL_DATA = @INSTALL_DATA@
221INSTALL_PROGRAM = @INSTALL_PROGRAM@
222INSTALL_SCRIPT = @INSTALL_SCRIPT@
223INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
224LD = @LD@
225LDFLAGS = @LDFLAGS@
226LIBOBJS = @LIBOBJS@
227LIBS = @LIBS@
228LIBTOOL = @LIBTOOL@
229LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@
230LIPO = @LIPO@
231LISPSYS = @LISPSYS@
232LN_S = @LN_S@
233LTLIBOBJS = @LTLIBOBJS@
234MAKEINFO = @MAKEINFO@
235MANIFEST_TOOL = @MANIFEST_TOOL@
236MKDIR_P = @MKDIR_P@
237NM = @NM@
238NMEDIT = @NMEDIT@
239OBJDUMP = @OBJDUMP@
240OBJEXT = @OBJEXT@
241OTOOL = @OTOOL@
242OTOOL64 = @OTOOL64@
243PACKAGE = @PACKAGE@
244PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
245PACKAGE_NAME = @PACKAGE_NAME@
246PACKAGE_STRING = @PACKAGE_STRING@
247PACKAGE_TARNAME = @PACKAGE_TARNAME@
248PACKAGE_URL = @PACKAGE_URL@
249PACKAGE_VERSION = @PACKAGE_VERSION@
250PATH_SEPARATOR = @PATH_SEPARATOR@
251RANLIB = @RANLIB@
252SED = @SED@
253SET_MAKE = @SET_MAKE@
254SHELL = @SHELL@
255STRIP = @STRIP@
256VERSION = @VERSION@
257abs_builddir = @abs_builddir@
258abs_srcdir = @abs_srcdir@
259abs_top_builddir = @abs_top_builddir@
260abs_top_srcdir = @abs_top_srcdir@
261ac_ct_AR = @ac_ct_AR@
262ac_ct_CC = @ac_ct_CC@
263ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
264am__include = @am__include@
265am__leading_dot = @am__leading_dot@
266am__quote = @am__quote@
267am__tar = @am__tar@
268am__untar = @am__untar@
269bindir = @bindir@
270build = @build@
271build_alias = @build_alias@
272build_cpu = @build_cpu@
273build_os = @build_os@
274build_vendor = @build_vendor@
275builddir = @builddir@
276datadir = @datadir@
277datarootdir = @datarootdir@
278docdir = @docdir@
279dvidir = @dvidir@
280exec_prefix = @exec_prefix@
031a15b2 281fasl = @fasl@
5dff0f1f
MW
282host = @host@
283host_alias = @host_alias@
284host_cpu = @host_cpu@
285host_os = @host_os@
286host_vendor = @host_vendor@
287htmldir = @htmldir@
288includedir = @includedir@
289infodir = @infodir@
290install_sh = @install_sh@
291libdir = @libdir@
292libexecdir = @libexecdir@
293lispsrcdir = @lispsrcdir@
294lispsysdir = @lispsysdir@
295localedir = @localedir@
296localstatedir = @localstatedir@
297mandir = @mandir@
298mkdir_p = @mkdir_p@
299oldincludedir = @oldincludedir@
300pdfdir = @pdfdir@
301prefix = @prefix@
302program_transform_name = @program_transform_name@
303psdir = @psdir@
304sbindir = @sbindir@
305sharedstatedir = @sharedstatedir@
306srcdir = @srcdir@
307sysconfdir = @sysconfdir@
308target_alias = @target_alias@
309top_build_prefix = @top_build_prefix@
310top_builddir = @top_builddir@
311top_srcdir = @top_srcdir@
312pkglispsrcdir = $(lispsrcdir)/$(PACKAGE)
313
314###--------------------------------------------------------------------------
315### Initial values for common variables.
031a15b2
MW
316
317###--------------------------------------------------------------------------
318### Unit testing.
319EXTRA_DIST = sod-test.asd test-base.lisp parser/parser-test.lisp \
320 parser/scanner-charbuf-test.lisp c-types-test.lisp \
321 codegen-test.lisp lexer-test.lisp
5dff0f1f
MW
322
323###--------------------------------------------------------------------------
324### Constructing an output image.
031a15b2 325CLEANFILES = $(BUILT_SOURCES) *.$(fasl) parser/*.$(fasl)
5dff0f1f
MW
326DISTCLEANFILES =
327MAINTAINERCLEANFILES =
328SUFFIXES = .c .h .sod
329BUILT_SOURCES =
330pkginclude_HEADERS =
331
332###--------------------------------------------------------------------------
333### Include and library path.
334SOD_INCLUDES = \
335 -I$(top_srcdir)/lib -I$(top_builddir)/lib
336
337AM_CPPFLAGS = $(SOD_INCLUDES)
338LDADD = $(top_builddir)/lib/libsod.la
339
340###--------------------------------------------------------------------------
031a15b2
MW
341### Standard configuration substitutions.
342confsubst = $(top_srcdir)/config/confsubst
343SUBSTITUTIONS = \
344 prefix=$(prefix) exec_prefix=$(exec_prefix) \
345 libdir=$(libdir) includedir=$(includedir) \
346 bindir=$(bindir) sbindir=$(sbindir) \
347 PACKAGE=$(PACKAGE) VERSION=$(VERSION)
348
349V_SUBST = $(V_SUBST_$(V))
350V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
351V_SUBST_0 = @echo " SUBST $@";
352SUBST = $(V_SUBST)$(confsubst)
353
354###--------------------------------------------------------------------------
5dff0f1f
MW
355### Translating SOD input files.
356SOD = $(top_builddir)/src/sod
031a15b2
MW
357V_SOD_c = $(V_SOD_c_$(V))
358V_SOD_c_ = $(V_SOD_c_$(AM_DEFAULT_VERBOSITY))
359V_SOD_c_0 = @echo " SOD[c] $@";
360V_SOD_h = $(V_SOD_h_$(V))
361V_SOD_h_ = $(V_SOD_h_$(AM_DEFAULT_VERBOSITY))
362V_SOD_h_0 = @echo " SOD[h] $@";
363
364###--------------------------------------------------------------------------
365### Silent rules for Lisp.
366V_DUMP = $(V_DUMP_$(V))
367V_DUMP_ = $(V_DUMP_$(AM_DEFAULT_VERBOSITY))
368V_DUMP_0 = @echo " DUMP $@";
369V_TEST = $(V_TEST_$(V))
370V_TEST_ = $(V_TEST_$(AM_DEFAULT_VERBOSITY))
371V_TEST_0 = @echo " TEST $@";
372nobase_dist_pkglispsrc_DATA = $(LISP_SOURCES)
5dff0f1f
MW
373
374###--------------------------------------------------------------------------
375### The source files.
031a15b2 376LISP_SOURCES = sod.asd package.lisp utilities.lisp parser/package.lisp \
5dff0f1f
MW
377 parser/floc-proto.lisp parser/floc-impl.lisp \
378 parser/streams-proto.lisp parser/streams-impl.lisp \
379 parser/scanner-proto.lisp parser/scanner-impl.lisp \
380 parser/scanner-charbuf-impl.lisp \
381 parser/scanner-token-impl.lisp parser/parser-proto.lisp \
382 parser/parser-impl.lisp parser/parser-expr-proto.lisp \
383 parser/parser-expr-impl.lisp parser/scanner-context-impl.lisp \
384 lexer-proto.lisp lexer-impl.lisp fragment-parse.lisp \
385 c-types-proto.lisp c-types-impl.lisp c-types-parse.lisp \
386 pset-proto.lisp pset-impl.lisp pset-parse.lisp \
387 codegen-proto.lisp codegen-impl.lisp output-proto.lisp \
388 output-impl.lisp module-proto.lisp module-impl.lisp \
389 module-parse.lisp module-output.lisp builtin.lisp classes.lisp \
390 c-types-class-impl.lisp class-utilities.lisp \
391 class-make-proto.lisp class-make-impl.lisp \
392 class-layout-proto.lisp class-layout-impl.lisp \
393 class-finalize-proto.lisp class-finalize-impl.lisp \
394 class-output.lisp method-proto.lisp method-impl.lisp \
031a15b2
MW
395 method-aggregate.lisp sod-frontend.asd frontend.lisp \
396 optparse.lisp debug.lisp
5dff0f1f
MW
397sod_SOURCES =
398all: $(BUILT_SOURCES)
399 $(MAKE) $(AM_MAKEFLAGS) all-am
400
401.SUFFIXES:
402.SUFFIXES: .c .h .sod
403$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/vars.am $(am__configure_deps)
404 @for dep in $?; do \
405 case '$(am__configure_deps)' in \
406 *$$dep*) \
407 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
408 && { if test -f $@; then exit 0; else break; fi; }; \
409 exit 1;; \
410 esac; \
411 done; \
412 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
413 $(am__cd) $(top_srcdir) && \
414 $(AUTOMAKE) --foreign src/Makefile
415.PRECIOUS: Makefile
416Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
417 @case '$?' in \
418 *config.status*) \
419 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
420 *) \
421 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
422 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
423 esac;
424$(top_srcdir)/vars.am:
425
426$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
427 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
428
429$(top_srcdir)/configure: $(am__configure_deps)
430 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
431$(ACLOCAL_M4): $(am__aclocal_m4_deps)
432 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
433$(am__aclocal_m4_deps):
434install-binPROGRAMS: $(bin_PROGRAMS)
435 @$(NORMAL_INSTALL)
436 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
437 if test -n "$$list"; then \
438 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
439 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
440 fi; \
441 for p in $$list; do echo "$$p $$p"; done | \
442 sed 's/$(EXEEXT)$$//' | \
443 while read p p1; do if test -f $$p || test -f $$p1; \
444 then echo "$$p"; echo "$$p"; else :; fi; \
445 done | \
446 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
447 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
448 sed 'N;N;N;s,\n, ,g' | \
449 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
450 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
451 if ($$2 == $$4) files[d] = files[d] " " $$1; \
452 else { print "f", $$3 "/" $$4, $$1; } } \
453 END { for (d in files) print "f", d, files[d] }' | \
454 while read type dir files; do \
455 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
456 test -z "$$files" || { \
457 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
458 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
459 } \
460 ; done
461
462uninstall-binPROGRAMS:
463 @$(NORMAL_UNINSTALL)
464 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
465 files=`for p in $$list; do echo "$$p"; done | \
466 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
467 -e 's/$$/$(EXEEXT)/' `; \
468 test -n "$$list" || exit 0; \
469 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
470 cd "$(DESTDIR)$(bindir)" && rm -f $$files
471
472clean-binPROGRAMS:
473 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
474 echo " rm -f" $$list; \
475 rm -f $$list || exit $$?; \
476 test -n "$(EXEEXT)" || exit 0; \
477 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
478 echo " rm -f" $$list; \
479 rm -f $$list
480
481clean-checkPROGRAMS:
482 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
483 echo " rm -f" $$list; \
484 rm -f $$list || exit $$?; \
485 test -n "$(EXEEXT)" || exit 0; \
486 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
487 echo " rm -f" $$list; \
488 rm -f $$list
489
490mostlyclean-compile:
491 -rm -f *.$(OBJEXT)
492
493distclean-compile:
494 -rm -f *.tab.c
495
496mostlyclean-libtool:
497 -rm -f *.lo
498
499clean-libtool:
500 -rm -rf .libs _libs
031a15b2 501install-nobase_dist_pkglispsrcDATA: $(nobase_dist_pkglispsrc_DATA)
5dff0f1f 502 @$(NORMAL_INSTALL)
031a15b2 503 @list='$(nobase_dist_pkglispsrc_DATA)'; test -n "$(pkglispsrcdir)" || list=; \
5dff0f1f
MW
504 if test -n "$$list"; then \
505 echo " $(MKDIR_P) '$(DESTDIR)$(pkglispsrcdir)'"; \
506 $(MKDIR_P) "$(DESTDIR)$(pkglispsrcdir)" || exit 1; \
507 fi; \
031a15b2
MW
508 $(am__nobase_list) | while read dir files; do \
509 xfiles=; for file in $$files; do \
510 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
511 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
512 test -z "$$xfiles" || { \
513 test "x$$dir" = x. || { \
514 echo " $(MKDIR_P) '$(DESTDIR)$(pkglispsrcdir)/$$dir'"; \
515 $(MKDIR_P) "$(DESTDIR)$(pkglispsrcdir)/$$dir"; }; \
516 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(pkglispsrcdir)/$$dir'"; \
517 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(pkglispsrcdir)/$$dir" || exit $$?; }; \
5dff0f1f
MW
518 done
519
031a15b2 520uninstall-nobase_dist_pkglispsrcDATA:
5dff0f1f 521 @$(NORMAL_UNINSTALL)
031a15b2
MW
522 @list='$(nobase_dist_pkglispsrc_DATA)'; test -n "$(pkglispsrcdir)" || list=; \
523 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
5dff0f1f
MW
524 dir='$(DESTDIR)$(pkglispsrcdir)'; $(am__uninstall_files_from_dir)
525install-pkgincludeHEADERS: $(pkginclude_HEADERS)
526 @$(NORMAL_INSTALL)
527 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
528 if test -n "$$list"; then \
529 echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \
530 $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \
531 fi; \
532 for p in $$list; do \
533 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
534 echo "$$d$$p"; \
535 done | $(am__base_list) | \
536 while read files; do \
537 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
538 $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \
539 done
540
541uninstall-pkgincludeHEADERS:
542 @$(NORMAL_UNINSTALL)
543 @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \
544 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
545 dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir)
546tags: TAGS
547TAGS:
548
549ctags: CTAGS
550CTAGS:
551
552
553distdir: $(DISTFILES)
554 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
555 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
556 list='$(DISTFILES)'; \
557 dist_files=`for file in $$list; do echo $$file; done | \
558 sed -e "s|^$$srcdirstrip/||;t" \
559 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
560 case $$dist_files in \
561 */*) $(MKDIR_P) `echo "$$dist_files" | \
562 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
563 sort -u` ;; \
564 esac; \
565 for file in $$dist_files; do \
566 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
567 if test -d $$d/$$file; then \
568 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
569 if test -d "$(distdir)/$$file"; then \
570 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
571 fi; \
572 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
573 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
574 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
575 fi; \
576 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
577 else \
578 test -f "$(distdir)/$$file" \
579 || cp -p $$d/$$file "$(distdir)/$$file" \
580 || exit 1; \
581 fi; \
582 done
583check-am: all-am
584 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
031a15b2 585 $(MAKE) $(AM_MAKEFLAGS) check-local
5dff0f1f
MW
586check: $(BUILT_SOURCES)
587 $(MAKE) $(AM_MAKEFLAGS) check-am
588all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
589installdirs:
590 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglispsrcdir)" "$(DESTDIR)$(pkgincludedir)"; do \
591 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
592 done
593install: $(BUILT_SOURCES)
594 $(MAKE) $(AM_MAKEFLAGS) install-am
595install-exec: install-exec-am
596install-data: install-data-am
597uninstall: uninstall-am
598
599install-am: all-am
600 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
601
602installcheck: installcheck-am
603install-strip:
604 if test -z '$(STRIP)'; then \
605 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
606 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
607 install; \
608 else \
609 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
610 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
611 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
612 fi
613mostlyclean-generic:
614
615clean-generic:
616 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
617
618distclean-generic:
619 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
620 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
621 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
622
623maintainer-clean-generic:
624 @echo "This command is intended for maintainers to use"
625 @echo "it deletes files that may require special tools to rebuild."
626 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
627 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
628clean: clean-am
629
630clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
631 clean-libtool mostlyclean-am
632
633distclean: distclean-am
634 -rm -f Makefile
635distclean-am: clean-am distclean-compile distclean-generic
636
637dvi: dvi-am
638
639dvi-am:
640
641html: html-am
642
643html-am:
644
645info: info-am
646
647info-am:
648
031a15b2 649install-data-am: install-data-local install-nobase_dist_pkglispsrcDATA \
5dff0f1f
MW
650 install-pkgincludeHEADERS
651
652install-dvi: install-dvi-am
653
654install-dvi-am:
655
656install-exec-am: install-binPROGRAMS
657
658install-html: install-html-am
659
660install-html-am:
661
662install-info: install-info-am
663
664install-info-am:
665
666install-man:
667
668install-pdf: install-pdf-am
669
670install-pdf-am:
671
672install-ps: install-ps-am
673
674install-ps-am:
675
676installcheck-am:
677
678maintainer-clean: maintainer-clean-am
679 -rm -f Makefile
680maintainer-clean-am: distclean-am maintainer-clean-generic
681
682mostlyclean: mostlyclean-am
683
684mostlyclean-am: mostlyclean-compile mostlyclean-generic \
685 mostlyclean-libtool
686
687pdf: pdf-am
688
689pdf-am:
690
691ps: ps-am
692
693ps-am:
694
031a15b2
MW
695uninstall-am: uninstall-binPROGRAMS \
696 uninstall-nobase_dist_pkglispsrcDATA \
5dff0f1f
MW
697 uninstall-pkgincludeHEADERS
698
699.MAKE: all check check-am install install-am install-strip
700
031a15b2 701.PHONY: all all-am check check-am check-local clean clean-binPROGRAMS \
5dff0f1f
MW
702 clean-checkPROGRAMS clean-generic clean-libtool distclean \
703 distclean-compile distclean-generic distclean-libtool distdir \
704 dvi dvi-am html html-am info info-am install install-am \
705 install-binPROGRAMS install-data install-data-am \
031a15b2
MW
706 install-data-local install-dvi install-dvi-am install-exec \
707 install-exec-am install-html install-html-am install-info \
708 install-info-am install-man install-nobase_dist_pkglispsrcDATA \
5dff0f1f
MW
709 install-pdf install-pdf-am install-pkgincludeHEADERS \
710 install-ps install-ps-am install-strip installcheck \
711 installcheck-am installdirs maintainer-clean \
712 maintainer-clean-generic mostlyclean mostlyclean-compile \
713 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
714 uninstall uninstall-am uninstall-binPROGRAMS \
031a15b2
MW
715 uninstall-nobase_dist_pkglispsrcDATA \
716 uninstall-pkgincludeHEADERS
5dff0f1f 717
031a15b2
MW
718.sod.c: $(SOD); $(V_SOD_c)$(SOD) -tc $<
719.sod.h: $(SOD); $(V_SOD_h)$(SOD) -th $<
5dff0f1f
MW
720
721###----- That's all, folks --------------------------------------------------
031a15b2
MW
722sod: $(LISP_SOURCES)
723 $(V_DUMP)true_srcdir=$$(cd $(srcdir); pwd); \
5dff0f1f 724 ASDF_OUTPUT_TRANSLATIONS=$$true_srcdir:$(abs_builddir): \
031a15b2 725 $(CL_LAUNCH) -o sod -d ! -l $(LISPSYS) +I -S $$true_srcdir/: \
5dff0f1f
MW
726 -s sod-frontend -r sod-frontend:main
727
031a15b2
MW
728check-local:
729 $(V_TEST)true_srcdir=$$(cd $(srcdir); pwd); \
730 ASDF_OUTPUT_TRANSLATIONS=$$true_srcdir:$(abs_builddir): \
731 $(CL_LAUNCH) -l $(LISPSYS) -s sod-test +I -S $$true_srcdir/: \
732 -i '(handler-case ;\
733 (progn ;\
734 (setf sod-test:*build-version* "$(VERSION)") ;\
735 (asdf:test-system "sod")) ;\
736 (error (cond) ;\
737 (format *error-output* "ERR: ~A~%" cond) ;\
738 (cl-launch:quit 1)))'
739
5dff0f1f
MW
740###--------------------------------------------------------------------------
741### Installation.
742
743install-data-local:
744 $(MKDIR_P) $(DESTDIR)$(lispsysdir)
745 @set -e; \
746 from=$(lispsysdir) to=$(pkglispsrcdir)/sod.asd; \
747 set -- $$(echo $$from | tr "/" " "); fwd=$$*; \
748 set -- $$(echo $$to | tr "/" " "); twd=$$*; \
749 while :; do \
750 set -- $$fwd; fhd=$$1 fn=$$#; \
751 set -- $$twd; thd=$$1 tn=$$#; \
752 case :$$fn:$$tn: in *:0:*) break ;; esac; \
753 case "$$fhd" in "$$thd") ;; *) break ;; esac; \
754 set -- $$fwd; shift; fwd=$$*; \
755 set -- $$twd; shift; twd=$$*; \
756 done; \
757 dots=$$(echo $$fwd | sed 's/[^ ][^ ]*/../g'); \
758 rel=$$(echo $$dots $$twd | tr " " "/"); \
759 echo >&2 "ln -s $$rel $$to"; \
031a15b2
MW
760 ln -s $$rel $(DESTDIR)$$from/sod.asd.new; \
761 mv $(DESTDIR)$$from/sod.asd.new $(DESTDIR)$$from/sod.asd
5dff0f1f
MW
762
763###----- That's all, folks --------------------------------------------------
764
765# Tell versions [3.59,3.63) of GNU make to not export all variables.
766# Otherwise a system limit (for SysV at least) may be exceeded.
767.NOEXPORT: