Makefile 986 Bytes
Newer Older
1 2 3 4
# Makefile for the Build System Binary Build Environment
#
# $Id$
#
Robert Sprowson's avatar
Robert Sprowson committed
5
include StdTools
6

7 8 9 10 11 12 13 14 15 16 17 18
COMPONENT ?= BuildSys
INSTDIR   ?= <Install$Dir>
INSTTYPE  ?= Makefiles

install_Makefiles:
	${MKDIR} ${INSTDIR}
	${CP} Makefiles  ${INSTDIR}.Makefiles         ${CPFLAGS}
	${CP} VersionNum ${INSTDIR}.Makefiles.Version ${CPFLAGS}

install: install_${INSTTYPE}
	@${ECHO} ${COMPONENT}: installed ${INSTTYPE}

19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
BBETYPE = buildsys
bbe-buildsys: bbe-generic-resources-get-alias
	BBE_Export_Dir ImageName
	${RM} ${BBEDIR}.ImageName.Version
	BBE_Export_Dir perl
	BBE_Export_Dir Makefiles
	${RM} ${BBEDIR}.Makefiles.BBEExport
	${MKDIR} ${BBEDIR}.Components
	BBE_Export_File VersionNum
ifeq (${COMPONENTFILE2},)
	${FILTERCOMP} Components.${COMPONENTFILE} ModuleDB ${BBEDIR}.Components.${COMPONENTFILE} ${BBEDIR}.ModuleDB
else
	${FILTERCOMP2} Components.${COMPONENTFILE} Components.${COMPONENTFILE2} ModuleDB ${BBEDIR}.Components.${COMPONENTFILE} ${BBEDIR}.Components.${COMPONENTFILE2} ${BBEDIR}.ModuleDB
endif