Commit 75921e23 authored by Julian Smith's avatar Julian Smith
Browse files

Added makefile to ..Toolbox.Libs directory, which deals with exporting the...

Added makefile to ..Toolbox.Libs directory, which deals with exporting the library headers and ALF files into '<Lib$Dir>.tboxlibs' in the export part of the build process.

Note that there are no sources for the toolbox C libraries in the build
tree, so this makefile doesn't compile anything yet.
parent d410bc91
# Copyright 1997 Acorn Computers Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Template makefile for library in RISC OS source tree.
# This is the only project-specific part of this makefile
#
COMPONENT = tboxlibs
# Copy is used in a number of place in the same way, so we put
#appropriate flags into a macro:
CopyFlags = ~cfr~v
# -------------------------------------------------------
# Now all the different targets we can be asked to build:
# -------------------------------------------------------
all:
Echo Library $(COMPONENT): Please supply a target.
clean:
|Wipe o.Lib* ~c~r~v
|Echo Library $(COMPONENT): 'clean' finished.
Echo ** Toolbox library hasn't been cleaned - no source to rebuild it!
clean_all: clean
Echo Library $(COMPONENT): 'clean_all' finished.
export: export_$(PHASE)
export_hdrs:
CDir <Lib$Dir>.$(COMPONENT)
Copy @.h <Lib$Dir>.$(COMPONENT).h $(CopyFlags)
Echo Library $(COMPONENT): 'export_hdrs' finished.
export_libs:
CDir <Lib$Dir>.$(COMPONENT)
CDir <Lib$Dir>.$(COMPONENT).o
| re-compile here, when we get the source.
Every.Every2 -c "@.o.* -x ..CVS" copy %0 <Lib$Dir>.$(COMPONENT).o.%1 $(CopyFlags)
Echo Library $(COMPONENT): 'export_libs' finished.
resources:
Echo Library $(COMPONENT): 'resources' finished.
rom:
Echo Library $(COMPONENT): 'rom' finished.
install_rom:
Echo Library $(COMPONENT): 'install_rom' finished.
rom_link:
Echo Library $(COMPONENT): 'rom_link' finished.
ram:
Echo Library $(COMPONENT): 'ram' finished.
# Dynamic dependencies:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment