Ignore:
Timestamp:
Nov 29, 1999, 3:45:11 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4e917492
Parents:
64f55e7
Message:

Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@…>
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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/tmitrontests/tmitronsem01/Makefile.in

    r64f55e7 r1d9a2fc  
    1 #
    2 #  $Id$
    3 #
    4 
    5 @SET_MAKE@
     1# Makefile.in generated automatically by automake 1.4a from Makefile.am
     2
     3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     4# This Makefile.in is free software; the Free Software Foundation
     5# gives unlimited permission to copy and/or distribute it,
     6# with or without modifications, as long as this notice is preserved.
     7
     8# This program is distributed in the hope that it will be useful,
     9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     11# PARTICULAR PURPOSE.
     12
     13
     14
     15
     16SHELL = @SHELL@
     17
    618srcdir = @srcdir@
    719top_srcdir = @top_srcdir@
     20VPATH = @srcdir@
     21prefix = @prefix@
     22exec_prefix = @exec_prefix@
     23
     24bindir = @bindir@
     25sbindir = @sbindir@
     26libexecdir = @libexecdir@
     27datadir = @datadir@
     28sysconfdir = @sysconfdir@
     29sharedstatedir = @sharedstatedir@
     30localstatedir = @localstatedir@
     31libdir = @libdir@
     32infodir = @infodir@
     33mandir = @mandir@
     34includedir = @includedir@
     35oldincludedir = /usr/include
     36
     37DESTDIR =
     38
     39pkgdatadir = $(datadir)/@PACKAGE@
     40pkglibdir = $(libdir)/@PACKAGE@
     41pkgincludedir = $(includedir)/@PACKAGE@
     42
    843top_builddir = ..
    9 subdir = tmitronsem01
    10 
     44
     45ACLOCAL = @ACLOCAL@
     46AUTOCONF = @AUTOCONF@
     47AUTOMAKE = @AUTOMAKE@
     48AUTOHEADER = @AUTOHEADER@
     49
     50INSTALL = @INSTALL@
     51INSTALL_PROGRAM = @INSTALL_PROGRAM@
     52INSTALL_DATA = @INSTALL_DATA@
     53INSTALL_SCRIPT = @INSTALL_SCRIPT@
     54INSTALL_STRIP_FLAG =
     55transform = @program_transform_name@
     56
     57NORMAL_INSTALL = :
     58PRE_INSTALL = :
     59POST_INSTALL = :
     60NORMAL_UNINSTALL = :
     61PRE_UNINSTALL = :
     62POST_UNINSTALL = :
     63build_alias = @build_alias@
     64build_triplet = @build@
     65host_alias = @host_alias@
     66host_triplet = @host@
     67target_alias = @target_alias@
     68target_triplet = @target@
     69BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
     70BARE_CPU_MODEL = @BARE_CPU_MODEL@
     71CC = @CC@
     72CC_CFLAGS_DEBUG_V = @CC_CFLAGS_DEBUG_V@
     73CC_CFLAGS_DEFAULT = @CC_CFLAGS_DEFAULT@
     74CC_CFLAGS_PROFILE_V = @CC_CFLAGS_PROFILE_V@
     75CC_FOR_TARGET = @CC_FOR_TARGET@
     76CC_LDFLAGS_PROFILE_V = @CC_LDFLAGS_PROFILE_V@
     77CPP = @CPP@
     78GCCSED = @GCCSED@
     79INSTALL_CHANGE = @INSTALL_CHANGE@
     80MAINT = @MAINT@
     81MAKEINFO = @MAKEINFO@
     82PACKAGE = @PACKAGE@
     83PACKHEX = @PACKHEX@
     84PROJECT_ROOT = @PROJECT_ROOT@
     85RTEMS_BSP = @RTEMS_BSP@
     86RTEMS_CPU = @RTEMS_CPU@
     87RTEMS_HOST = @RTEMS_HOST@
     88RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
    1189RTEMS_ROOT = @RTEMS_ROOT@
    12 PROJECT_ROOT = @PROJECT_ROOT@
    13 
    14 VPATH = @srcdir@
    15 
     90RTEMS_TOPdir = @RTEMS_TOPdir@
     91RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
     92RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
     93VERSION = @VERSION@
     94
     95AUTOMAKE_OPTIONS = foreign 1.4
    1696TEST = tmitronsem01
    1797
     
    1999
    20100# C source names, if any, go here -- minus the .c
    21 C_PIECES = init
    22 C_FILES = $(C_PIECES:%=%.c)
    23 C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
     101C_FILES = init.c
     102C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    24103
    25104H_FILES = system.h
     105noinst_HEADERS = $(H_FILES)
    26106
    27107DOCTYPES = doc
     
    35115PGM = ${ARCH}/$(TEST).exe
    36116
    37 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    38 include $(RTEMS_ROOT)/make/leaf.cfg
    39 
    40 INSTALL_CHANGE = @INSTALL_CHANGE@
    41 PACKHEX = @PACKHEX@
     117project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@
     118
     119TMPINSTALL_FILES =  $(project_bspdir)/tests $(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe
     120
    42121
    43122#
     
    45124#
    46125
    47 DEFINES +=
    48 CPPFLAGS += -I$(srcdir)/../include
    49 CFLAGS +=
    50 
    51 LD_PATHS +=
    52 LD_LIBS +=
    53 LDFLAGS +=
    54 
    55 #
    56 # Add your list of files to delete here.  The config files
    57 #  already know how to delete some stuff, so you may want
    58 #  to just run 'make clean' first to see what gets missed.
    59 #  'make clobber' already includes 'make clean'
    60 #
    61 
    62 CLEAN_ADDITIONS +=
    63 CLOBBER_ADDITIONS +=
    64 
    65 all: ${ARCH} $(SRCS) $(PGM)
    66         @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
     126OPERATION_COUNT = @OPERATION_COUNT@
     127AM_CPPFLAGS =  -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT)
     128
     129EXTRA_DIST = $(C_FILES) $(DOCS)
     130mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
     131CONFIG_CLEAN_FILES =
     132HEADERS =  $(noinst_HEADERS)
     133
     134DIST_COMMON =  Makefile.am Makefile.in
     135
     136
     137DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     138
     139TAR = gtar
     140GZIP_ENV = --best
     141all: all-redirect
     142.SUFFIXES:
     143$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/tmitrontests.am $(top_srcdir)/../../../../automake/local.am
     144        cd $(top_srcdir) && $(AUTOMAKE) --foreign tmitronsem01/Makefile
     145
     146Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
     147        cd $(top_builddir) \
     148          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     149
     150
     151tags: TAGS
     152
     153ID: $(HEADERS) $(SOURCES) $(LISP)
     154        list='$(SOURCES) $(HEADERS)'; \
     155        unique=`for i in $$list; do echo $$i; done | \
     156          awk '    { files[$$0] = 1; } \
     157               END { for (i in files) print i; }'`; \
     158        here=`pwd` && cd $(srcdir) \
     159          && mkid -f$$here/ID $$unique $(LISP)
     160
     161TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
     162        tags=; \
     163        here=`pwd`; \
     164        list='$(SOURCES) $(HEADERS)'; \
     165        unique=`for i in $$list; do echo $$i; done | \
     166          awk '    { files[$$0] = 1; } \
     167               END { for (i in files) print i; }'`; \
     168        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
     169          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
     170
     171mostlyclean-tags:
     172
     173clean-tags:
     174
     175distclean-tags:
     176        -rm -f TAGS ID
     177
     178maintainer-clean-tags:
     179
     180distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
     181
     182subdir = tmitronsem01
     183
     184distdir: $(DISTFILES)
     185        here=`cd $(top_builddir) && pwd`; \
     186        top_distdir=`cd $(top_distdir) && pwd`; \
     187        distdir=`cd $(distdir) && pwd`; \
     188        cd $(top_srcdir) \
     189          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign tmitronsem01/Makefile
     190        @for file in $(DISTFILES); do \
     191          d=$(srcdir); \
     192          if test -d $$d/$$file; then \
     193            cp -pr $$d/$$file $(distdir)/$$file; \
     194          else \
     195            test -f $(distdir)/$$file \
     196            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
     197            || cp -p $$d/$$file $(distdir)/$$file || :; \
     198          fi; \
     199        done
     200info-am:
     201info: info-am
     202dvi-am:
     203dvi: dvi-am
     204check-am: all-am
     205check: check-am
     206installcheck-am:
     207installcheck: installcheck-am
     208install-exec-am:
     209install-exec: install-exec-am
     210
     211install-data-am:
     212install-data: install-data-am
     213
     214install-am: all-am
     215        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     216install: install-am
     217uninstall-am:
     218uninstall: uninstall-am
     219all-am: Makefile $(HEADERS) all-local
     220all-redirect: all-am
     221install-strip:
     222        $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
     223installdirs:
     224
     225
     226mostlyclean-generic:
     227
     228clean-generic:
     229
     230distclean-generic:
     231        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     232        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     233
     234maintainer-clean-generic:
     235mostlyclean-am:  mostlyclean-tags mostlyclean-generic
     236
     237mostlyclean: mostlyclean-am
     238
     239clean-am:  clean-tags clean-generic mostlyclean-am
     240
     241clean: clean-am
     242
     243distclean-am:  distclean-tags distclean-generic clean-am
     244
     245distclean: distclean-am
     246
     247maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
     248                distclean-am
     249        @echo "This command is intended for maintainers to use;"
     250        @echo "it deletes files that may require special tools to rebuild."
     251
     252maintainer-clean: maintainer-clean-am
     253
     254.PHONY: tags mostlyclean-tags distclean-tags clean-tags \
     255maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
     256installcheck-am installcheck install-exec-am install-exec \
     257install-data-am install-data install-am install uninstall-am uninstall \
     258all-local all-redirect all-am all installdirs mostlyclean-generic \
     259distclean-generic clean-generic maintainer-clean-generic clean \
     260mostlyclean distclean maintainer-clean
     261
     262
     263include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     264include $(RTEMS_ROOT)/make/leaf.cfg
     265
     266$(project_bspdir)/tests:
     267        @$(mkinstalldirs) $@
     268
     269$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM)
     270        $(INSTALL_PROGRAM) $< $@
    67271
    68272${PGM}: $(OBJS) $(LINK_FILES)
    69273        $(make-exe)
    70274
    71 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    72         cd $(top_builddir) \
    73          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     275all-local: $(ARCH) $(TMPINSTALL_FILES)
     276
     277debug-am:
     278debug: debug-am
     279.PHONY: debug debug-am
     280
     281profile-am:
     282profile: profile-am
     283.PHONY: profile profile-am
     284
     285preinstall-am: $(PREINSTALL_FILES)
     286preinstall: preinstall-am
     287.PHONY: preinstall preinstall-am
     288
     289depend-am:
     290depend: depend-am
     291.PHONY: depend depend-am
     292
     293# Tell versions [3.59,3.63) of GNU make to not export all variables.
     294# Otherwise a system limit (for SysV at least) may be exceeded.
     295.NOEXPORT:
Note: See TracChangeset for help on using the changeset viewer.