Changeset 6693a68 in rtems for c/src/lib/libbsp/m68k


Ignore:
Timestamp:
Jul 26, 1999, 8:00:37 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
83f62bf
Parents:
b0ac03f4
Message:

This is part of a major patch from Ralf Corsepius <corsepiu@…>
to move RTEMS more to automake/autoconf and GNU compliance.

Finally, here they are: the "big-patch" patches - merged into one big
patch (~1.5MB).

Sorry for the delay, but testing took much more time than I had expected

  • esp. reworking the acpolish script triggered many more tiny issues than I had expected (cf. below).

At least, now you've got something to spend your weekend with :-.

WARNINGS:

  • I've gone a little (??) further than I had announced before.
  • Several directories have been moved.
  • Several files have been added and removed
  • I have tested it with many BSPs/CPUs and a variety of permutiations of configuration flags, but not with all.
  • Most parts of the patch are automatically generated, however there are many tiny manual modifications.

APPLYING THE PATCH:

./autogen -c
mkdir tools
mv c/src/exec/score/tools tools/cpu
mv c/build-tools tools/build
mv c/update-tools tools/update
patch -p1 -E < rtems-rc-19990709-0.diff
./autogen

If the patch doesn't apply to rtems-cvs, I would suggest that you should
try to apply it brute-force and then to run tools/update/rtems-polish.sh
-ac -am afterwards. A recursive diff between rtems-19990709 + patch and
rtems-cvs + patch then should report only a few dozen significant
changes to configuration files which need to be merged manually (IIRC, I
did not change any source files).

* Attention: There are files to be removed, moved, copied and added
in/to CVS!

