1 # Makefile.in generated by automake 1.16.5 from Makefile.am.
4 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 if
test -z
'$(MAKELEVEL)'; then \
20 elif
test -n
'$(MAKE_HOST)'; then \
22 elif
test -n
'$(MAKE_VERSION)' && test -n
'$(CURDIR)'; then \
28 am__make_running_with_option
= \
29 case
$${target_option-
} in \
31 *) echo
"am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
36 sane_makeflags
=$$MAKEFLAGS; \
37 if
$(am__is_gnu_make
); then \
38 sane_makeflags
=$$MFLAGS; \
43 sane_makeflags
=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
50 flg
=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52 for flg in
$$sane_makeflags; do \
53 test $$skip_next = yes
&& { skip_next
=no
; continue
; }; \
56 -*I
) strip_trailopt
'I'; skip_next
=yes
;; \
57 -*I?
*) strip_trailopt
'I';; \
58 -*O
) strip_trailopt
'O'; skip_next
=yes
;; \
59 -*O?
*) strip_trailopt
'O';; \
60 -*l
) strip_trailopt
'l'; skip_next
=yes
;; \
61 -*l?
*) strip_trailopt
'l';; \
62 -[dEDm
]) skip_next
=yes
;; \
63 -[JT
]) skip_next
=yes
;; \
66 *$$target_option*) has_opt
=yes
; break
;; \
70 am__make_dryrun
= (target_option
=n
; $(am__make_running_with_option
))
71 am__make_keepgoing
= (target_option
=k
; $(am__make_running_with_option
))
72 pkgdatadir
= $(datadir)/@PACKAGE@
73 pkgincludedir
= $(includedir)/@PACKAGE@
74 pkglibdir
= $(libdir)/@PACKAGE@
75 pkglibexecdir
= $(libexecdir
)/@PACKAGE@
76 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA
= $(install_sh
) -c
-m
644
78 install_sh_PROGRAM
= $(install_sh
) -c
79 install_sh_SCRIPT
= $(install_sh
) -c
80 INSTALL_HEADER
= $(INSTALL_DATA
)
81 transform
= $(program_transform_name
)
88 @ENABLE_ENHANCED_PICS_TRUE@@ENABLE_EXTENDED_INSTRUCTIONS_TRUE@am__append_1
= libsdcc
/enhanced
89 @ENABLE_ENHANCED_PICS_TRUE@@ENABLE_EXTENDED_INSTRUCTIONS_FALSE@am__append_2
= libsdcc
/enhanced-no-xinst
90 @ENABLE_EXTENDED_INSTRUCTIONS_FALSE@am__append_3
= --no-extended-instructions
92 # extra flags when DEBUG is enabled
93 @ENABLE_DEBUG_TRUE@am__append_4
= --debug
--debug-xtra
--debug-ralloc
--debug-glue
94 @ENABLE_DEBUG_TRUE@am__append_5
= --debug-variadics
96 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
97 am__aclocal_m4_deps
= $(top_srcdir
)/configure.ac
98 am__configure_deps
= $(am__aclocal_m4_deps
) $(CONFIGURE_DEPENDENCIES
) \
100 DIST_COMMON
= $(srcdir)/Makefile.am
$(top_srcdir
)/configure \
101 $(am__configure_deps
) $(am__DIST_COMMON
)
102 am__CONFIG_DISTCLEAN_FILES
= config.status config.cache config.log \
103 configure.lineno config.status.lineno
104 mkinstalldirs
= $(install_sh
) -d
105 CONFIG_HEADER
= config.h
107 CONFIG_CLEAN_VPATH_FILES
=
108 AM_V_P
= $(am__v_P_@AM_V@
)
109 am__v_P_
= $(am__v_P_@AM_DEFAULT_V@
)
112 AM_V_GEN
= $(am__v_GEN_@AM_V@
)
113 am__v_GEN_
= $(am__v_GEN_@AM_DEFAULT_V@
)
114 am__v_GEN_0
= @echo
" GEN " $@
;
116 AM_V_at
= $(am__v_at_@AM_V@
)
117 am__v_at_
= $(am__v_at_@AM_DEFAULT_V@
)
121 am__maybe_remake_depfiles
=
124 RECURSIVE_TARGETS
= all-recursive check-recursive cscopelist-recursive \
125 ctags-recursive dvi-recursive html-recursive info-recursive \
126 install-data-recursive install-dvi-recursive \
127 install-exec-recursive install-html-recursive \
128 install-info-recursive install-pdf-recursive \
129 install-ps-recursive install-recursive installcheck-recursive \
130 installdirs-recursive pdf-recursive ps-recursive \
131 tags-recursive uninstall-recursive
132 am__can_run_installinfo
= \
133 case
$$AM_UPDATE_INFO_DIR in \
135 *) (install-info
--version
) >/dev
/null
2>&1;; \
137 RECURSIVE_CLEAN_TARGETS
= mostlyclean-recursive clean-recursive \
138 distclean-recursive maintainer-clean-recursive
139 am__recursive_targets
= \
140 $(RECURSIVE_TARGETS
) \
141 $(RECURSIVE_CLEAN_TARGETS
) \
142 $(am__extra_recursive_targets
)
143 AM_RECURSIVE_TARGETS
= $(am__recursive_targets
:-recursive
=) TAGS CTAGS \
144 cscope distdir distdir-am
dist dist-all distcheck
145 am__tagged_files
= $(HEADERS
) $(SOURCES
) $(TAGS_FILES
) $(LISP
) \
147 # Read a list of newline-separated strings from the standard input,
148 # and print each of them once, without duplicates. Input order is
150 am__uniquify_input
= $(AWK
) '\
151 BEGIN { nonempty = 0; } \
152 { items[$$0] = 1; nonempty = 1; } \
153 END { if (nonempty) { for (i in items) print i; }; } \
155 # Make sure the list of sources is unique. This is necessary because,
156 # e.g., the same source file might be shared among _SOURCES variables
157 # for different programs/libraries.
158 am__define_uniq_tagged_files
= \
159 list
='$(am__tagged_files)'; \
160 unique
=`for i in $$list; do \
161 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
162 done | $(am__uniquify_input)`
163 DIST_SUBDIRS
= libc libm libsdcc
/regular libsdcc
/enhanced \
164 libsdcc
/enhanced-no-xinst
165 am__DIST_COMMON
= $(srcdir)/Makefile.in
$(srcdir)/config.h.in \
166 $(top_srcdir
)/Makefile.common NEWS README depcomp install-sh \
168 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
169 distdir
= $(PACKAGE
)-$(VERSION
)
170 top_distdir
= $(distdir
)
171 am__remove_distdir
= \
172 if
test -d
"$(distdir)"; then \
173 find
"$(distdir)" -type d
! -perm
-200 -exec chmod u
+w
{} ';' \
174 && rm -rf
"$(distdir)" \
175 ||
{ sleep
5 && rm -rf
"$(distdir)"; }; \
177 am__post_remove_distdir
= $(am__remove_distdir
)
180 sed_first
='s,^\([^/]*\)/.*$$,\1,'; \
181 sed_rest
='s,^[^/]*/*,,'; \
182 sed_last
='s,^.*/\([^/]*\)$$,\1,'; \
183 sed_butlast
='s,/*[^/]*$$,,'; \
184 while
test -n
"$$dir1"; do \
185 first
=`echo "$$dir1" | sed -e "$$sed_first"`; \
186 if
test "$$first" != "."; then \
187 if
test "$$first" = ".."; then \
188 dir2
=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
189 dir0
=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
191 first2
=`echo "$$dir2" | sed -e "$$sed_first"`; \
192 if
test "$$first2" = "$$first"; then \
193 dir2
=`echo "$$dir2" | sed -e "$$sed_rest"`; \
197 dir0
="$$dir0"/"$$first"; \
200 dir1
=`echo "$$dir1" | sed -e "$$sed_rest"`; \
203 DIST_ARCHIVES
= $(distdir
).
tar.gz
205 DIST_TARGETS
= dist-gzip
206 # Exists only to be overridden by the user if desired.
207 AM_DISTCHECK_DVI_TARGET
= dvi
208 distuninstallcheck_listfiles
= find .
-type f
-print
209 am__distuninstallcheck_listfiles
= $(distuninstallcheck_listfiles
) \
210 | sed
's|^\./|$(prefix)/|' | grep
-v
'$(infodir)/dir$$'
211 distcleancheck_listfiles
= find .
-type f
-print
214 AM_DEFAULT_VERBOSITY
= @AM_DEFAULT_VERBOSITY@
218 AUTOCONF
= @AUTOCONF@
219 AUTOHEADER
= @AUTOHEADER@
220 AUTOMAKE
= @AUTOMAKE@
224 CCASDEPMODE
= @CCASDEPMODE@
225 CCASFLAGS
= @CCASFLAGS@
226 CCDEPMODE
= @CCDEPMODE@
230 CYGPATH_W
= @CYGPATH_W@
239 INSTALL_DATA
= @INSTALL_DATA@
240 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
241 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
242 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
247 LTLIBOBJS
= @LTLIBOBJS@
249 MAKEINFO
= @MAKEINFO@
253 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
254 PACKAGE_NAME
= @PACKAGE_NAME@
255 PACKAGE_STRING
= @PACKAGE_STRING@
256 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
257 PACKAGE_URL
= @PACKAGE_URL@
258 PACKAGE_VERSION
= @PACKAGE_VERSION@
259 PATH_SEPARATOR
= @PATH_SEPARATOR@
261 SET_MAKE
= @SET_MAKE@
265 abs_builddir
= @abs_builddir@
266 abs_srcdir
= @abs_srcdir@
267 abs_top_builddir
= @abs_top_builddir@
268 abs_top_srcdir
= @abs_top_srcdir@
269 am__include
= @am__include@
270 am__leading_dot
= @am__leading_dot@
271 am__quote
= @am__quote@
273 am__untar
= @am__untar@
275 build_alias
= @build_alias@
276 builddir
= @builddir@
278 datarootdir
= @datarootdir@
281 exec_prefix = @
exec_prefix@
282 host_alias
= @host_alias@
284 includedir = @
includedir@
286 install_sh
= @install_sh@
288 libexecdir
= @libexecdir@
289 localedir
= @localedir@
290 localstatedir
= @localstatedir@
293 oldincludedir = @
oldincludedir@
296 program_transform_name
= @program_transform_name@
298 runstatedir
= @runstatedir@
300 sharedstatedir
= @sharedstatedir@
302 sysconfdir
= @sysconfdir@
303 target_alias
= @target_alias@
304 top_build_prefix
= @top_build_prefix@
305 top_builddir
= @top_builddir@
306 top_srcdir
= @top_srcdir@
307 SUBDIRS
= libc libm libsdcc
/regular
$(am__append_1
) $(am__append_2
)
309 ############################################################
310 # common source files for all variants of the sdcc library
311 ############################################################
312 LIBSDCC_SOURCES_COMMON
= ..
/_divschar.c ..
/_divsint.c ..
/_divslong.c \
313 ..
/_divuchar.c ..
/_divuint.c ..
/_divulong.c ..
/_modschar.c \
314 ..
/_modsint.c ..
/_modslong.c ..
/_moduchar.c ..
/_moduint.c \
315 ..
/_modulong.c ..
/_mulschar.c ..
/_muluchar.c ..
/_mulint.c \
316 ..
/_mullong.c ..
/_fs2schar.c ..
/_fs2sint.c ..
/_fs2slong.c \
317 ..
/_fs2uchar.c ..
/_fs2uint.c ..
/_fs2ulong.c ..
/_fsadd.c \
318 ..
/_fsdiv.c ..
/_fseq.c ..
/_fslt.c ..
/_fsmul.c ..
/_fsneq.c \
319 ..
/_fssub.c ..
/_schar2fs.c ..
/_sint2fs.c ..
/_slong2fs.c \
320 ..
/_uchar2fs.c ..
/_uint2fs.c ..
/_ulong2fs.c ..
/idata.c
322 ############################################################
323 # Directories when building from the sdcc sources
324 ############################################################
326 # the directory where sdcc device files can be found
327 DEVICE_TOP_DIR
= $(top_srcdir
)/..
/..
329 # the directory where generic device lib sources can be found
330 GENERIC_SRC_DIR
= $(DEVICE_TOP_DIR
)/lib
332 # If compiling from the installed device sources, use these directories
333 #DEVICE_TOP_DIR = $(top_srcdir)/../../..
334 #GENERIC_SRC_DIR = $(DEVICE_TOP_DIR)/lib/src
335 GENERIC_SRC_DIR_ABS
= $(abspath
$(GENERIC_SRC_DIR
))
337 ############################################################
338 # C preprocessor flags
339 ############################################################
340 AM_CPPFLAGS
= -I.
-I
$(top_srcdir
) -I
$(DEVICE_TOP_DIR
)/include/pic14 \
341 -I
$(DEVICE_TOP_DIR
)/non-free
/include/pic14 \
342 -I
$(DEVICE_TOP_DIR
)/include
344 ############################################################
346 ############################################################
347 SDCC_FLAGS
= -mpic14
--less-pedantic
--no-warn-non-free \
348 --i-code-in-asm
--fverbose-asm
--std-c11
$(am__append_4
)
350 # extra flags for enhanced cores
351 SDCC_FLAGS_ENHANCED
= $(am__append_3
)
353 # extra flags to disable optimizations
354 SDCC_FLAGS_NOOPT
= --no-pcode-opt
--no-peep
356 # extra flags to enable experimental support
357 SDCC_FLAGS_EXP
= --experimental-pcall-all \
358 --experimental-pcall-enhanced
--experimental-variadics \
359 --experimental-ralloc
$(am__append_5
)
360 AM_CFLAGS
= -p
$(ARCH
) $(SDCC_FLAGS
)
361 AM_CFLAGS_O
= -p
$(ARCH
) $(SDCC_FLAGS
) $(SDCC_FLAGS_NOOPT
)
362 AM_CFLAGS_X
= -p
$(ARCH
) $(SDCC_FLAGS
) $(SDCC_FLAGS_EXP
)
363 AM_CFLAGS_OX
= -p
$(ARCH
) $(SDCC_FLAGS
) $(SDCC_FLAGS_NOOPT
) $(SDCC_FLAGS_EXP
)
364 AM_CFLAGS_E
= -p
$(EARCH
) $(SDCC_FLAGS
) $(SDCC_FLAGS_ENHANCED
)
365 AM_CFLAGS_EO
= -p
$(EARCH
) $(SDCC_FLAGS
) $(SDCC_FLAGS_ENHANCED
) $(SDCC_FLAGS_NOOPT
)
366 AM_CFLAGS_EX
= -p
$(EARCH
) $(SDCC_FLAGS
) $(SDCC_FLAGS_ENHANCED
) $(SDCC_FLAGS_EXP
)
367 AM_CFLAGS_EOX
= -p
$(EARCH
) $(SDCC_FLAGS
) $(SDCC_FLAGS_ENHANCED
) $(SDCC_FLAGS_NOOPT
) $(SDCC_FLAGS_EXP
)
369 ############################################################
371 ############################################################
372 AM_CCASFLAGS
= -p
$(ARCH
) -I
$(srcdir) -I
$(DEVICE_TOP_DIR
)/include/pic14 \
373 -I
$(DEVICE_TOP_DIR
)/non-free
/include/pic14
375 # extensions generated by the build process
376 CLEAN_EXTENSIONS
= .asm .lst .sym .d .p .g .v .adb
377 DISTCLEANFILES
= a.lst a.cod a.hex .
/.checkdevices
/*
379 $(MAKE
) $(AM_MAKEFLAGS
) all-recursive
382 am--refresh
: Makefile
384 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am
$(top_srcdir
)/Makefile.common
$(am__configure_deps
)
386 case
'$(am__configure_deps)' in \
388 echo
' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \
389 $(am__cd
) $(srcdir) && $(AUTOMAKE
) --foreign
--ignore-deps \
394 echo
' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps Makefile'; \
395 $(am__cd
) $(top_srcdir
) && \
396 $(AUTOMAKE
) --foreign
--ignore-deps Makefile
397 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
400 echo
' $(SHELL) ./config.status'; \
401 $(SHELL
) .
/config.status
;; \
403 echo
' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
404 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
$(am__maybe_remake_depfiles
);; \
406 $(top_srcdir
)/Makefile.common
$(am__empty
):
408 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
409 $(SHELL
) .
/config.status
--recheck
411 $(top_srcdir
)/configure
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
412 $(am__cd
) $(srcdir) && $(AUTOCONF
)
413 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps
)
414 $(am__cd
) $(srcdir) && $(ACLOCAL
) $(ACLOCAL_AMFLAGS
)
415 $(am__aclocal_m4_deps
):
418 @
test -f
$@ ||
rm -f stamp-h1
419 @
test -f
$@ ||
$(MAKE
) $(AM_MAKEFLAGS
) stamp-h1
421 stamp-h1
: $(srcdir)/config.h.in
$(top_builddir
)/config.status
423 cd
$(top_builddir
) && $(SHELL
) .
/config.status config.h
424 $(srcdir)/config.h.in
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
425 ($(am__cd
) $(top_srcdir
) && $(AUTOHEADER
))
430 -rm -f config.h stamp-h1
432 # This directory's subdirectories are mostly independent; you can cd
433 # into them and run 'make' without going through this Makefile.
434 # To change the values of 'make' variables: instead of editing Makefiles,
435 # (1) if the variable is set in 'config.status', edit 'config.status'
436 # (which will cause the Makefiles to be regenerated when you run 'make');
437 # (2) otherwise, pass the desired values on the 'make' command line.
438 $(am__recursive_targets
):
440 if
$(am__make_keepgoing
); then \
441 failcom
='fail=yes'; \
446 target
=`echo $@ | sed s/-recursive//`; \
448 distclean-
* | maintainer-clean-
*) list
='$(DIST_SUBDIRS)' ;; \
449 *) list
='$(SUBDIRS)' ;; \
451 for subdir in
$$list; do \
452 echo
"Making $$target in $$subdir"; \
453 if
test "$$subdir" = "."; then \
455 local_target
="$$target-am"; \
457 local_target
="$$target"; \
459 ($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
462 if
test "$$dot_seen" = "no"; then \
463 $(MAKE
) $(AM_MAKEFLAGS
) "$$target-am" || exit
1; \
466 ID
: $(am__tagged_files
)
467 $(am__define_uniq_tagged_files
); mkid
-fID
$$unique
471 tags-am
: $(TAGS_DEPENDENCIES
) $(am__tagged_files
)
474 if
($(ETAGS
) --etags-include
--version
) >/dev
/null
2>&1; then \
475 include_option
=--etags-include
; \
478 include_option
=--include; \
481 list
='$(SUBDIRS)'; for subdir in
$$list; do \
482 if
test "$$subdir" = .
; then
:; else \
483 test ! -f
$$subdir/TAGS || \
484 set
"$$@" "$$include_option=$$here/$$subdir/TAGS"; \
487 $(am__define_uniq_tagged_files
); \
489 if
test -z
"$(ETAGS_ARGS)$$*$$unique"; then
:; else \
490 test -n
"$$unique" || unique
=$$empty_fix; \
491 if
test $$# -gt 0; then \
492 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
495 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
499 ctags
: ctags-recursive
502 ctags-am
: $(TAGS_DEPENDENCIES
) $(am__tagged_files
)
503 $(am__define_uniq_tagged_files
); \
504 test -z
"$(CTAGS_ARGS)$$unique" \
505 ||
$(CTAGS
) $(CTAGSFLAGS
) $(AM_CTAGSFLAGS
) $(CTAGS_ARGS
) \
509 here
=`$(am__cd) $(top_builddir) && pwd` \
510 && $(am__cd
) $(top_srcdir
) \
511 && gtags
-i
$(GTAGS_ARGS
) "$$here"
513 test ! -s cscope.files \
514 ||
$(CSCOPE
) -b
-q
$(AM_CSCOPEFLAGS
) $(CSCOPEFLAGS
) -i cscope.files
$(CSCOPE_ARGS
)
517 cscope.files
: clean-cscope cscopelist
518 cscopelist
: cscopelist-recursive
520 cscopelist-am
: $(am__tagged_files
)
521 list
='$(am__tagged_files)'; \
522 case
"$(srcdir)" in \
523 [\\/]* | ?
:[\\/]*) sdir
="$(srcdir)" ;; \
524 *) sdir
=$(subdir
)/$(srcdir) ;; \
526 for i in
$$list; do \
527 if
test -f
"$$i"; then \
528 echo
"$(subdir)/$$i"; \
532 done
>> $(top_builddir
)/cscope.files
535 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
tags
536 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
537 distdir
: $(BUILT_SOURCES
)
538 $(MAKE
) $(AM_MAKEFLAGS
) distdir-am
540 distdir-am
: $(DISTFILES
)
541 $(am__remove_distdir
)
542 test -d
"$(distdir)" || mkdir
"$(distdir)"
543 @srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
544 topsrcdirstrip
=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
545 list
='$(DISTFILES)'; \
546 dist_files
=`for file in $$list; do echo $$file; done | \
547 sed -e "s|^$$srcdirstrip/||;t" \
548 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
549 case
$$dist_files in \
550 */*) $(MKDIR_P
) `echo "$$dist_files" | \
551 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
554 for file in
$$dist_files; do \
555 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
556 if
test -d
$$d/$$file; then \
557 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
558 if
test -d
"$(distdir)/$$file"; then \
559 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
561 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
562 cp
-fpR
$(srcdir)/$$file "$(distdir)$$dir" || exit
1; \
563 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
565 cp
-fpR
$$d/$$file "$(distdir)$$dir" || exit
1; \
567 test -f
"$(distdir)/$$file" \
568 || cp
-p
$$d/$$file "$(distdir)/$$file" \
572 @list
='$(DIST_SUBDIRS)'; for subdir in
$$list; do \
573 if
test "$$subdir" = .
; then
:; else \
575 ||
test -d
"$(distdir)/$$subdir" \
576 ||
$(MKDIR_P
) "$(distdir)/$$subdir" \
578 dir1
=$$subdir; dir2
="$(distdir)/$$subdir"; \
580 new_distdir
=$$reldir; \
581 dir1
=$$subdir; dir2
="$(top_distdir)"; \
583 new_top_distdir
=$$reldir; \
584 echo
" (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
585 echo
" am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
586 ($(am__cd
) $$subdir && \
587 $(MAKE
) $(AM_MAKEFLAGS
) \
588 top_distdir
="$$new_top_distdir" \
589 distdir
="$$new_distdir" \
590 am__remove_distdir
=: \
591 am__skip_length_check
=: \
592 am__skip_mode_fix
=: \
597 -test -n
"$(am__skip_mode_fix)" \
598 || find
"$(distdir)" -type d
! -perm
-755 \
599 -exec chmod u
+rwx
,go
+rx
{} \
; -o \
600 ! -type d
! -perm
-444 -links
1 -exec chmod a
+r
{} \
; -o \
601 ! -type d
! -perm
-400 -exec chmod a
+r
{} \
; -o \
602 ! -type d
! -perm
-444 -exec
$(install_sh
) -c
-m a
+r
{} {} \
; \
603 || chmod
-R a
+r
"$(distdir)"
605 tardir
=$(distdir
) && $(am__tar
) | eval GZIP
= gzip
$(GZIP_ENV
) -c
>$(distdir
).
tar.gz
606 $(am__post_remove_distdir
)
609 tardir
=$(distdir
) && $(am__tar
) | BZIP2
=$${BZIP2--9
} bzip2
-c
>$(distdir
).
tar.bz2
610 $(am__post_remove_distdir
)
613 tardir
=$(distdir
) && $(am__tar
) | lzip
-c
$${LZIP_OPT--9
} >$(distdir
).
tar.lz
614 $(am__post_remove_distdir
)
617 tardir
=$(distdir
) && $(am__tar
) | XZ_OPT
=$${XZ_OPT--e
} xz
-c
>$(distdir
).
tar.xz
618 $(am__post_remove_distdir
)
621 tardir
=$(distdir
) && $(am__tar
) | zstd
-c
$${ZSTD_CLEVEL-
$${ZSTD_OPT--19
}} >$(distdir
).
tar.zst
622 $(am__post_remove_distdir
)
625 @echo WARNING
: "Support for distribution archives compressed with" \
626 "legacy program 'compress' is deprecated." >&2
627 @echo WARNING
: "It will be removed altogether in Automake 2.0" >&2
628 tardir
=$(distdir
) && $(am__tar
) | compress
-c
>$(distdir
).
tar.Z
629 $(am__post_remove_distdir
)
632 @echo WARNING
: "Support for shar distribution archives is" \
634 @echo WARNING
: "It will be removed altogether in Automake 2.0" >&2
635 shar $(distdir
) | eval GZIP
= gzip
$(GZIP_ENV
) -c
>$(distdir
).
shar.gz
636 $(am__post_remove_distdir
)
639 -rm -f
$(distdir
).zip
640 zip
-rq
$(distdir
).zip
$(distdir
)
641 $(am__post_remove_distdir
)
644 $(MAKE
) $(AM_MAKEFLAGS
) $(DIST_TARGETS
) am__post_remove_distdir
='@:'
645 $(am__post_remove_distdir
)
647 # This target untars the dist file and tries a VPATH configuration. Then
648 # it guarantees that the distribution is self-contained by making another
651 case
'$(DIST_ARCHIVES)' in \
653 eval GZIP
= gzip
$(GZIP_ENV
) -dc
$(distdir
).
tar.gz |
$(am__untar
) ;;\
655 bzip2
-dc
$(distdir
).
tar.bz2 |
$(am__untar
) ;;\
657 lzip
-dc
$(distdir
).
tar.lz |
$(am__untar
) ;;\
659 xz
-dc
$(distdir
).
tar.xz |
$(am__untar
) ;;\
661 uncompress
-c
$(distdir
).
tar.Z |
$(am__untar
) ;;\
663 eval GZIP
= gzip
$(GZIP_ENV
) -dc
$(distdir
).
shar.gz | unshar
;;\
665 unzip
$(distdir
).zip
;;\
667 zstd
-dc
$(distdir
).
tar.zst |
$(am__untar
) ;;\
669 chmod
-R a-w
$(distdir
)
671 mkdir
$(distdir
)/_build
$(distdir
)/_build
/sub
$(distdir
)/_inst
673 test -d
$(distdir
)/_build || exit
0; \
674 dc_install_base
=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
675 && dc_destdir
="$${TMPDIR-/tmp}/am-dc-$$$$/" \
677 && $(am__cd
) $(distdir
)/_build
/sub \
679 $(AM_DISTCHECK_CONFIGURE_FLAGS
) \
680 $(DISTCHECK_CONFIGURE_FLAGS
) \
681 --srcdir=..
/..
--prefix="$$dc_install_base" \
682 && $(MAKE
) $(AM_MAKEFLAGS
) \
683 && $(MAKE
) $(AM_MAKEFLAGS
) $(AM_DISTCHECK_DVI_TARGET
) \
684 && $(MAKE
) $(AM_MAKEFLAGS
) check \
685 && $(MAKE
) $(AM_MAKEFLAGS
) install \
686 && $(MAKE
) $(AM_MAKEFLAGS
) installcheck \
687 && $(MAKE
) $(AM_MAKEFLAGS
) uninstall \
688 && $(MAKE
) $(AM_MAKEFLAGS
) distuninstallcheck_dir
="$$dc_install_base" \
690 && chmod
-R a-w
"$$dc_install_base" \
692 (cd ..
/..
&& umask
077 && mkdir
"$$dc_destdir") \
693 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" install \
694 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" uninstall \
695 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" \
696 distuninstallcheck_dir
="$$dc_destdir" distuninstallcheck
; \
697 } ||
{ rm -rf
"$$dc_destdir"; exit
1; }) \
698 && rm -rf
"$$dc_destdir" \
699 && $(MAKE
) $(AM_MAKEFLAGS
) dist \
700 && rm -rf
$(DIST_ARCHIVES
) \
701 && $(MAKE
) $(AM_MAKEFLAGS
) distcleancheck \
704 $(am__post_remove_distdir
)
705 @
(echo
"$(distdir) archives ready for distribution: "; \
706 list
='$(DIST_ARCHIVES)'; for i in
$$list; do echo
$$i; done
) | \
707 sed
-e
1h
-e
1s
/.
/=/g
-e
1p
-e
1x
-e
'$$p' -e
'$$x'
709 @
test -n
'$(distuninstallcheck_dir)' ||
{ \
710 echo
'ERROR: trying to run $@ with an empty' \
711 '$$(distuninstallcheck_dir)' >&2; \
714 $(am__cd
) '$(distuninstallcheck_dir)' ||
{ \
715 echo
'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
718 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq
0 \
719 ||
{ echo
"ERROR: files left after uninstall:" ; \
720 if
test -n
"$(DESTDIR)"; then \
721 echo
" (check DESTDIR support)"; \
723 $(distuninstallcheck_listfiles
) ; \
725 distcleancheck
: distclean
726 @if
test '$(srcdir)' = .
; then \
727 echo
"ERROR: distcleancheck can only run from a VPATH build" ; \
730 @
test `$(distcleancheck_listfiles) | wc -l` -eq
0 \
731 ||
{ echo
"ERROR: files left in build directory after distclean:" ; \
732 $(distcleancheck_listfiles
) ; \
735 check: check-recursive
736 all-am
: Makefile config.h
737 installdirs: installdirs-recursive
739 install: install-recursive
740 install-exec
: install-exec-recursive
741 install-data
: install-data-recursive
742 uninstall: uninstall-recursive
745 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
747 installcheck: installcheck-recursive
749 if
test -z
'$(STRIP)'; then \
750 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
751 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
754 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
755 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
756 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
763 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
764 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
765 -test -z
"$(DISTCLEANFILES)" ||
rm -f
$(DISTCLEANFILES
)
767 maintainer-clean-generic
:
768 @echo
"This command is intended for maintainers to use"
769 @echo
"it deletes files that may require special tools to rebuild."
770 clean: clean-recursive
772 clean-am
: clean-generic clean-local mostlyclean-am
774 distclean: distclean-recursive
775 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
777 distclean-am
: clean-am distclean-generic distclean-hdr distclean-local \
794 install-dvi
: install-dvi-recursive
800 install-html
: install-html-recursive
804 install-info
: install-info-recursive
810 install-pdf
: install-pdf-recursive
814 install-ps
: install-ps-recursive
820 maintainer-clean
: maintainer-clean-recursive
821 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
822 -rm -rf
$(top_srcdir
)/autom4te.cache
824 maintainer-clean-am
: distclean-am maintainer-clean-generic
826 mostlyclean: mostlyclean-recursive
828 mostlyclean-am
: mostlyclean-generic
840 .MAKE
: $(am__recursive_targets
) all install-am install-strip
842 .PHONY
: $(am__recursive_targets
) CTAGS GTAGS TAGS
all all-am \
843 am--refresh
check check-am
clean clean-cscope clean-generic \
844 clean-local cscope cscopelist-am ctags ctags-am
dist dist-all \
845 dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
846 dist-zip dist-zstd distcheck
distclean distclean-generic \
847 distclean-hdr distclean-local distclean-tags distcleancheck \
848 distdir distuninstallcheck
dvi dvi-am html html-am
info \
849 info-am
install install-am install-data install-data-am \
850 install-dvi install-dvi-am install-exec install-exec-am \
851 install-html install-html-am install-info install-info-am \
852 install-man install-pdf install-pdf-am install-ps \
853 install-ps-am install-strip
installcheck installcheck-am \
854 installdirs installdirs-am maintainer-clean \
855 maintainer-clean-generic
mostlyclean mostlyclean-generic pdf \
856 pdf-am ps ps-am
tags tags-am
uninstall uninstall-am
864 ############################################################
866 ############################################################
868 # link missing source files to the generic sdcc ones
869 # NOTE: last empty line required because foreach concatenates several copies of this text
870 define link-generic-files
871 $(1)/%.c
: $$(GENERIC_SRC_DIR_ABS
)/%.c
872 test -e
$$(srcdir)/$$@ || ln
-s
$$< $$@
876 # create links to generic source files in the source directories
877 $(foreach SOURCE_DIR
,$(SOURCE_DIRS
),$(eval
$(call link-generic-files
,$(SOURCE_DIR
))))
879 # remove links to generic source files
880 # NOTE: last semicolon required because foreach concatenates several copies of this text
881 define remove-generic-links
882 list
='$(wildcard $(SOURCE_DIR)/*.c)' ; \
883 for file in
$$list ; do \
884 if
test -L
$$file ; then
rm $$file ; fi \
888 # remove intermediate files generated by the build process
889 # NOTE: last semicolon required because foreach concatenates several copies of this text
890 define remove-intermediate-files
891 list
='$(wildcard $(addprefix $(SOURCE_DIR)/*,$(CLEAN_EXTENSIONS)))' ; \
892 if
test -n
"$$list" ; then
rm -rf
$$list ; fi
;
895 # clean-up (remove intermediate files and links to missing source files)
897 $(foreach SOURCE_DIR
,$(SOURCE_DIRS
),$(remove-generic-links
))
898 $(foreach SOURCE_DIR
,$(SOURCE_DIRS
),$(remove-intermediate-files
))
900 # do not remove intermediate files when DEBUG is enabled
901 @ENABLE_DEBUG_TRUE@clean-intermediate
:
902 @ENABLE_DEBUG_TRUE@ list
='$(SUBDIRS)'; for subdir in
$$list; do \
903 @ENABLE_DEBUG_TRUE@ echo
"Making $@ in $$subdir"; \
904 @ENABLE_DEBUG_TRUE@
(cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $@
); \
905 @ENABLE_DEBUG_TRUE@ done
906 @ENABLE_DEBUG_FALSE@clean-intermediate
: clean-local
907 @ENABLE_DEBUG_FALSE@ list
='$(SUBDIRS)'; for subdir in
$$list; do \
908 @ENABLE_DEBUG_FALSE@ echo
"Making $@ in $$subdir"; \
909 @ENABLE_DEBUG_FALSE@
(cd
$$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $@
); \
910 @ENABLE_DEBUG_FALSE@ done
913 rm -rf .
/.checkdevices .
/autom4te.cache
915 # Tell versions [3.59,3.63) of GNU make to not export all variables.
916 # Otherwise a system limit (for SysV at least) may be exceeded.