Commit | Line | Data |
---|---|---|
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 | ||
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@ | |
dfdcf6ca MW |
109 | DIST_COMMON = $(dist_man_MANS) $(nobase_dist_pkglispsrc_DATA) \ |
110 | $(pkginclude_HEADERS) $(srcdir)/Makefile.am \ | |
111 | $(srcdir)/Makefile.in $(top_srcdir)/vars.am | |
5dff0f1f MW |
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 | } | |
031a15b2 | 189 | DATA = $(nobase_dist_pkglispsrc_DATA) |
5dff0f1f MW |
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@ | |
03ff6477 | 196 | ASDF_VERSION = @ASDF_VERSION@ |
5dff0f1f MW |
197 | AUTOCONF = @AUTOCONF@ |
198 | AUTOHEADER = @AUTOHEADER@ | |
199 | AUTOMAKE = @AUTOMAKE@ | |
200 | AWK = @AWK@ | |
201 | CC = @CC@ | |
202 | CCDEPMODE = @CCDEPMODE@ | |
203 | CFLAGS = @CFLAGS@ | |
204 | CL_LAUNCH = @CL_LAUNCH@ | |
205 | CPP = @CPP@ | |
206 | CPPFLAGS = @CPPFLAGS@ | |
207 | CYGPATH_W = @CYGPATH_W@ | |
208 | DEFS = @DEFS@ | |
209 | DEPDIR = @DEPDIR@ | |
210 | DLLTOOL = @DLLTOOL@ | |
211 | DSYMUTIL = @DSYMUTIL@ | |
212 | DUMPBIN = @DUMPBIN@ | |
213 | ECHO_C = @ECHO_C@ | |
214 | ECHO_N = @ECHO_N@ | |
215 | ECHO_T = @ECHO_T@ | |
216 | EGREP = @EGREP@ | |
217 | EXEEXT = @EXEEXT@ | |
5dff0f1f MW |
218 | FGREP = @FGREP@ |
219 | GREP = @GREP@ | |
220 | INSTALL = @INSTALL@ | |
221 | INSTALL_DATA = @INSTALL_DATA@ | |
222 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
223 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
224 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
225 | LD = @LD@ | |
226 | LDFLAGS = @LDFLAGS@ | |
227 | LIBOBJS = @LIBOBJS@ | |
228 | LIBS = @LIBS@ | |
229 | LIBTOOL = @LIBTOOL@ | |
230 | LIBTOOL_VERSION_INFO = @LIBTOOL_VERSION_INFO@ | |
231 | LIPO = @LIPO@ | |
232 | LISPSYS = @LISPSYS@ | |
233 | LN_S = @LN_S@ | |
234 | LTLIBOBJS = @LTLIBOBJS@ | |
235 | MAKEINFO = @MAKEINFO@ | |
236 | MANIFEST_TOOL = @MANIFEST_TOOL@ | |
237 | MKDIR_P = @MKDIR_P@ | |
238 | NM = @NM@ | |
239 | NMEDIT = @NMEDIT@ | |
240 | OBJDUMP = @OBJDUMP@ | |
241 | OBJEXT = @OBJEXT@ | |
242 | OTOOL = @OTOOL@ | |
243 | OTOOL64 = @OTOOL64@ | |
244 | PACKAGE = @PACKAGE@ | |
245 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
246 | PACKAGE_NAME = @PACKAGE_NAME@ | |
247 | PACKAGE_STRING = @PACKAGE_STRING@ | |
248 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
249 | PACKAGE_URL = @PACKAGE_URL@ | |
250 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
251 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
252 | RANLIB = @RANLIB@ | |
253 | SED = @SED@ | |
254 | SET_MAKE = @SET_MAKE@ | |
255 | SHELL = @SHELL@ | |
256 | STRIP = @STRIP@ | |
257 | VERSION = @VERSION@ | |
258 | abs_builddir = @abs_builddir@ | |
259 | abs_srcdir = @abs_srcdir@ | |
260 | abs_top_builddir = @abs_top_builddir@ | |
261 | abs_top_srcdir = @abs_top_srcdir@ | |
262 | ac_ct_AR = @ac_ct_AR@ | |
263 | ac_ct_CC = @ac_ct_CC@ | |
264 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | |
265 | am__include = @am__include@ | |
266 | am__leading_dot = @am__leading_dot@ | |
267 | am__quote = @am__quote@ | |
268 | am__tar = @am__tar@ | |
269 | am__untar = @am__untar@ | |
270 | bindir = @bindir@ | |
271 | build = @build@ | |
272 | build_alias = @build_alias@ | |
273 | build_cpu = @build_cpu@ | |
274 | build_os = @build_os@ | |
275 | build_vendor = @build_vendor@ | |
276 | builddir = @builddir@ | |
277 | datadir = @datadir@ | |
278 | datarootdir = @datarootdir@ | |
279 | docdir = @docdir@ | |
280 | dvidir = @dvidir@ | |
281 | exec_prefix = @exec_prefix@ | |
031a15b2 | 282 | fasl = @fasl@ |
5dff0f1f MW |
283 | host = @host@ |
284 | host_alias = @host_alias@ | |
285 | host_cpu = @host_cpu@ | |
286 | host_os = @host_os@ | |
287 | host_vendor = @host_vendor@ | |
288 | htmldir = @htmldir@ | |
289 | includedir = @includedir@ | |
290 | infodir = @infodir@ | |
291 | install_sh = @install_sh@ | |
292 | libdir = @libdir@ | |
293 | libexecdir = @libexecdir@ | |
294 | lispsrcdir = @lispsrcdir@ | |
295 | lispsysdir = @lispsysdir@ | |
296 | localedir = @localedir@ | |
297 | localstatedir = @localstatedir@ | |
298 | mandir = @mandir@ | |
299 | mkdir_p = @mkdir_p@ | |
300 | oldincludedir = @oldincludedir@ | |
301 | pdfdir = @pdfdir@ | |
302 | prefix = @prefix@ | |
303 | program_transform_name = @program_transform_name@ | |
304 | psdir = @psdir@ | |
305 | sbindir = @sbindir@ | |
306 | sharedstatedir = @sharedstatedir@ | |
307 | srcdir = @srcdir@ | |
308 | sysconfdir = @sysconfdir@ | |
309 | target_alias = @target_alias@ | |
310 | top_build_prefix = @top_build_prefix@ | |
311 | top_builddir = @top_builddir@ | |
312 | top_srcdir = @top_srcdir@ | |
313 | pkglispsrcdir = $(lispsrcdir)/$(PACKAGE) | |
314 | ||
315 | ###-------------------------------------------------------------------------- | |
316 | ### Initial values for common variables. | |
031a15b2 MW |
317 | |
318 | ###-------------------------------------------------------------------------- | |
319 | ### Unit testing. | |
03ff6477 MW |
320 | EXTRA_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 |
327 | CLEANFILES = $(BUILT_SOURCES) *.$(fasl) parser/*.$(fasl) auto.lisp \ |
328 | sod.asd sod-frontend.asd sod-test.asd | |
5dff0f1f MW |
329 | DISTCLEANFILES = |
330 | MAINTAINERCLEANFILES = | |
331 | SUFFIXES = .c .h .sod | |
332 | BUILT_SOURCES = | |
333 | pkginclude_HEADERS = | |
dfdcf6ca | 334 | dist_man_MANS = |
5dff0f1f MW |
335 | |
336 | ###-------------------------------------------------------------------------- | |
337 | ### Include and library path. | |
338 | SOD_INCLUDES = \ | |
339 | -I$(top_srcdir)/lib -I$(top_builddir)/lib | |
340 | ||
341 | AM_CPPFLAGS = $(SOD_INCLUDES) | |
342 | LDADD = $(top_builddir)/lib/libsod.la | |
343 | ||
344 | ###-------------------------------------------------------------------------- | |
031a15b2 MW |
345 | ### Standard configuration substitutions. |
346 | confsubst = $(top_srcdir)/config/confsubst | |
347 | SUBSTITUTIONS = \ | |
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 | |
354 | V_SUBST = $(V_SUBST_$(V)) | |
355 | V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY)) | |
356 | V_SUBST_0 = @echo " SUBST $@"; | |
357 | SUBST = $(V_SUBST)$(confsubst) | |
358 | ||
359 | ###-------------------------------------------------------------------------- | |
5dff0f1f MW |
360 | ### Translating SOD input files. |
361 | SOD = $(top_builddir)/src/sod | |
031a15b2 MW |
362 | V_SOD_c = $(V_SOD_c_$(V)) |
363 | V_SOD_c_ = $(V_SOD_c_$(AM_DEFAULT_VERBOSITY)) | |
364 | V_SOD_c_0 = @echo " SOD[c] $@"; | |
365 | V_SOD_h = $(V_SOD_h_$(V)) | |
366 | V_SOD_h_ = $(V_SOD_h_$(AM_DEFAULT_VERBOSITY)) | |
367 | V_SOD_h_0 = @echo " SOD[h] $@"; | |
368 | ||
369 | ###-------------------------------------------------------------------------- | |
370 | ### Silent rules for Lisp. | |
371 | V_DUMP = $(V_DUMP_$(V)) | |
372 | V_DUMP_ = $(V_DUMP_$(AM_DEFAULT_VERBOSITY)) | |
373 | V_DUMP_0 = @echo " DUMP $@"; | |
374 | V_TEST = $(V_TEST_$(V)) | |
375 | V_TEST_ = $(V_TEST_$(AM_DEFAULT_VERBOSITY)) | |
376 | V_TEST_0 = @echo " TEST $@"; | |
377 | nobase_dist_pkglispsrc_DATA = $(LISP_SOURCES) | |
5dff0f1f MW |
378 | |
379 | ###-------------------------------------------------------------------------- | |
380 | ### The source files. | |
03ff6477 | 381 | LISP_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 |
401 | SYSDEFS = | |
5dff0f1f MW |
402 | sod_SOURCES = |
403 | all: $(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 | |
421 | Makefile: $(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): | |
439 | install-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 | ||
467 | uninstall-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 | ||
477 | clean-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 | ||
486 | clean-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 | ||
495 | mostlyclean-compile: | |
496 | -rm -f *.$(OBJEXT) | |
497 | ||
498 | distclean-compile: | |
499 | -rm -f *.tab.c | |
500 | ||
501 | mostlyclean-libtool: | |
502 | -rm -f *.lo | |
503 | ||
504 | clean-libtool: | |
505 | -rm -rf .libs _libs | |
031a15b2 | 506 | install-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 | 525 | uninstall-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) |
530 | install-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 | ||
546 | uninstall-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) | |
551 | tags: TAGS | |
552 | TAGS: | |
553 | ||
554 | ctags: CTAGS | |
555 | CTAGS: | |
556 | ||
557 | ||
558 | distdir: $(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 | |
588 | check-am: all-am | |
589 | $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) | |
031a15b2 | 590 | $(MAKE) $(AM_MAKEFLAGS) check-local |
5dff0f1f MW |
591 | check: $(BUILT_SOURCES) |
592 | $(MAKE) $(AM_MAKEFLAGS) check-am | |
593 | all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS) | |
594 | installdirs: | |
595 | for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglispsrcdir)" "$(DESTDIR)$(pkgincludedir)"; do \ | |
596 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |
597 | done | |
598 | install: $(BUILT_SOURCES) | |
599 | $(MAKE) $(AM_MAKEFLAGS) install-am | |
600 | install-exec: install-exec-am | |
601 | install-data: install-data-am | |
602 | uninstall: uninstall-am | |
603 | ||
604 | install-am: all-am | |
605 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
606 | ||
607 | installcheck: installcheck-am | |
608 | install-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 | |
618 | mostlyclean-generic: | |
619 | ||
620 | clean-generic: | |
621 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | |
622 | ||
623 | distclean-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 | ||
628 | maintainer-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) | |
633 | clean: clean-am | |
634 | ||
635 | clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ | |
636 | clean-libtool mostlyclean-am | |
637 | ||
638 | distclean: distclean-am | |
639 | -rm -f Makefile | |
640 | distclean-am: clean-am distclean-compile distclean-generic | |
641 | ||
642 | dvi: dvi-am | |
643 | ||
644 | dvi-am: | |
645 | ||
646 | html: html-am | |
647 | ||
648 | html-am: | |
649 | ||
650 | info: info-am | |
651 | ||
652 | info-am: | |
653 | ||
031a15b2 | 654 | install-data-am: install-data-local install-nobase_dist_pkglispsrcDATA \ |
5dff0f1f MW |
655 | install-pkgincludeHEADERS |
656 | ||
657 | install-dvi: install-dvi-am | |
658 | ||
659 | install-dvi-am: | |
660 | ||
661 | install-exec-am: install-binPROGRAMS | |
662 | ||
663 | install-html: install-html-am | |
664 | ||
665 | install-html-am: | |
666 | ||
667 | install-info: install-info-am | |
668 | ||
669 | install-info-am: | |
670 | ||
671 | install-man: | |
672 | ||
673 | install-pdf: install-pdf-am | |
674 | ||
675 | install-pdf-am: | |
676 | ||
677 | install-ps: install-ps-am | |
678 | ||
679 | install-ps-am: | |
680 | ||
681 | installcheck-am: | |
682 | ||
683 | maintainer-clean: maintainer-clean-am | |
684 | -rm -f Makefile | |
685 | maintainer-clean-am: distclean-am maintainer-clean-generic | |
686 | ||
687 | mostlyclean: mostlyclean-am | |
688 | ||
689 | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | |
690 | mostlyclean-libtool | |
691 | ||
692 | pdf: pdf-am | |
693 | ||
694 | pdf-am: | |
695 | ||
696 | ps: ps-am | |
697 | ||
698 | ps-am: | |
699 | ||
03ff6477 | 700 | uninstall-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 |
727 | auto.lisp: auto.lisp.in Makefile |
728 | $(SUBST) $(srcdir)/auto.lisp.in >$@.new $(SUBSTITUTIONS) && \ | |
729 | grep '^[^;]' $@.new >$@.strip && \ | |
730 | rm -f $@.new && mv $@.strip $@ | |
731 | sod.asd: sod.asd.in Makefile | |
732 | $(SUBST) $(srcdir)/sod.asd.in >$@.new $(SUBSTITUTIONS) && \ | |
733 | mv $@.new $@ | |
734 | sod-frontend.asd: sod-frontend.asd.in Makefile | |
735 | $(SUBST) $(srcdir)/sod-frontend.asd.in >$@.new $(SUBSTITUTIONS) && \ | |
736 | mv $@.new $@ | |
737 | sod: $(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 |
740 | sod-test.asd: sod-test.asd.in Makefile |
741 | $(SUBST) $(srcdir)/sod-test.asd.in >$@.new $(SUBSTITUTIONS) && \ | |
742 | mv $@.new $@ | |
5dff0f1f | 743 | |
03ff6477 MW |
744 | check-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 | ||
754 | install-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 | ||
782 | uninstall-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: |