File: releasedefs

package info (click to toggle)
inventor 2.1.5-10-12
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 32,900 kB
  • ctags: 21,729
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 75; csh: 35; sed: 11
file content (104 lines) | stat: -rw-r--r-- 3,108 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Every time we clone a new tree, i.e. every time you need to change 
# the RELEASE macro, you will need to consider each of the macro's in this
# group. RELEASE_NUM must be < 214 and preserves the monotonicity of the 
# inst version numbers. See man page for mkversionnum for more details.
# RELEASE_NAME is the human readable product name string for hardware
# specific releases.  it must be empty (no spaces or anything) for the
# base release.  It should match reasonably well the label printed on the CD
RELEASE=2.2
RELEASE_MAJOR=2
RELEASE_MINOR=2
RELEASE_MAINT=0
RELEASE_NUM=1
RELEASE_NAME=2.2

#
# Default STYLE for binaries - this sets what the base level (i.e. no
# explicit makefile flags) binaries will be made up of. This defines
# both the ABI and ISA defaults.
#
# Note that 'make'-files (as opposed to 'smake'-files) will use
#	DEF_CSTYLE and DEF_GLDOPTS - and OBJECT_STYLE will be set to
#	DEF_OBJECT_STYLE - thus ALL 3 must agree for both make/smake-files
#	to produce the same results.
# The 'DEF_GLDOPTS/DEF_CSTYLE' is for makefiles that have no specific
#	ABI/ISA requirements
#
# If DEF_CSTYLE should change then LIB_LOCATION and ROOTRLDNAME should also
# reflect the change to the DEF_CSTYLE.
#
ifneq ($(usingIrix), 1)
DEF_CSTYLE=$(CSTYLE_IA32)
DEF_GLDOPTS=$(GLDOPTS_IA32)
else
DEF_CSTYLE=$(CSTYLE_N32_M3)
DEF_GLDOPTS=$(GLDOPTS_N32_M3)
endif

#
# LIB_LOCATION is for Makefile's who have hardcoded pathnames
# to a lib.  For example, 
#       LLDLIBS=$(ROOT)/usr/lib/libw.a
#       should be changed to ...
#       LLDLIBS=$(ROOT)/usr/$(LIB_LOCATION)/libw.a
#
# This way when the default object style changes we only
# need to change it here.
#
ifneq ($(usingIrix), 1)
LIB_LOCATION=lib
else
LIB_LOCATION=lib32
endif

#
# Set ROOTRLDNAME for the correct default object style.
#
ifneq ($(usingIrix), 1)
ROOTRLDNAME=$(ROOTRLDNAME_IA32) 
else
ROOTRLDNAME=$(ROOTRLDNAME_N32) 
endif

#
# Define default OBJECT_STYLE - this can be changed to 'N32' to
#	change ALL makefiles that don't explicitly set OBJECT_STYLE
# The '32_' and '64_' defines can be used in makefiles that need to
# compile both 32 and 64 bit versions but just want 1 of each and to
# pick up the current favorite.
# setting OBJECT_STYLE=$(DEF_32_OBJECT_STYLE) in a versiondefs file
# would permit it to be easily changed to compile N32.
#
ifneq ($(usingIrix), 1)
DEF_OBJECT_STYLE=IA32
else
DEF_OBJECT_STYLE=N32_M3
DEF_32_OBJECT_STYLE=N32_M3
DEF_64_OBJECT_STYLE=64
endif

#
# default ISA's for 32, N32, and 64 bit programs
# If a makefile specifies OBJECT_STYLE={32, N32, 64} this is what they'll get
#
ifneq ($(usingIrix), 1)
DEF_CSTYLE_IA32	= $(CSTYLE_IA32)
DEF_GLDOPTS_IA32= $(GLDOPTS_IA32)
else
DEF_CSTYLE_32	= $(CSTYLE_32_M2)
DEF_CSTYLE_N32	= $(CSTYLE_N32_M3)
DEF_CSTYLE_64	= $(CSTYLE_64_M3)
DEF_GLDOPTS_32	= $(GLDOPTS_32_M2)
DEF_GLDOPTS_N32	= $(GLDOPTS_N32_M3)
DEF_GLDOPTS_64	= $(GLDOPTS_64_M3)
endif

#
# For this release - which styles should be built? Built from the list in
# commondefs
#
ifneq ($(usingIrix), 1)
STYLES_TO_BUILD=IA32
else
STYLES_TO_BUILD=32 32_M2 32_ABI N32 N32_M3 N32_M4 64 64_M3 64_M4 64_ABI
endif