FLAIM change. Added support for the "sparcgeneric" target. This will build a library without any v8plus or newer instructions.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@798 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-08-23 17:17:06 +00:00
parent 51623b3987
commit 5f9c3d2e26

View File

@@ -101,6 +101,7 @@ unix_target =
netware_target =
submake_targets =
netware_ring_0_target =
sparc_generic =
# -- Enable command echoing --
@@ -467,6 +468,12 @@ ifdef requested_word_size
endif
endif
# -- Other targets and options --
ifneq (,$(findstring sparcgeneric,$(MAKECMDGOALS)))
generic_sparc = yes
endif
# -- Helper functions --
define normpath
@@ -980,7 +987,13 @@ ifdef unix_target
# Must support 64 bit file sizes - even for 32 bit builds.
ccdefs += _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64
ccflags += -xarch=v8plus
ifdef sparc_generic
ccflags += -xarch=generic
ccdefs += FLM_SPARC_GENERIC
else
ccflags += -xarch=v8plus
endif
endif
endif
endif
@@ -2007,6 +2020,10 @@ linux:
solaris:
$(ec)$(gprintf) ""
.PHONY : sparcgeneric
sparcgeneric:
$(ec)$(gprintf) ""
.PHONY : osx
osx:
$(ec)$(gprintf) ""