Changeset b6529a3 in rtems
- Timestamp:
- 04/19/99 13:35:24 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ecb2755
- Parents:
- 183fa829
- Files:
-
- 52 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
c/build-tools/Makefile.am
r183fa829 rb6529a3 6 6 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 7 7 8 SUBDIRS = scripts src 8 bin_PROGRAMS=cklength eolstrip packhex unhex 9 9 10 include $(top_srcdir)/../../automake/subdirs.am 10 cklength_SOURCES = cklength.c 11 eolstrip_SOURCES = eolstrip.c 12 packhex_SOURCES = packhex.c 13 unhex_SOURCES = unhex.c 14 15 bin_SCRIPTS=\ 16 install-if-change \ 17 lock-directory \ 18 unlock-directory \ 19 rcs-clean 20 21 noinst_SCRIPTS = search-id.sh 22 23 # 24 # HACK: Install to build directory 25 # 26 install-exec-local: $(bin_PROGRAMS) $(bin_SCRIPTS) 27 if test -n "${RTEMS_BSP}"; then \ 28 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 29 $(INSTALL_SCRIPT) $(bin_SCRIPTS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 30 $(INSTALL_PROGRAM) $(bin_PROGRAMS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 31 fi 32 33 preinstall: install-exec-local 34 11 35 include $(top_srcdir)/../../automake/local.am -
c/build-tools/Makefile.in
r183fa829 rb6529a3 14 14 # $Id$ 15 15 # 16 17 16 18 17 … … 77 76 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 78 77 79 SUBDIRS = scripts src 78 bin_PROGRAMS = cklength eolstrip packhex unhex 79 80 cklength_SOURCES = cklength.c 81 eolstrip_SOURCES = eolstrip.c 82 packhex_SOURCES = packhex.c 83 unhex_SOURCES = unhex.c 84 85 bin_SCRIPTS = install-if-change lock-directory unlock-directory rcs-clean 86 87 88 noinst_SCRIPTS = search-id.sh 80 89 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 81 90 mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs 82 CONFIG_HEADER = ./src/config.h 83 CONFIG_CLEAN_FILES = 84 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 91 CONFIG_HEADER = config.h 92 CONFIG_CLEAN_FILES = install-if-change lock-directory rcs-clean \ 93 unlock-directory 94 bin_PROGRAMS = cklength$(EXEEXT) eolstrip$(EXEEXT) packhex$(EXEEXT) \ 95 unhex$(EXEEXT) 96 PROGRAMS = $(bin_PROGRAMS) 97 98 99 DEFS = @DEFS@ -I. -I$(srcdir) -I. 100 CPPFLAGS = @CPPFLAGS@ 101 LDFLAGS = @LDFLAGS@ 102 LIBS = @LIBS@ 103 cklength_OBJECTS = cklength.o 104 cklength_LDADD = $(LDADD) 105 cklength_DEPENDENCIES = 106 cklength_LDFLAGS = 107 eolstrip_OBJECTS = eolstrip.o 108 eolstrip_LDADD = $(LDADD) 109 eolstrip_DEPENDENCIES = 110 eolstrip_LDFLAGS = 111 packhex_OBJECTS = packhex.o 112 packhex_LDADD = $(LDADD) 113 packhex_DEPENDENCIES = 114 packhex_LDFLAGS = 115 unhex_OBJECTS = unhex.o 116 unhex_LDADD = $(LDADD) 117 unhex_DEPENDENCIES = 118 unhex_LDFLAGS = 119 SCRIPTS = $(bin_SCRIPTS) $(noinst_SCRIPTS) 120 121 CFLAGS = @CFLAGS@ 122 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 123 CCLD = $(CC) 124 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 125 DIST_COMMON = README ./stamp-h.in Makefile.am Makefile.in aclocal.m4 \ 126 config.h.in configure configure.in install-if-change.in \ 127 lock-directory.in rcs-clean.in unlock-directory.in 85 128 86 129 … … 89 132 TAR = tar 90 133 GZIP_ENV = --best 134 DEP_FILES = .deps/cklength.P .deps/eolstrip.P .deps/packhex.P \ 135 .deps/unhex.P 136 SOURCES = $(cklength_SOURCES) $(eolstrip_SOURCES) $(packhex_SOURCES) $(unhex_SOURCES) 137 OBJECTS = $(cklength_OBJECTS) $(eolstrip_OBJECTS) $(packhex_OBJECTS) $(unhex_OBJECTS) 138 91 139 all: all-redirect 92 140 .SUFFIXES: 93 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../automake/subdirs.am $(top_srcdir)/../../automake/local.am 141 .SUFFIXES: .S .c .o .s 142 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../automake/local.am 94 143 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 95 144 … … 106 155 cd $(srcdir) && $(AUTOCONF) 107 156 108 # This directory's subdirectories are mostly independent; you can cd 109 # into them and run `make' without going through this Makefile. 110 # To change the values of `make' variables: instead of editing Makefiles, 111 # (1) if the variable is set in `config.status', edit `config.status' 112 # (which will cause the Makefiles to be regenerated when you run `make'); 113 # (2) otherwise, pass the desired values on the `make' command line. 114 115 @SET_MAKE@ 116 117 all-recursive install-data-recursive install-exec-recursive \ 118 installdirs-recursive install-recursive uninstall-recursive \ 119 check-recursive installcheck-recursive info-recursive dvi-recursive: 120 @set fnord $(MAKEFLAGS); amf=$$2; \ 121 dot_seen=no; \ 122 target=`echo $@ | sed s/-recursive//`; \ 123 list='$(SUBDIRS)'; for subdir in $$list; do \ 124 echo "Making $$target in $$subdir"; \ 125 if test "$$subdir" = "."; then \ 126 dot_seen=yes; \ 127 local_target="$$target-am"; \ 128 else \ 129 local_target="$$target"; \ 130 fi; \ 131 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 132 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 133 done; \ 134 if test "$$dot_seen" = "no"; then \ 135 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 136 fi; test -z "$$fail" 137 138 mostlyclean-recursive clean-recursive distclean-recursive \ 139 maintainer-clean-recursive: 140 @set fnord $(MAKEFLAGS); amf=$$2; \ 141 dot_seen=no; \ 142 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ 143 rev="$$subdir $$rev"; \ 144 test "$$subdir" = "." && dot_seen=yes; \ 145 done; \ 146 test "$$dot_seen" = "no" && rev=". $$rev"; \ 147 target=`echo $@ | sed s/-recursive//`; \ 148 for subdir in $$rev; do \ 149 echo "Making $$target in $$subdir"; \ 150 if test "$$subdir" = "."; then \ 151 local_target="$$target-am"; \ 152 else \ 153 local_target="$$target"; \ 154 fi; \ 155 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 156 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 157 done && test -z "$$fail" 158 tags-recursive: 159 list='$(SUBDIRS)'; for subdir in $$list; do \ 160 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 157 config.h: stamp-h 158 @if test ! -f $@; then \ 159 rm -f stamp-h; \ 160 $(MAKE) stamp-h; \ 161 else :; fi 162 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status 163 cd $(top_builddir) \ 164 && CONFIG_FILES= CONFIG_HEADERS=config.h \ 165 $(SHELL) ./config.status 166 @echo timestamp > stamp-h 2> /dev/null 167 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in 168 @if test ! -f $@; then \ 169 rm -f $(srcdir)/stamp-h.in; \ 170 $(MAKE) $(srcdir)/stamp-h.in; \ 171 else :; fi 172 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 173 cd $(top_srcdir) && $(AUTOHEADER) 174 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null 175 176 mostlyclean-hdr: 177 178 clean-hdr: 179 180 distclean-hdr: 181 -rm -f config.h 182 183 maintainer-clean-hdr: 184 install-if-change: $(top_builddir)/config.status install-if-change.in 185 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 186 lock-directory: $(top_builddir)/config.status lock-directory.in 187 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 188 rcs-clean: $(top_builddir)/config.status rcs-clean.in 189 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 190 unlock-directory: $(top_builddir)/config.status unlock-directory.in 191 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 192 193 mostlyclean-binPROGRAMS: 194 195 clean-binPROGRAMS: 196 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 197 198 distclean-binPROGRAMS: 199 200 maintainer-clean-binPROGRAMS: 201 202 install-binPROGRAMS: $(bin_PROGRAMS) 203 @$(NORMAL_INSTALL) 204 $(mkinstalldirs) $(DESTDIR)$(bindir) 205 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 206 if test -f $$p; then \ 207 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ 208 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 209 else :; fi; \ 210 done 211 212 uninstall-binPROGRAMS: 213 @$(NORMAL_UNINSTALL) 214 list='$(bin_PROGRAMS)'; for p in $$list; do \ 215 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 216 done 217 218 .s.o: 219 $(COMPILE) -c $< 220 221 .S.o: 222 $(COMPILE) -c $< 223 224 mostlyclean-compile: 225 -rm -f *.o core *.core 226 227 clean-compile: 228 229 distclean-compile: 230 -rm -f *.tab.c 231 232 maintainer-clean-compile: 233 234 cklength$(EXEEXT): $(cklength_OBJECTS) $(cklength_DEPENDENCIES) 235 @rm -f cklength$(EXEEXT) 236 $(LINK) $(cklength_LDFLAGS) $(cklength_OBJECTS) $(cklength_LDADD) $(LIBS) 237 238 eolstrip$(EXEEXT): $(eolstrip_OBJECTS) $(eolstrip_DEPENDENCIES) 239 @rm -f eolstrip$(EXEEXT) 240 $(LINK) $(eolstrip_LDFLAGS) $(eolstrip_OBJECTS) $(eolstrip_LDADD) $(LIBS) 241 242 packhex$(EXEEXT): $(packhex_OBJECTS) $(packhex_DEPENDENCIES) 243 @rm -f packhex$(EXEEXT) 244 $(LINK) $(packhex_LDFLAGS) $(packhex_OBJECTS) $(packhex_LDADD) $(LIBS) 245 246 unhex$(EXEEXT): $(unhex_OBJECTS) $(unhex_DEPENDENCIES) 247 @rm -f unhex$(EXEEXT) 248 $(LINK) $(unhex_LDFLAGS) $(unhex_OBJECTS) $(unhex_LDADD) $(LIBS) 249 250 install-binSCRIPTS: $(bin_SCRIPTS) 251 @$(NORMAL_INSTALL) 252 $(mkinstalldirs) $(DESTDIR)$(bindir) 253 @list='$(bin_SCRIPTS)'; for p in $$list; do \ 254 if test -f $$p; then \ 255 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ 256 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ 257 else if test -f $(srcdir)/$$p; then \ 258 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ 259 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ 260 else :; fi; fi; \ 261 done 262 263 uninstall-binSCRIPTS: 264 @$(NORMAL_UNINSTALL) 265 list='$(bin_SCRIPTS)'; for p in $$list; do \ 266 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ 161 267 done 162 268 … … 171 277 && mkid -f$$here/ID $$unique $(LISP) 172 278 173 TAGS: tags-recursive $(HEADERS) $(SOURCES)$(TAGS_DEPENDENCIES) $(LISP)279 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) 174 280 tags=; \ 175 281 here=`pwd`; \ 176 list='$(SUBDIRS)'; for subdir in $$list; do \177 if test "$$subdir" = .; then :; else \178 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \179 fi; \180 done; \181 282 list='$(SOURCES) $(HEADERS)'; \ 182 283 unique=`for i in $$list; do echo $$i; done | \ 183 284 awk ' { files[$$0] = 1; } \ 184 285 END { for (i in files) print i; }'`; \ 185 test -z "$(ETAGS_ARGS) $$unique$(LISP)$$tags" \186 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)286 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ 287 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) 187 288 188 289 mostlyclean-tags: … … 248 349 fi; \ 249 350 done 250 for subdir in $(SUBDIRS); do \ 251 if test "$$subdir" = .; then :; else \ 252 test -d $(distdir)/$$subdir \ 253 || mkdir $(distdir)/$$subdir \ 254 || exit 1; \ 255 chmod 777 $(distdir)/$$subdir; \ 256 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ 257 || exit 1; \ 258 fi; \ 259 done 351 352 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 353 354 -include $(DEP_FILES) 355 356 mostlyclean-depend: 357 358 clean-depend: 359 360 distclean-depend: 361 -rm -rf .deps 362 363 maintainer-clean-depend: 364 365 %.o: %.c 366 @echo '$(COMPILE) -c $<'; \ 367 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 368 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 369 tr ' ' '\012' < .deps/$(*F).pp \ 370 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 371 >> .deps/$(*F).P; \ 372 rm .deps/$(*F).pp 373 374 %.lo: %.c 375 @echo '$(LTCOMPILE) -c $<'; \ 376 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 377 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 378 < .deps/$(*F).pp > .deps/$(*F).P; \ 379 tr ' ' '\012' < .deps/$(*F).pp \ 380 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 381 >> .deps/$(*F).P; \ 382 rm -f .deps/$(*F).pp 260 383 info-am: 261 info: info- recursive384 info: info-am 262 385 dvi-am: 263 dvi: dvi- recursive386 dvi: dvi-am 264 387 check-am: all-am 265 check: check- recursive388 check: check-am 266 389 installcheck-am: 267 installcheck: installcheck-recursive 268 install-exec-am: 269 install-exec: install-exec-recursive 390 installcheck: installcheck-am 391 all-recursive-am: config.h 392 $(MAKE) $(AM_MAKEFLAGS) all-recursive 393 394 install-exec-am: install-binPROGRAMS install-binSCRIPTS \ 395 install-exec-local 396 install-exec: install-exec-am 270 397 271 398 install-data-am: 272 install-data: install-data- recursive399 install-data: install-data-am 273 400 274 401 install-am: all-am 275 402 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 276 install: install- recursive277 uninstall-am: 278 uninstall: uninstall- recursive279 all-am: Makefile 280 all-redirect: all- recursive403 install: install-am 404 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS 405 uninstall: uninstall-am 406 all-am: Makefile $(PROGRAMS) $(SCRIPTS) config.h 407 all-redirect: all-am 281 408 install-strip: 282 409 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 283 installdirs: installdirs-recursive284 installdirs-am: 410 installdirs: 411 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) 285 412 286 413 … … 294 421 295 422 maintainer-clean-generic: 296 mostlyclean-am: mostlyclean-tags mostlyclean-generic 297 298 mostlyclean: mostlyclean-recursive 299 300 clean-am: clean-tags clean-generic mostlyclean-am 301 302 clean: clean-recursive 303 304 distclean-am: distclean-tags distclean-generic clean-am 305 306 distclean: distclean-recursive 423 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ 424 mostlyclean-compile mostlyclean-tags mostlyclean-depend \ 425 mostlyclean-generic 426 427 mostlyclean: mostlyclean-am 428 429 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \ 430 clean-depend clean-generic mostlyclean-am 431 432 clean: clean-am 433 434 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \ 435 distclean-tags distclean-depend distclean-generic \ 436 clean-am 437 438 distclean: distclean-am 307 439 -rm -f config.status 308 440 309 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ 441 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ 442 maintainer-clean-compile maintainer-clean-tags \ 443 maintainer-clean-depend maintainer-clean-generic \ 310 444 distclean-am 311 445 @echo "This command is intended for maintainers to use;" 312 446 @echo "it deletes files that may require special tools to rebuild." 313 447 314 maintainer-clean: maintainer-clean- recursive448 maintainer-clean: maintainer-clean-am 315 449 -rm -f config.status 316 450 317 .PHONY: install-data-recursive uninstall-data-recursive \ 318 install-exec-recursive uninstall-exec-recursive installdirs-recursive \ 319 uninstalldirs-recursive all-recursive check-recursive \ 320 installcheck-recursive info-recursive dvi-recursive \ 321 mostlyclean-recursive distclean-recursive clean-recursive \ 322 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ 323 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ 324 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ 325 install-exec install-data-am install-data install-am install \ 326 uninstall-am uninstall all-redirect all-am all installdirs-am \ 327 installdirs mostlyclean-generic distclean-generic clean-generic \ 451 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ 452 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ 453 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ 454 mostlyclean-compile distclean-compile clean-compile \ 455 maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS tags \ 456 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ 457 distdir mostlyclean-depend distclean-depend clean-depend \ 458 maintainer-clean-depend info-am info dvi-am dvi check check-am \ 459 installcheck-am installcheck all-recursive-am install-exec-local \ 460 install-exec-am install-exec install-data-am install-data install-am \ 461 install uninstall-am uninstall all-redirect all-am all installdirs \ 462 mostlyclean-generic distclean-generic clean-generic \ 328 463 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 329 464 330 465 331 preinstall-recursive \ 332 debug-recursive debug_install-recursive \ 333 profile-recursive profile_install-recursive: 334 @set fnord $(MAKEFLAGS); amf=$$2; \ 335 dot_seen=no; \ 336 target=`echo $@ | sed s/-recursive//`; \ 337 list='$(SUBDIRS)'; for subdir in $$list; do \ 338 echo "Making $$target in $$subdir"; \ 339 if test "$$subdir" = "."; then \ 340 dot_seen=yes; \ 341 local_target="$$target-am"; \ 342 else \ 343 local_target="$$target"; \ 344 fi; \ 345 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 346 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 347 done; \ 348 if test "$$dot_seen" = "no"; then \ 349 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 350 fi; test -z "$$fail" 351 352 debug: debug-recursive 353 354 debug_install: debug_install-recursive 355 356 profile: profile-recursive 357 358 profile_install: profile_install-recursive 359 360 preinstall: preinstall-recursive 361 362 .PHONY: \ 363 debug debug-recursive \ 364 debug_install \ 365 profile profile-recursive \ 366 profile_install \ 367 preinstall preinstall-recursive 466 # 467 # HACK: Install to build directory 468 # 469 install-exec-local: $(bin_PROGRAMS) $(bin_SCRIPTS) 470 if test -n "${RTEMS_BSP}"; then \ 471 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 472 $(INSTALL_SCRIPT) $(bin_SCRIPTS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 473 $(INSTALL_PROGRAM) $(bin_PROGRAMS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 474 fi 475 476 preinstall: install-exec-local 368 477 369 478 debug-am: -
c/build-tools/configure
r183fa829 rb6529a3 454 454 # A filename unique to this package, relative to the directory that 455 455 # configure is in, which we can look for to find out if srcdir is correct. 456 ac_unique_file= scripts456 ac_unique_file=README 457 457 458 458 # Find the source files, if location was not specified. … … 1358 1358 1359 1359 trap 'rm -fr `echo "Makefile 1360 src/Makefile 1361 scripts/Makefile 1362 scripts/install-if-change 1363 scripts/lock-directory 1364 scripts/rcs-clean 1365 scripts/unlock-directory 1366 src/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 1360 install-if-change 1361 lock-directory 1362 rcs-clean 1363 unlock-directory 1364 config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 1367 1365 EOF 1368 1366 cat >> $CONFIG_STATUS <<EOF … … 1460 1458 1461 1459 CONFIG_FILES=\${CONFIG_FILES-"Makefile 1462 src/Makefile 1463 scripts/Makefile 1464 scripts/install-if-change 1465 scripts/lock-directory 1466 scripts/rcs-clean 1467 scripts/unlock-directory 1460 install-if-change 1461 lock-directory 1462 rcs-clean 1463 unlock-directory 1468 1464 "} 1469 1465 EOF … … 1547 1543 EOF 1548 1544 cat >> $CONFIG_STATUS <<EOF 1549 CONFIG_HEADERS=" src/config.h"1545 CONFIG_HEADERS="config.h" 1550 1546 EOF 1551 1547 cat >> $CONFIG_STATUS <<\EOF … … 1638 1634 EOF 1639 1635 cat >> $CONFIG_STATUS <<\EOF 1640 test -z "$CONFIG_HEADERS" || echo timestamp > s rc/stamp-h1636 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 1641 1637 1642 1638 exit 0 -
c/build-tools/configure.in
r183fa829 rb6529a3 4 4 5 5 AC_PREREQ(2.13) 6 AC_INIT( scripts)6 AC_INIT(README) 7 7 AC_CONFIG_AUX_DIR(../..) 8 8 RTEMS_TOP(../..) … … 18 18 RTEMS_PATH_KSH 19 19 20 AM_CONFIG_HEADER( src/config.h)20 AM_CONFIG_HEADER(config.h) 21 21 22 22 AC_OUTPUT( 23 23 Makefile 24 src/Makefile 25 scripts/Makefile 26 scripts/install-if-change 27 scripts/lock-directory 28 scripts/rcs-clean 29 scripts/unlock-directory 24 install-if-change 25 lock-directory 26 rcs-clean 27 unlock-directory 30 28 ) -
tools/build/Makefile.am
r183fa829 rb6529a3 6 6 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 7 7 8 SUBDIRS = scripts src 8 bin_PROGRAMS=cklength eolstrip packhex unhex 9 9 10 include $(top_srcdir)/../../automake/subdirs.am 10 cklength_SOURCES = cklength.c 11 eolstrip_SOURCES = eolstrip.c 12 packhex_SOURCES = packhex.c 13 unhex_SOURCES = unhex.c 14 15 bin_SCRIPTS=\ 16 install-if-change \ 17 lock-directory \ 18 unlock-directory \ 19 rcs-clean 20 21 noinst_SCRIPTS = search-id.sh 22 23 # 24 # HACK: Install to build directory 25 # 26 install-exec-local: $(bin_PROGRAMS) $(bin_SCRIPTS) 27 if test -n "${RTEMS_BSP}"; then \ 28 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 29 $(INSTALL_SCRIPT) $(bin_SCRIPTS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 30 $(INSTALL_PROGRAM) $(bin_PROGRAMS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 31 fi 32 33 preinstall: install-exec-local 34 11 35 include $(top_srcdir)/../../automake/local.am -
tools/build/Makefile.in
r183fa829 rb6529a3 14 14 # $Id$ 15 15 # 16 17 16 18 17 … … 77 76 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 78 77 79 SUBDIRS = scripts src 78 bin_PROGRAMS = cklength eolstrip packhex unhex 79 80 cklength_SOURCES = cklength.c 81 eolstrip_SOURCES = eolstrip.c 82 packhex_SOURCES = packhex.c 83 unhex_SOURCES = unhex.c 84 85 bin_SCRIPTS = install-if-change lock-directory unlock-directory rcs-clean 86 87 88 noinst_SCRIPTS = search-id.sh 80 89 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 81 90 mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs 82 CONFIG_HEADER = ./src/config.h 83 CONFIG_CLEAN_FILES = 84 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 91 CONFIG_HEADER = config.h 92 CONFIG_CLEAN_FILES = install-if-change lock-directory rcs-clean \ 93 unlock-directory 94 bin_PROGRAMS = cklength$(EXEEXT) eolstrip$(EXEEXT) packhex$(EXEEXT) \ 95 unhex$(EXEEXT) 96 PROGRAMS = $(bin_PROGRAMS) 97 98 99 DEFS = @DEFS@ -I. -I$(srcdir) -I. 100 CPPFLAGS = @CPPFLAGS@ 101 LDFLAGS = @LDFLAGS@ 102 LIBS = @LIBS@ 103 cklength_OBJECTS = cklength.o 104 cklength_LDADD = $(LDADD) 105 cklength_DEPENDENCIES = 106 cklength_LDFLAGS = 107 eolstrip_OBJECTS = eolstrip.o 108 eolstrip_LDADD = $(LDADD) 109 eolstrip_DEPENDENCIES = 110 eolstrip_LDFLAGS = 111 packhex_OBJECTS = packhex.o 112 packhex_LDADD = $(LDADD) 113 packhex_DEPENDENCIES = 114 packhex_LDFLAGS = 115 unhex_OBJECTS = unhex.o 116 unhex_LDADD = $(LDADD) 117 unhex_DEPENDENCIES = 118 unhex_LDFLAGS = 119 SCRIPTS = $(bin_SCRIPTS) $(noinst_SCRIPTS) 120 121 CFLAGS = @CFLAGS@ 122 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 123 CCLD = $(CC) 124 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 125 DIST_COMMON = README ./stamp-h.in Makefile.am Makefile.in aclocal.m4 \ 126 config.h.in configure configure.in install-if-change.in \ 127 lock-directory.in rcs-clean.in unlock-directory.in 85 128 86 129 … … 89 132 TAR = tar 90 133 GZIP_ENV = --best 134 DEP_FILES = .deps/cklength.P .deps/eolstrip.P .deps/packhex.P \ 135 .deps/unhex.P 136 SOURCES = $(cklength_SOURCES) $(eolstrip_SOURCES) $(packhex_SOURCES) $(unhex_SOURCES) 137 OBJECTS = $(cklength_OBJECTS) $(eolstrip_OBJECTS) $(packhex_OBJECTS) $(unhex_OBJECTS) 138 91 139 all: all-redirect 92 140 .SUFFIXES: 93 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../automake/subdirs.am $(top_srcdir)/../../automake/local.am 141 .SUFFIXES: .S .c .o .s 142 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../automake/local.am 94 143 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 95 144 … … 106 155 cd $(srcdir) && $(AUTOCONF) 107 156 108 # This directory's subdirectories are mostly independent; you can cd 109 # into them and run `make' without going through this Makefile. 110 # To change the values of `make' variables: instead of editing Makefiles, 111 # (1) if the variable is set in `config.status', edit `config.status' 112 # (which will cause the Makefiles to be regenerated when you run `make'); 113 # (2) otherwise, pass the desired values on the `make' command line. 114 115 @SET_MAKE@ 116 117 all-recursive install-data-recursive install-exec-recursive \ 118 installdirs-recursive install-recursive uninstall-recursive \ 119 check-recursive installcheck-recursive info-recursive dvi-recursive: 120 @set fnord $(MAKEFLAGS); amf=$$2; \ 121 dot_seen=no; \ 122 target=`echo $@ | sed s/-recursive//`; \ 123 list='$(SUBDIRS)'; for subdir in $$list; do \ 124 echo "Making $$target in $$subdir"; \ 125 if test "$$subdir" = "."; then \ 126 dot_seen=yes; \ 127 local_target="$$target-am"; \ 128 else \ 129 local_target="$$target"; \ 130 fi; \ 131 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 132 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 133 done; \ 134 if test "$$dot_seen" = "no"; then \ 135 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 136 fi; test -z "$$fail" 137 138 mostlyclean-recursive clean-recursive distclean-recursive \ 139 maintainer-clean-recursive: 140 @set fnord $(MAKEFLAGS); amf=$$2; \ 141 dot_seen=no; \ 142 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ 143 rev="$$subdir $$rev"; \ 144 test "$$subdir" = "." && dot_seen=yes; \ 145 done; \ 146 test "$$dot_seen" = "no" && rev=". $$rev"; \ 147 target=`echo $@ | sed s/-recursive//`; \ 148 for subdir in $$rev; do \ 149 echo "Making $$target in $$subdir"; \ 150 if test "$$subdir" = "."; then \ 151 local_target="$$target-am"; \ 152 else \ 153 local_target="$$target"; \ 154 fi; \ 155 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 156 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 157 done && test -z "$$fail" 158 tags-recursive: 159 list='$(SUBDIRS)'; for subdir in $$list; do \ 160 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 157 config.h: stamp-h 158 @if test ! -f $@; then \ 159 rm -f stamp-h; \ 160 $(MAKE) stamp-h; \ 161 else :; fi 162 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status 163 cd $(top_builddir) \ 164 && CONFIG_FILES= CONFIG_HEADERS=config.h \ 165 $(SHELL) ./config.status 166 @echo timestamp > stamp-h 2> /dev/null 167 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in 168 @if test ! -f $@; then \ 169 rm -f $(srcdir)/stamp-h.in; \ 170 $(MAKE) $(srcdir)/stamp-h.in; \ 171 else :; fi 172 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 173 cd $(top_srcdir) && $(AUTOHEADER) 174 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null 175 176 mostlyclean-hdr: 177 178 clean-hdr: 179 180 distclean-hdr: 181 -rm -f config.h 182 183 maintainer-clean-hdr: 184 install-if-change: $(top_builddir)/config.status install-if-change.in 185 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 186 lock-directory: $(top_builddir)/config.status lock-directory.in 187 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 188 rcs-clean: $(top_builddir)/config.status rcs-clean.in 189 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 190 unlock-directory: $(top_builddir)/config.status unlock-directory.in 191 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 192 193 mostlyclean-binPROGRAMS: 194 195 clean-binPROGRAMS: 196 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 197 198 distclean-binPROGRAMS: 199 200 maintainer-clean-binPROGRAMS: 201 202 install-binPROGRAMS: $(bin_PROGRAMS) 203 @$(NORMAL_INSTALL) 204 $(mkinstalldirs) $(DESTDIR)$(bindir) 205 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 206 if test -f $$p; then \ 207 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ 208 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 209 else :; fi; \ 210 done 211 212 uninstall-binPROGRAMS: 213 @$(NORMAL_UNINSTALL) 214 list='$(bin_PROGRAMS)'; for p in $$list; do \ 215 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 216 done 217 218 .s.o: 219 $(COMPILE) -c $< 220 221 .S.o: 222 $(COMPILE) -c $< 223 224 mostlyclean-compile: 225 -rm -f *.o core *.core 226 227 clean-compile: 228 229 distclean-compile: 230 -rm -f *.tab.c 231 232 maintainer-clean-compile: 233 234 cklength$(EXEEXT): $(cklength_OBJECTS) $(cklength_DEPENDENCIES) 235 @rm -f cklength$(EXEEXT) 236 $(LINK) $(cklength_LDFLAGS) $(cklength_OBJECTS) $(cklength_LDADD) $(LIBS) 237 238 eolstrip$(EXEEXT): $(eolstrip_OBJECTS) $(eolstrip_DEPENDENCIES) 239 @rm -f eolstrip$(EXEEXT) 240 $(LINK) $(eolstrip_LDFLAGS) $(eolstrip_OBJECTS) $(eolstrip_LDADD) $(LIBS) 241 242 packhex$(EXEEXT): $(packhex_OBJECTS) $(packhex_DEPENDENCIES) 243 @rm -f packhex$(EXEEXT) 244 $(LINK) $(packhex_LDFLAGS) $(packhex_OBJECTS) $(packhex_LDADD) $(LIBS) 245 246 unhex$(EXEEXT): $(unhex_OBJECTS) $(unhex_DEPENDENCIES) 247 @rm -f unhex$(EXEEXT) 248 $(LINK) $(unhex_LDFLAGS) $(unhex_OBJECTS) $(unhex_LDADD) $(LIBS) 249 250 install-binSCRIPTS: $(bin_SCRIPTS) 251 @$(NORMAL_INSTALL) 252 $(mkinstalldirs) $(DESTDIR)$(bindir) 253 @list='$(bin_SCRIPTS)'; for p in $$list; do \ 254 if test -f $$p; then \ 255 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ 256 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ 257 else if test -f $(srcdir)/$$p; then \ 258 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \ 259 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ 260 else :; fi; fi; \ 261 done 262 263 uninstall-binSCRIPTS: 264 @$(NORMAL_UNINSTALL) 265 list='$(bin_SCRIPTS)'; for p in $$list; do \ 266 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \ 161 267 done 162 268 … … 171 277 && mkid -f$$here/ID $$unique $(LISP) 172 278 173 TAGS: tags-recursive $(HEADERS) $(SOURCES)$(TAGS_DEPENDENCIES) $(LISP)279 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) 174 280 tags=; \ 175 281 here=`pwd`; \ 176 list='$(SUBDIRS)'; for subdir in $$list; do \177 if test "$$subdir" = .; then :; else \178 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \179 fi; \180 done; \181 282 list='$(SOURCES) $(HEADERS)'; \ 182 283 unique=`for i in $$list; do echo $$i; done | \ 183 284 awk ' { files[$$0] = 1; } \ 184 285 END { for (i in files) print i; }'`; \ 185 test -z "$(ETAGS_ARGS) $$unique$(LISP)$$tags" \186 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)286 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ 287 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) 187 288 188 289 mostlyclean-tags: … … 248 349 fi; \ 249 350 done 250 for subdir in $(SUBDIRS); do \ 251 if test "$$subdir" = .; then :; else \ 252 test -d $(distdir)/$$subdir \ 253 || mkdir $(distdir)/$$subdir \ 254 || exit 1; \ 255 chmod 777 $(distdir)/$$subdir; \ 256 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ 257 || exit 1; \ 258 fi; \ 259 done 351 352 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 353 354 -include $(DEP_FILES) 355 356 mostlyclean-depend: 357 358 clean-depend: 359 360 distclean-depend: 361 -rm -rf .deps 362 363 maintainer-clean-depend: 364 365 %.o: %.c 366 @echo '$(COMPILE) -c $<'; \ 367 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 368 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 369 tr ' ' '\012' < .deps/$(*F).pp \ 370 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 371 >> .deps/$(*F).P; \ 372 rm .deps/$(*F).pp 373 374 %.lo: %.c 375 @echo '$(LTCOMPILE) -c $<'; \ 376 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 377 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 378 < .deps/$(*F).pp > .deps/$(*F).P; \ 379 tr ' ' '\012' < .deps/$(*F).pp \ 380 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 381 >> .deps/$(*F).P; \ 382 rm -f .deps/$(*F).pp 260 383 info-am: 261 info: info- recursive384 info: info-am 262 385 dvi-am: 263 dvi: dvi- recursive386 dvi: dvi-am 264 387 check-am: all-am 265 check: check- recursive388 check: check-am 266 389 installcheck-am: 267 installcheck: installcheck-recursive 268 install-exec-am: 269 install-exec: install-exec-recursive 390 installcheck: installcheck-am 391 all-recursive-am: config.h 392 $(MAKE) $(AM_MAKEFLAGS) all-recursive 393 394 install-exec-am: install-binPROGRAMS install-binSCRIPTS \ 395 install-exec-local 396 install-exec: install-exec-am 270 397 271 398 install-data-am: 272 install-data: install-data- recursive399 install-data: install-data-am 273 400 274 401 install-am: all-am 275 402 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 276 install: install- recursive277 uninstall-am: 278 uninstall: uninstall- recursive279 all-am: Makefile 280 all-redirect: all- recursive403 install: install-am 404 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS 405 uninstall: uninstall-am 406 all-am: Makefile $(PROGRAMS) $(SCRIPTS) config.h 407 all-redirect: all-am 281 408 install-strip: 282 409 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 283 installdirs: installdirs-recursive284 installdirs-am: 410 installdirs: 411 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) 285 412 286 413 … … 294 421 295 422 maintainer-clean-generic: 296 mostlyclean-am: mostlyclean-tags mostlyclean-generic 297 298 mostlyclean: mostlyclean-recursive 299 300 clean-am: clean-tags clean-generic mostlyclean-am 301 302 clean: clean-recursive 303 304 distclean-am: distclean-tags distclean-generic clean-am 305 306 distclean: distclean-recursive 423 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ 424 mostlyclean-compile mostlyclean-tags mostlyclean-depend \ 425 mostlyclean-generic 426 427 mostlyclean: mostlyclean-am 428 429 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \ 430 clean-depend clean-generic mostlyclean-am 431 432 clean: clean-am 433 434 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \ 435 distclean-tags distclean-depend distclean-generic \ 436 clean-am 437 438 distclean: distclean-am 307 439 -rm -f config.status 308 440 309 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ 441 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ 442 maintainer-clean-compile maintainer-clean-tags \ 443 maintainer-clean-depend maintainer-clean-generic \ 310 444 distclean-am 311 445 @echo "This command is intended for maintainers to use;" 312 446 @echo "it deletes files that may require special tools to rebuild." 313 447 314 maintainer-clean: maintainer-clean- recursive448 maintainer-clean: maintainer-clean-am 315 449 -rm -f config.status 316 450 317 .PHONY: install-data-recursive uninstall-data-recursive \ 318 install-exec-recursive uninstall-exec-recursive installdirs-recursive \ 319 uninstalldirs-recursive all-recursive check-recursive \ 320 installcheck-recursive info-recursive dvi-recursive \ 321 mostlyclean-recursive distclean-recursive clean-recursive \ 322 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ 323 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ 324 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ 325 install-exec install-data-am install-data install-am install \ 326 uninstall-am uninstall all-redirect all-am all installdirs-am \ 327 installdirs mostlyclean-generic distclean-generic clean-generic \ 451 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ 452 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ 453 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ 454 mostlyclean-compile distclean-compile clean-compile \ 455 maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS tags \ 456 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ 457 distdir mostlyclean-depend distclean-depend clean-depend \ 458 maintainer-clean-depend info-am info dvi-am dvi check check-am \ 459 installcheck-am installcheck all-recursive-am install-exec-local \ 460 install-exec-am install-exec install-data-am install-data install-am \ 461 install uninstall-am uninstall all-redirect all-am all installdirs \ 462 mostlyclean-generic distclean-generic clean-generic \ 328 463 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 329 464 330 465 331 preinstall-recursive \ 332 debug-recursive debug_install-recursive \ 333 profile-recursive profile_install-recursive: 334 @set fnord $(MAKEFLAGS); amf=$$2; \ 335 dot_seen=no; \ 336 target=`echo $@ | sed s/-recursive//`; \ 337 list='$(SUBDIRS)'; for subdir in $$list; do \ 338 echo "Making $$target in $$subdir"; \ 339 if test "$$subdir" = "."; then \ 340 dot_seen=yes; \ 341 local_target="$$target-am"; \ 342 else \ 343 local_target="$$target"; \ 344 fi; \ 345 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 346 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 347 done; \ 348 if test "$$dot_seen" = "no"; then \ 349 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 350 fi; test -z "$$fail" 351 352 debug: debug-recursive 353 354 debug_install: debug_install-recursive 355 356 profile: profile-recursive 357 358 profile_install: profile_install-recursive 359 360 preinstall: preinstall-recursive 361 362 .PHONY: \ 363 debug debug-recursive \ 364 debug_install \ 365 profile profile-recursive \ 366 profile_install \ 367 preinstall preinstall-recursive 466 # 467 # HACK: Install to build directory 468 # 469 install-exec-local: $(bin_PROGRAMS) $(bin_SCRIPTS) 470 if test -n "${RTEMS_BSP}"; then \ 471 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 472 $(INSTALL_SCRIPT) $(bin_SCRIPTS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 473 $(INSTALL_PROGRAM) $(bin_PROGRAMS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ 474 fi 475 476 preinstall: install-exec-local 368 477 369 478 debug-am: -
tools/build/configure
r183fa829 rb6529a3 454 454 # A filename unique to this package, relative to the directory that 455 455 # configure is in, which we can look for to find out if srcdir is correct. 456 ac_unique_file= scripts456 ac_unique_file=README 457 457 458 458 # Find the source files, if location was not specified. … … 1358 1358 1359 1359 trap 'rm -fr `echo "Makefile 1360 src/Makefile 1361 scripts/Makefile 1362 scripts/install-if-change 1363 scripts/lock-directory 1364 scripts/rcs-clean 1365 scripts/unlock-directory 1366 src/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 1360 install-if-change 1361 lock-directory 1362 rcs-clean 1363 unlock-directory 1364 config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 1367 1365 EOF 1368 1366 cat >> $CONFIG_STATUS <<EOF … … 1460 1458 1461 1459 CONFIG_FILES=\${CONFIG_FILES-"Makefile 1462 src/Makefile 1463 scripts/Makefile 1464 scripts/install-if-change 1465 scripts/lock-directory 1466 scripts/rcs-clean 1467 scripts/unlock-directory 1460 install-if-change 1461 lock-directory 1462 rcs-clean 1463 unlock-directory 1468 1464 "} 1469 1465 EOF … … 1547 1543 EOF 1548 1544 cat >> $CONFIG_STATUS <<EOF 1549 CONFIG_HEADERS=" src/config.h"1545 CONFIG_HEADERS="config.h" 1550 1546 EOF 1551 1547 cat >> $CONFIG_STATUS <<\EOF … … 1638 1634 EOF 1639 1635 cat >> $CONFIG_STATUS <<\EOF 1640 test -z "$CONFIG_HEADERS" || echo timestamp > s rc/stamp-h1636 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 1641 1637 1642 1638 exit 0 -
tools/build/configure.in
r183fa829 rb6529a3 4 4 5 5 AC_PREREQ(2.13) 6 AC_INIT( scripts)6 AC_INIT(README) 7 7 AC_CONFIG_AUX_DIR(../..) 8 8 RTEMS_TOP(../..) … … 18 18 RTEMS_PATH_KSH 19 19 20 AM_CONFIG_HEADER( src/config.h)20 AM_CONFIG_HEADER(config.h) 21 21 22 22 AC_OUTPUT( 23 23 Makefile 24 src/Makefile 25 scripts/Makefile 26 scripts/install-if-change 27 scripts/lock-directory 28 scripts/rcs-clean 29 scripts/unlock-directory 24 install-if-change 25 lock-directory 26 rcs-clean 27 unlock-directory 30 28 )
Note: See TracChangeset
for help on using the changeset viewer.