|
kusano |
2b45e8 |
TOPDIR = ..
|
|
kusano |
2b45e8 |
include $(TOPDIR)/Makefile.system
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ifeq ($(ARCH), x86)
|
|
kusano |
2b45e8 |
SUPPORT_GEMM3M = 1
|
|
kusano |
2b45e8 |
endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ifeq ($(ARCH), x86_64)
|
|
kusano |
2b45e8 |
SUPPORT_GEMM3M = 1
|
|
kusano |
2b45e8 |
endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ifeq ($(ARCH), ia64)
|
|
kusano |
2b45e8 |
SUPPORT_GEMM3M = 1
|
|
kusano |
2b45e8 |
endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ifeq ($(ARCH), MIPS)
|
|
kusano |
2b45e8 |
SUPPORT_GEMM3M = 1
|
|
kusano |
2b45e8 |
endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
SBLAS1OBJS = \
|
|
kusano |
2b45e8 |
saxpyf.$(SUFFIX) sswapf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
scopyf.$(SUFFIX) sscalf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
sdotf.$(SUFFIX) sdsdotf.$(SUFFIX) dsdotf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
sasumf.$(SUFFIX) snrm2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
smaxf.$(SUFFIX) samaxf.$(SUFFIX) ismaxf.$(SUFFIX) isamaxf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
sminf.$(SUFFIX) saminf.$(SUFFIX) isminf.$(SUFFIX) isaminf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
srotf.$(SUFFIX) srotgf.$(SUFFIX) srotmf.$(SUFFIX) srotmgf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
SBLAS2OBJS = \
|
|
kusano |
2b45e8 |
sgemvf.$(SUFFIX) sgerf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
strsvf.$(SUFFIX) strmvf.$(SUFFIX) ssymvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ssyrf.$(SUFFIX) ssyr2f.$(SUFFIX) sgbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ssbmvf.$(SUFFIX) sspmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ssprf.$(SUFFIX) sspr2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
stbsvf.$(SUFFIX) stbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
stpsvf.$(SUFFIX) stpmvf.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
SBLAS3OBJS = \
|
|
kusano |
2b45e8 |
sgemmf.$(SUFFIX) ssymmf.$(SUFFIX) strmmf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
strsmf.$(SUFFIX) ssyrkf.$(SUFFIX) ssyr2kf.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
DBLAS1OBJS = \
|
|
kusano |
2b45e8 |
daxpyf.$(SUFFIX) dswapf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dcopyf.$(SUFFIX) dscalf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ddotf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dasumf.$(SUFFIX) dnrm2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dmaxf.$(SUFFIX) damaxf.$(SUFFIX) idmaxf.$(SUFFIX) idamaxf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dminf.$(SUFFIX) daminf.$(SUFFIX) idminf.$(SUFFIX) idaminf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
drotf.$(SUFFIX) drotgf.$(SUFFIX) drotmf.$(SUFFIX) drotmgf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
DBLAS2OBJS = \
|
|
kusano |
2b45e8 |
dgemvf.$(SUFFIX) dgerf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dtrsvf.$(SUFFIX) dtrmvf.$(SUFFIX) dsymvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dsyrf.$(SUFFIX) dsyr2f.$(SUFFIX) dgbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dsbmvf.$(SUFFIX) dspmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dsprf.$(SUFFIX) dspr2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dtbsvf.$(SUFFIX) dtbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dtpsvf.$(SUFFIX) dtpmvf.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
DBLAS3OBJS = \
|
|
kusano |
2b45e8 |
dgemmf.$(SUFFIX) dsymmf.$(SUFFIX) dtrmmf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dtrsmf.$(SUFFIX) dsyrkf.$(SUFFIX) dsyr2kf.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
CBLAS1OBJS = \
|
|
kusano |
2b45e8 |
caxpyf.$(SUFFIX) caxpycf.$(SUFFIX) cswapf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ccopyf.$(SUFFIX) cscalf.$(SUFFIX) csscalf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
cdotcf.$(SUFFIX) cdotuf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
scasumf.$(SUFFIX) scnrm2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
scamaxf.$(SUFFIX) icamaxf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
scaminf.$(SUFFIX) icaminf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
csrotf.$(SUFFIX) crotgf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
CBLAS2OBJS = \
|
|
kusano |
2b45e8 |
cgemvf.$(SUFFIX) cgeruf.$(SUFFIX) cgercf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ctrsvf.$(SUFFIX) ctrmvf.$(SUFFIX) csymvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
csyrf.$(SUFFIX) csyr2f.$(SUFFIX) cgbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
csbmvf.$(SUFFIX) cspmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
csprf.$(SUFFIX) cspr2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ctbsvf.$(SUFFIX) ctbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ctpsvf.$(SUFFIX) ctpmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
chemvf.$(SUFFIX) chbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
cherf.$(SUFFIX) cher2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
chpmvf.$(SUFFIX) chprf.$(SUFFIX) chpr2f.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
CBLAS3OBJS = \
|
|
kusano |
2b45e8 |
cgemmf.$(SUFFIX) csymmf.$(SUFFIX) ctrmmf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ctrsmf.$(SUFFIX) csyrkf.$(SUFFIX) csyr2kf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
chemmf.$(SUFFIX) cherkf.$(SUFFIX) cher2kf.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ZBLAS1OBJS = \
|
|
kusano |
2b45e8 |
zaxpyf.$(SUFFIX) zaxpycf.$(SUFFIX) zswapf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zcopyf.$(SUFFIX) zscalf.$(SUFFIX) zdscalf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zdotcf.$(SUFFIX) zdotuf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dzasumf.$(SUFFIX) dznrm2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dzamaxf.$(SUFFIX) izamaxf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dzaminf.$(SUFFIX) izaminf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zdrotf.$(SUFFIX) zrotgf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ZBLAS2OBJS = \
|
|
kusano |
2b45e8 |
zgemvf.$(SUFFIX) zgeruf.$(SUFFIX) zgercf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ztrsvf.$(SUFFIX) ztrmvf.$(SUFFIX) zsymvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zsyrf.$(SUFFIX) zsyr2f.$(SUFFIX) zgbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zsbmvf.$(SUFFIX) zspmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zsprf.$(SUFFIX) zspr2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ztbsvf.$(SUFFIX) ztbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ztpsvf.$(SUFFIX) ztpmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zhemvf.$(SUFFIX) zhbmvf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zherf.$(SUFFIX) zher2f.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zhpmvf.$(SUFFIX) zhprf.$(SUFFIX) zhpr2f.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ZBLAS3OBJS = \
|
|
kusano |
2b45e8 |
zgemmf.$(SUFFIX) zsymmf.$(SUFFIX) ztrmmf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
ztrsmf.$(SUFFIX) zsyrkf.$(SUFFIX) zsyr2kf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zhemmf.$(SUFFIX) zherkf.$(SUFFIX) zher2kf.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ifdef SUPPORT_GEMM3M
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
CBLAS3OBJS += cgemm3mf.$(SUFFIX) csymm3mf.$(SUFFIX) chemm3mf.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ZBLAS3OBJS += zgemm3mf.$(SUFFIX) zsymm3mf.$(SUFFIX) zhemm3mf.$(SUFFIX)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
SBLASOBJS = $(SBLAS1OBJS) $(SBLAS2OBJS) $(SBLAS3OBJS)
|
|
kusano |
2b45e8 |
DBLASOBJS = $(DBLAS1OBJS) $(DBLAS2OBJS) $(DBLAS3OBJS)
|
|
kusano |
2b45e8 |
QBLASOBJS = $(QBLAS1OBJS) $(QBLAS2OBJS) $(QBLAS3OBJS)
|
|
kusano |
2b45e8 |
CBLASOBJS = $(CBLAS1OBJS) $(CBLAS2OBJS) $(CBLAS3OBJS)
|
|
kusano |
2b45e8 |
ZBLASOBJS = $(ZBLAS1OBJS) $(ZBLAS2OBJS) $(ZBLAS3OBJS)
|
|
kusano |
2b45e8 |
XBLASOBJS = $(XBLAS1OBJS) $(XBLAS2OBJS) $(XBLAS3OBJS)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ifneq ($(NO_LAPACK), 1)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
SBLASOBJS += \
|
|
kusano |
2b45e8 |
sgetf2f.$(SUFFIX) sgetrff.$(SUFFIX) slauu2f.$(SUFFIX) slauumf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
spotf2f.$(SUFFIX) spotrff.$(SUFFIX) strti2f.$(SUFFIX) strtrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
slaswpf.$(SUFFIX) sgetrsf.$(SUFFIX) sgesvf.$(SUFFIX) spotrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
DBLASOBJS += \
|
|
kusano |
2b45e8 |
dgetf2f.$(SUFFIX) dgetrff.$(SUFFIX) dlauu2f.$(SUFFIX) dlauumf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dpotf2f.$(SUFFIX) dpotrff.$(SUFFIX) dtrti2f.$(SUFFIX) dtrtrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
dlaswpf.$(SUFFIX) dgetrsf.$(SUFFIX) dgesvf.$(SUFFIX) dpotrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
QBLASOBJS +=
|
|
kusano |
2b45e8 |
# \
|
|
kusano |
2b45e8 |
qgetf2f.$(SUFFIX) qgetrff.$(SUFFIX) qlauu2f.$(SUFFIX) qlauumf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
qpotf2f.$(SUFFIX) qpotrff.$(SUFFIX) qtrti2f.$(SUFFIX) qtrtrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
qlaswpf.$(SUFFIX) qgetrsf.$(SUFFIX) qgesvf.$(SUFFIX) qpotrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
CBLASOBJS += \
|
|
kusano |
2b45e8 |
cgetf2f.$(SUFFIX) cgetrff.$(SUFFIX) clauu2f.$(SUFFIX) clauumf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
cpotf2f.$(SUFFIX) cpotrff.$(SUFFIX) ctrti2f.$(SUFFIX) ctrtrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
claswpf.$(SUFFIX) cgetrsf.$(SUFFIX) cgesvf.$(SUFFIX) cpotrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ZBLASOBJS += \
|
|
kusano |
2b45e8 |
zgetf2f.$(SUFFIX) zgetrff.$(SUFFIX) zlauu2f.$(SUFFIX) zlauumf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zpotf2f.$(SUFFIX) zpotrff.$(SUFFIX) ztrti2f.$(SUFFIX) ztrtrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
zlaswpf.$(SUFFIX) zgetrsf.$(SUFFIX) zgesvf.$(SUFFIX) zpotrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
XBLASOBJS +=
|
|
kusano |
2b45e8 |
# \
|
|
kusano |
2b45e8 |
xgetf2f.$(SUFFIX) xgetrff.$(SUFFIX) xlauu2f.$(SUFFIX) xlauumf.$(SUFFIX) \
|
|
kusano |
2b45e8 |
xpotf2f.$(SUFFIX) xpotrff.$(SUFFIX) xtrti2f.$(SUFFIX) xtrtrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
xlaswpf.$(SUFFIX) xgetrsf.$(SUFFIX) xgesvf.$(SUFFIX) xpotrif.$(SUFFIX) \
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
include $(TOPDIR)/Makefile.tail
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
all :: libs
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
clean ::
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
level1 : $(SBLAS1OBJS) $(DBLAS1OBJS) $(QBLAS1OBJS) $(CBLAS1OBJS) $(ZBLAS1OBJS) $(XBLAS1OBJS)
|
|
kusano |
2b45e8 |
$(AR) $(ARFLAGS) -ru $(TOPDIR)/$(LIBNAME) $^
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
level2 : $(SBLAS2OBJS) $(DBLAS2OBJS) $(QBLAS2OBJS) $(CBLAS2OBJS) $(ZBLAS2OBJS) $(XBLAS2OBJS)
|
|
kusano |
2b45e8 |
$(AR) $(ARFLAGS) -ru $(TOPDIR)/$(LIBNAME) $^
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
level3 : $(SBLAS3OBJS) $(DBLAS3OBJS) $(QBLAS3OBJS) $(CBLAS3OBJS) $(ZBLAS3OBJS) $(XBLAS3OBJS)
|
|
kusano |
2b45e8 |
$(AR) $(ARFLAGS) -ru $(TOPDIR)/$(LIBNAME) $^
|
|
kusano |
2b45e8 |
|