Makefile 2.03 KB
Newer Older
1 2 3 4
#
# Binary Build Environment Makefile
#
# The Library needs to participate in the generation of the BBE by exporting
5
# those tools required by the BBE. It is also a part of the DDE (CTools) build.
6 7
#
COMPONENT = Library
8
TYPE     ?= ${INSTTYPE}
9 10 11 12 13 14

include StdTools

install: install_${TYPE}
	@echo ${COMPONENT}: Install phase complete (${TYPE}).

15 16 17
install_Dir:
	${MKDIR} ${INSTDIR}

18 19 20
install_:
	${NOP}

21 22 23 24 25 26 27 28 29
install_DDE: install_Dir
	${MKDIR} ${INSTDIR}.Build
	${CP} Build.canonical  ${INSTDIR}.canonical     ${CPFLAGS}
	${CP} Build.stripdepnd ${INSTDIR}.stripdepnd    ${CPFLAGS}
	${CP} Unix.chmod       ${INSTDIR}.chmod         ${CPFLAGS}
	${CP} Unix.mkdir       ${INSTDIR}.mkdir         ${CPFLAGS}
	${CP} Build.InstRes    ${INSTDIR}.Build.InstRes ${CPFLAGS}

install_STB: install_Dir
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
	${CP} Unix.chmod ${INSTDIR}.chmod ${CPFLAGS}
	${CP} Unix.df    ${INSTDIR}.df    ${CPFLAGS}
	${CP} Unix.du    ${INSTDIR}.du    ${CPFLAGS}
	${CP} Unix.mkdir ${INSTDIR}.mkdir ${CPFLAGS}
	${CP} Unix.pwd   ${INSTDIR}.pwd   ${CPFLAGS}
	${CP} Unix.rm    ${INSTDIR}.rm    ${CPFLAGS}

BBETYPE = library
bbe-library: bbe-generic-resources-get-alias
	BBE_Export_Dir ARM
	BBE_Export_Dir Build
	BBE_Export_Dir DrSmiths
	BBE_Export_Dir GNU
	BBE_Export_Dir Misc
	BBE_Export_Dir Unix
	${MKDIR} ${BBEDIR}.Acorn
	BBE_Export_File Acorn.amu
	BBE_Export_File Acorn.c++
	BBE_Export_File Acorn.cfront
	BBE_Export_File Acorn.cmhg
	BBE_Export_File Acorn.debugaif
	BBE_Export_File Acorn.decaof
	BBE_Export_File Acorn.deccf
	BBE_Export_File Acorn.diff
	BBE_Export_Dir Acorn.Docs
	BBE_Export_File Acorn.find
	BBE_Export_File Acorn.libfile
	BBE_Export_File Acorn.link
	BBE_Export_File Acorn.modsqz
	BBE_Export_File Acorn.objasm
	BBE_Export_File Acorn.objsize
	BBE_Export_File Acorn.resgen
	BBE_Export_File Acorn.rpcgen
	BBE_Export_File Acorn.Squash
	BBE_Export_File Acorn.squeeze
	BBE_Export_File Acorn.toansi
	BBE_Export_File Acorn.topcc
	BBE_Export_File Acorn.unmodsqz
	BBE_Export_File Acorn.xpand
	${MKDIR} ${BBEDIR}.ToolOptions
	BBE_Export_File ToolOptions.${APCS}
	BBE_Export_File VersionNum
	${NOP} end of Library export