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 = $(nobase_dist_pkglispsrc_DATA) $(pkginclude_HEADERS) \
110 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
111 $(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
332 ###--------------------------------------------------------------------------
333 ### Include and library path.
334 SOD_INCLUDES = \
335 -I$(top_srcdir)/lib -I$(top_builddir)/lib
336
337 AM_CPPFLAGS = $(SOD_INCLUDES)
338 LDADD = $(top_builddir)/lib/libsod.la
339
340 ###--------------------------------------------------------------------------
341 ### Standard configuration substitutions.
342 confsubst = $(top_srcdir)/config/confsubst
343 SUBSTITUTIONS = \
344 prefix=$(prefix) exec_prefix=$(exec_prefix) \
345 libdir=$(libdir) includedir=$(includedir) \
346 bindir=$(bindir) sbindir=$(sbindir) \
347 PACKAGE=$(PACKAGE) VERSION=$(VERSION)
348
349 V_SUBST = $(V_SUBST_$(V))
350 V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
351 V_SUBST_0 = @echo " SUBST $@";
352 SUBST = $(V_SUBST)$(confsubst)
353
354 ###--------------------------------------------------------------------------
355 ### Translating SOD input files.
356 SOD = $(top_builddir)/src/sod
357 V_SOD_c = $(V_SOD_c_$(V))
358 V_SOD_c_ = $(V_SOD_c_$(AM_DEFAULT_VERBOSITY))
359 V_SOD_c_0 = @echo " SOD[c] $@";
360 V_SOD_h = $(V_SOD_h_$(V))
361 V_SOD_h_ = $(V_SOD_h_$(AM_DEFAULT_VERBOSITY))
362 V_SOD_h_0 = @echo " SOD[h] $@";
363
364 ###--------------------------------------------------------------------------
365 ### Silent rules for Lisp.
366 V_DUMP = $(V_DUMP_$(V))
367 V_DUMP_ = $(V_DUMP_$(AM_DEFAULT_VERBOSITY))
368 V_DUMP_0 = @echo " DUMP $@";
369 V_TEST = $(V_TEST_$(V))
370 V_TEST_ = $(V_TEST_$(AM_DEFAULT_VERBOSITY))
371 V_TEST_0 = @echo " TEST $@";
372 nobase_dist_pkglispsrc_DATA = $(LISP_SOURCES)
373
374 ###--------------------------------------------------------------------------
375 ### The source files.
376 LISP_SOURCES = sod.asd package.lisp utilities.lisp parser/package.lisp \
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 \
395 method-aggregate.lisp sod-frontend.asd frontend.lisp \
396 optparse.lisp debug.lisp
397 sod_SOURCES =
398 all: $(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
416 Makefile: $(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):
434 install-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
462 uninstall-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
472 clean-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
481 clean-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
490 mostlyclean-compile:
491 -rm -f *.$(OBJEXT)
492
493 distclean-compile:
494 -rm -f *.tab.c
495
496 mostlyclean-libtool:
497 -rm -f *.lo
498
499 clean-libtool:
500 -rm -rf .libs _libs
501 install-nobase_dist_pkglispsrcDATA: $(nobase_dist_pkglispsrc_DATA)
502 @$(NORMAL_INSTALL)
503 @list='$(nobase_dist_pkglispsrc_DATA)'; test -n "$(pkglispsrcdir)" || list=; \
504 if test -n "$$list"; then \
505 echo " $(MKDIR_P) '$(DESTDIR)$(pkglispsrcdir)'"; \
506 $(MKDIR_P) "$(DESTDIR)$(pkglispsrcdir)" || exit 1; \
507 fi; \
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 $$?; }; \
518 done
519
520 uninstall-nobase_dist_pkglispsrcDATA:
521 @$(NORMAL_UNINSTALL)
522 @list='$(nobase_dist_pkglispsrc_DATA)'; test -n "$(pkglispsrcdir)" || list=; \
523 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
524 dir='$(DESTDIR)$(pkglispsrcdir)'; $(am__uninstall_files_from_dir)
525 install-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
541 uninstall-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)
546 tags: TAGS
547 TAGS:
548
549 ctags: CTAGS
550 CTAGS:
551
552
553 distdir: $(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
583 check-am: all-am
584 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
585 $(MAKE) $(AM_MAKEFLAGS) check-local
586 check: $(BUILT_SOURCES)
587 $(MAKE) $(AM_MAKEFLAGS) check-am
588 all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS)
589 installdirs:
590 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglispsrcdir)" "$(DESTDIR)$(pkgincludedir)"; do \
591 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
592 done
593 install: $(BUILT_SOURCES)
594 $(MAKE) $(AM_MAKEFLAGS) install-am
595 install-exec: install-exec-am
596 install-data: install-data-am
597 uninstall: uninstall-am
598
599 install-am: all-am
600 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
601
602 installcheck: installcheck-am
603 install-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
613 mostlyclean-generic:
614
615 clean-generic:
616 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
617
618 distclean-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
623 maintainer-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)
628 clean: clean-am
629
630 clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
631 clean-libtool mostlyclean-am
632
633 distclean: distclean-am
634 -rm -f Makefile
635 distclean-am: clean-am distclean-compile distclean-generic
636
637 dvi: dvi-am
638
639 dvi-am:
640
641 html: html-am
642
643 html-am:
644
645 info: info-am
646
647 info-am:
648
649 install-data-am: install-data-local install-nobase_dist_pkglispsrcDATA \
650 install-pkgincludeHEADERS
651
652 install-dvi: install-dvi-am
653
654 install-dvi-am:
655
656 install-exec-am: install-binPROGRAMS
657
658 install-html: install-html-am
659
660 install-html-am:
661
662 install-info: install-info-am
663
664 install-info-am:
665
666 install-man:
667
668 install-pdf: install-pdf-am
669
670 install-pdf-am:
671
672 install-ps: install-ps-am
673
674 install-ps-am:
675
676 installcheck-am:
677
678 maintainer-clean: maintainer-clean-am
679 -rm -f Makefile
680 maintainer-clean-am: distclean-am maintainer-clean-generic
681
682 mostlyclean: mostlyclean-am
683
684 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
685 mostlyclean-libtool
686
687 pdf: pdf-am
688
689 pdf-am:
690
691 ps: ps-am
692
693 ps-am:
694
695 uninstall-am: uninstall-binPROGRAMS \
696 uninstall-nobase_dist_pkglispsrcDATA \
697 uninstall-pkgincludeHEADERS
698
699 .MAKE: all check check-am install install-am install-strip
700
701 .PHONY: all all-am check check-am check-local clean clean-binPROGRAMS \
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 \
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 \
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 \
715 uninstall-nobase_dist_pkglispsrcDATA \
716 uninstall-pkgincludeHEADERS
717
718 .sod.c: $(SOD); $(V_SOD_c)$(SOD) -tc $<
719 .sod.h: $(SOD); $(V_SOD_h)$(SOD) -th $<
720
721 ###----- That's all, folks --------------------------------------------------
722 sod: $(LISP_SOURCES)
723 $(V_DUMP)true_srcdir=$$(cd $(srcdir); pwd); \
724 ASDF_OUTPUT_TRANSLATIONS=$$true_srcdir:$(abs_builddir): \
725 $(CL_LAUNCH) -o sod -d ! -l $(LISPSYS) +I -S $$true_srcdir/: \
726 -s sod-frontend -r sod-frontend:main
727
728 check-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
740 ###--------------------------------------------------------------------------
741 ### Installation.
742
743 install-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"; \
760 ln -s $$rel $(DESTDIR)$$from/sod.asd.new; \
761 mv $(DESTDIR)$$from/sod.asd.new $(DESTDIR)$$from/sod.asd
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: