From 1d9a2fc5abb83a5f37b10c63da8ccaf6ce0bda47 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 29 Nov 1999 15:45:11 +0000 Subject: Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius which (among other things) converted the mptests to automake. SUB_DIRS was used instead of SUBDIRS in some Makefile.ins (apparently a leftover from moving the start* directories) Addtional major bugs: * psxtests/include was empty (incomplete psxtests changes). * bogus handling of *.scn in itrontests (screens/sptests vs. screens/itrontests installation dirs) In addition I have added a few more changes (I couldn't resist) * automake support for itrontests * OPERATION_COUNT support in tmitrontests/ * automake support for tmitrontests * automake suppport for mptests * Some (minor) corrections to several configure.in/Makefile.ams => c/src/tests/ is completly under automake control, now. => we could start to sort out the structural issues with c/src/tests (tests/support, stubdr, tools, get "make dist" working) --- c/src/tests/itrontests/itronmbox01/Makefile.in | 304 +++++++++++++++++++++---- 1 file changed, 261 insertions(+), 43 deletions(-) (limited to 'c/src/tests/itrontests/itronmbox01') diff --git a/c/src/tests/itrontests/itronmbox01/Makefile.in b/c/src/tests/itrontests/itronmbox01/Makefile.in index 253893ecf0..bf3e873188 100644 --- a/c/src/tests/itrontests/itronmbox01/Makefile.in +++ b/c/src/tests/itrontests/itronmbox01/Makefile.in @@ -1,83 +1,301 @@ -# -# $Id$ -# +# Makefile.in generated automatically by automake 1.4a from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + + +SHELL = @SHELL@ -@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + top_builddir = .. -subdir = itronmbox01 -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ -VPATH = @srcdir@ +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_FLAG = +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@ +BARE_CPU_MODEL = @BARE_CPU_MODEL@ +CC = @CC@ +CC_CFLAGS_DEBUG_V = @CC_CFLAGS_DEBUG_V@ +CC_CFLAGS_DEFAULT = @CC_CFLAGS_DEFAULT@ +CC_CFLAGS_PROFILE_V = @CC_CFLAGS_PROFILE_V@ +CC_FOR_TARGET = @CC_FOR_TARGET@ +CC_LDFLAGS_PROFILE_V = @CC_LDFLAGS_PROFILE_V@ +CPP = @CPP@ +GCCSED = @GCCSED@ +INSTALL_CHANGE = @INSTALL_CHANGE@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +PACKHEX = @PACKHEX@ +PROJECT_ROOT = @PROJECT_ROOT@ +RTEMS_BSP = @RTEMS_BSP@ +RTEMS_CPU = @RTEMS_CPU@ +RTEMS_HOST = @RTEMS_HOST@ +RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@ +RTEMS_ROOT = @RTEMS_ROOT@ +RTEMS_TOPdir = @RTEMS_TOPdir@ +RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@ +RTEMS_USE_MACROS = @RTEMS_USE_MACROS@ +VERSION = @VERSION@ +AUTOMAKE_OPTIONS = foreign 1.4 TEST = itronmbox01 + PGM = ${ARCH}/$(TEST).exe MANAGERS = all # C source names, if any, go here -- minus the .c -C_PIECES = init -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) +C_FILES = init.c +C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) H_FILES = system.h +noinst_HEADERS = $(H_FILES) -## DOCTYPES = doc scn -## DOCS = $(DOCTYPES:%=$(TEST).%) +DOCTYPES = doc scn +DOCS = $(DOCTYPES:%=$(TEST).%) SRCS = $(DOCS) $(C_FILES) $(H_FILES) OBJS = $(C_O_FILES) PRINT_SRCS = $(DOCS) -PGM = ${ARCH}/$(TEST).exe +project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@ + +TMPINSTALL_FILES = $(project_bspdir)/tests $(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe $(project_bspdir)/tests/screens $(project_bspdir)/tests/screens/itrontests $(project_bspdir)/tests/screens/itrontests/$(TEST).scn + + +EXTRA_DIST = $(C_FILES) $(DOCS) +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs +CONFIG_CLEAN_FILES = +HEADERS = $(noinst_HEADERS) + +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/itrontests.am $(top_srcdir)/../../../../automake/local.am + cd $(top_srcdir) && $(AUTOMAKE) --foreign itronmbox01/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = itronmbox01 + +distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign itronmbox01/Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: +uninstall: uninstall-am +all-am: Makefile $(HEADERS) all-local +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install +installdirs: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: tags mostlyclean-tags distclean-tags clean-tags \ +maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-local all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean + include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg -INSTALL_CHANGE = @INSTALL_CHANGE@ -PACKHEX = @PACKHEX@ -mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs +$(project_bspdir)/tests: + @$(mkinstalldirs) $@ -INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/sptests +$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM) + $(INSTALL_PROGRAM) $< $@ -$(INSTALLDIRS): - @$(mkinstalldirs) $(INSTALLDIRS) +$(project_bspdir)/tests/screens: + @$(mkinstalldirs) $@ +$(project_bspdir)/tests/screens/itrontests: + @$(mkinstalldirs) $@ + +$(project_bspdir)/tests/screens/itrontests/$(TEST).scn: $(TEST).scn + $(INSTALL_DATA) $< $@ # # (OPTIONAL) Add local stuff here using += # -DEFINES += -CPPFLAGS += -CFLAGS += +${PGM}: $(OBJS) $(LINK_FILES) + $(make-exe) -LD_PATHS += -LD_LIBS += -LDFLAGS += +all-local: $(ARCH) $(TMPINSTALL_FILES) -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# +debug-am: +debug: debug-am +.PHONY: debug debug-am -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += +profile-am: +profile: profile-am +.PHONY: profile profile-am -all: ${ARCH} $(SRCS) $(PGM) - @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests -## $(INSTALL_CHANGE) $(srcdir)/$(TEST).scn \ -## $(PROJECT_RELEASE)/tests/screens/itrontests/$(TEST).scn +preinstall-am: $(PREINSTALL_FILES) +preinstall: preinstall-am +.PHONY: preinstall preinstall-am -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) +depend-am: +depend: depend-am +.PHONY: depend depend-am -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: -- cgit v1.2.3