Subversion Repositories tendra.SVN

Rev

Rev 6 | Rev 38 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 7u83 1
# $Id$
2
 
3
# BUILD OPTIONS
4
#
5
# These flags control which components of the release should be installed.
6
#
7
# If BUILD_UPDATE is true then the public executables and their configuration
8
# files will be installed (this has to be done on every target platform).
9
#
10
# If BUILD_MACHINE is true then all the other target dependent components
11
# will be installed (this also has to be done on every target platform).
12
#
13
# If BUILD_COMMON is true then the target independent components will be
14
# installed (this only has to be done once, indeed if the release is being
15
# built simultaneously on several platforms then the builds can conflict
16
# with each other, so start the quickest machine off first to install
17
# the complete release, and get the other machines to only install the
18
# target dependent sections).
19
#
20
# BUILD_OK is set to false if an error occurs.
21
 
22
BUILD_UPDATE=	true
23
BUILD_MACHINE=	true
24
BUILD_COMMON=	true
25
BUILD_OK=	true
26
 
27
# RANDOM BITS 'N PIECES
28
 
29
SUBDIR=		src
30
 
31
.if !exists(Makefile.defs)
32
.BEGIN:
33
	@${ECHO} "Please run 'makedefs' prior to running (b)make"
34
	@${ECHO}
35
	@${EXIT} 1;
36
.else
37
all:
38
. if defined(BOOTSTRAP)
39
	@${ECHO} "==> Starting TenDRA build..."
40
	@${ECHO} "==> Creating object directory and symbolic links"
41
	@${ECHO} "==> Object directory created, bootstrapping build"
42
	@cd ${BASE_DIR} && ${MAKE} _objdirs_done=yes obj;
43
. else
44
.  if !exists(${.CURDIR}/obj/_obj_tree_complete)
45
.   if "${_objdirs_done}" != "yes"
46
	@${ECHO} "==> Starting TenDRA build..."
47
	@${ECHO} "==> Creating object directory and symbolic links"
48
	@cd ${BASE_DIR} && ${MAKE} _objdirs_done=yes obj;
49
	@${ECHO} "Do not remove this file." > ${OBJ_DIR_INDICATOR};
50
	@${ECHO} "==> Object directory created, building"
51
	@${ECHO}
52
 
53
_objdirs_done=yes
54
.   endif
55
.  endif
56
. endif
57
.endif
58
 
59
.include "Makefile.inc"