original files of m241
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Makefile - makefile for target/src/diab/tool
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01a,24oct01,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# Extract objects from the Diab libraries. Each subdirectory
|
||||
# should define DIAB_LIBRARY and, optionally, CONFIGLETTE_NAME.
|
||||
|
||||
TGT_DIR = $(WIND_BASE)/target
|
||||
|
||||
include $(TGT_DIR)/h/make/rules.library
|
||||
|
||||
TOOL = diab
|
||||
@@ -0,0 +1,173 @@
|
||||
# defs.exclude - what not to extract from the toolchain libraries
|
||||
#
|
||||
# Copyright (c) 2001-2005, 2007-2010, 2012, 2013, 2016, 2018, 2020 Wind River Systems, Inc.
|
||||
#
|
||||
# The right to copy, distribute, modify or otherwise make use
|
||||
# of this software may be licensed only pursuant to the terms
|
||||
# of an applicable Wind River license agreement.
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 02j,28may20,lau Reverted 16jun16, 06jul16 and 01mar18 (VXW6-87229)
|
||||
# 02i,01mar18,lau Fixed _d_ulltod undefined error (VXW6-86234)
|
||||
# 02h,14dec16,lau Fixed undefined reference to ldexpf and ldexpl (VXW6-86052)
|
||||
# 02g,06jul16,lau Fixed undefined reference to __floatundidf (VXW6-85693)
|
||||
# 02f,16jun16,lau Added ARMARCH7diab
|
||||
# 02e,10sep13,mpc Updated for ARMARCH7M
|
||||
# 02d,21sep12,jdw Modify ARMARCH7 to use Diab intrinsics
|
||||
# 02c,18nov10,jdw Exclude soft float objects for ARMARCH7
|
||||
# 02b,22sep10,gvm cxa_atexit is now provided by libcommoncc.a
|
||||
# 02a,06aug10,sn Diab switching to C++ IA64 ABI;
|
||||
# __cxa_pure_virtual now provided by libdiabcplus.a
|
||||
# 01z,28apr10,mcm Extending fix for WIND00092483 for simpc as well.
|
||||
# 01y,22apr10,mcm Fix for WIND00092483; ldexp present in libfp.a for PPC,
|
||||
# SIMLINUX
|
||||
# 01x,25feb10,mcm Fix for WIND00192989 - ldexpl required for sfdiab in libstl
|
||||
# 01x,31jan10,fao add be8 support.
|
||||
# 01w,27feb09,m_h Adding ARMARCH7
|
||||
# 01v,05jul08,mcm Excluding ldexp from the stl libraries for PPC and ARM
|
||||
# 01u,23jun08,pee VSB integration.
|
||||
# 01t,27jul07,mcm Fixing exclude list for SH - we need __Dtentox (xdtento.o)
|
||||
# and __FDtentox (xfdtento.o) with the latest Dinkumware
|
||||
# libraries.
|
||||
# 01s,07apr05,jb Adding ARMARCH6
|
||||
# 01r,01nov04,mcm Moving frameadd.o into libcplus.
|
||||
# 01q,21sep04,zl exclude rtahooks, __rta_longjmp is now in funcBind.c
|
||||
# 01p,26feb04,mil Added support for PPC85XX.
|
||||
# 01o,11feb04,pch PPC32 floating-point adjustments
|
||||
# 01n,07feb03,pch Add PPC32 support
|
||||
# 01m,20may02,sn Removed torn_stubs.o and lib_err.o (not used)
|
||||
# 01n,30apr02,sn Removed m16_fglue.o
|
||||
# 01m,17apr02,mrs Move frameinfo.o and framedb.o to libcplus.a, SPR 75251.
|
||||
# 01l,05apr02,f_b xfvalues.o xvalues.o should not be excluded for sh
|
||||
# 01k,04mar02,sn removed dummy _fp_round defn from dp32.s; use Diab one
|
||||
# instead
|
||||
# 01j,14feb02,dyv Trying to remover line for realfp.o in cf specific lib,
|
||||
# not needed.
|
||||
# 01i,22jan02,sn exclude hfp* for PPC (because they use .sdata2, and not
|
||||
# needed); swcom and swuncom (not needed)
|
||||
# 01h,08jan02,to exclude sf for ARM (except Thumb mode)
|
||||
# 01g,11dec01,sn don't exclude rtahooks.o
|
||||
# 01f,10dec01,sn exclude rtahooks.o, torn_jstb.o, link.o;
|
||||
# exclude sf for PPC440
|
||||
# 01e,04dec01,to exclude call_via.o module, use ../common/arm_call_via.s
|
||||
# 01d,03dec01,sn save/restore functions now defined in ../common/saverest.s
|
||||
# 01c,14nov01,sn don't use dinkum math lib for SH7750
|
||||
# 01b,14nov01,sn cleaned up; added PPC403/PPC405, longjmp/setjmp
|
||||
# 01a,13nov01,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# This file contains the knowledge of which object files should
|
||||
# not be pulled out of the toolchain libraries (because
|
||||
# they define symbols that are already provided by VxWorks).
|
||||
|
||||
# Put objects that should always be excluded in
|
||||
# EXCLUDE_OBJS_COMMON
|
||||
#
|
||||
# Put objects that should be excluded for a particular arch family in
|
||||
# EXCLUDE_OBJS_$(TOOLENV)
|
||||
#
|
||||
# Put objects that should be excluded for a particular CPU in
|
||||
# EXCLUDE_OBJS_$(CPU)$(TOOL)
|
||||
|
||||
OBJS_SF_PPC = sfpdadd.o sfpdcmp.o sfpdcmpe.o sfpddiv.o \
|
||||
sfpdfeq.o sfpdfne.o sfpdmul.o sfpdneg.o \
|
||||
sfpfadd.o sfpfcmp.o sfpfcmpe.o sfpfdiv.o \
|
||||
sfpffeq.o sfpffne.o sfpfmul.o sfpfneg.o \
|
||||
sfpddtof.o sfpddtoi.o sfpddtou.o sfpdfge.o \
|
||||
sfpdfgt.o sfpdfle.o sfpdflt.o sfpditod.o \
|
||||
sfpdutod.o sfpffge.o sfpffgt.o sfpffle.o \
|
||||
sfpfflt.o sfpfftod.o sfpfftoi.o sfpfftou.o \
|
||||
sfpfitof.o sfpfutof.o ldexp.o ldexpf.o
|
||||
|
||||
OBJS_SF_SH = sfpdadd.o sfpddiv.o sfpddtof.o sfpddtoi.o \
|
||||
sfpddtou.o sfpdfeq.o sfpdfge.o sfpdfgt.o \
|
||||
sfpdfle.o sfpdflt.o sfpdfne.o sfpditod.o \
|
||||
sfpdmul.o sfpdneg.o sfpdutod.o sfpfadd.o \
|
||||
sfpfdiv.o sfpffeq.o sfpffge.o sfpffgt.o \
|
||||
sfpffle.o sfpfflt.o sfpffne.o sfpfftod.o \
|
||||
sfpfftoi.o sfpfftou.o sfpfitof.o sfpfmul.o \
|
||||
sfpfneg.o sfpfutof.o
|
||||
|
||||
OBJS_DINKUM_SH = xdnorm.o xdscale.o xdunscal.o \
|
||||
xfdnorm.o xfdscale.o xfdunsca.o \
|
||||
xferaise.o
|
||||
|
||||
OBJS_SF_ARM = sfpdadd.o sfpddiv.o sfpddtof.o sfpddtoi.o \
|
||||
sfpddtoll.o sfpddtou.o sfpddtoull.o sfpdfeq.o \
|
||||
sfpdfge.o sfpdfgt.o sfpdfle.o sfpdflt.o \
|
||||
sfpdfne.o sfpditod.o sfpdlltod.o sfpdmul.o \
|
||||
sfpdneg.o sfpdulltod.o sfpdutod.o sfpfadd.o \
|
||||
sfpfdiv.o sfpffeq.o sfpffge.o sfpffgt.o \
|
||||
sfpffle.o sfpfflt.o sfpffne.o sfpfftod.o \
|
||||
sfpfftoi.o sfpfftoll.o sfpfftou.o sfpfftoull.o \
|
||||
sfpfitof.o sfpflltof.o sfpfmul.o sfpfneg.o \
|
||||
sfpfulltof.o sfpfutof.o
|
||||
|
||||
OBJS_ARM7M = sfpddtoll.o sfpddtoull.o sfpfftoll.o sfpfftoull.o
|
||||
|
||||
#EXCLUDE_OBJS_cf = realfp.o
|
||||
|
||||
EXCLUDE_OBJS_PPC32sfdiab = $(OBJS_SF_PPC)
|
||||
EXCLUDE_OBJS_PPC403diab = $(OBJS_SF_PPC)
|
||||
EXCLUDE_OBJS_PPC405diab = $(OBJS_SF_PPC)
|
||||
EXCLUDE_OBJS_PPC440diab = $(OBJS_SF_PPC)
|
||||
EXCLUDE_OBJS_PPC860diab = $(OBJS_SF_PPC)
|
||||
EXCLUDE_OBJS_PPC85XXdiab = $(OBJS_SF_PPC)
|
||||
EXCLUDE_OBJS_PPC32e500v2diab = ldexp.o
|
||||
EXCLUDE_OBJS_PPC32diab = ldexp.o
|
||||
EXCLUDE_OBJS_ppc = savegpr.o restgpr.o savegprl.o restgprl.o savefpr.o restfpr.o hfpddtou.o hfpditod.o hfpdutod.o hfpfftou.o
|
||||
|
||||
EXCLUDE_OBJS_SH7600diab = $(OBJS_SF_SH)
|
||||
EXCLUDE_OBJS_SH7700diab = $(OBJS_SF_SH)
|
||||
EXCLUDE_OBJS_SH7700diable = $(OBJS_SF_SH)
|
||||
EXCLUDE_OBJS_SH7750diab = $(OBJS_DINKUM_SH)
|
||||
EXCLUDE_OBJS_SH7750diable = $(OBJS_DINKUM_SH)
|
||||
|
||||
EXCLUDE_OBJS_ARMARCH4diab = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_ARMARCH4diabbe = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_ARMARCH5diab = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_ARMARCH5diabbe = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_ARMARCH6diab = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_ARMARCH6diabbe = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_ARMARCH7sfdiab = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_ARMARCH7Mdiab = $(OBJS_ARM7M)
|
||||
EXCLUDE_OBJS_STRONGARMdiab = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_STRONGARMdiabbe = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_XSCALEdiab = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_XSCALEdiabbe = $(OBJS_SF_ARM)
|
||||
EXCLUDE_OBJS_arm = call_via.o ldexp.o
|
||||
|
||||
EXCLUDE_OBJS_SIMLINUXdiab = ldexp.o
|
||||
EXCLUDE_OBJS_SIMNTdiab = ldexp.o
|
||||
|
||||
# m16_fglue is only needed for MIPS16 support. We removed
|
||||
# it because it contains a reference to __frameinfo_used
|
||||
# which should only be referenced by C++ code. Eventually
|
||||
# this should be fixed so that a C version of m16_fglue.o
|
||||
# is available.
|
||||
EXCLUDE_OBJS_mips = m16_fglue.o
|
||||
|
||||
# These are objects that should be pulled from libimpfp into libdiabcplus.a
|
||||
# rather than libdcc.a. We exclude them here, then include them explicitly
|
||||
# in ./libimpfp-c++
|
||||
OBJS_LIBIMPFP_CPLUS = unwind_fi.o frameinfo.o framedb.o frameadd.o
|
||||
|
||||
EXCLUDE_OBJS_COMMON = rtahooks.o torn_longjmp.o setjmp.o torn_jstb.o link.o swuncom.o swcom.o torn_stubs.o lib_err.o cxa_atexit.o cxa_atexit_stub.o cxa_atexit_dso_handle.o
|
||||
|
||||
EXCLUDE_OBJS = $(EXCLUDE_OBJS_$(CPU)$(BUILD_FP_PREFIX)$(TOOL_FAMILY)$(BUILD_ENDIAN_SUFFIX)) $(EXCLUDE_OBJS_$(TOOLENV)) $(EXCLUDE_OBJS_COMMON) $(OBJS_LIBIMPFP_CPLUS)
|
||||
|
||||
# In Diab 5.9.4.x we've introduced some aliases that are not needed by Diab
|
||||
# but conflict with definitions provided by GCC, remove the following
|
||||
# symbols (VXW6-87229, VXW6-84950, V7LIBC-525)
|
||||
|
||||
TOOL_STRIP_SYMS_ARMARCH7_sfpdulltod.o = __aeabi_ul2d __floatundidf
|
||||
TOOL_STRIP_SYMS_ARMARCH7_sfpdutod.o = __aeabi_ui2d __floatunsidf
|
||||
TOOL_STRIP_SYMS_ARMARCH7_sfpddtoll.o = __aeabi_d2lz __fixdfdi
|
||||
TOOL_STRIP_SYMS_ARMARCH7_sfpfftoll.o = __aeabi_f2lz __fixsfdi
|
||||
TOOL_STRIP_SYMS_ARMARCH7_sfpfftoi.o = __aeabi_f2iz __fixsfsi
|
||||
TOOL_STRIP_SYMS_ARMARCH7_sfpddtoull.o = __aeabi_d2ulz __fixunsdfdi
|
||||
TOOL_STRIP_SYMS_ARMARCH7_sfpfftoull.o = __aeabi_f2ulz __fixunssfdi
|
||||
TOOL_STRIP_SYMS_ARMARCH7_sfpfftou.o = __aeabi_f2uiz __fixunssfsi
|
||||
TOOL_STRIP_SYMS_ARMARCH7_sfpddtou.o = __aeabi_d2uiz
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
# diabLibFind.tcl
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01d,16sep08,pee WIND00130532.
|
||||
# 01c,07nov03,c_c Made it work on WIN32.
|
||||
# 01b,18feb03,sn added support for Diab 5.1 standard vs abridged library
|
||||
# 01a,24oct01,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# dplus -## dummy.o | wtxtcl diabLibFind.tcl <lib> <alt-lib> ... <alt-lib>
|
||||
# Parse the output of dplus -## dummy.o to determine
|
||||
# the library search path. Then search for library
|
||||
# <lib> and output found library path to stdout. If
|
||||
# can't find <lib> then search for each <alt-lib> in
|
||||
# turn.
|
||||
|
||||
set libs $argv
|
||||
gets stdin line
|
||||
regexp {^.* P,([^ ]*) .*} $line dummy link_path
|
||||
|
||||
if {($tcl_platform(platform) == "windows")} {
|
||||
regsub -all {(([[:alpha:]]:[^:;]*)|([^:;]*))([:;]|$)} $link_path {\1;} link_path
|
||||
set separator ";"
|
||||
} else {
|
||||
set separator ":"
|
||||
}
|
||||
|
||||
regsub -all $separator $link_path " " link_dirs
|
||||
|
||||
regsub -all {\\} $link_dirs {/} link_dirs
|
||||
|
||||
set found 0
|
||||
|
||||
foreach libname $libs {
|
||||
puts stderr "Searching for $libname in"
|
||||
foreach dir $link_dirs {
|
||||
set lib $dir/$libname
|
||||
puts stderr " $dir ..."
|
||||
if [file exists $lib] {
|
||||
puts stderr "-> Found $lib"
|
||||
puts $lib
|
||||
set found 1
|
||||
break
|
||||
}
|
||||
}
|
||||
if $found {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
if { ! $found } {
|
||||
puts stderr "Could not find $lib"
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# Makefile - makefile for extracting objects from libd.a
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01d,13nov01,sn diabc++ -> diabcplus
|
||||
# 01c,06nov01,sn extract objects into a special directory to avoid stomping
|
||||
# on VxWorks object files with the same name
|
||||
# 01b,31oct01,tam updated for repackaging
|
||||
# 01a,24oct01,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# This file contains the definitions needed for extracting objects
|
||||
# from libd.a (C++ Intrinsics)
|
||||
|
||||
TGT_DIR = $(WIND_BASE)/target
|
||||
TOOL = diab
|
||||
|
||||
LIB_BASE_NAME = diabcplus
|
||||
LIB_COMMON = false
|
||||
|
||||
DIABLIBRARY = libd.a
|
||||
|
||||
CONFIGLETTE_NAME = dplusplus_intrinsics
|
||||
|
||||
include $(TGT_DIR)/src/tool/diab/rules.diab
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
# Makefile - makefile for extracting C++ related objects from libimpfp.a
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01b,10sep13,mpc use libimpfpnew.a for ARMARCH7M
|
||||
# 01a,06feb02,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# This file contains the definitions needed for extracting objects
|
||||
# from libimpfp.a (C++ intrinsics).
|
||||
|
||||
TGT_DIR = $(WIND_BASE)/target
|
||||
TOOL = diab
|
||||
|
||||
LIB_BASE_NAME = diabcplus
|
||||
LIB_COMMON = false
|
||||
|
||||
DIABLIBRARY = libimpfp.a
|
||||
|
||||
# ARMARCH7M VFP only supports single-precision floating-point. The
|
||||
# Diab library libimpfpnew.a should be used instead of libimpfp.a.
|
||||
|
||||
ifeq ($(CPU),ARMARCH7M)
|
||||
ifneq ($(_WRS_CONFIG_FP),soft)
|
||||
DIABLIBRARY = libimpfpnew.a
|
||||
endif
|
||||
endif
|
||||
|
||||
CONFIGLETTE_NAME = diab_intrinsics_impfp_cplus
|
||||
|
||||
REAL_OBJS = $(OBJS_LIBIMPFP_CPLUS)
|
||||
|
||||
include $(TGT_DIR)/src/tool/diab/rules.diab
|
||||
@@ -0,0 +1,35 @@
|
||||
# Makefile - makefile for extracting objects from libimplfp.a
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01e,10sep13,mpc use libimpfpnew.a for ARMARCH7M
|
||||
# 01d,14nov01,sn fixed comment
|
||||
# 01c,13nov01,tam moved archive into new directory hierarchy
|
||||
# 01b,13nov01,sn (implicitly) use exclude list from defs.exclude
|
||||
# 01a,24oct01,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# This file contains the definitions needed for extracting objects
|
||||
# from libimplfp.a (C intrinsics).
|
||||
|
||||
TGT_DIR = $(WIND_BASE)/target
|
||||
TOOL = diab
|
||||
|
||||
LIB_BASE_NAME = dcc
|
||||
LIB_COMMON = true
|
||||
|
||||
DIABLIBRARY = libimpfp.a
|
||||
|
||||
# ARMARCH7M VFP only supports single-precision floating-point. The
|
||||
# Diab library libimpfpnew.a should be used instead of libimpfp.a.
|
||||
|
||||
ifeq ($(CPU),ARMARCH7M)
|
||||
ifneq ($(_WRS_CONFIG_FP),soft)
|
||||
DIABLIBRARY = libimpfpnew.a
|
||||
endif
|
||||
endif
|
||||
|
||||
CONFIGLETTE_NAME = diab_intrinsics_impfp
|
||||
|
||||
include $(TGT_DIR)/src/tool/diab/rules.diab
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
# Makefile - makefile for extracting objects from libimpl.a
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01d,14nov01,sn fixed comment
|
||||
# 01c,13nov01,tam moved archive into new directory hierarchy
|
||||
# 01b,13nov01,sn (implicitly) use exclude list from defs.exclude
|
||||
# 01a,24oct01,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# This file contains the definitions needed for extracting objects
|
||||
# from libimpl.a (C intrinsics)
|
||||
|
||||
TGT_DIR = $(WIND_BASE)/target
|
||||
TOOL = diab
|
||||
|
||||
LIB_BASE_NAME = dcc
|
||||
LIB_COMMON = true
|
||||
|
||||
DIABLIBRARY = libimpl.a
|
||||
|
||||
CONFIGLETTE_NAME = diab_intrinsics_impl
|
||||
|
||||
include $(TGT_DIR)/src/tool/diab/rules.diab
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Makefile - makefile for extracting objects from libstlabr.a
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01a,29jan03,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# This file contains the definitions needed for extracting objects
|
||||
# from libstlabr.a (Abridged C++ Standard Library). In releases
|
||||
# prior to to Diab 5.1 there is no abridged library so
|
||||
# we use the full library instead.
|
||||
|
||||
TGT_DIR = $(WIND_BASE)/target
|
||||
|
||||
CXX_STL_VARIANT = abridged
|
||||
DIABLIBRARY = libstlabr.a libstl.a
|
||||
|
||||
include $(TGT_DIR)/src/tool/diab/libstlstd/defs.stl
|
||||
@@ -0,0 +1,22 @@
|
||||
# Makefile - makefile for extracting objects from libstl.a
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01e,18feb03,sn added support for Diab 5.1 standard vs abridged library
|
||||
# 01d,13nov01,sn (implicitly) use exclude list from defs.exclude
|
||||
# 01c,06nov01,sn extract objects into a special directory to avoid stomping
|
||||
# on VxWorks object files with the same name
|
||||
# 01b,31oct01,tam updated for repackaging
|
||||
# 01a,24oct01,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# This file contains the definitions needed for extracting objects
|
||||
# from libstl.a (C++ Standard Library).
|
||||
|
||||
TGT_DIR = $(WIND_BASE)/target
|
||||
|
||||
CXX_STL_VARIANT = standard
|
||||
DIABLIBRARY = libstlstd.a libstl.a
|
||||
|
||||
include $(TGT_DIR)/src/tool/diab/libstlstd/defs.stl
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# defs.stl
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01d,11jun08,pee VSB adaptation.
|
||||
# 01c,08mar07,pee added support for generic option framework
|
||||
# 01b,13nov03,c_c Made it work on WIN32.
|
||||
# 01a,29jan03,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# This file contains the definitions used by libstl/Makefile and libstlabr/Makefile
|
||||
|
||||
TOOL = diab
|
||||
|
||||
LIB_BASE_NAME = stl
|
||||
LIB_COMMON = false
|
||||
|
||||
LIBDIRBASE = $(VX_CPU_FAMILY)$(ARCH_OPTION_SUFFIX)/$(CPU)$(CPU_OPTION_SUFFIX)/$(TOOL_SPECIFIC_DIR)_$(CXX_STL_VARIANT)$(MINOR_OPTION_SUFFIX)
|
||||
|
||||
CONFIGLETTE_NAME = diab_cplusplus_std_library
|
||||
|
||||
include $(TGT_DIR)/src/tool/diab/rules.diab
|
||||
@@ -0,0 +1,24 @@
|
||||
# Makefile - makefile for extracting objects from libtorn.a
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01c,13nov01,tam moved archive into new directory hierarchy
|
||||
# 01b,13nov01,sn (implicitly) use exclude list from defs.exclude
|
||||
# 01a,24oct01,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# This file contains the definitions needed for extracting objects
|
||||
# from libtorn.a
|
||||
|
||||
TGT_DIR = $(WIND_BASE)/target
|
||||
TOOL = diab
|
||||
|
||||
LIB_BASE_NAME = dcc
|
||||
LIB_COMMON = true
|
||||
|
||||
DIABLIBRARY = libtorn.a
|
||||
|
||||
CONFIGLETTE_NAME = diab_intrinsics_torn
|
||||
|
||||
include $(TGT_DIR)/src/tool/diab/rules.diab
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# rules.diab - rules for extracting objects from Diab libraries
|
||||
#
|
||||
# modification history
|
||||
# --------------------
|
||||
# 01f,09feb04,fle Made it use TCLSH macro rather than wtxtcl
|
||||
# 01e,24nov03,c_c fixed WIN32 build.
|
||||
# 01e,03jun03,sn move rules.library include here
|
||||
# 01d,23jul03,dbt Fixed for support of multiple DIAB versions.
|
||||
# 01c,13nov01,sn include make.$(CPU)$(TOOL)
|
||||
# 01b,06nov01,sn define OBJ_PREFIX
|
||||
# 01a,15oct01,sn wrote
|
||||
#
|
||||
# DESCRIPTION
|
||||
# Generic rules for extracting objects from Diab libraries.
|
||||
|
||||
include $(TGT_DIR)/h/tool/diab/make.$(CPU)$(TOOL)
|
||||
include $(TGT_DIR)/h/make/defs.library
|
||||
|
||||
TOOL_LIB := $(shell $(CPLUS) $(TGT_FLAG) -\#\# dummy.o | \
|
||||
$(TCL) $(TGT_DIR)/src/tool/diab/diabLibFind.tcl \
|
||||
$(DIABLIBRARY))
|
||||
|
||||
OBJ_PREFIX = _x_diab_
|
||||
|
||||
include $(TGT_DIR)/h/make/rules.library
|
||||
include $(TGT_DIR)/src/tool/rules.tool
|
||||
Reference in New Issue
Block a user