NEWS/CHANGES:

  1. Configuration takes place in 3 stages: 1. per host (toplevel configure script), 2. per target (c/configure), 3. per bsp c/src/configure automatically triggered from ./configure and c/Makefile.am.
  2. Building of subdirectory c/ takes place in c/$(target_alias) for cross-targets in c/ for native targets
  3. Building of subdirectory c/src takes place in c/${target_alias}/<bsp> for cross-targets, c/<bsp> for native targets
  4. c/build-tools moved to tools/build
  5. c/src/exec/score/cpu/tools moved to tools/cpu (=cpu-tools split out)
  6. c/update-tools moved to tools/update
  7. New subdirectory c/src/make, handles files from make/ on a per BSP basis
  8. Maintainer mode support: Ie. if configuring with --enable-maintainer-mode disabled (the default), then tracking of many dependencies will be disabled in Makefiles. Esp. many dependencies for auto* generated files will be switched off in Makefiles. Ie. if not using "--enable-maintainer-mode" many auto* generated files will not be updated automatically, i.e. normal users should not be required to have auto* tools anymore (untested).
  9. Independent configuration scripts for / (toplevel), tools/build, tools/cpu, tools/update, c/, c/src/, c/src/exec, c/src/lib, c/src/tests, c/src/make
  10. Automake support for all directories above and besides c/src
  11. "preinstall" now is implemented as depth-first recursive make target
  1. host compiled tools (exception bsp-tools) are accessed in location in the build tree instead of inside the build-tree when building RTEMS.
  2. RTEMS_ROOT and PROJECT_ROOT now point to directories inside the build-tree - many tiny changes as consequence from this.
  3. --with-cross-host support removed (offically announced obsolete by cygnus)
  4. Changing the order of building libraries below c/src/lib/
  5. Former toplevel configure script broken into aclocal/*.m4 macros
  6. Newlib now detected by configure macros, RTEMS_HAS_NEWLIB removed from *cfg.
  7. sptables.h now generated by autoconf
  8. Rules for "mkinstalldirs temporary installation tree" moved from c/Makefile to subdirectories.
  9. Cpu-tools do not get installed.
  10. FIX: Use ACLOCAL_AMFLAGS instead of ACLOCAL = -I ... in Makefile.ams which are in directories with own configure scripts.
  11. Hardcoding BSP names into libbsp/.../tools to avoid RTEMS_BSP get overridden from the environment.
  12. FIX: Handling of MP_PIECES in various Makefiles
  13. FIX: Removing "::" rules from some Makefile.ins
  14. FIX: File permission chaos: (-m 444 and -m 555 vs. -m 644 and -m 755) - Now all include files use -m 644.
  15. Removed many gnumake-conditionals in Makefile.ins - Partially replaced with automake-conditional, partially replaced with conditionalized Makefile variables (... _yes_V)
  16. Massively reworked acpolish: acpolish now parses Makefile.ins and interprets parts of the Makefile.ins.
  17. FIX: Some $(wildcard $(srcdir)/*.h) macros removed / replaced with explicit lists of files in Makefile.ins.
  18. FIX: Replacing MKLIB with RANLIB in Makefile.ins
  19. HACK: Add preinstallation for pc386 specific $(PROJECT_RELEASE)/BootImgs? directory

... many more details, I can't recall

KNOWN BUGS:

  1. make [debug|profile]_install do not do what they are promissing. "make [debug|profile] install" does what "make [debug|profile]_install" has been doing. Proposal: remove [debug|profile]_install
  2. Dependencies between temporary installation tree and source tree are not yet handled correctly.
  3. Dependencies between temporary installation tree and source tree are handled ineffencently (Using INSTALL_CHANGE instead of make dependencies)
  4. RTEMS_ROOT, PROJECT_ROOT, top_builddir, RTEMS_TOPdir now are redundant.
  5. The new configure scripts still are in their infancy. They contain redundant checks and might still contain bugs, too.
  6. RTEMS autoconf Makefile.ins use a mixture of configuration information gathered in c/$(target_alias)/<bsp>/make and of information collected from their configure scripts.
  7. make dist is not fully functional
  8. Subdirectory host-/build-/target- configure options (--target, --host, --build) do not conform to Cygnus/GNU conventions.
  9. Some RTEMS autoconf Makefile.in's makefile targets are not supported in automake Makefile.ams/ins (e.g. get, clobber).
  10. Some automake standard targets are not propagated from toplevel and c/Makefile.am to autoconf subdirectories (eg. make dist).
  11. rpcgen generated files are not part of the source-tree (Automake conventions favor supplying generated files inside the source-tree, however there is no support for rpcgen generated files in automake, cf. yacc/lex support in automake).
  12. RTEMS_HAS_RDBG handling is flaky. make/*.cfg use RTEMS_HAS_RDBG per CPU, while librdb's sources can only be built per BSP. Raises the more general question whether librdbg located correctly in the source-tree.
  13. All make/*cfg files are configured per cpu, currently there is no location to store per-bsp configuration information --> bsp.cfg, per aconfig.h?
  14. "make install" without having run "make all" beforehand does not work.
  15. handling of --enable-multiprocessing seems to be broken in make/custom/*
  16. Makefile.ins still exploit many gmake features.
  17. File permisson chaos on libraries (no explict -m for libraries/rels/etc).
  18. mcp750 Makefiles are broken (Note: I *do* mean buggy - I am not talking about "not-conforming to conventions", here :-).
  19. Dependencies between configure scripts are not handled, eg. aborting "make RTEMS_BSP=<bsp>" can leave the build-tree in an unusable state.
  20. "make clean" does not delete <build-tree>/<bsp>. This is intentional for now, because rerunning "make" after "make clean" requires an explicit "make preinstall" afterwards now. This should be done automatically, but doesn't work in this case for now. To work around this problem <build-tree>/<bsp> is kept during "make clean" for now (HACK).

TODO:

  1. split out host-compiled bsp-tools
  2. Use Cygnus/GNU standards for cross-compiling target-subdir (CC=CC_FOR_TARGET .. configure --host=${target_alias} --build=`config.guess'}), to be added to toplevel configure script after splitting out bsp-tools.
  3. Exploit per cpu support directory (c/src/<cpu>)- Splitting out per-cpu libraries - Are there any?
  4. Further automake support
  5. Converting subdirectories into standalone / self-contained subdirectories (Esp. moving their headers to the same common root as their sources, eg. mv lib/include/rtems++ lib/librtems++/include/rtems++) - This is the main obstacle which prevents moving further towards automake.
  6. Propagating values from *.cfg into Makefiles instead of propagating them at make time via Makefile-fragments (i.e. try to avoid using *.cfg).
  7. Testing on cygwin host (I *do* expect cygwin specific problems).
  8. The ARCH in o-$(ARCH)-$(VARIANT) build-subdirectories is not needed anymore.

GENERAL ISSUES:

  1. Temporary installation tree -- Ian and I seem to disagree basically. Though I think that I understand his argumentation, I do not share it. IMO, his way of using the buildtree is mis-using the build-tree, relying on an inofficial feature of RTEMS's current implementation, which doesn't even work correctly in the current build-tree, though it attempts hard to do so. From my very POV, it unnecessarily complicates the structures of the source- and build-trees. It is not supported by automake (No automatic generation for the necessary rules) and complicates the transition to automake significantly (Generating the rules with an enhanced version of acpolish could be possible). As Ian correctly pointed out, here a management decision is needed - though I don't see the need to draw this decision in short terms.
  1. preinstallation generally is a sure means to spoil the structure of the source tree, IMHO (No ranting intended, I am completly serious about this one). eg. through tree dependencies. The worst problem related to this I have found in the meantime is bsp_specs. bsp_specs is part of libbsp, ie. there is *no* way to build *any* part of the source tree *without* having a BSP *preinstalled*. Note: This issue is related to issue 1., but is not identical - The difference is the change of the order make rules have to be triggered. While preinstallation triggers rules spread all over the source tree before a "make all" can be run, a temporary installation tree could also be installed by post "make all" hooks (all-local:, to be run after make all in a directory is completed) if the directories' dependencies would be a tree,
  1. Stuctural dependencies between subdirectories.
  2. Depth of the source tree (Prevents multilibbing and introduces many unnecessary configure scripts).
  3. per cpu vs. per bsp configuration (There are no real per-cpu parts yets :-).
  4. automake does not support $makefiles in AC_OUTPUT. Unlike before, we now should try to avoid RTEMS_CHECK_MAKEFILE and to hard-code as much paths to Makefiles as possible.
  5. General redesign of the source tree
  6. Main installation point - Changing it to ${prefix}/${target_alias}. ?

Besides item 8. (which is a must, IMHO), as far as I see most of them
can not be solved soon and will remain issues in the mid- to long-term
:-.

REMARKS:

  • You (as the maintainer) should always use --enable-maintainer-mode when building RTEMS to ensure that maintainer mode generated files (esp. those in c/src/make) will be updated when make/* files have changed.
  • Use @RTEMS_BSP@ in Makefile.ins and Makefile.ams below c/src/, $(RTEMS_BSP) or ${RTEMS_BSP} will be overridden from environment variables when using make RTEMS_BSP="....".
  • c/src/make is a temporary cludge until configuration issues are solved. At the moment it is configured per bsp, but contains per-target/cpu info only. Its main purpose now is to circumvent modifying make/*.cfg files, because I consider make/* to be frozen for backward compatibilty.
  • This patch should only affect configuration files. At least I do not remember having touched any source files.
  • To build the bare bsp you now need to mention it in --enable-rtemsbsp.

Example: building gensh1 and sh1/bare simultaneously:
../rtems-rc-19990709-1/configure --target=sh-rtems \
--enable-rtemsbsp="bare gensh1" \
--prefix=/tmp/rtems \
--enable-bare-cpu-cflags='-DMHZ=20 -m1
-DCPU_CONSOLE_DEVNAME=\"/dev/null\"' \
--enable-bare-cpu-model=sh7032 \
--enable-maintainer-mode \
--enable-cxx
make
make install

  • The next steps in development would be to split out bsp-tools and then to change to Cygnus/GNU canonicalization conventions for building the c/ subdirectory afterwards (i.e. many standard AC_*.m4 macros could be used instead of customized versions)

FINAL REMARK:
The issues mentioned in the lists above sound much worser than the
situation actually is. Most of them are not specific to this patch, but
are also valid for the snapshot. I just wrote down what I came across
when working on the patch over the last few weeks.

I wouldn't be too surprised if you don't like the patch at the current
point in development. I am willing to discuss details and problems, I
also have no problem if you would post-pone applying this patch to times
after 4.1, but rejecting it as a whole for all times would be a false
management decision, IMHO.

Therefore I would suggest that you, if your time constaints allow it,
should at least play a little while with this patch to understand what
is going on and before drawing a decision on how to handle this
proposal. I know this patch is neither perfect nor complete, but I
consider it to be a major breakthrough. Don't be anxious because of the
size of the patch, the core of the patch is rather small, the size is
mainly the side effect of some systematic cleanups inside the Makefiles
(result of acpolish).

Feel free to ask if you encounter problems, if you don't understand
something or if you meet bugs - I am far from being perfect and am
prepared to answer them.

Ralf.

--
Ralf Corsepius
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690
mailto:corsepiu@… FAX: +49/731/501-999
http://www.faw.uni-ulm.de

Location:
c/src/lib/libbsp/m68k
Files:
118 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../..
    9 subdir = c/src/lib/libbsp/m68k
     8top_builddir = ../..
     9subdir = libbsp/m68k
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1917include $(RTEMS_ROOT)/make/directory.cfg
    2018
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20
    2121# Descend into the $(RTEMS_BSP_FAMILY) directory
    22 SUB_DIRS=$(RTEMS_BSP_FAMILY)
     22SUB_DIRS = $(RTEMS_BSP_FAMILY)
    2323
    24 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     24Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2525        cd $(top_builddir) \
    2626         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/dmv152/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/dmv152
     8top_builddir = ../../..
     9subdir = libbsp/m68k/dmv152
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1917include $(RTEMS_ROOT)/make/directory.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2020
    2121# wrapup is the one that actually builds and installs the library
    2222#  from the individual .rel files built in other directories
    23 SUB_DIRS=include startup clock console spurious timer wrapup
     23SUB_DIRS = include startup clock console spurious timer wrapup
    2424
    25 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     25Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2626        cd $(top_builddir) \
    2727         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/dmv152/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/dmv152/clock
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/dmv152/clock
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/clock.rel
     16PGM = ${ARCH}/clock.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=ckinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ckinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/dmv152/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/dmv152/console
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/dmv152/console
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/console.rel
     16PGM = ${ARCH}/console.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/dmv152/include/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/dmv152/include
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/dmv152/include
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    2826EQ_FILES =
    2927
    30 SRCS=$(H_FILES) $(EQ_FILES)
     28SRCS = $(H_FILES) $(EQ_FILES)
    3129
    32 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3331include $(RTEMS_ROOT)/make/leaf.cfg
     32
     33INSTALL_CHANGE = @INSTALL_CHANGE@
     34mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     35
     36INSTALLDIRS = $(PROJECT_INCLUDE)
     37
     38$(INSTALLDIRS):
     39        @$(mkinstalldirs) $(INSTALLDIRS)
    3440
    3541CLEAN_ADDITIONS +=
    3642CLOBBER_ADDITIONS +=
    3743
    38 all:    $(SRCS)
    39         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    40         $(INSTALL_CHANGE) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE)
     44all: $(SRCS)
     45        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     46        @$(INSTALL_CHANGE) -m 644 $(EQ_FILES) $(PROJECT_INCLUDE)
    4147
    42 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     48Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    4349        cd $(top_builddir) \
    4450         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/dmv152/spurious/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/dmv152/spurious
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/dmv152/spurious
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/spurious.rel
     16PGM = ${ARCH}/spurious.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=spinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = spinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/dmv152/startup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/dmv152/startup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/dmv152/startup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
    1715
    18 PGM=${ARCH}/startup.rel
     16PGM = ${ARCH}/startup.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=bspclean bsplibc bsppost bspstart bootcard main sbrk setvec vmeintr gnatinstallhandler
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = bspclean bsplibc bsppost bspstart bootcard main sbrk setvec \
     20    vmeintr gnatinstallhandler
     21C_FILES = $(C_PIECES:%=%.c)
     22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2423
    25 H_FILES=
     24H_FILES =
    2625
    27 SRCS=$(srcdir)/linkcmds $(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     26SRCS = $(srcdir)/linkcmds $(C_FILES) $(H_FILES)
     27OBJS = $(C_O_FILES)
    2928
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3130include $(RTEMS_ROOT)/make/leaf.cfg
     31
     32INSTALL_CHANGE = @INSTALL_CHANGE@
     33mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     34
     35INSTALLDIRS = $(PROJECT_RELEASE)/lib
     36
     37$(INSTALLDIRS):
     38        @$(mkinstalldirs) $(INSTALLDIRS)
    3239
    3340#
     
    3542#
    3643
    37 DEFINES  +=
     44DEFINES +=
    3845CPPFLAGS +=
    39 CFLAGS   +=
     46CFLAGS +=
    4047
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     48LD_PATHS +=
     49LD_LIBS +=
     50LDFLAGS +=
    4451
    4552#
     
    5663        $(make-rel)
    5764
    58 all:    ${ARCH} $(SRCS) $(PGM)
    59         $(INSTALL_CHANGE) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
     65all: ${ARCH} $(SRCS) $(PGM)
     66        $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    6067
    61 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     68Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6269        cd $(top_builddir) \
    6370         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/dmv152/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/dmv152/timer
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/dmv152/timer
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/timer.rel
     16PGM = ${ARCH}/timer.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=timer
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = timer
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=timerisr
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = timerisr
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    6161        $(make-rel)
    6262
    63 all:    ${ARCH} $(SRCS) $(PGM)
     63all: ${ARCH} $(SRCS) $(PGM)
    6464
    6565# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    66 install:  all
     66install: all
    6767
    68 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     68Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6969        cd $(top_builddir) \
    7070         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/dmv152/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/dmv152/wrapup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/dmv152/wrapup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 BSP_PIECES=startup clock console spurious timer
    19 GENERIC_PIECES=
     16BSP_PIECES = startup clock console spurious timer
     17GENERIC_PIECES =
    2018
    2119# bummer; have to use $foreach since % pattern subst rules only replace 1x
    22 OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    23      $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
    24 LIB=$(ARCH)/libbsp.a
     20OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
     21    $(foreach piece, $(GENERIC_PIECES), \
     22    ../../../$(piece)/$(ARCH)/$(piece).rel)
     23LIB = $(ARCH)/libbsp.a
    2524
    26 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2726include $(RTEMS_ROOT)/make/lib.cfg
     27
     28INSTALL = @INSTALL@
     29INSTALL_CHANGE = @INSTALL_CHANGE@
    2830
    2931#
     
    3133#
    3234
    33 DEFINES  +=
     35DEFINES +=
    3436CPPFLAGS +=
    35 CFLAGS   +=
     37CFLAGS +=
    3638
    37 LD_PATHS  +=
    38 LD_LIBS   +=
    39 LDFLAGS   +=
     39LD_PATHS +=
     40LD_LIBS +=
     41LDFLAGS +=
    4042
    4143#
     
    5254        $(make-library)
    5355
    54 all:    ${ARCH} $(SRCS) $(LIB)
    55         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
     56all: ${ARCH} $(SRCS) $(LIB)
     57        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    5658
    57 $(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs: ../bsp_specs
     59$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
    5860        $(INSTALL_DATA) $< $@
    5961
    60 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     62Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6163        cd $(top_builddir) \
    6264         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332
     8top_builddir = ../../..
     9subdir = libbsp/m68k/efi332
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1917include $(RTEMS_ROOT)/make/directory.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2020
    2121# wrapup is the one that actually builds and installs the library
    2222#  from the individual .rel files built in other directories
    23 SUB_DIRS=include start332 startup clock console spurious timer wrapup
     23SUB_DIRS = include start332 startup clock console spurious timer wrapup
    2424
    25 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     25Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2626        cd $(top_builddir) \
    2727         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332/clock
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi332/clock
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/clock.rel
     16PGM = ${ARCH}/clock.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=ckinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ckinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332/console
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi332/console
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/console.rel
     16PGM = ${ARCH}/console.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/include/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332/include
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi332/include
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    2826EQ_FILES =
    2927
    30 SRCS=$(H_FILES) $(EQ_FILES)
     28SRCS = $(H_FILES) $(EQ_FILES)
    3129
    32 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3331include $(RTEMS_ROOT)/make/leaf.cfg
     32
     33INSTALL_CHANGE = @INSTALL_CHANGE@
     34mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     35
     36INSTALLDIRS = $(PROJECT_INCLUDE)
     37
     38$(INSTALLDIRS):
     39        @$(mkinstalldirs) $(INSTALLDIRS)
    3440
    3541CLEAN_ADDITIONS +=
    3642CLOBBER_ADDITIONS +=
    3743
    38 all:    $(SRCS)
    39         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    40         $(INSTALL_CHANGE) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE)
     44all: $(SRCS)
     45        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     46        @$(INSTALL_CHANGE) -m 644 $(EQ_FILES) $(PROJECT_INCLUDE)
    4147
    42 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     48Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    4349        cd $(top_builddir) \
    4450         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/spurious/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332/spurious
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi332/spurious
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/spurious.rel
     16PGM = ${ARCH}/spurious.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=spinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = spinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/start/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332/start332
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi332/start332
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/start332.o
     16PGM = ${ARCH}/start332.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=start332
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = start332
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5353CLOBBER_ADDITIONS +=
    5454
    55 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    56         $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/lib
     55all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     56        $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/lib
    5757
    58 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     58Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    5959        cd $(top_builddir) \
    6060         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/start332/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332/start332
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi332/start332
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/start332.o
     16PGM = ${ARCH}/start332.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=start332
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = start332
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5353CLOBBER_ADDITIONS +=
    5454
    55 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    56         $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/lib
     55all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     56        $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/lib
    5757
    58 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     58Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    5959        cd $(top_builddir) \
    6060         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/startup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332/startup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi332/startup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
    1715
    18 PGM=${ARCH}/startup.rel
     16PGM = ${ARCH}/startup.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=bsplibc bsppost bspstart bspclean bootcard main sbrk setvec gnatinstallhandler
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = bsplibc bsppost bspstart bspclean bootcard main sbrk setvec \
     20    gnatinstallhandler
     21C_FILES = $(C_PIECES:%=%.c)
     22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2423
    25 H_FILES=
     24H_FILES =
    2625
    2726# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES= except_vect_332_ROM
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     27S_PIECES = except_vect_332_ROM
     28S_FILES = $(S_PIECES:%=%.S)
     29S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3130
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     31SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     32OBJS = $(C_O_FILES) $(S_O_FILES)
    3433
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     34include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3635include $(RTEMS_ROOT)/make/leaf.cfg
     36
     37INSTALL_CHANGE = @INSTALL_CHANGE@
     38mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     39
     40INSTALLDIRS = $(PROJECT_RELEASE)/lib
     41
     42$(INSTALLDIRS):
     43        @$(mkinstalldirs) $(INSTALLDIRS)
    3744
    3845#
     
    4047#
    4148
    42 DEFINES  +=
     49DEFINES +=
    4350CPPFLAGS +=
    44 CFLAGS   +=
     51CFLAGS +=
    4552
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     53LD_PATHS +=
     54LD_LIBS +=
     55LDFLAGS +=
    4956
    5057#
     
    6168        $(make-rel)
    6269
    63 all:    ${ARCH} $(SRCS) $(PGM)
    64         $(INSTALL_CHANGE) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
    65         $(INSTALL_CHANGE) $(srcdir)/linkcmds_ROM ${PROJECT_RELEASE}/lib
    66         $(INSTALL_CHANGE) ${ARCH}/except_vect_332_ROM.o ${PROJECT_RELEASE}/lib
     70all: ${ARCH} $(SRCS) $(PGM)
     71        $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
     72        $(INSTALL_CHANGE) $(srcdir)/linkcmds_ROM $(PROJECT_RELEASE)/lib
     73        $(INSTALL_CHANGE) ${ARCH}/except_vect_332_ROM.o $(PROJECT_RELEASE)/lib
    6774
    6875# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    6976
    70 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     77Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7178        cd $(top_builddir) \
    7279         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332/timer
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi332/timer
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/timer.rel
     16PGM = ${ARCH}/timer.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=timer
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = timer
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi332/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi332/wrapup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi332/wrapup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 BSP_PIECES=startup clock console spurious timer
    19 GENERIC_PIECES=
     16BSP_PIECES = startup clock console spurious timer
     17GENERIC_PIECES =
    2018
    2119# bummer; have to use $foreach since % pattern subst rules only replace 1x
    22 OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    23      $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
    24 LIB=$(ARCH)/libbsp.a
     20OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
     21    $(foreach piece, $(GENERIC_PIECES), \
     22    ../../../$(piece)/$(ARCH)/$(piece).rel)
     23LIB = $(ARCH)/libbsp.a
    2524
    26 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2726include $(RTEMS_ROOT)/make/lib.cfg
     27
     28INSTALL = @INSTALL@
     29INSTALL_CHANGE = @INSTALL_CHANGE@
    2830
    2931#
     
    3133#
    3234
    33 DEFINES  +=
     35DEFINES +=
    3436CPPFLAGS +=
    35 CFLAGS   +=
     37CFLAGS +=
    3638
    37 LD_PATHS  +=
    38 LD_LIBS   +=
    39 LDFLAGS   +=
     39LD_PATHS +=
     40LD_LIBS +=
     41LDFLAGS +=
    4042
    4143#
     
    5254        $(make-library)
    5355
    54 all:    ${ARCH} $(SRCS) $(LIB)
    55         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
     56all: ${ARCH} $(SRCS) $(LIB)
     57        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    5658
    57 $(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs: ../bsp_specs
     59$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
    5860        $(INSTALL_DATA) $< $@
    5961
    60 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     62Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6163        cd $(top_builddir) \
    6264         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k
     8top_builddir = ../../..
     9subdir = libbsp/m68k/efi68k
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1917include $(RTEMS_ROOT)/make/directory.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2020
    2121# wrapup is the one that actually builds and installs the library
    2222#  from the individual .rel files built in other directories
    23 SUB_DIRS=include start68k startup clock console spurious timer wrapup
     23SUB_DIRS = include start68k startup clock console spurious timer wrapup
    2424
    25 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     25Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2626        cd $(top_builddir) \
    2727         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k/clock
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi68k/clock
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/clock.rel
     16PGM = ${ARCH}/clock.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=ckinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ckinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k/console
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi68k/console
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/console.rel
     16PGM = ${ARCH}/console.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/include/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k/include
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi68k/include
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    1715
    1816H_FILES = $(srcdir)/bsp.h $(srcdir)/efi68k.h $(srcdir)/16550.h \
    19           $(srcdir)/DP8570A.h $(srcdir)/coverhd.h
     17    $(srcdir)/DP8570A.h $(srcdir)/coverhd.h
    2018
    2119#
     
    2927EQ_FILES =
    3028
    31 SRCS=$(H_FILES) $(EQ_FILES)
     29SRCS = $(H_FILES) $(EQ_FILES)
    3230
    33 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3432include $(RTEMS_ROOT)/make/leaf.cfg
     33
     34INSTALL_CHANGE = @INSTALL_CHANGE@
     35mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     36
     37INSTALLDIRS = $(PROJECT_INCLUDE)
     38
     39$(INSTALLDIRS):
     40        @$(mkinstalldirs) $(INSTALLDIRS)
    3541
    3642CLEAN_ADDITIONS +=
    3743CLOBBER_ADDITIONS +=
    3844
    39 all:    $(SRCS)
    40         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    41         $(INSTALL_CHANGE) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE)
     45all: $(SRCS)
     46        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     47        @$(INSTALL_CHANGE) -m 644 $(EQ_FILES) $(PROJECT_INCLUDE)
    4248
    43 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     49Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    4450        cd $(top_builddir) \
    4551         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/spurious/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k/spurious
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi68k/spurious
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/spurious.rel
     16PGM = ${ARCH}/spurious.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=spinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = spinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/start/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k/start68k
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi68k/start68k
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/start68k.o
     16PGM = ${ARCH}/start68k.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=start68k
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = start68k
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5353CLOBBER_ADDITIONS +=
    5454
    55 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    56         $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/lib
     55all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     56        $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/lib
    5757
    58 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     58Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    5959        cd $(top_builddir) \
    6060         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/start68k/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k/start68k
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi68k/start68k
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/start68k.o
     16PGM = ${ARCH}/start68k.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=start68k
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = start68k
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5353CLOBBER_ADDITIONS +=
    5454
    55 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    56         $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/lib
     55all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     56        $(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/lib
    5757
    58 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     58Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    5959        cd $(top_builddir) \
    6060         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/startup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k/startup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi68k/startup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@:@srcdir@/../../../shared
    1715
    18 PGM=${ARCH}/startup.rel
     16PGM = ${ARCH}/startup.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=bsplibc bsppost bspstart bspclean efi68k_tcp efi68k_wd bootcard main sbrk setvec gnatinstallhandler
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = bsplibc bsppost bspstart bspclean efi68k_tcp efi68k_wd bootcard \
     20    main sbrk setvec gnatinstallhandler
     21C_FILES = $(C_PIECES:%=%.c)
     22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2423
    25 H_FILES=
     24H_FILES =
    2625
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     26SRCS = $(C_FILES) $(H_FILES)
     27OBJS = $(C_O_FILES)
    2928
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3130include $(RTEMS_ROOT)/make/leaf.cfg
     31
     32INSTALL_CHANGE = @INSTALL_CHANGE@
     33mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     34
     35INSTALLDIRS = $(PROJECT_RELEASE)/lib
     36
     37$(INSTALLDIRS):
     38        @$(mkinstalldirs) $(INSTALLDIRS)
    3239
    3340#
     
    3542#
    3643
    37 DEFINES  +=
     44DEFINES +=
    3845CPPFLAGS +=
    39 CFLAGS   +=
     46CFLAGS +=
    4047
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     48LD_PATHS +=
     49LD_LIBS +=
     50LDFLAGS +=
    4451
    4552#
     
    5663        $(make-rel)
    5764
    58 all:    ${ARCH} $(SRCS) $(PGM)
    59         $(INSTALL_CHANGE) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
     65all: ${ARCH} $(SRCS) $(PGM)
     66        $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    6067
    6168# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    6269
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     70Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6471        cd $(top_builddir) \
    6572         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k/timer
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi68k/timer
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/timer.rel
     16PGM = ${ARCH}/timer.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=timer
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = timer
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/efi68k/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/efi68k/wrapup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/efi68k/wrapup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 BSP_PIECES=startup clock console spurious timer
    19 GENERIC_PIECES=
     16BSP_PIECES = startup clock console spurious timer
     17GENERIC_PIECES =
    2018
    2119# bummer; have to use $foreach since % pattern subst rules only replace 1x
    22 OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    23      $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
    24 LIB=$(ARCH)/libbsp.a
     20OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
     21    $(foreach piece, $(GENERIC_PIECES), \
     22    ../../../$(piece)/$(ARCH)/$(piece).rel)
     23LIB = $(ARCH)/libbsp.a
    2524
    26 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2726include $(RTEMS_ROOT)/make/lib.cfg
     27
     28INSTALL = @INSTALL@
     29INSTALL_CHANGE = @INSTALL_CHANGE@
    2830
    2931#
     
    3133#
    3234
    33 DEFINES  +=
     35DEFINES +=
    3436CPPFLAGS +=
    35 CFLAGS   +=
     37CFLAGS +=
    3638
    37 LD_PATHS  +=
    38 LD_LIBS   +=
    39 LDFLAGS   +=
     39LD_PATHS +=
     40LD_LIBS +=
     41LDFLAGS +=
    4042
    4143#
     
    5254        $(make-library)
    5355
    54 all:    ${ARCH} $(SRCS) $(LIB)
    55         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
     56all: ${ARCH} $(SRCS) $(LIB)
     57        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    5658
    57 $(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs: ../bsp_specs
     59$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
    5860        $(INSTALL_DATA) $< $@
    5961
    60 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     62Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6163        cd $(top_builddir) \
    6264         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68302/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68302
     8top_builddir = ../../..
     9subdir = libbsp/m68k/gen68302
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1917include $(RTEMS_ROOT)/make/directory.cfg
    2018
    21 SRCS=README
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20
     21SRCS = README
    2222
    2323all: $(SRCS)
     
    2525# wrapup is the one that actually builds and installs the library
    2626#  from the individual .rel files built in other directories
    27 SUB_DIRS=include start302 startup clock console timer wrapup
     27SUB_DIRS = include start302 startup clock console timer wrapup
    2828
    29 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     29Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    3030        cd $(top_builddir) \
    3131         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68302/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68302/clock
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68302/clock
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/clock.rel
     16PGM = ${ARCH}/clock.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=ckinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ckinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68302/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68302/console
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68302/console
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/console.rel
     16PGM = ${ARCH}/console.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68302/include/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68302/include
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68302/include
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    2826EQ_FILES =
    2927
    30 SRCS=$(H_FILES) $(EQ_FILES)
     28SRCS = $(H_FILES) $(EQ_FILES)
    3129
    32 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3331include $(RTEMS_ROOT)/make/leaf.cfg
     32
     33INSTALL_CHANGE = @INSTALL_CHANGE@
     34mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     35
     36INSTALLDIRS = $(PROJECT_INCLUDE)
     37
     38$(INSTALLDIRS):
     39        @$(mkinstalldirs) $(INSTALLDIRS)
    3440
    3541CLEAN_ADDITIONS +=
    3642CLOBBER_ADDITIONS +=
    3743
    38 all:    $(SRCS)
    39         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    40         $(INSTALL_CHANGE) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE)
     44all: $(SRCS)
     45        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     46        @$(INSTALL_CHANGE) -m 644 $(EQ_FILES) $(PROJECT_INCLUDE)
    4147
    42 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     48Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    4349        cd $(top_builddir) \
    4450         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68302/start/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68302/start302
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68302/start302
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGMS=${ARCH}/start302.o
     16PGMS = ${ARCH}/start302.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES =
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=start302
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = start302
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    5858CLOBBER_ADDITIONS +=
    5959
    60 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    61         $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib
     60all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     61        $(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
    6262
    6363# Install the program(s), appending _g or _p as appropriate.
    6464# for include files, just use $(INSTALL_CHANGE)
    6565
    66 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     66Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6767        cd $(top_builddir) \
    6868         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68302/start302/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68302/start302
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68302/start302
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGMS=${ARCH}/start302.o
     16PGMS = ${ARCH}/start302.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES =
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=start302
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = start302
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    5858CLOBBER_ADDITIONS +=
    5959
    60 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    61         $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib
     60all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     61        $(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
    6262
    6363# Install the program(s), appending _g or _p as appropriate.
    6464# for include files, just use $(INSTALL_CHANGE)
    6565
    66 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     66Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6767        cd $(top_builddir) \
    6868         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68302/startup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68302/startup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68302/startup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
    1715
    18 PGM=${ARCH}/startup.rel
     16PGM = ${ARCH}/startup.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=bspclean bsplibc bsppost bspstart bootcard main sbrk setvec gnatinstallhandler
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = bspclean bsplibc bsppost bspstart bootcard main sbrk setvec \
     20    gnatinstallhandler
     21C_FILES = $(C_PIECES:%=%.c)
     22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2423
    25 H_FILES=
     24H_FILES =
    2625
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     26SRCS = $(C_FILES) $(H_FILES)
     27OBJS = $(C_O_FILES)
    2928
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3130include $(RTEMS_ROOT)/make/leaf.cfg
     31
     32INSTALL_CHANGE = @INSTALL_CHANGE@
     33mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     34
     35INSTALLDIRS = $(PROJECT_RELEASE)/lib
     36
     37$(INSTALLDIRS):
     38        @$(mkinstalldirs) $(INSTALLDIRS)
    3239
    3340#
     
    3542#
    3643
    37 DEFINES  +=
     44DEFINES +=
    3845CPPFLAGS +=
    39 CFLAGS   +=
     46CFLAGS +=
    4047
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     48LD_PATHS +=
     49LD_LIBS +=
     50LDFLAGS +=
    4451
    4552#
     
    5663        $(make-rel)
    5764
    58 all:    ${ARCH} $(SRCS) $(PGM)
    59         $(INSTALL_CHANGE) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
     65all: ${ARCH} $(SRCS) $(PGM)
     66        $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    6067
    6168# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    6269
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     70Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6471        cd $(top_builddir) \
    6572         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68302/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68302/timer
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68302/timer
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/timer.rel
     16PGM = ${ARCH}/timer.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=timer
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = timer
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=timerisr
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = timerisr
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    6161        $(make-rel)
    6262
    63 all:    ${ARCH} $(SRCS) $(PGM)
     63all: ${ARCH} $(SRCS) $(PGM)
    6464
    6565# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    66 install:  all
     66install: all
    6767
    68 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     68Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6969        cd $(top_builddir) \
    7070         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68302/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68302/wrapup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68302/wrapup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 BSP_PIECES=startup clock console timer
    19 GENERIC_PIECES=
     16BSP_PIECES = startup clock console timer
     17GENERIC_PIECES =
    2018
    2119# bummer; have to use $foreach since % pattern subst rules only replace 1x
    22 OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    23      $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
    24 LIB=$(ARCH)/libbsp.a
     20OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
     21    $(foreach piece, $(GENERIC_PIECES), \
     22    ../../../$(piece)/$(ARCH)/$(piece).rel)
     23LIB = $(ARCH)/libbsp.a
    2524
    26 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2726include $(RTEMS_ROOT)/make/lib.cfg
     27
     28INSTALL = @INSTALL@
     29INSTALL_CHANGE = @INSTALL_CHANGE@
    2830
    2931#
     
    3133#
    3234
    33 DEFINES  +=
     35DEFINES +=
    3436CPPFLAGS +=
    35 CFLAGS   +=
     37CFLAGS +=
    3638
    37 LD_PATHS  +=
    38 LD_LIBS   +=
    39 LDFLAGS   +=
     39LD_PATHS +=
     40LD_LIBS +=
     41LDFLAGS +=
    4042
    4143#
     
    5254        $(make-library)
    5355
    54 all:    ${ARCH} $(SRCS) $(LIB)
    55         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
     56all: ${ARCH} $(SRCS) $(LIB)
     57        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    5658
    57 $(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs: ../bsp_specs
     59$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
    5860        $(INSTALL_DATA) $< $@
    5961
    60 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     62Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6163        cd $(top_builddir) \
    6264         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68340/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68340
     8top_builddir = ../../..
     9subdir = libbsp/m68k/gen68340
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1917include $(RTEMS_ROOT)/make/directory.cfg
    2018
    21 SRCS=README
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20
     21SRCS = README
    2222
    2323all: $(SRCS)
     
    2525# wrapup is the one that actually builds and installs the library
    2626#  from the individual .rel files built in other directories
    27 SUB_DIRS=include start340 startup clock console timer wrapup
     27SUB_DIRS = include start340 startup clock console timer wrapup
    2828
    29 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     29Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    3030        cd $(top_builddir) \
    3131         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68340/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68340/clock
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68340/clock
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/clock.rel
     16PGM = ${ARCH}/clock.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=ckinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ckinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68340/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68340/console
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68340/console
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/console.rel
     16PGM = ${ARCH}/console.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console m340uart
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console m340uart
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=Modif_cpu_asm
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = Modif_cpu_asm
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    6161        $(make-rel)
    6262
    63 all:    ${ARCH} $(SRCS) $(PGM)
     63all: ${ARCH} $(SRCS) $(PGM)
    6464
    6565# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    66 install:  all
     66install: all
    6767
    68 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     68Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6969        cd $(top_builddir) \
    7070         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68340/include/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68340/include
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68340/include
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h $(srcdir)/m340uart.h $(srcdir)/m340timer.h $(srcdir)/m68340.h $(srcdir)/m68340.inc $(srcdir)/m68349.inc
     16H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h $(srcdir)/m340uart.h \
     17    $(srcdir)/m340timer.h $(srcdir)/m68340.h $(srcdir)/m68340.inc \
     18    $(srcdir)/m68349.inc
    1919
    2020#
     
    2828EQ_FILES =
    2929
    30 SRCS=$(H_FILES) $(EQ_FILES)
     30SRCS = $(H_FILES) $(EQ_FILES)
    3131
    32 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     32include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3333include $(RTEMS_ROOT)/make/leaf.cfg
     34
     35INSTALL_CHANGE = @INSTALL_CHANGE@
     36mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     37
     38INSTALLDIRS = $(PROJECT_INCLUDE)
     39
     40$(INSTALLDIRS):
     41        @$(mkinstalldirs) $(INSTALLDIRS)
    3442
    3543CLEAN_ADDITIONS +=
    3644CLOBBER_ADDITIONS +=
    3745
    38 all:    $(SRCS)
    39         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    40         $(INSTALL_CHANGE) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE)
     46all: $(SRCS)
     47        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     48        @$(INSTALL_CHANGE) -m 644 $(EQ_FILES) $(PROJECT_INCLUDE)
    4149
    42 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     50Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    4351        cd $(top_builddir) \
    4452         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68340/start/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68340/start340
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68340/start340
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGMS=${ARCH}/start340.o
     16PGMS = ${ARCH}/start340.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES =
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=start340
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = start340
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    5858CLOBBER_ADDITIONS +=
    5959
    60 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    61         $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib
     60all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     61        $(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
    6262
    6363# Install the program(s), appending _g or _p as appropriate.
    6464# for include files, just use $(INSTALL_CHANGE)
    6565
    66 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     66Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6767        cd $(top_builddir) \
    6868         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68340/start340/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68340/start340
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68340/start340
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGMS=${ARCH}/start340.o
     16PGMS = ${ARCH}/start340.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES =
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=start340
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = start340
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    5858CLOBBER_ADDITIONS +=
    5959
    60 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    61         $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib
     60all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     61        $(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
    6262
    6363# Install the program(s), appending _g or _p as appropriate.
    6464# for include files, just use $(INSTALL_CHANGE)
    6565
    66 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     66Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6767        cd $(top_builddir) \
    6868         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68340/startup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68340/startup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68340/startup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
    1715
    18 PGM=${ARCH}/startup.rel
     16PGM = ${ARCH}/startup.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=bspclean bsplibc bsppost bspstart init68340 bootcard main sbrk setvec dumpanic gnatinstallhandler
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = bspclean bsplibc bsppost bspstart init68340 bootcard main sbrk \
     20    setvec dumpanic gnatinstallhandler
     21C_FILES = $(C_PIECES:%=%.c)
     22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2423
    25 H_FILES=
     24H_FILES =
    2625
    27 SRCS=$(srcdir)/linkcmds  \
    28      $(C_FILES) $(H_FILES)
    29 OBJS=$(C_O_FILES) $(CC_O_FILES)
     26SRCS = $(srcdir)/linkcmds $(C_FILES) $(H_FILES)
     27OBJS = $(C_O_FILES) $(CC_O_FILES)
    3028
    31 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3230include $(RTEMS_ROOT)/make/leaf.cfg
     31
     32INSTALL_CHANGE = @INSTALL_CHANGE@
     33mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     34
     35INSTALLDIRS = $(PROJECT_RELEASE)/lib
     36
     37$(INSTALLDIRS):
     38        @$(mkinstalldirs) $(INSTALLDIRS)
    3339
    3440#
     
    3642#
    3743
    38 DEFINES  +=
     44DEFINES +=
    3945CPPFLAGS +=
    40 CFLAGS   +=
     46CFLAGS +=
    4147
    42 LD_PATHS  +=
    43 LD_LIBS   +=
    44 LDFLAGS   +=
     48LD_PATHS +=
     49LD_LIBS +=
     50LDFLAGS +=
    4551
    4652#
     
    5763        $(make-rel)
    5864
    59 all:    ${ARCH} $(SRCS) $(PGM)
    60         $(INSTALL_CHANGE) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
     65all: ${ARCH} $(SRCS) $(PGM)
     66        $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    6167
    6268# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    6369
    64 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     70Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6571        cd $(top_builddir) \
    6672         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68340/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68340/timer
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68340/timer
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/timer.rel
     16PGM = ${ARCH}/timer.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=timer
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = timer
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68340/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68340/wrapup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68340/wrapup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 BSP_PIECES=startup clock console timer
    19 CPU_PIECES=
    20 GENERIC_PIECES=
     16BSP_PIECES = startup clock console timer
     17CPU_PIECES =
     18GENERIC_PIECES =
    2119
    2220# bummer; have to use $foreach since % pattern subst rules only replace 1x
    23 OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    24      $(foreach piece, $(CPU_PIECES), \
    25          ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
    26      $(wildcard \
     21OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
     22    $(foreach piece, $(CPU_PIECES), \
     23    ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
     24    $(wildcard \
    2725    ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/fpsp/$(ARCH)/fpsp.rel) \
    28      $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
    29 LIB=$(ARCH)/libbsp.a
     26    $(foreach piece, $(GENERIC_PIECES), \
     27    ../../../$(piece)/$(ARCH)/$(piece).rel)
     28LIB = $(ARCH)/libbsp.a
    3029
    31 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3231include $(RTEMS_ROOT)/make/lib.cfg
     32
     33INSTALL = @INSTALL@
     34INSTALL_CHANGE = @INSTALL_CHANGE@
    3335
    3436#
     
    3638#
    3739
    38 DEFINES  +=
     40DEFINES +=
    3941CPPFLAGS +=
    40 CFLAGS   +=
     42CFLAGS +=
    4143
    42 LD_PATHS  +=
    43 LD_LIBS   +=
    44 LDFLAGS   +=
     44LD_PATHS +=
     45LD_LIBS +=
     46LDFLAGS +=
    4547
    4648#
     
    5759        $(make-library)
    5860
    59 all:    ${ARCH} $(SRCS) $(LIB)
    60         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
     61all: ${ARCH} $(SRCS) $(LIB)
     62        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    6163
    62 $(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs: ../bsp_specs
     64$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
    6365        $(INSTALL_DATA) $< $@
    6466
    65 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     67Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6668        cd $(top_builddir) \
    6769         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360
     8top_builddir = ../../..
     9subdir = libbsp/m68k/gen68360
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1917include $(RTEMS_ROOT)/make/directory.cfg
    2018
    21 SRCS=README
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20
     21SRCS = README
    2222
    2323# We only build the networking device driver if HAS_NETWORKING was defined
     
    2929# wrapup is the one that actually builds and installs the library
    3030#  from the individual .rel files built in other directories
    31 SUB_DIRS=include start360 startup clock console timer \
    32         $(NETWORKING_DRIVER) wrapup
     31SUB_DIRS = include start360 startup clock console timer $(NETWORKING_DRIVER) \
     32    wrapup
    3333
    34 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     34Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    3535        cd $(top_builddir) \
    3636         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360/clock
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68360/clock
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/clock.rel
     16PGM = ${ARCH}/clock.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=ckinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ckinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360/console
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68360/console
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/console.rel
     16PGM = ${ARCH}/console.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/include/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360/include
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68360/include
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    2826EQ_FILES =
    2927
    30 SRCS=$(H_FILES) $(EQ_FILES)
     28SRCS = $(H_FILES) $(EQ_FILES)
    3129
    32 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3331include $(RTEMS_ROOT)/make/leaf.cfg
     32
     33INSTALL_CHANGE = @INSTALL_CHANGE@
     34mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     35
     36INSTALLDIRS = $(PROJECT_INCLUDE)
     37
     38$(INSTALLDIRS):
     39        @$(mkinstalldirs) $(INSTALLDIRS)
    3440
    3541CLEAN_ADDITIONS +=
    3642CLOBBER_ADDITIONS +=
    3743
    38 all:    $(SRCS)
    39         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    40         $(INSTALL_CHANGE) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE)
     44all: $(SRCS)
     45        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     46        @$(INSTALL_CHANGE) -m 644 $(EQ_FILES) $(PROJECT_INCLUDE)
    4147
    42 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     48Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    4349        cd $(top_builddir) \
    4450         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/network/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360/network
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68360/network
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/network.rel
     16PGM = ${ARCH}/network.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=network
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = network
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
     37DEFINES += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/start/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360/start360
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68360/start360
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGMS=${ARCH}/start360.o
     16PGMS = ${ARCH}/start360.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES =
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=start360
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = start360
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    5858CLOBBER_ADDITIONS +=
    5959
    60 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    61         $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib
     60all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     61        $(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
    6262
    6363# Install the program(s), appending _g or _p as appropriate.
    6464# for include files, just use $(INSTALL_CHANGE)
    6565
    66 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     66Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6767        cd $(top_builddir) \
    6868         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/start360/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360/start360
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68360/start360
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGMS=${ARCH}/start360.o
     16PGMS = ${ARCH}/start360.o
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES =
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=start360
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = start360
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    5858CLOBBER_ADDITIONS +=
    5959
    60 all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
    61         $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib
     60all: ${ARCH} $(SRCS) $(OBJS) $(PGM)
     61        $(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib
    6262
    6363# Install the program(s), appending _g or _p as appropriate.
    6464# for include files, just use $(INSTALL_CHANGE)
    6565
    66 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     66Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6767        cd $(top_builddir) \
    6868         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/startup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360/startup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68360/startup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
    1715
    18 PGM=${ARCH}/startup.rel
     16PGM = ${ARCH}/startup.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=alloc360 bspclean bsplibc bsppost bspstart init68360 bootcard main sbrk setvec gnatinstallhandler
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = alloc360 bspclean bsplibc bsppost bspstart init68360 bootcard \
     20    main sbrk setvec gnatinstallhandler
     21C_FILES = $(C_PIECES:%=%.c)
     22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2423
    25 H_FILES=
     24H_FILES =
    2625
    27 SRCS=$(srcdir)/linkcmds $(srcdir)/linkcmds.prom $(srcdir)/linkcmds.bootp \
    28      $(C_FILES) $(H_FILES)
    29 OBJS=$(C_O_FILES) $(CC_O_FILES)
     26SRCS = $(srcdir)/linkcmds $(srcdir)/linkcmds.prom $(srcdir)/linkcmds.bootp \
     27    $(C_FILES) $(H_FILES)
     28OBJS = $(C_O_FILES) $(CC_O_FILES)
    3029
    31 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3231include $(RTEMS_ROOT)/make/leaf.cfg
     32
     33INSTALL_CHANGE = @INSTALL_CHANGE@
     34mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     35
     36INSTALLDIRS = $(PROJECT_RELEASE)/lib
     37
     38$(INSTALLDIRS):
     39        @$(mkinstalldirs) $(INSTALLDIRS)
    3340
    3441#
     
    3643#
    3744
    38 DEFINES  +=
     45DEFINES +=
    3946CPPFLAGS +=
    40 CFLAGS   +=
     47CFLAGS +=
    4148
    42 LD_PATHS  +=
    43 LD_LIBS   +=
    44 LDFLAGS   +=
     49LD_PATHS +=
     50LD_LIBS +=
     51LDFLAGS +=
    4552
    4653#
     
    5764        $(make-rel)
    5865
    59 all:    ${ARCH} $(SRCS) $(PGM)
    60         $(INSTALL_CHANGE) $(srcdir)/linkcmds $(srcdir)/linkcmds.prom ${PROJECT_RELEASE}/lib
     66all: ${ARCH} $(SRCS) $(PGM)
     67        $(INSTALL_CHANGE) $(srcdir)/linkcmds $(srcdir)/linkcmds.prom $(PROJECT_RELEASE)/lib
    6168
    6269# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    6370
    64 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     71Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6572        cd $(top_builddir) \
    6673         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360/timer
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68360/timer
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/timer.rel
     16PGM = ${ARCH}/timer.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=timer
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = timer
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/gen68360/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/gen68360/wrapup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/gen68360/wrapup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    2018NETWORKING_DRIVER = $(NETWORKING_DRIVER_$(HAS_NETWORKING)_V)
    2119
    22 BSP_PIECES=startup clock console timer $(NETWORKING_DRIVER)
    23 CPU_PIECES=
    24 GENERIC_PIECES=
     20BSP_PIECES = startup clock console timer $(NETWORKING_DRIVER)
     21CPU_PIECES =
     22GENERIC_PIECES =
    2523
    2624# bummer; have to use $foreach since % pattern subst rules only replace 1x
    27 OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    28      $(foreach piece, $(CPU_PIECES), \
    29          ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
    30      $(wildcard \
     25OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
     26    $(foreach piece, $(CPU_PIECES), \
     27    ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
     28    $(wildcard \
    3129    ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/fpsp/$(ARCH)/fpsp.rel) \
    32      $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
    33 LIB=$(ARCH)/libbsp.a
     30    $(foreach piece, $(GENERIC_PIECES), \
     31    ../../../$(piece)/$(ARCH)/$(piece).rel)
     32LIB = $(ARCH)/libbsp.a
    3433
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     34include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3635include $(RTEMS_ROOT)/make/lib.cfg
     36
     37INSTALL = @INSTALL@
     38INSTALL_CHANGE = @INSTALL_CHANGE@
    3739
    3840#
     
    4042#
    4143
    42 DEFINES  +=
     44DEFINES +=
    4345CPPFLAGS +=
    44 CFLAGS   +=
     46CFLAGS +=
    4547
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     48LD_PATHS +=
     49LD_LIBS +=
     50LDFLAGS +=
    4951
    5052#
     
    6163        $(make-library)
    6264
    63 all:    ${ARCH} $(SRCS) $(LIB)
    64         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
     65all: ${ARCH} $(SRCS) $(LIB)
     66        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    6567
    66 $(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs: ../bsp_specs
     68$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
    6769        $(INSTALL_DATA) $< $@
    6870
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     71Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7072        cd $(top_builddir) \
    7173         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/idp/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/idp
     8top_builddir = ../../..
     9subdir = libbsp/m68k/idp
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1917include $(RTEMS_ROOT)/make/directory.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2020
    2121# wrapup is the one that actually builds and installs the library
    2222#  from the individual .rel files built in other directories
    23 SUB_DIRS=include startup clock console timer wrapup
     23SUB_DIRS = include startup clock console timer wrapup
    2424
    25 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     25Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2626        cd $(top_builddir) \
    2727         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/idp/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/idp/clock
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/idp/clock
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/clock.rel
     16PGM = ${ARCH}/clock.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=ckinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ckinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
    38 CPPFLAGS += 
    39 CFLAGS   +=
     37DEFINES +=
     38CPPFLAGS +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5050#
    5151
    52 CLEAN_ADDITIONS += 
     52CLEAN_ADDITIONS +=
    5353CLOBBER_ADDITIONS +=
    5454
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/idp/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/idp/console
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/idp/console
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/console.rel
     16PGM = ${ARCH}/console.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console leds mc68ec duart
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console leds mc68ec duart
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
    38 CPPFLAGS += 
    39 CFLAGS   +=
     37DEFINES +=
     38CPPFLAGS +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5050#
    5151
    52 CLEAN_ADDITIONS += 
     52CLEAN_ADDITIONS +=
    5353CLOBBER_ADDITIONS +=
    5454
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/idp/include/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/idp/include
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/idp/include
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    2624#
    2725
    28 EQ_FILES = 
     26EQ_FILES =
    2927
    30 SRCS=$(H_FILES) $(EQ_FILES)
     28SRCS = $(H_FILES) $(EQ_FILES)
    3129
    32 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3331include $(RTEMS_ROOT)/make/leaf.cfg
    3432
    35 CLEAN_ADDITIONS +=
     33INSTALL_CHANGE = @INSTALL_CHANGE@
     34mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     35
     36INSTALLDIRS = $(PROJECT_INCLUDE)
     37
     38$(INSTALLDIRS):
     39        @$(mkinstalldirs) $(INSTALLDIRS)
     40
     41CLEAN_ADDITIONS +=
    3642CLOBBER_ADDITIONS +=
    3743
    38 all:    $(SRCS)
    39         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    40         $(INSTALL_CHANGE) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE)
     44all: $(SRCS)
     45        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     46        @$(INSTALL_CHANGE) -m 644 $(EQ_FILES) $(PROJECT_INCLUDE)
    4147
    42 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     48Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    4349        cd $(top_builddir) \
    4450         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/idp/startup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/idp/startup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/idp/startup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
    1715
    18 PGM=${ARCH}/startup.rel
     16PGM = ${ARCH}/startup.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=bspclean bsplibc bsppost bspstart bootcard main sbrk setvec gnatinstallhandler
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = bspclean bsplibc bsppost bspstart bootcard main sbrk setvec \
     20    gnatinstallhandler
     21C_FILES = $(C_PIECES:%=%.c)
     22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2423
    25 H_FILES=
     24H_FILES =
    2625
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     26SRCS = $(C_FILES) $(H_FILES)
     27OBJS = $(C_O_FILES)
    2928
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3130include $(RTEMS_ROOT)/make/leaf.cfg
     31
     32INSTALL_CHANGE = @INSTALL_CHANGE@
     33mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     34
     35INSTALLDIRS = $(PROJECT_RELEASE)/lib
     36
     37$(INSTALLDIRS):
     38        @$(mkinstalldirs) $(INSTALLDIRS)
    3239
    3340#
     
    3542#
    3643
    37 DEFINES  +=
    38 CPPFLAGS += 
    39 CFLAGS   +=
     44DEFINES +=
     45CPPFLAGS +=
     46CFLAGS +=
    4047
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     48LD_PATHS +=
     49LD_LIBS +=
     50LDFLAGS +=
    4451
    4552#
     
    5057#
    5158
    52 CLEAN_ADDITIONS += 
     59CLEAN_ADDITIONS +=
    5360CLOBBER_ADDITIONS +=
    5461
     
    5663        $(make-rel)
    5764
    58 all:    ${ARCH} $(SRCS) $(PGM)
    59         $(INSTALL_CHANGE) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
     65all: ${ARCH} $(SRCS) $(PGM)
     66        $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    6067
    6168# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    6269
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     70Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6471        cd $(top_builddir) \
    6572         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/idp/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/idp/timer
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/idp/timer
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/timer.rel
     16PGM = ${ARCH}/timer.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=timer
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = timer
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=timerisr
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = timerisr
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
    43 CPPFLAGS += 
    44 CFLAGS   +=
     42DEFINES +=
     43CPPFLAGS +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    5555#
    5656
    57 CLEAN_ADDITIONS += 
     57CLEAN_ADDITIONS +=
    5858CLOBBER_ADDITIONS +=
    5959
     
    6161        $(make-rel)
    6262
    63 all:    ${ARCH} $(SRCS) $(PGM)
     63all: ${ARCH} $(SRCS) $(PGM)
    6464
    6565# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    66 install:  all
     66install: all
    6767
    68 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     68Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6969        cd $(top_builddir) \
    7070         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/idp/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/idp/wrapup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/idp/wrapup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 BSP_PIECES=startup clock console timer
    19 GENERIC_PIECES=
     16BSP_PIECES = startup clock console timer
     17GENERIC_PIECES =
    2018
    2119# bummer; have to use $foreach since % pattern subst rules only replace 1x
    22 OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    23      $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
    24 LIB=$(ARCH)/libbsp.a
     20OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
     21    $(foreach piece, $(GENERIC_PIECES), \
     22    ../../../$(piece)/$(ARCH)/$(piece).rel)
     23LIB = $(ARCH)/libbsp.a
    2524
    26 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2726include $(RTEMS_ROOT)/make/lib.cfg
     27
     28INSTALL = @INSTALL@
     29INSTALL_CHANGE = @INSTALL_CHANGE@
    2830
    2931#
     
    3133#
    3234
    33 DEFINES  +=
    34 CPPFLAGS += 
    35 CFLAGS   +=
     35DEFINES +=
     36CPPFLAGS +=
     37CFLAGS +=
    3638
    37 LD_PATHS  +=
    38 LD_LIBS   +=
    39 LDFLAGS   +=
     39LD_PATHS +=
     40LD_LIBS +=
     41LDFLAGS +=
    4042
    4143#
     
    4648#
    4749
    48 CLEAN_ADDITIONS += 
     50CLEAN_ADDITIONS +=
    4951CLOBBER_ADDITIONS +=
    5052
     
    5254        $(make-library)
    5355
    54 all:    ${ARCH} $(SRCS) $(LIB)
    55         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
     56all: ${ARCH} $(SRCS) $(LIB)
     57        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    5658
    57 $(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs: ../bsp_specs
     59$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
    5860        $(INSTALL_DATA) $< $@
    5961
    60 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     62Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6163        cd $(top_builddir) \
    6264         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/mvme136/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/mvme136
     8top_builddir = ../../..
     9subdir = libbsp/m68k/mvme136
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1917include $(RTEMS_ROOT)/make/directory.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2020
    2121# We only build the multiprocessing support if HAS_MP was defined
     
    2525# wrapup is the one that actually builds and installs the library
    2626#  from the individual .rel files built in other directories
    27 SUB_DIRS=include startup clock console $(MP_SUPPORT) timer wrapup
     27SUB_DIRS = include startup clock console $(MP_SUPPORT) timer wrapup
    2828
    29 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     29Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    3030        cd $(top_builddir) \
    3131         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/mvme136/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/mvme136/clock
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/mvme136/clock
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/clock.rel
     16PGM = ${ARCH}/clock.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=ckinit
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ckinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/mvme136/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/mvme136/console
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/mvme136/console
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/console.rel
     16PGM = ${ARCH}/console.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/mvme136/include/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/mvme136/include
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/mvme136/include
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    2826EQ_FILES =
    2927
    30 SRCS=$(H_FILES) $(EQ_FILES)
     28SRCS = $(H_FILES) $(EQ_FILES)
    3129
    32 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3331include $(RTEMS_ROOT)/make/leaf.cfg
     32
     33INSTALL_CHANGE = @INSTALL_CHANGE@
     34mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     35
     36INSTALLDIRS = $(PROJECT_INCLUDE)
     37
     38$(INSTALLDIRS):
     39        @$(mkinstalldirs) $(INSTALLDIRS)
    3440
    3541CLEAN_ADDITIONS +=
    3642CLOBBER_ADDITIONS +=
    3743
    38 all:    $(SRCS)
    39         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    40         $(INSTALL_CHANGE) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE)
     44all: $(SRCS)
     45        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     46        @$(INSTALL_CHANGE) -m 644 $(EQ_FILES) $(PROJECT_INCLUDE)
    4147
    42 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     48Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    4349        cd $(top_builddir) \
    4450         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/mvme136/shmsupp
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/mvme136/shmsupp
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/shmsupp.rel
     16PGM = ${ARCH}/shmsupp.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=addrconv getcfg lock mpisr
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = addrconv getcfg lock mpisr
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    27 SRCS=$(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2927
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3129include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3232
    3333#
     
    3535#
    3636
    37 DEFINES  +=
     37DEFINES +=
    3838CPPFLAGS +=
    39 CFLAGS   +=
     39CFLAGS +=
    4040
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4444
    4545#
     
    5656        $(make-rel)
    5757
    58 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5959
    6060# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    61 install:  all
     61install: all
    6262
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6464        cd $(top_builddir) \
    6565         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/mvme136/startup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/mvme136/startup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/mvme136/startup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
    1715
    18 PGM=${ARCH}/startup.rel
     16PGM = ${ARCH}/startup.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=bspclean bsplibc bsppost bspstart bootcard main sbrk setvec gnatinstallhandler
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = bspclean bsplibc bsppost bspstart bootcard main sbrk setvec \
     20    gnatinstallhandler
     21C_FILES = $(C_PIECES:%=%.c)
     22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2423
    25 H_FILES=
     24H_FILES =
    2625
    27 SRCS=$(srcdir)/linkcmds $(C_FILES) $(H_FILES)
    28 OBJS=$(C_O_FILES)
     26SRCS = $(srcdir)/linkcmds $(C_FILES) $(H_FILES)
     27OBJS = $(C_O_FILES)
    2928
    30 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     29include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3130include $(RTEMS_ROOT)/make/leaf.cfg
     31
     32INSTALL_CHANGE = @INSTALL_CHANGE@
     33mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     34
     35INSTALLDIRS = $(PROJECT_RELEASE)/lib
     36
     37$(INSTALLDIRS):
     38        @$(mkinstalldirs) $(INSTALLDIRS)
    3239
    3340#
     
    3542#
    3643
    37 DEFINES  +=
     44DEFINES +=
    3845CPPFLAGS +=
    39 CFLAGS   +=
     46CFLAGS +=
    4047
    41 LD_PATHS  +=
    42 LD_LIBS   +=
    43 LDFLAGS   +=
     48LD_PATHS +=
     49LD_LIBS +=
     50LDFLAGS +=
    4451
    4552#
     
    5663        $(make-rel)
    5764
    58 all:    ${ARCH} $(SRCS) $(PGM)
    59         $(INSTALL_CHANGE) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
     65all: ${ARCH} $(SRCS) $(PGM)
     66        $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    6067
    6168# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    6269
    63 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     70Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6471        cd $(top_builddir) \
    6572         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/mvme136/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/mvme136/timer
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/mvme136/timer
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 PGM=${ARCH}/timer.rel
     16PGM = ${ARCH}/timer.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=timer
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = timer
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=
     23H_FILES =
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=timerisr
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = timerisr
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    3432
    35 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3634include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3737
    3838#
     
    4040#
    4141
    42 DEFINES  +=
     42DEFINES +=
    4343CPPFLAGS +=
    44 CFLAGS   +=
     44CFLAGS +=
    4545
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4949
    5050#
     
    6161        $(make-rel)
    6262
    63 all:    ${ARCH} $(SRCS) $(PGM)
     63all: ${ARCH} $(SRCS) $(PGM)
    6464
    6565# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    66 install:  all
     66install: all
    6767
    68 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     68Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6969        cd $(top_builddir) \
    7070         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/m68k/mvme136/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/mvme136/wrapup
     8top_builddir = ../../../..
     9subdir = libbsp/m68k/mvme136/wrapup
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    1614VPATH = @srcdir@
    1715
    18 BSP_PIECES=startup clock console timer
    19 GENERIC_PIECES=
     16BSP_PIECES = startup clock console timer
     17GENERIC_PIECES =
    2018
    21 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2220include $(RTEMS_ROOT)/make/lib.cfg
    2321
    24 ifeq ($(HAS_MP),yes)
    25 GENERIC_PIECES += shmdr
    26 BSP_PIECES += shmsupp
    27 endif
     22INSTALL = @INSTALL@
     23INSTALL_CHANGE = @INSTALL_CHANGE@
     24
     25GENERIC_MP_REL_PIECES_yes_V = shmdr
     26GENERIC_MP_REL_PIECES_no_V =
     27GENERIC_PIECES += $(GENERIC_MP_REL_PIECES_$(HAS_MP)_V)
     28
     29BSP_MP_O_PIECES_yes_V = shmsupp
     30BSP_MP_O_PIECES_no_V =
     31BSP_PIECES += $(BSP_MP_O_PIECES_$(HAS_MP)_V)
    2832
    2933# bummer; have to use $foreach since % pattern subst rules only replace 1x
    30 OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    31      $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
    32 LIB=$(ARCH)/libbsp.a
     34OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
     35    $(foreach piece, $(GENERIC_PIECES), \
     36    ../../../$(piece)/$(ARCH)/$(piece).rel)
     37LIB = $(ARCH)/libbsp.a
    3338
    3439#
     
    3641#
    3742
    38 DEFINES  +=
     43DEFINES +=
    3944CPPFLAGS +=
    40 CFLAGS <