Ignore:
Timestamp:
11/29/99 15:45:11 (23 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/itrontests/itrontask02/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 = itrontask02
    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 = itrontask02
     97
    1798PGM = ${ARCH}/$(TEST).exe
    1899
     
    20101
    21102# C source names, if any, go here -- minus the .c
    22 C_PIECES = init dormant
    23 C_FILES = $(C_PIECES:%=%.c)
    24 C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
     103C_FILES = init.c dormant.c
     104C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    25105
    26106H_FILES = system.h
     107noinst_HEADERS = $(H_FILES)
    27108
    28109DOCTYPES = doc scn
     
    34115PRINT_SRCS = $(DOCS)
    35116
    36 PGM = ${ARCH}/$(TEST).exe
     117project_bspdir = $(PROJECT_ROOT)/@RTEMS_BSP@
     118
     119TMPINSTALL_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
     120
     121
     122EXTRA_DIST = $(C_FILES) $(DOCS)
     123mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
     124CONFIG_CLEAN_FILES =
     125HEADERS =  $(noinst_HEADERS)
     126
     127DIST_COMMON =  Makefile.am Makefile.in
     128
     129
     130DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     131
     132TAR = gtar
     133GZIP_ENV = --best
     134all: all-redirect
     135.SUFFIXES:
     136$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/itrontests.am $(top_srcdir)/../../../../automake/local.am
     137        cd $(top_srcdir) && $(AUTOMAKE) --foreign itrontask02/Makefile
     138
     139Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
     140        cd $(top_builddir) \
     141          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     142
     143
     144tags: TAGS
     145
     146ID: $(HEADERS) $(SOURCES) $(LISP)
     147        list='$(SOURCES) $(HEADERS)'; \
     148        unique=`for i in $$list; do echo $$i; done | \
     149          awk '    { files[$$0] = 1; } \
     150               END { for (i in files) print i; }'`; \
     151        here=`pwd` && cd $(srcdir) \
     152          && mkid -f$$here/ID $$unique $(LISP)
     153
     154TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
     155        tags=; \
     156        here=`pwd`; \
     157        list='$(SOURCES) $(HEADERS)'; \
     158        unique=`for i in $$list; do echo $$i; done | \
     159          awk '    { files[$$0] = 1; } \
     160               END { for (i in files) print i; }'`; \
     161        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
     162          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
     163
     164mostlyclean-tags:
     165
     166clean-tags:
     167
     168distclean-tags:
     169        -rm -f TAGS ID
     170
     171maintainer-clean-tags:
     172
     173distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
     174
     175subdir = itrontask02
     176
     177distdir: $(DISTFILES)
     178        here=`cd $(top_builddir) && pwd`; \
     179        top_distdir=`cd $(top_distdir) && pwd`; \
     180        distdir=`cd $(distdir) && pwd`; \
     181        cd $(top_srcdir) \
     182          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign itrontask02/Makefile
     183        @for file in $(DISTFILES); do \
     184          d=$(srcdir); \
     185          if test -d $$d/$$file; then \
     186            cp -pr $$d/$$file $(distdir)/$$file; \
     187          else \
     188            test -f $(distdir)/$$file \
     189            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
     190            || cp -p $$d/$$file $(distdir)/$$file || :; \
     191          fi; \
     192        done
     193info-am:
     194info: info-am
     195dvi-am:
     196dvi: dvi-am
     197check-am: all-am
     198check: check-am
     199installcheck-am:
     200installcheck: installcheck-am
     201install-exec-am:
     202install-exec: install-exec-am
     203
     204install-data-am:
     205install-data: install-data-am
     206
     207install-am: all-am
     208        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     209install: install-am
     210uninstall-am:
     211uninstall: uninstall-am
     212all-am: Makefile $(HEADERS) all-local
     213all-redirect: all-am
     214install-strip:
     215        $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
     216installdirs:
     217
     218
     219mostlyclean-generic:
     220
     221clean-generic:
     222
     223distclean-generic:
     224        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     225        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     226
     227maintainer-clean-generic:
     228mostlyclean-am:  mostlyclean-tags mostlyclean-generic
     229
     230mostlyclean: mostlyclean-am
     231
     232clean-am:  clean-tags clean-generic mostlyclean-am
     233
     234clean: clean-am
     235
     236distclean-am:  distclean-tags distclean-generic clean-am
     237
     238distclean: distclean-am
     239
     240maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
     241                distclean-am
     242        @echo "This command is intended for maintainers to use;"
     243        @echo "it deletes files that may require special tools to rebuild."
     244
     245maintainer-clean: maintainer-clean-am
     246
     247.PHONY: tags mostlyclean-tags distclean-tags clean-tags \
     248maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
     249installcheck-am installcheck install-exec-am install-exec \
     250install-data-am install-data install-am install uninstall-am uninstall \
     251all-local all-redirect all-am all installdirs mostlyclean-generic \
     252distclean-generic clean-generic maintainer-clean-generic clean \
     253mostlyclean distclean maintainer-clean
     254
    37255
    38256include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    39257include $(RTEMS_ROOT)/make/leaf.cfg
    40258
    41 INSTALL_CHANGE = @INSTALL_CHANGE@
    42 PACKHEX = @PACKHEX@
    43 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    44 
    45 INSTALLDIRS = $(PROJECT_RELEASE)/tests/screens/sptests
    46 
    47 $(INSTALLDIRS):
    48         @$(mkinstalldirs) $(INSTALLDIRS)
    49 
     259$(project_bspdir)/tests:
     260        @$(mkinstalldirs) $@
     261
     262$(project_bspdir)/tests/$(TEST)$(LIB_VARIANT).exe: $(PGM)
     263        $(INSTALL_PROGRAM) $< $@
     264
     265$(project_bspdir)/tests/screens:
     266        @$(mkinstalldirs) $@
     267
     268$(project_bspdir)/tests/screens/itrontests:
     269        @$(mkinstalldirs) $@
     270
     271$(project_bspdir)/tests/screens/itrontests/$(TEST).scn: $(TEST).scn
     272        $(INSTALL_DATA) $< $@
    50273
    51274#
     
    53276#
    54277
    55 DEFINES +=
    56 CPPFLAGS +=
    57 CFLAGS +=
    58 
    59 LD_PATHS +=
    60 LD_LIBS +=
    61 LDFLAGS +=
    62 
    63 #
    64 # Add your list of files to delete here.  The config files
    65 #  already know how to delete some stuff, so you may want
    66 #  to just run 'make clean' first to see what gets missed.
    67 #  'make clobber' already includes 'make clean'
    68 #
    69 
    70 CLEAN_ADDITIONS +=
    71 CLOBBER_ADDITIONS +=
    72 
    73 all: ${ARCH} $(SRCS) $(PGM)
    74         @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
    75         $(INSTALL_CHANGE) $(srcdir)/$(TEST).scn \
    76             $(PROJECT_RELEASE)/tests/screens/itrontests/$(TEST).scn
    77 
    78278${PGM}: $(OBJS) $(LINK_FILES)
    79279        $(make-exe)
    80280
    81 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    82         cd $(top_builddir) \
    83          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     281all-local: $(ARCH) $(TMPINSTALL_FILES)
     282
     283debug-am:
     284debug: debug-am
     285.PHONY: debug debug-am
     286
     287profile-am:
     288profile: profile-am
     289.PHONY: profile profile-am
     290
     291preinstall-am: $(PREINSTALL_FILES)
     292preinstall: preinstall-am
     293.PHONY: preinstall preinstall-am
     294
     295depend-am:
     296depend: depend-am
     297.PHONY: depend depend-am
     298
     299# Tell versions [3.59,3.63) of GNU make to not export all variables.
     300# Otherwise a system limit (for SysV at least) may be exceeded.
     301.NOEXPORT:
Note: See TracChangeset for help on using the changeset viewer.