Changeset 6693a68 in rtems for c/src/lib/libcpu


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/libcpu
Files:
54 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../..
    9 subdir = c/src/lib/libcpu
     8top_builddir = ..
     9subdir = libcpu
    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 SUB_DIRS=$(wildcard $(RTEMS_CPU))
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = $(wildcard $(RTEMS_CPU))
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/hppa1.1/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../..
    9 subdir = c/src/lib/libcpu/hppa1.1
     8top_builddir = ../..
     9subdir = libcpu/hppa1.1
    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 SUB_DIRS=include milli runway clock timer semaphore
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = include milli runway clock timer semaphore
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/hppa1.1/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/hppa1.1/clock
     8top_builddir = ../../..
     9subdir = libcpu/hppa1.1/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=clock
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = clock
     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=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     42DEFINES +=
     43CPPFLAGS +=
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/hppa/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/hppa1.1/include/Makefile.in

    rb0ac03f4 r6693a68  
    1010srcdir = @srcdir@
    1111top_srcdir = @top_srcdir@
    12 top_builddir = ../../../../../..
    13 subdir = c/src/lib/libcpu/hppa1.1/include
     12top_builddir = ../../..
     13subdir = libcpu/hppa1.1/include
    1414
    15 INSTALL = @INSTALL@
    16 
    17 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     15RTEMS_ROOT = @RTEMS_ROOT@
    1816PROJECT_ROOT = @PROJECT_ROOT@
    1917
    2018VPATH = @srcdir@
    2119
    22 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2321include $(RTEMS_ROOT)/make/leaf.cfg
    2422
     23INSTALL_CHANGE = @INSTALL_CHANGE@
     24
    2525all: FORCEIT
    26         cd ../../../libbsp/$(RTEMS_CPU)/${RTEMS_BSP}/include; $(MAKE) all
     26        cd ../../../libbsp/$(RTEMS_CPU)/@RTEMS_BSP@/include; $(MAKE) all
    2727
    28 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     28Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2929        cd $(top_builddir) \
    3030         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/hppa1.1/milli/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/hppa1.1/milli
     8top_builddir = ../../..
     9subdir = libcpu/hppa1.1/milli
    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}/milli.rel
     16PGM = ${ARCH}/milli.rel
    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=milli
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = milli
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     42DEFINES +=
     43CPPFLAGS +=
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/hppa/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/hppa1.1/runway/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/hppa1.1/runway
     8top_builddir = ../../..
     9subdir = libcpu/hppa1.1/runway
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    1715
    1816H_PIECES = runway
    19 H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
     17H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
    2018
    21 SRCS=$(H_FILES) $(EQ_FILES)
     19SRCS = $(H_FILES) $(EQ_FILES)
    2220
    23 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     21include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2422include $(RTEMS_ROOT)/make/leaf.cfg
     23
     24INSTALL_CHANGE = @INSTALL_CHANGE@
     25mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     26
     27INSTALLDIRS = $(PROJECT_INCLUDE)
     28
     29$(INSTALLDIRS):
     30        @$(mkinstalldirs) $(INSTALLDIRS)
    2531
    2632CLEAN_ADDITIONS +=
    2733CLOBBER_ADDITIONS +=
    2834
    29 all:    $(SRCS)
    30         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
     35all: $(SRCS)
     36        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
    3137
    32 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     38Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    3339        cd $(top_builddir) \
    3440         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/hppa1.1/semaphore/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/hppa1.1/semaphore
     8top_builddir = ../../..
     9subdir = libcpu/hppa1.1/semaphore
    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}/semaphore.rel
     16PGM = ${ARCH}/semaphore.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=semaphore
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = semaphore
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_PIECES=semaphore
    26 H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
     23H_PIECES = semaphore
     24H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
    2725
    2826# Assembly source names, if any, go here -- minus the .S
    29 S_PIECES=
    30 S_FILES=$(S_PIECES:%=%.S)
    31 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     27S_PIECES =
     28S_FILES = $(S_PIECES:%=%.S)
     29S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3230
    33 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    34 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     31SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     32OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    3533
    36 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     34include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3735include $(RTEMS_ROOT)/make/leaf.cfg
     36
     37INSTALL_CHANGE = @INSTALL_CHANGE@
     38mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     39
     40INSTALLDIRS = $(PROJECT_INCLUDE)
     41
     42$(INSTALLDIRS):
     43        @$(mkinstalldirs) $(INSTALLDIRS)
    3844
    3945#
     
    4147#
    4248
    43 DEFINES  +=
     49DEFINES +=
    4450CPPFLAGS +=
    45 CFLAGS   += $(CFLAGS_OS_V)
     51CFLAGS += $(CFLAGS_OS_V)
    4652
    47 LD_PATHS  +=
    48 LD_LIBS   +=
    49 LDFLAGS   +=
     53LD_PATHS +=
     54LD_LIBS +=
     55LDFLAGS +=
    5056
    5157# Add your list of files to delete here.
     
    5763        $(make-rel)
    5864
    59 all:    ${ARCH} $(SRCS) $(PGM)
    60         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
     65all: ${ARCH} $(SRCS) $(PGM)
     66        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
    6167
    62 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     68Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    6369        cd $(top_builddir) \
    6470         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/hppa1.1/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/hppa1.1/timer
     8top_builddir = ../../..
     9subdir = libcpu/hppa1.1/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=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/hppa/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/i386/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../..
    9 subdir = c/src/lib/libcpu/i386
     8top_builddir = ../..
     9subdir = libcpu/i386
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
     
    1715
    1816# C source names, if any, go here -- minus the .c
    19 C_PIECES=cpu displayCpu page
    20 C_FILES=$(C_PIECES:%=%.c)
    21 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     17C_PIECES = cpu displayCpu page
     18C_FILES = $(C_PIECES:%=%.c)
     19C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2220
    23 H_FILES=$(srcdir)/cpu.h $(srcdir)/registers.h $(srcdir)/cpuModel.h
     21H_FILES = $(srcdir)/cpu.h $(srcdir)/registers.h $(srcdir)/cpuModel.h
    2422
    2523# Assembly source names, if any, go here -- minus the .s
    26 S_PIECES=cpu_asm cpuModel
    27 S_FILES=$(S_PIECES:%=%.S)
    28 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     24S_PIECES = cpu_asm cpuModel
     25S_FILES = $(S_PIECES:%=%.S)
     26S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    2927
    30 SRCS=$(C_FILES) $(H_FILES)
    31 OBJS=$(C_O_FILES) $(S_O_FILES)
     28SRCS = $(C_FILES) $(H_FILES)
     29OBJS = $(C_O_FILES) $(S_O_FILES)
    3230
    33 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3432include $(RTEMS_ROOT)/make/lib.cfg
    3533
    36 LIB=${ARCH}/libcpuspec.a
     34INSTALL_CHANGE = @INSTALL_CHANGE@
     35mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     36
     37INSTALLDIRS = $(PROJECT_INCLUDE)/libcpu
     38
     39$(INSTALLDIRS):
     40        @$(mkinstalldirs) $(INSTALLDIRS)
     41
     42LIB = ${ARCH}/libcpuspec.a
    3743
    3844#
     
    4046#
    4147
    42 DEFINES  +=
     48DEFINES +=
    4349CPPFLAGS +=
    44 CFLAGS   +=
     50CFLAGS +=
    4551
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     52LD_PATHS +=
     53LD_LIBS +=
     54LDFLAGS +=
    4955
    5056#
     
    6167        $(make-library)
    6268
    63 preinstall :
    64         $(RTEMS_ROOT)/mkinstalldirs $(PROJECT_INCLUDE)/libcpu
    65         $(INSTALL_CHANGE) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/libcpu
     69preinstall : 
     70        @$(mkinstalldirs) $(PROJECT_INCLUDE)/libcpu
     71        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
    6672
    67 all:    ${ARCH} $(SRCS) preinstall $(OBJ) $(LIB)
     73all: ${ARCH} $(SRCS) preinstall $(OBJ) $(LIB)
    6874        cd wrapup; $(MAKE)
    6975
    7076# the .rel file built here will be put into libcpu.a by ../wrapup/Makefile
    71 install:  all
     77install: all
    7278
    73 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     79Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7480        cd $(top_builddir) \
    7581         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/i386/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/i386/wrapup
     8top_builddir = ../../..
     9subdir = libcpu/i386/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=../$(ARCH)/libcpuspec.a
    23 LIB=$(ARCH)/libcpu.a
     20OBJS = ../$(ARCH)/libcpuspec.a
     21LIB = $(ARCH)/libcpu.a
    2422
    25 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     23include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2624include $(RTEMS_ROOT)/make/lib.cfg
     25
     26INSTALL_CHANGE = @INSTALL_CHANGE@
    2727
    2828#
     
    3030#
    3131
    32 DEFINES  +=
     32DEFINES +=
    3333CPPFLAGS +=
    34 CFLAGS   +=
     34CFLAGS +=
    3535
    36 LD_PATHS  +=
    37 LD_LIBS   +=
    38 LDFLAGS   +=
     36LD_PATHS +=
     37LD_LIBS +=
     38LDFLAGS +=
    3939
    4040#
     
    6464        $(RM) $@ ;\
    6565        $(AR) $(ARFLAGS) $@ $$list_of_o_files ;\
    66         $(MKLIB) $@
     66        $(RANLIB) $@
    6767
    68 all:    ${ARCH} $(SRCS) $(LIB)
    69         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
    70 # we create here a directory specific to the PC386 BSP to store the BootImage
    71 # files so they can be easily found
    72         mkdir -p ${PROJECT_RELEASE}/BootImgs
     68all: ${ARCH} $(SRCS) $(LIB)
     69        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    7370
    74 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     71Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7572        cd $(top_builddir) \
    7673         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/m68k/Makefile.in

    rb0ac03f4 r6693a68  
    1 #       
     1#
    22#  $Id$
    33#
     
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../..
    9 subdir = c/src/lib/libcpu/m68k
     8top_builddir = ../..
     9subdir = libcpu/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
    21 SUB_DIRS=$(wildcard $(RTEMS_CPU_MODEL))
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = $(wildcard $(RTEMS_CPU_MODEL))
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/m68k/m68040/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/m68k/m68040
     8top_builddir = ../../..
     9subdir = libcpu/m68k/m68040
    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 SUB_DIRS=fpsp
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = fpsp
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/m68k/m68040/fpsp/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/m68k/m68040/fpsp
     8top_builddir = ../../../..
     9subdir = libcpu/m68k/m68040/fpsp
    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}/fpsp.rel
     16PGM = ${ARCH}/fpsp.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=rtems_fpsp
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = rtems_fpsp
     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= bindec binstr bugfix decbin do_func gen_except get_op kernel_ex \
     26S_PIECES = bindec binstr bugfix decbin do_func gen_except get_op kernel_ex \
    2927    res_func round rtems_skel sacos sasin satan satanh scale scosh setox \
    3028    sgetem sint slog2 slogn smovecr srem_mod ssin ssinh stan stanh sto_res \
    3129    stwotox tbldo util x_bsun x_fline x_operr x_ovfl x_snan x_store x_unfl \
    3230    x_unimp x_unsupp
    33 S_FILES=$(S_PIECES:%=%.S)
    34 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     31S_FILES = $(S_PIECES:%=%.S)
     32S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3533
    36 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    37 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     34SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     35OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    3836
    39 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     37include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    4038include $(RTEMS_ROOT)/make/leaf.cfg
     39
     40INSTALL_CHANGE = @INSTALL_CHANGE@
    4141
    4242#
     
    4444#
    4545
    46 DEFINES  +=
    47 CPPFLAGS += 
    48 CFLAGS   += $(CFLAGS_OS_V)
     46DEFINES +=
     47CPPFLAGS +=
     48CFLAGS += $(CFLAGS_OS_V)
    4949
    50 LD_PATHS  +=
    51 LD_LIBS   +=
    52 LDFLAGS   +=
     50LD_PATHS +=
     51LD_LIBS +=
     52LDFLAGS +=
    5353
    5454#
     
    6565        $(make-rel)
    6666
    67 all:    ${ARCH} $(SRCS) $(PGM)
     67all: ${ARCH} $(SRCS) $(PGM)
    6868
    6969# the .rel file built here will be put into libbsp.a by
    7070#    libbsp/hppa/BSP/wrapup/Makefile
    71 install:  all
     71install: all
    7272
    73 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     73Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7474        cd $(top_builddir) \
    7575         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/mips64orion/Makefile.in

    rb0ac03f4 r6693a68  
    1 #       
     1#
    22#  $Id$
    33#
     
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../..
    9 subdir = c/src/lib/libcpu/mips64orion
     8top_builddir = ../..
     9subdir = libcpu/mips64orion
    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 SUB_DIRS=include clock timer
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = include clock timer
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/mips64orion/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/mips64orion/clock
     8top_builddir = ../../..
     9subdir = libcpu/mips64orion/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
    2725# Assembly source names, if any, go here -- minus the .s
    28 S_PIECES=clock
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = clock
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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/libcpu/mips64orion/include/Makefile.in

    rb0ac03f4 r6693a68  
    1 #       
     1#
    22#  $Id$
    33#
     
    1010srcdir = @srcdir@
    1111top_srcdir = @top_srcdir@
    12 top_builddir = ../../../../../..
    13 subdir = c/src/lib/libcpu/mips64orion/include
     12top_builddir = ../../..
     13subdir = libcpu/mips64orion/include
    1414
    15 INSTALL = @INSTALL@
    16 
    17 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     15RTEMS_ROOT = @RTEMS_ROOT@
    1816PROJECT_ROOT = @PROJECT_ROOT@
    1917
    2018VPATH = @srcdir@
    2119
    22 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2321include $(RTEMS_ROOT)/make/leaf.cfg
     22
     23INSTALL_CHANGE = @INSTALL_CHANGE@
    2424
    2525all: FORCEIT
    2626        cd ../../../libbsp/$(RTEMS_CPU)/$(RTEMS_BSP_FAMILY)/include; $(MAKE) all
    2727
    28 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     28Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2929        cd $(top_builddir) \
    3030         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/mips64orion/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/mips64orion/timer
     8top_builddir = ../../..
     9subdir = libcpu/mips64orion/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# NOTE: timerisr is normally an assembly file!!!
    2119
    2220# C source names, if any, go here -- minus the .c
    23 C_PIECES=timer
    24 C_FILES=$(C_PIECES:%=%.c)
    25 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     21C_PIECES = timer
     22C_FILES = $(C_PIECES:%=%.c)
     23C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2624
    27 H_FILES=
     25H_FILES =
    2826
    2927# Assembly source names, if any, go here -- minus the .s
    30 S_PIECES=gettime
    31 S_FILES=$(S_PIECES:%=%.S)
    32 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     28S_PIECES = gettime
     29S_FILES = $(S_PIECES:%=%.S)
     30S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3331
    34 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    35 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     32SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     33OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    3634
    37 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     35include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3836include $(RTEMS_ROOT)/make/leaf.cfg
     37
     38INSTALL_CHANGE = @INSTALL_CHANGE@
    3939
    4040#
     
    4242#
    4343
    44 DEFINES  +=
     44DEFINES +=
    4545CPPFLAGS +=
    46 CFLAGS   +=
     46CFLAGS +=
    4747
    48 LD_PATHS  +=
    49 LD_LIBS   +=
    50 LDFLAGS   +=
     48LD_PATHS +=
     49LD_LIBS +=
     50LDFLAGS +=
    5151
    5252#
     
    6363        $(make-rel)
    6464
    65 all:    ${ARCH} $(SRCS) $(PGM)
     65all: ${ARCH} $(SRCS) $(PGM)
    6666
    6767# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    68 install:  all
     68install: all
    6969
    70 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     70Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7171        cd $(top_builddir) \
    7272         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/Makefile.in

    rb0ac03f4 r6693a68  
    1 #       
     1#
    22#  $Id$
    33#
     
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../..
    9 subdir = c/src/lib/libcpu/powerpc
     8top_builddir = ../..
     9subdir = libcpu/powerpc
    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
    2121ifeq ($(wildcard $(RTEMS_CPU_MODEL)),$(RTEMS_CPU_MODEL))
    22 SHARED_LIB=shared
    23 endif
     22SHARED_LIB = shared
     23endif 
    2424
    25 SUB_DIRS=$(wildcard $(RTEMS_CPU_MODEL)) $(SHARED_LIB)
     25SUB_DIRS = $(wildcard $(RTEMS_CPU_MODEL)) $(SHARED_LIB)
    2626
    27 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     27Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2828        cd $(top_builddir) \
    2929         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc750/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/mpc750
     8top_builddir = ../../..
     9subdir = libcpu/powerpc/mpc750
    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=exceptions mmu clock wrapup
     23SUB_DIRS = exceptions mmu clock 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/libcpu/powerpc/mpc750/clock/Makefile.in

    rb0ac03f4 r6693a68  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc750/clock
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 INSTALL = @INSTALL@
     14VPATH = @srcdir@
    1215
    1316# C source names, if any, go here -- minus the .c
    14 C_PIECES=c_clock
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     17C_PIECES = c_clock
     18C_FILES = $(C_PIECES:%=%.c)
     19C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    1720
    18 H_FILES=$(wildcard $(srcdir)/*.h)
     21H_FILES =
    1922
    2023# Assembly source names, if any, go here -- minus the .S
    21 S_PIECES=
    22 S_FILES=$(S_PIECES:%=%.S)
    23 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     24S_PIECES =
     25S_FILES = $(S_PIECES:%=%.S)
     26S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    2427
    25 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    26 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     28SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     29OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    2730
    28 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2932include $(RTEMS_ROOT)/make/leaf.cfg
    3033
     34INSTALL_CHANGE = @INSTALL_CHANGE@
    3135
    3236#
     
    3438#
    3539
    36 DEFINES  +=
     40DEFINES +=
    3741CPPFLAGS +=
    38 CFLAGS   +=
     42CFLAGS +=
    3943
    40 LD_PATHS  +=
    41 LD_LIBS   +=
    42 LDFLAGS   +=
     44LD_PATHS +=
     45LD_LIBS +=
     46LDFLAGS +=
    4347
    4448#
     
    5256CLOBBER_ADDITIONS +=
    5357
    54 all:    ${ARCH} $(SRCS) $(OBJS)
     58all: ${ARCH} $(SRCS) $(OBJS)
    5559
    5660# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    57 install:  all
     61install: all
     62
     63Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
     64        cd $(top_builddir) \
     65         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc750/exceptions/Makefile.in

    rb0ac03f4 r6693a68  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc750/exceptions
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 INSTALL = @INSTALL@
     14VPATH = @srcdir@
    1215
    13 PGM=${ARCH}/exceptions.rel
     16PGM = ${ARCH}/exceptions.rel
    1417
    1518# C source names, if any, go here -- minus the .c
    16 C_PIECES=raw_exception
    17 C_FILES=$(C_PIECES:%=%.c)
    18 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = raw_exception
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    1922
    20 H_FILES=$(wildcard $(srcdir)/*.h)
     23H_FILES = $(srcdir)/raw_exception.h
    2124
    2225# Assembly source names, if any, go here -- minus the .S
    23 S_PIECES=asm_utils
    24 S_FILES=$(S_PIECES:%=%.S)
    25 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = asm_utils
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    2629
    27 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    28 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    2932
    30 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3134include $(RTEMS_ROOT)/make/leaf.cfg
    3235
     36INSTALL_CHANGE = @INSTALL_CHANGE@
     37mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     38
     39INSTALLDIRS = $(PROJECT_INCLUDE)/libcpu
     40
     41$(INSTALLDIRS):
     42        @$(mkinstalldirs) $(INSTALLDIRS)
    3343
    3444#
     
    3646#
    3747
    38 DEFINES  +=
     48DEFINES +=
    3949CPPFLAGS +=
    40 CFLAGS   +=
     50CFLAGS +=
    4151
    42 LD_PATHS  +=
    43 LD_LIBS   +=
    44 LDFLAGS   +=
     52LD_PATHS +=
     53LD_LIBS +=
     54LDFLAGS +=
    4555
    4656#
     
    5767        $(make-rel)
    5868
    59 preinstall:
    60         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
     69preinstall: 
     70        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
    6171
    62 all:    ${ARCH} $(SRCS) preinstall $(PGM)
     72all: ${ARCH} $(SRCS) preinstall $(PGM)
    6373
    6474# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    65 install:  all
     75install: all
     76
     77Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
     78        cd $(top_builddir) \
     79         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc750/mmu/Makefile.in

    rb0ac03f4 r6693a68  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc750/mmu
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 INSTALL = @INSTALL@
     14VPATH = @srcdir@
    1215
    13 PGM=${ARCH}/mmu.rel
     16PGM = ${ARCH}/mmu.rel
    1417
    1518# C source names, if any, go here -- minus the .c
    16 C_PIECES=bat
    17 C_FILES=$(C_PIECES:%=%.c)
    18 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = bat
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    1922
    20 H_FILES=$(wildcard $(srcdir)/*.h)
     23H_FILES = $(srcdir)/bat.h
    2124
    2225# Assembly source names, if any, go here -- minus the .S
    23 S_PIECES=mmuAsm
    24 S_FILES=$(S_PIECES:%=%.S)
    25 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = mmuAsm
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    2629
    27 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    28 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    2932
    30 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    3134include $(RTEMS_ROOT)/make/leaf.cfg
    3235
     36INSTALL_CHANGE = @INSTALL_CHANGE@
     37mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     38
     39INSTALLDIRS = $(PROJECT_INCLUDE)/libcpu
     40
     41$(INSTALLDIRS):
     42        @$(mkinstalldirs) $(INSTALLDIRS)
    3343
    3444#
     
    3646#
    3747
    38 DEFINES  +=
     48DEFINES +=
    3949CPPFLAGS +=
    40 CFLAGS   +=
     50CFLAGS +=
    4151
    42 LD_PATHS  +=
    43 LD_LIBS   +=
    44 LDFLAGS   +=
     52LD_PATHS +=
     53LD_LIBS +=
     54LDFLAGS +=
    4555
    4656#
     
    5767        $(make-rel)
    5868
    59 preinstall:
    60         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
     69preinstall: 
     70        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
    6171
    62 all:    ${ARCH} $(SRCS) preinstall $(PGM)
     72all: ${ARCH} $(SRCS) preinstall $(PGM)
    6373
    6474# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    65 install:  all
     75install: all
     76
     77Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
     78        cd $(top_builddir) \
     79         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc750/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc750/wrapup
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc750/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 PROC_SPECIFIC_PIECES=exceptions mmu clock
    19 GENERIC_PIECES=
     16PROC_SPECIFIC_O_PIECES = exceptions mmu clock
     17GENERIC_PIECES =
    2018
    2119# bummer; have to use $foreach since % pattern subst rules only replace 1x
    22 OBJS=$(foreach piece, $(PROC_SPECIFIC_PIECES), ../../$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/*.o) \
    23      $(foreach piece, $(GENERIC_PIECES), ../../$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/*.o)
    24 LIB=$(ARCH)/libcpuspec.a
     20OBJS = $(foreach piece, $(PROC_SPECIFIC_O_PIECES), \
     21    ../../$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/*.o) $(foreach piece, \
     22    $(GENERIC_PIECES), ../../$(RTEMS_CPU_MODEL)/$(piece)/$(ARCH)/*.o)
     23LIB = $(ARCH)/libcpuspec.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_CHANGE = @INSTALL_CHANGE@
    2829
    2930#
     
    3132#
    3233
    33 DEFINES  +=
     34DEFINES +=
    3435CPPFLAGS +=
    35 CFLAGS   +=
     36CFLAGS +=
    3637
    37 LD_PATHS  +=
    38 LD_LIBS   +=
    39 LDFLAGS   +=
     38LD_PATHS +=
     39LD_LIBS +=
     40LDFLAGS +=
    4041
    4142#
     
    5253        echo $(OBJ)
    5354        $(make-library)
    54         $(CP) $(LIB) ..
     55        cp $(LIB) ..
    5556
    56 all:    ${ARCH} $(SRCS) $(LIB)
     57all: ${ARCH} $(SRCS) $(LIB)
    5758
    58 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     59Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    5960        cd $(top_builddir) \
    6061         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc821/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc821
     8top_builddir = ../../..
     9subdir = libcpu/powerpc/mpc821
    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 SUB_DIRS=include console-generic clock timer vectors
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = include console-generic clock timer vectors
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc821/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc821/clock
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc821/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=clock
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = clock
     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=
    29 S_FILES=$(S_PIECES:%=%.s)
    30 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.s)
     28S_O_FILES = $(S_FILES:%.s=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     42DEFINES +=
     43CPPFLAGS +=
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/hppa/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc821/console-generic/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc821/console-generic
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc821/console-generic
    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-generic.rel
     16PGM = ${ARCH}/console-generic.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console-generic
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console-generic
     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=
    29 S_FILES=$(S_PIECES:%=%.s)
    30 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.s)
     28S_O_FILES = $(S_FILES:%.s=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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/libcpu/powerpc/mpc821/include/Makefile.in

    rb0ac03f4 r6693a68  
    1010srcdir = @srcdir@
    1111top_srcdir = @top_srcdir@
    12 top_builddir = ../../../../../../..
    13 subdir = c/src/lib/libcpu/powerpc/mpc821/include
     12top_builddir = ../../../..
     13subdir = libcpu/powerpc/mpc821/include
    1414
    15 INSTALL = @INSTALL@
    16 
    17 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     15RTEMS_ROOT = @RTEMS_ROOT@
    1816PROJECT_ROOT = @PROJECT_ROOT@
    1917
    2018VPATH = @srcdir@
    2119
    22 H_FILES = $(wildcard $(srcdir)/*.h)
    23 SRCS=$(H_FILES)
     20H_PIECES = console mpc821
     21H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
     22SRCS = $(H_FILES)
    2423
    25 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     24include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2625include $(RTEMS_ROOT)/make/leaf.cfg
    2726
    28 all:    install
     27INSTALL_CHANGE = @INSTALL_CHANGE@
     28mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    2929
    30 install:
    31         $(RTEMS_ROOT)/mkinstalldirs $(PROJECT_INCLUDE)/mpc821
    32         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)/mpc821
     30INSTALLDIRS = $(PROJECT_INCLUDE)/mpc821
     31
     32$(INSTALLDIRS):
     33        @$(mkinstalldirs) $(INSTALLDIRS)
     34
     35all: install
     36
     37install:
     38        $(mkinstalldirs) $(PROJECT_INCLUDE)/mpc821
     39        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/mpc821
    3340
    3441all: FORCEIT
    35         cd ../../../../libbsp/$(RTEMS_CPU)/${RTEMS_BSP}/include; $(MAKE) all
     42        cd ../../../../libbsp/$(RTEMS_CPU)/@RTEMS_BSP@/include; $(MAKE) all
    3643
    37 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     44Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    3845        cd $(top_builddir) \
    3946         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc821/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc821/timer
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc821/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=
    29 S_FILES=$(S_PIECES:%=%.s)
    30 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.s)
     28S_O_FILES = $(S_FILES:%.s=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/hppa/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc821/vectors/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc821/vectors
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc821/vectors
    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}/vectors.rel
     16PGM = ${ARCH}/vectors.rel
    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=vectors align_h
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = vectors align_h
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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/libcpu/powerpc/mpc860/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc860
     8top_builddir = ../../..
     9subdir = libcpu/powerpc/mpc860
    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 SUB_DIRS=include console-generic clock timer vectors
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = include console-generic clock timer vectors
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc860/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc860/clock
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc860/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=clock
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = clock
     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=
    29 S_FILES=$(S_PIECES:%=%.s)
    30 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.s)
     28S_O_FILES = $(S_FILES:%.s=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     42DEFINES +=
     43CPPFLAGS +=
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/hppa/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc860/console-generic/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc860/console-generic
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc860/console-generic
    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-generic.rel
     16PGM = ${ARCH}/console-generic.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=console-generic
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console-generic
     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=
    29 S_FILES=$(S_PIECES:%=%.s)
    30 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.s)
     28S_O_FILES = $(S_FILES:%.s=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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/libcpu/powerpc/mpc860/include/Makefile.in

    rb0ac03f4 r6693a68  
    1010srcdir = @srcdir@
    1111top_srcdir = @top_srcdir@
    12 top_builddir = ../../../../../../..
    13 subdir = c/src/lib/libcpu/powerpc/mpc860/include
     12top_builddir = ../../../..
     13subdir = libcpu/powerpc/mpc860/include
    1414
    15 INSTALL = @INSTALL@
    16 
    17 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     15RTEMS_ROOT = @RTEMS_ROOT@
    1816PROJECT_ROOT = @PROJECT_ROOT@
    1917
     
    2220H_FILES = $(srcdir)/mpc860.h
    2321MPC860_H_FILES = $(srcdir)/console.h
    24 SRCS=$(H_FILES) $(MPC860_H_FILES)
     22SRCS = $(H_FILES) $(MPC860_H_FILES)
    2523
    26 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     24include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2725include $(RTEMS_ROOT)/make/leaf.cfg
    2826
    29 all:    install
     27INSTALL_CHANGE = @INSTALL_CHANGE@
     28mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     29
     30INSTALLDIRS = $(PROJECT_INCLUDE)/mpc860 $(PROJECT_INCLUDE)
     31
     32$(INSTALLDIRS):
     33        @$(mkinstalldirs) $(INSTALLDIRS)
     34
     35all: install
    3036
    3137install: preinstall
    3238
    33 preinstall:
    34         $(RTEMS_ROOT)/mkinstalldirs $(PROJECT_INCLUDE)/mpc860
    35         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    36         $(INSTALL_CHANGE) -m 444 $(MPC860_H_FILES) $(PROJECT_INCLUDE)/mpc860
     39preinstall: 
     40        $(mkinstalldirs) $(PROJECT_INCLUDE)/mpc860
     41        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     42        @$(INSTALL_CHANGE) -m 644 $(MPC860_H_FILES) $(PROJECT_INCLUDE)/mpc860
    3743
    3844all: FORCEIT
    39         cd ../../../../libbsp/$(RTEMS_CPU)/${RTEMS_BSP}/include; $(MAKE) all
     45        cd ../../../../libbsp/$(RTEMS_CPU)/@RTEMS_BSP@/include; $(MAKE) all
    4046
    41 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     47Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    4248        cd $(top_builddir) \
    4349         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc860/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc860/timer
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc860/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=
    29 S_FILES=$(S_PIECES:%=%.s)
    30 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.s)
     28S_O_FILES = $(S_FILES:%.s=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/hppa/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/mpc860/vectors/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/mpc860/vectors
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/mpc860/vectors
    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}/vectors.rel
     16PGM = ${ARCH}/vectors.rel
    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=vectors align_h
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = vectors align_h
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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/libcpu/powerpc/ppc403/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/ppc403
     8top_builddir = ../../..
     9subdir = libcpu/powerpc/ppc403
    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 SUB_DIRS=include console clock timer vectors ictrl
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = include console clock timer vectors ictrl
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/ppc403/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/ppc403/clock
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/ppc403/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=clock
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = clock
     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=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     42DEFINES +=
     43CPPFLAGS +=
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/hppa/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/ppc403/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/ppc403/console
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/ppc403/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
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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/libcpu/powerpc/ppc403/ictrl/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/ppc403/ictrl
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/ppc403/ictrl
    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}/ictrl.rel
     16PGM = ${ARCH}/ictrl.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=ictrl
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ictrl
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2422
    25 H_FILES=$(srcdir)/ictrl.h
     23H_FILES = $(srcdir)/ictrl.h
    2624
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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@
     37mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     38
     39INSTALLDIRS = $(PROJECT_INCLUDE)
     40
     41$(INSTALLDIRS):
     42        @$(mkinstalldirs) $(INSTALLDIRS)
    3743
    3844#
     
    4046#
    4147
    42 DEFINES  +=
     48DEFINES +=
    4349CPPFLAGS +=
    44 CFLAGS   += $(CFLAGS_OS_V)
     50CFLAGS += $(CFLAGS_OS_V)
    4551
    46 LD_PATHS  +=
    47 LD_LIBS   +=
    48 LDFLAGS   +=
     52LD_PATHS +=
     53LD_LIBS +=
     54LDFLAGS +=
    4955
    5056#
     
    6167        $(make-rel)
    6268
    63 all:    ${ARCH} $(SRCS) $(PGM)
    64         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
     69all: ${ARCH} $(SRCS) $(PGM)
     70        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
    6571
    6672# the .rel file built here will be put into libbsp.a by
    6773#    libbsp/hppa/BSP/wrapup/Makefile
    68 install:  all
     74install: all
    6975
    70 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     76Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7177        cd $(top_builddir) \
    7278         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/ppc403/include/Makefile.in

    rb0ac03f4 r6693a68  
    1010srcdir = @srcdir@
    1111top_srcdir = @top_srcdir@
    12 top_builddir = ../../../../../../..
    13 subdir = c/src/lib/libcpu/powerpc/ppc403/include
     12top_builddir = ../../../..
     13subdir = libcpu/powerpc/ppc403/include
    1414
    15 INSTALL = @INSTALL@
    16 
    17 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     15RTEMS_ROOT = @RTEMS_ROOT@
    1816PROJECT_ROOT = @PROJECT_ROOT@
    1917
    2018VPATH = @srcdir@
    2119
    22 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2321include $(RTEMS_ROOT)/make/leaf.cfg
    2422
     23INSTALL_CHANGE = @INSTALL_CHANGE@
     24
    2525all: FORCEIT
    26         cd ../../../../libbsp/$(RTEMS_CPU)/${RTEMS_BSP}/include; $(MAKE) all
     26        cd ../../../../libbsp/$(RTEMS_CPU)/@RTEMS_BSP@/include; $(MAKE) all
    2727
    28 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     28Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2929        cd $(top_builddir) \
    3030         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/ppc403/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/ppc403/timer
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/ppc403/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=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/hppa/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/powerpc/ppc403/vectors/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/powerpc/ppc403/vectors
     8top_builddir = ../../../..
     9subdir = libcpu/powerpc/ppc403/vectors
    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}/vectors.rel
     16PGM = ${ARCH}/vectors.rel
    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=vectors align_h
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = vectors align_h
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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/libcpu/powerpc/shared/Makefile.in

    rb0ac03f4 r6693a68  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../..
     9subdir = libcpu/powerpc/shared
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
     14VPATH = @srcdir@
    1115
    1216# C source names, if any, go here -- minus the .c
    13 C_PIECES=
    14 C_FILES=$(C_PIECES:%=%.c)
    15 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     17C_PIECES =
     18C_FILES = $(C_PIECES:%=%.c)
     19C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    1620
    17 H_FILES=$(srcdir)/cpu.h $(srcdir)/spr.h $(srcdir)/io.h $(srcdir)/mmu.h $(srcdir)/page.h $(srcdir)/byteorder.h $(srcdir)/pgtable.h
     21H_FILES = $(srcdir)/cpu.h $(srcdir)/spr.h $(srcdir)/io.h $(srcdir)/mmu.h \
     22    $(srcdir)/page.h $(srcdir)/byteorder.h $(srcdir)/pgtable.h
    1823
    1924# Assembly source names, if any, go here -- minus the .s
    20 S_PIECES=
    21 S_FILES=$(S_PIECES:%=%.S)
    22 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     25S_PIECES =
     26S_FILES = $(S_PIECES:%=%.S)
     27S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    2328
    24 SRCS=$(C_FILES) $(H_FILES)
    25 OBJS=$(C_O_FILES) $(S_O_FILES)
     29SRCS = $(C_FILES) $(H_FILES)
     30OBJS = $(C_O_FILES) $(S_O_FILES)
    2631
    27 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     32include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2833include $(RTEMS_ROOT)/make/lib.cfg
    2934
    30 LIB=${ARCH}/libcpuspec.a
     35INSTALL_CHANGE = @INSTALL_CHANGE@
     36mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     37
     38INSTALLDIRS = $(PROJECT_INCLUDE)/libcpu
     39
     40$(INSTALLDIRS):
     41        @$(mkinstalldirs) $(INSTALLDIRS)
     42
     43LIB = ${ARCH}/libcpuspec.a
    3144
    3245#
     
    3447#
    3548
    36 DEFINES  +=
     49DEFINES +=
    3750CPPFLAGS +=
    38 CFLAGS   +=
     51CFLAGS +=
    3952
    40 LD_PATHS  +=
    41 LD_LIBS   +=
    42 LDFLAGS   +=
     53LD_PATHS +=
     54LD_LIBS +=
     55LDFLAGS +=
    4356
    4457#
  • c/src/lib/libcpu/powerpc/wrapup/Makefile.in

    rb0ac03f4 r6693a68  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../..
     9subdir = libcpu/powerpc/wrapup
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 GENERIC_PIECES=shared
    12 CPU_PIECES=$(RTEMS_CPU_MODEL)
     14VPATH = @srcdir@
     15
     16GENERIC_PIECES = shared
     17CPU_PIECES = $(RTEMS_CPU_MODEL)
    1318
    1419# Use two variables so that I can make two ar command.
    1520# So far FAMILLY_OBJ is empty and ar dislike it...
    16 CPU_SPECIFIC_OBJS=$(foreach piece, $(CPU_PIECES), ../$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.o)
    17 FAMILLY_OBJS=$(foreach piece, $(GENERIC_PIECES), ../shared/*/$(ARCH)/*.o)
     21CPU_SPECIFIC_OBJS = $(foreach piece, $(CPU_PIECES), \
     22    ../$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.o)
     23FAMILLY_OBJS = $(foreach piece, $(GENERIC_PIECES), ../shared/*/$(ARCH)/*.o)
    1824
    19 LIB=$(ARCH)/libcpu.a
     25LIB = $(ARCH)/libcpu.a
    2026
    21 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     27include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2228include $(RTEMS_ROOT)/make/lib.cfg
     29
     30INSTALL_CHANGE = @INSTALL_CHANGE@
    2331
    2432#
     
    2634#
    2735
    28 DEFINES  +=
     36DEFINES +=
    2937CPPFLAGS +=
    30 CFLAGS   +=
     38CFLAGS +=
    3139
    32 LD_PATHS  +=
    33 LD_LIBS   +=
    34 LDFLAGS   +=
     40LD_PATHS +=
     41LD_LIBS +=
     42LDFLAGS +=
    3543
    3644#
     
    4957        $(AR) $(ARFLAGS) $@ $(CPU_SPECIFIC_OBJS) ;\
    5058        $(AR) $(ARFLAGS) $@ $(FAMILLY_OBJS) ;\
    51         $(MKLIB) $@
     59        $(RANLIB) $@
    5260
    53 all:    ${ARCH} $(SRCS) $(LIB)
    54         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
     61all: ${ARCH} $(SRCS) $(LIB)
     62        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
     63
     64Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
     65        cd $(top_builddir) \
     66         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/sh/Makefile.in

    rb0ac03f4 r6693a68  
    1 #       
     1#
    22#  $Id$
    33#
     
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../..
    9 subdir = c/src/lib/libcpu/sh
     8top_builddir = ../..
     9subdir = libcpu/sh
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    16 VPATH=@srcdir@
     14VPATH = @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 SUB_DIRS=$(wildcard $(RTEMS_CPU_MODEL))
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = $(wildcard $(RTEMS_CPU_MODEL))
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/sh/sh7032/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/sh/sh7032
     8top_builddir = ../../..
     9subdir = libcpu/sh/sh7032
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    16 VPATH=@srcdir@
     14VPATH = @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 SUB_DIRS=include clock console timer null
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = include clock console timer null
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/sh/sh7032/clock/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/sh/sh7032/clock
     8top_builddir = ../../../..
     9subdir = libcpu/sh/sh7032/clock
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    16 VPATH=@srcdir@
     14VPATH = @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
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     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   += $(CFLAGS_OS_V)
     42DEFINES +=
     43CPPFLAGS +=
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/sh/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/sh/sh7032/console/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/sh/sh7032/console
     8top_builddir = ../../../..
     9subdir = libcpu/sh/sh7032/console
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    16 VPATH=@srcdir@
     14VPATH = @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
    2725# Assembly source names, if any, go here -- minus the .S
    28 S_PIECES=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     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
    6666#       libbsp/sh/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/sh/sh7032/include/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/sh/sh7032/include
     8top_builddir = ../../../..
     9subdir = libcpu/sh/sh7032/include
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    16 VPATH=@srcdir@
     14VPATH = @srcdir@
    1715
    18 H_FILES = $(wildcard $(srcdir)/*.h)
     16H_FILES = $(srcdir)/ioqueue.h $(srcdir)/null.h $(srcdir)/sci.h \
     17    $(srcdir)/sh7_pfc.h $(srcdir)/sh7_sci.h
    1918
    20 SRCS=$(H_FILES)
     19SRCS = $(H_FILES)
    2120
    22 include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
     21include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2322include $(RTEMS_ROOT)/make/leaf.cfg
     23
     24INSTALL_CHANGE = @INSTALL_CHANGE@
     25mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     26
     27INSTALLDIRS = $(PROJECT_INCLUDE)/sh
     28
     29$(INSTALLDIRS):
     30        @$(mkinstalldirs) $(INSTALLDIRS)
    2431
    2532CLEAN_ADDITIONS +=
    2633CLOBBER_ADDITIONS +=
    2734
    28 all:    install
     35all: install
    2936
    3037# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
    3138#       file name conflicts
    3239
    33 install:
    34         $(RTEMS_ROOT)/mkinstalldirs $(PROJECT_INCLUDE)/sh
    35         $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)/sh
     40install: 
     41        $(mkinstalldirs) $(PROJECT_INCLUDE)/sh
     42        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/sh
    3643
    37 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     44Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    3845        cd $(top_builddir) \
    3946         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/sh/sh7032/null/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/sh/sh7032/null
     8top_builddir = ../../../..
     9subdir = libcpu/sh/sh7032/null
    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}/null.rel
     16PGM = ${ARCH}/null.rel
    1917
    2018# C source names, if any, go here -- minus the .c
    21 C_PIECES=open close read write init cntrl
    22 C_FILES=$(C_PIECES:%=%.c)
    23 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = open close read write init cntrl
     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=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(DOCS) $(C_FILES) $(H_FILES)
    33 OBJS=$(C_O_FILES)
     30SRCS = $(DOCS) $(C_FILES) $(H_FILES)
     31OBJS = $(C_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/libcpu/sh/sh7032/timer/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libcpu/sh/sh7032/timer
     8top_builddir = ../../../..
     9subdir = libcpu/sh/sh7032/timer
    1010
    11 INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     11RTEMS_ROOT = @RTEMS_ROOT@
    1412PROJECT_ROOT = @PROJECT_ROOT@
    1513
    16 VPATH=@srcdir@
     14VPATH = @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=
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES =
     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
    6666# libbsp/sh/BSP/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/sparc/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../..
    9 subdir = c/src/lib/libcpu/sparc
     8top_builddir = ../..
     9subdir = libcpu/sparc
    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 SUB_DIRS=reg_win syscall
     19INSTALL_CHANGE = @INSTALL_CHANGE@
    2220
    23 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     21SUB_DIRS = reg_win syscall
     22
     23Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    2424        cd $(top_builddir) \
    2525         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/sparc/reg_win/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/sparc/reg_win
     8top_builddir = ../../..
     9subdir = libcpu/sparc/reg_win
    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}/reg_win.rel
     16PGM = ${ARCH}/reg_win.rel
    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=window
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = window
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/sparc/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libcpu/sparc/syscall/Makefile.in

    rb0ac03f4 r6693a68  
    66srcdir = @srcdir@
    77top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/lib/libcpu/sparc/syscall
     8top_builddir = ../../..
     9subdir = libcpu/sparc/syscall
    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}/syscall.rel
     16PGM = ${ARCH}/syscall.rel
    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=syscall
    29 S_FILES=$(S_PIECES:%=%.S)
    30 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
     26S_PIECES = syscall
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    3129
    32 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    33 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(CC_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   += $(CFLAGS_OS_V)
     44CFLAGS += $(CFLAGS_OS_V)
    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
    6666#    libbsp/sparc/BSP/wrapup/Makefile
    67 install:  all
     67install: all
    6868
    69 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
    7070        cd $(top_builddir) \
    7171         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracChangeset for help on using the changeset viewer.