1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
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.
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
20 ### Build script for the SOD translator
22 ### (c) 2015 Straylight/Edgeware
25 ###----- Licensing notice ---------------------------------------------------
27 ### This file is part of the Sensble Object Design, an object system for C.
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.
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.
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.
45 ### Common variable definitions for build scripts
47 ### (c) 2015 Straylight/Edgeware
50 ###----- Licensing notice ---------------------------------------------------
52 ### This file is part of the Sensble Object Design, an object system for C.
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.
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.
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.
68 ###--------------------------------------------------------------------------
69 ### Miscellaneous useful definitions.
79 echo
'am--echo: ; @echo "AM" OK' |
$(MAKE
) -f
- 2>/dev
/null \
80 | grep
'^AM OK$$' >/dev
/null || am__dry
=yes
;; \
82 for am__flg in
$$MAKEFLAGS; do \
85 *n
*) am__dry
=yes
; break
;; \
89 test $$am__dry = yes
; \
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
)
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
)
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
) \
119 mkinstalldirs
= $(install_sh
) -d
121 CONFIG_CLEAN_VPATH_FILES
=
122 am__installdirs
= "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglispsrcdir)" \
123 "$(DESTDIR)$(pkgincludedir)"
124 PROGRAMS
= $(bin_PROGRAMS
)
126 sod_OBJECTS
= $(am_sod_OBJECTS
)
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@
)
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 \
160 *) (install-info
--version
) >/dev
/null
2>&1;; \
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/||"`;; \
167 am__strip_dir
= f
=`echo $$p | sed -e 's|^.*/||'`;
169 am__nobase_strip_setup
= \
170 srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
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] }'
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
= { \
185 ||
{ test ! -d
"$$dir" && test ! -f
"$$dir" && test ! -r
"$$dir"; } \
186 ||
{ echo
" ( cd '$$dir' && rm -f" $$files ")"; \
187 $(am__cd
) "$$dir" && rm -f
$$files; }; \
189 DATA
= $(nobase_dist_pkglispsrc_DATA
)
190 HEADERS
= $(pkginclude_HEADERS
)
191 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
194 AM_DEFAULT_VERBOSITY
= @AM_DEFAULT_VERBOSITY@
196 AUTOCONF
= @AUTOCONF@
197 AUTOHEADER
= @AUTOHEADER@
198 AUTOMAKE
= @AUTOMAKE@
201 CCDEPMODE
= @CCDEPMODE@
203 CL_LAUNCH
= @CL_LAUNCH@
205 CPPFLAGS
= @CPPFLAGS@
206 CYGPATH_W
= @CYGPATH_W@
210 DSYMUTIL
= @DSYMUTIL@
220 INSTALL_DATA
= @INSTALL_DATA@
221 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
222 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
223 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
229 LIBTOOL_VERSION_INFO
= @LIBTOOL_VERSION_INFO@
233 LTLIBOBJS
= @LTLIBOBJS@
234 MAKEINFO
= @MAKEINFO@
235 MANIFEST_TOOL
= @MANIFEST_TOOL@
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@
253 SET_MAKE
= @SET_MAKE@
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@
268 am__untar
= @am__untar@
271 build_alias
= @build_alias@
272 build_cpu
= @build_cpu@
273 build_os
= @build_os@
274 build_vendor
= @build_vendor@
275 builddir
= @builddir@
277 datarootdir
= @datarootdir@
280 exec_prefix = @
exec_prefix@
283 host_alias
= @host_alias@
284 host_cpu
= @host_cpu@
286 host_vendor
= @host_vendor@
288 includedir = @
includedir@
290 install_sh
= @install_sh@
292 libexecdir
= @libexecdir@
293 lispsrcdir
= @lispsrcdir@
294 lispsysdir
= @lispsysdir@
295 localedir
= @localedir@
296 localstatedir
= @localstatedir@
299 oldincludedir = @
oldincludedir@
302 program_transform_name
= @program_transform_name@
305 sharedstatedir
= @sharedstatedir@
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
)
314 ###--------------------------------------------------------------------------
315 ### Initial values for common variables.
317 ###--------------------------------------------------------------------------
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
323 ###--------------------------------------------------------------------------
324 ### Constructing an output image.
325 CLEANFILES
= $(BUILT_SOURCES
) *.
$(fasl
) parser
/*.
$(fasl
)
327 MAINTAINERCLEANFILES
=
328 SUFFIXES
= .c .h .sod
333 ###--------------------------------------------------------------------------
334 ### Include and library path.
336 -I
$(top_srcdir
)/lib
-I
$(top_builddir
)/lib
338 AM_CPPFLAGS
= $(SOD_INCLUDES
)
339 LDADD
= $(top_builddir
)/lib
/libsod.la
341 ###--------------------------------------------------------------------------
342 ### Standard configuration substitutions.
343 confsubst
= $(top_srcdir
)/config
/confsubst
345 prefix=$(prefix) exec_prefix=$(exec_prefix) \
346 libdir=$(libdir) includedir=$(includedir) \
347 bindir=$(bindir) sbindir
=$(sbindir
) \
348 PACKAGE
=$(PACKAGE
) VERSION
=$(VERSION
)
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
)
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] $@";
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
)
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
399 all: $(BUILT_SOURCES
)
400 $(MAKE
) $(AM_MAKEFLAGS
) all-am
403 .SUFFIXES
: .c .h .sod
404 $(srcdir)/Makefile.in
: $(srcdir)/Makefile.am
$(top_srcdir
)/vars.am
$(am__configure_deps
)
406 case
'$(am__configure_deps)' in \
408 ( cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
) \
409 && { if
test -f
$@
; then exit
0; else break
; fi
; }; \
413 echo
' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
414 $(am__cd
) $(top_srcdir
) && \
415 $(AUTOMAKE
) --foreign src
/Makefile
417 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
420 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
;; \
422 echo
' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
423 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$(subdir
)/$@
$(am__depfiles_maybe
);; \
425 $(top_srcdir
)/vars.am
:
427 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
428 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
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
)
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; \
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
; \
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
$$?
; \
463 uninstall-binPROGRAMS
:
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
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; \
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; \
502 install-nobase_dist_pkglispsrcDATA
: $(nobase_dist_pkglispsrc_DATA
)
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; \
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
$$?
; }; \
521 uninstall-nobase_dist_pkglispsrcDATA
:
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
)
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; \
533 for p in
$$list; do \
534 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
536 done |
$(am__base_list
) | \
537 while read files
; do \
538 echo
" $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \
539 $(INSTALL_HEADER
) $$files "$(DESTDIR)$(pkgincludedir)" || exit
$$?
; \
542 uninstall-pkgincludeHEADERS
:
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
)
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,/[^/]*$$,,' | \
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
{} \
;; \
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
{} \
;; \
577 cp
-fpR
$$d/$$file "$(distdir)$$dir" || exit
1; \
579 test -f
"$(distdir)/$$file" \
580 || cp
-p
$$d/$$file "$(distdir)/$$file" \
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
)
591 for
dir in
"$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglispsrcdir)" "$(DESTDIR)$(pkgincludedir)"; do \
592 test -z
"$$dir" ||
$(MKDIR_P
) "$$dir"; \
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
601 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
603 installcheck: installcheck-am
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 \
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; \
617 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
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
)
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
)
631 clean-am
: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
632 clean-libtool mostlyclean-am
634 distclean: distclean-am
636 distclean-am
: clean-am distclean-compile distclean-generic
650 install-data-am
: install-data-local install-nobase_dist_pkglispsrcDATA \
651 install-pkgincludeHEADERS
653 install-dvi
: install-dvi-am
657 install-exec-am
: install-binPROGRAMS
659 install-html
: install-html-am
663 install-info
: install-info-am
669 install-pdf
: install-pdf-am
673 install-ps
: install-ps-am
679 maintainer-clean
: maintainer-clean-am
681 maintainer-clean-am
: distclean-am maintainer-clean-generic
683 mostlyclean: mostlyclean-am
685 mostlyclean-am
: mostlyclean-compile mostlyclean-generic \
696 uninstall-am
: uninstall-binPROGRAMS \
697 uninstall-nobase_dist_pkglispsrcDATA \
698 uninstall-pkgincludeHEADERS
700 .MAKE
: all check check-am
install install-am install-strip
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
719 .sod.c
: $(SOD
); $(V_SOD_c
)$(SOD
) -tc
$<
720 .sod.h
: $(SOD
); $(V_SOD_h
)$(SOD
) -th
$<
722 ###----- That's all, folks --------------------------------------------------
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
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/: \
735 (setf sod-test:*build-version* "$(VERSION)") ;\
736 (asdf:test-system "sod")) ;\
738 (format *error-output* "ERR: ~A~%" cond) ;\
739 (cl-launch:quit 1)))'
741 ###--------------------------------------------------------------------------
745 $(MKDIR_P
) $(DESTDIR
)$(lispsysdir
)
747 from
=$(lispsysdir
) to
=$(pkglispsrcdir
)/sod.asd
; \
748 set
-- $$(echo
$$from | tr
"/" " "); fwd
=$$*; \
749 set
-- $$(echo
$$to | tr
"/" " "); twd
=$$*; \
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
=$$*; \
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
764 ###----- That's all, folks --------------------------------------------------
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.