struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / device / lib / pic14 / Makefile.in
blob2c1a5d1404c301d3d089bf4007296d2e92f4cf83
1 # Makefile.in generated by automake 1.16.5 from Makefile.am.
2 # @configure_input@
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
13 # PARTICULAR PURPOSE.
15 @SET_MAKE@
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) 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;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
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)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
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
95 subdir = .
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) \
99 $(ACLOCAL_M4)
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
106 CONFIG_CLEAN_FILES =
107 CONFIG_CLEAN_VPATH_FILES =
108 AM_V_P = $(am__v_P_@AM_V@)
109 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
110 am__v_P_0 = false
111 am__v_P_1 = :
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 " $@;
115 am__v_GEN_1 =
116 AM_V_at = $(am__v_at_@AM_V@)
117 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
118 am__v_at_0 = @
119 am__v_at_1 =
120 depcomp =
121 am__maybe_remake_depfiles =
122 SOURCES =
123 DIST_SOURCES =
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 \
134 n|no|NO) false;; \
135 *) (install-info --version) >/dev/null 2>&1;; \
136 esac
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) \
146 config.h.in
147 # Read a list of newline-separated strings from the standard input,
148 # and print each of them once, without duplicates. Input order is
149 # *not* preserved.
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 \
167 missing
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)"; }; \
176 else :; fi
177 am__post_remove_distdir = $(am__remove_distdir)
178 am__relativize = \
179 dir0=`pwd`; \
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"`; \
190 else \
191 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
192 if test "$$first2" = "$$first"; then \
193 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
194 else \
195 dir2="../$$dir2"; \
196 fi; \
197 dir0="$$dir0"/"$$first"; \
198 fi; \
199 fi; \
200 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
201 done; \
202 reldir="$$dir2"
203 DIST_ARCHIVES = $(distdir).tar.gz
204 GZIP_ENV = --best
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
212 ACLOCAL = @ACLOCAL@
213 AMTAR = @AMTAR@
214 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
215 AR = @AR@
216 ARCH = @ARCH@
217 ARFLAGS = @ARFLAGS@
218 AUTOCONF = @AUTOCONF@
219 AUTOHEADER = @AUTOHEADER@
220 AUTOMAKE = @AUTOMAKE@
221 AWK = @AWK@
222 CC = @CC@
223 CCAS = @CCAS@
224 CCASDEPMODE = @CCASDEPMODE@
225 CCASFLAGS = @CCASFLAGS@
226 CCDEPMODE = @CCDEPMODE@
227 CFLAGS = @CFLAGS@
228 CSCOPE = @CSCOPE@
229 CTAGS = @CTAGS@
230 CYGPATH_W = @CYGPATH_W@
231 DEFS = @DEFS@
232 DEPDIR = @DEPDIR@
233 EARCH = @EARCH@
234 ECHO_C = @ECHO_C@
235 ECHO_N = @ECHO_N@
236 ECHO_T = @ECHO_T@
237 ETAGS = @ETAGS@
238 INSTALL = @INSTALL@
239 INSTALL_DATA = @INSTALL_DATA@
240 INSTALL_PROGRAM = @INSTALL_PROGRAM@
241 INSTALL_SCRIPT = @INSTALL_SCRIPT@
242 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
243 LD = @LD@
244 LDFLAGS = @LDFLAGS@
245 LIBOBJS = @LIBOBJS@
246 LIBS = @LIBS@
247 LTLIBOBJS = @LTLIBOBJS@
248 MAINT = @MAINT@
249 MAKEINFO = @MAKEINFO@
250 MKDIR_P = @MKDIR_P@
251 OBJEXT = @OBJEXT@
252 PACKAGE = @PACKAGE@
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@
260 RANLIB = @RANLIB@
261 SET_MAKE = @SET_MAKE@
262 SHELL = @SHELL@
263 STRIP = @STRIP@
264 VERSION = @VERSION@
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@
272 am__tar = @am__tar@
273 am__untar = @am__untar@
274 bindir = @bindir@
275 build_alias = @build_alias@
276 builddir = @builddir@
277 datadir = @datadir@
278 datarootdir = @datarootdir@
279 docdir = @docdir@
280 dvidir = @dvidir@
281 exec_prefix = @exec_prefix@
282 host_alias = @host_alias@
283 htmldir = @htmldir@
284 includedir = @includedir@
285 infodir = @infodir@
286 install_sh = @install_sh@
287 libdir = @libdir@
288 libexecdir = @libexecdir@
289 localedir = @localedir@
290 localstatedir = @localstatedir@
291 mandir = @mandir@
292 mkdir_p = @mkdir_p@
293 oldincludedir = @oldincludedir@
294 pdfdir = @pdfdir@
295 prefix = @prefix@
296 program_transform_name = @program_transform_name@
297 psdir = @psdir@
298 runstatedir = @runstatedir@
299 sbindir = @sbindir@
300 sharedstatedir = @sharedstatedir@
301 srcdir = @srcdir@
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 ############################################################
345 # C compiler flags
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 ############################################################
370 # Assembler flags
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/*
378 all: config.h
379 $(MAKE) $(AM_MAKEFLAGS) all-recursive
381 .SUFFIXES:
382 am--refresh: Makefile
384 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.common $(am__configure_deps)
385 @for dep in $?; do \
386 case '$(am__configure_deps)' in \
387 *$$dep*) \
388 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \
389 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps \
390 && exit 0; \
391 exit 1;; \
392 esac; \
393 done; \
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
398 @case '$?' in \
399 *config.status*) \
400 echo ' $(SHELL) ./config.status'; \
401 $(SHELL) ./config.status;; \
402 *) \
403 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
404 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
405 esac;
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):
417 config.h: stamp-h1
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
422 @rm -f stamp-h1
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))
426 rm -f stamp-h1
427 touch $@
429 distclean-hdr:
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):
439 @fail=; \
440 if $(am__make_keepgoing); then \
441 failcom='fail=yes'; \
442 else \
443 failcom='exit 1'; \
444 fi; \
445 dot_seen=no; \
446 target=`echo $@ | sed s/-recursive//`; \
447 case "$@" in \
448 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
449 *) list='$(SUBDIRS)' ;; \
450 esac; \
451 for subdir in $$list; do \
452 echo "Making $$target in $$subdir"; \
453 if test "$$subdir" = "."; then \
454 dot_seen=yes; \
455 local_target="$$target-am"; \
456 else \
457 local_target="$$target"; \
458 fi; \
459 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
460 || eval $$failcom; \
461 done; \
462 if test "$$dot_seen" = "no"; then \
463 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
464 fi; test -z "$$fail"
466 ID: $(am__tagged_files)
467 $(am__define_uniq_tagged_files); mkid -fID $$unique
468 tags: tags-recursive
469 TAGS: tags
471 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
472 set x; \
473 here=`pwd`; \
474 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
475 include_option=--etags-include; \
476 empty_fix=.; \
477 else \
478 include_option=--include; \
479 empty_fix=; \
480 fi; \
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"; \
485 fi; \
486 done; \
487 $(am__define_uniq_tagged_files); \
488 shift; \
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) \
493 "$$@" $$unique; \
494 else \
495 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
496 $$unique; \
497 fi; \
499 ctags: ctags-recursive
501 CTAGS: ctags
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) \
506 $$unique
508 GTAGS:
509 here=`$(am__cd) $(top_builddir) && pwd` \
510 && $(am__cd) $(top_srcdir) \
511 && gtags -i $(GTAGS_ARGS) "$$here"
512 cscope: cscope.files
513 test ! -s cscope.files \
514 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
515 clean-cscope:
516 -rm -f cscope.files
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) ;; \
525 esac; \
526 for i in $$list; do \
527 if test -f "$$i"; then \
528 echo "$(subdir)/$$i"; \
529 else \
530 echo "$$sdir/$$i"; \
531 fi; \
532 done >> $(top_builddir)/cscope.files
534 distclean-tags:
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,/[^/]*$$,,' | \
552 sort -u` ;; \
553 esac; \
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 {} \;; \
560 fi; \
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 {} \;; \
564 fi; \
565 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
566 else \
567 test -f "$(distdir)/$$file" \
568 || cp -p $$d/$$file "$(distdir)/$$file" \
569 || exit 1; \
570 fi; \
571 done
572 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
573 if test "$$subdir" = .; then :; else \
574 $(am__make_dryrun) \
575 || test -d "$(distdir)/$$subdir" \
576 || $(MKDIR_P) "$(distdir)/$$subdir" \
577 || exit 1; \
578 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
579 $(am__relativize); \
580 new_distdir=$$reldir; \
581 dir1=$$subdir; dir2="$(top_distdir)"; \
582 $(am__relativize); \
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=: \
593 distdir) \
594 || exit 1; \
595 fi; \
596 done
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)"
604 dist-gzip: distdir
605 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
606 $(am__post_remove_distdir)
608 dist-bzip2: distdir
609 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
610 $(am__post_remove_distdir)
612 dist-lzip: distdir
613 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
614 $(am__post_remove_distdir)
616 dist-xz: distdir
617 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
618 $(am__post_remove_distdir)
620 dist-zstd: distdir
621 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
622 $(am__post_remove_distdir)
624 dist-tarZ: 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)
631 dist-shar: distdir
632 @echo WARNING: "Support for shar distribution archives is" \
633 "deprecated." >&2
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)
638 dist-zip: distdir
639 -rm -f $(distdir).zip
640 zip -rq $(distdir).zip $(distdir)
641 $(am__post_remove_distdir)
643 dist dist-all:
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
649 # tarfile.
650 distcheck: dist
651 case '$(DIST_ARCHIVES)' in \
652 *.tar.gz*) \
653 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
654 *.tar.bz2*) \
655 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
656 *.tar.lz*) \
657 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
658 *.tar.xz*) \
659 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
660 *.tar.Z*) \
661 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
662 *.shar.gz*) \
663 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
664 *.zip*) \
665 unzip $(distdir).zip ;;\
666 *.tar.zst*) \
667 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
668 esac
669 chmod -R a-w $(distdir)
670 chmod u+w $(distdir)
671 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
672 chmod a-w $(distdir)
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-$$$$/" \
676 && am__cwd=`pwd` \
677 && $(am__cd) $(distdir)/_build/sub \
678 && ../../configure \
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" \
689 distuninstallcheck \
690 && chmod -R a-w "$$dc_install_base" \
691 && ({ \
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 \
702 && cd "$$am__cwd" \
703 || exit 1
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'
708 distuninstallcheck:
709 @test -n '$(distuninstallcheck_dir)' || { \
710 echo 'ERROR: trying to run $@ with an empty' \
711 '$$(distuninstallcheck_dir)' >&2; \
712 exit 1; \
713 }; \
714 $(am__cd) '$(distuninstallcheck_dir)' || { \
715 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
716 exit 1; \
717 }; \
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)"; \
722 fi ; \
723 $(distuninstallcheck_listfiles) ; \
724 exit 1; } >&2
725 distcleancheck: distclean
726 @if test '$(srcdir)' = . ; then \
727 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
728 exit 1 ; \
730 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
731 || { echo "ERROR: files left in build directory after distclean:" ; \
732 $(distcleancheck_listfiles) ; \
733 exit 1; } >&2
734 check-am: all-am
735 check: check-recursive
736 all-am: Makefile config.h
737 installdirs: installdirs-recursive
738 installdirs-am:
739 install: install-recursive
740 install-exec: install-exec-recursive
741 install-data: install-data-recursive
742 uninstall: uninstall-recursive
744 install-am: all-am
745 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
747 installcheck: installcheck-recursive
748 install-strip:
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 \
752 install; \
753 else \
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; \
758 mostlyclean-generic:
760 clean-generic:
762 distclean-generic:
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)
776 -rm -f Makefile
777 distclean-am: clean-am distclean-generic distclean-hdr distclean-local \
778 distclean-tags
780 dvi: dvi-recursive
782 dvi-am:
784 html: html-recursive
786 html-am:
788 info: info-recursive
790 info-am:
792 install-data-am:
794 install-dvi: install-dvi-recursive
796 install-dvi-am:
798 install-exec-am:
800 install-html: install-html-recursive
802 install-html-am:
804 install-info: install-info-recursive
806 install-info-am:
808 install-man:
810 install-pdf: install-pdf-recursive
812 install-pdf-am:
814 install-ps: install-ps-recursive
816 install-ps-am:
818 installcheck-am:
820 maintainer-clean: maintainer-clean-recursive
821 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
822 -rm -rf $(top_srcdir)/autom4te.cache
823 -rm -f Makefile
824 maintainer-clean-am: distclean-am maintainer-clean-generic
826 mostlyclean: mostlyclean-recursive
828 mostlyclean-am: mostlyclean-generic
830 pdf: pdf-recursive
832 pdf-am:
834 ps: ps-recursive
836 ps-am:
838 uninstall-am:
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
858 .PRECIOUS: Makefile
861 ARCH ?= @ARCH@
862 EARCH ?= @EARCH@
864 ############################################################
865 # Common actions
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 $$< $$@
874 endef
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 \
885 done ;
886 endef
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 ;
893 endef
895 # clean-up (remove intermediate files and links to missing source files)
896 clean-local:
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
912 distclean-local:
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.
917 .NOEXPORT: