42 lines
864 B
Plaintext
42 lines
864 B
Plaintext
# libscdefs
|
|
#
|
|
# Common definitions for libsc makefiles
|
|
#
|
|
# $Revision: 1.13 $
|
|
#
|
|
DEPTH=$(SCDEPTH)/../..
|
|
include $(DEPTH)/commondefs
|
|
|
|
#
|
|
# This library is product-independent, however it is endian dependent.
|
|
# This information is retrieved from the following files.
|
|
#
|
|
include $(PRODUCTDEFS)
|
|
include $(ENDIANDEFS)
|
|
include $(CPUARCHDEFS)
|
|
include $(MIDEFS)
|
|
|
|
# Libsc is currently clean, turn on errors for certain warnings.
|
|
CPUARCH_DEFS=$(CMPLR_WOFF_ERR)
|
|
|
|
LIBSCRULES=$(SCDEPTH)/libscrules
|
|
|
|
TARGETDIR=$(SCDEPTH)/$(ENDIANND)$(CPUARCH_PFIX).O
|
|
MKDEPFILE=Makedepend.$(ENDIANND)$(CPUARCH_PFIX)
|
|
|
|
LINTAREA=$(TARGETDIR)
|
|
LIBNAME=libsc$(ENDIANDD).a
|
|
LIBPATH=$(TARGETDIR)/$(LIBNAME)
|
|
|
|
#
|
|
# Developer's overrides may be placed in localscdefs
|
|
sinclude $(SCDEPTH)/localscdefs
|
|
|
|
ARCH = cd $(OBJECTDIR) && ${AR} cru$(VERBOSE) ${LIBPATH}
|
|
|
|
TDIRS = $(TARGETDIR)
|
|
|
|
VPATH= $(OBJECTDIR)
|
|
|
|
DEF_CSTYLE=
|