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