####
#sources -
#
#    Copyright (c) 1991-2001, Microsoft Corporation. All rights reserved.
#
#Purpose:
#    Specify components for 'build'
#
#Revision History:
#     9-26-91  GDP
#    11-18-93  GJF    Merged in NT SDK version.
#    01-23-94  GJF    Picked up latest changes (affects MIPS build only)
#            from \\orville\razzle\src\fp32.
#    09-13-94  GJF    Merged in changes from/for DEC Alpha.
#    02-27-98  RKP    Added 64 bit support.
#    07-15-01  PML    Removed ALPHA support.
#
################################################################################

!INCLUDE ..\..\fp32.nt

386_OPTIMIZATION=$(386_OPTIMIZATION) /Op
MAJORCOMP=fp
MINORCOMP=tran

TARGETNAME=tran

INCLUDES=..\..\include;\
    ..\..\inc;\
    ..\..\inc\$(TARGET_DIRECTORY);\
    ..\..\..\crtw32\h;\
    $(INCLUDES)

SOURCES= \
    ..\bessel.c \
    ..\fpexcept.c \
    ..\frexp.c \
    ..\ieeemisc.c \
    ..\matherr.c \
    ..\util.c

AMD64_SOURCES= \
    ..\asincos.c  \
    ..\atan.c     \
    ..\ceil.c     \
    ..\exp.c      \
    ..\fabs.c     \
    ..\floor.c    \
    ..\fmod.c     \
    ..\hypot.c    \
    ..\ldexp.c \
    ..\log.c      \
    ..\modf.c     \
    ..\pow.c      \
    ..\powhlp.c   \
    ..\sincos.c   \
    ..\sincosh.c  \
    ..\sqrt.c     \
    ..\tan.c      \
    ..\tanh.c     \
    ..\amd64\fpsr.asm \
    ..\amd64\huge.asm \
    ..\amd64\ieee.c \
    ..\amd64\fpctrl.c \
	..\amd64\nt_tran.c

i386_SOURCES= \
    ..\ceil.c \
    ..\fabs.c \
    ..\floor.c \
    ..\hypot.c \
    ..\ldexp.c \
    ..\modf.c \
    ..\powhlp.c \
    ..\i386\87cdisp.asm \
    ..\i386\87csqrt.asm \
    ..\i386\87ctran.asm \
    ..\i386\87ctrig.asm \
    ..\i386\87ctriga.asm \
    ..\i386\87ctrigh.asm \
    ..\i386\87disp.asm \
    ..\i386\87except.c \
    ..\i386\87fmod.asm \
    ..\i386\87sqrt.asm \
    ..\i386\87tran.asm \
    ..\i386\87trig.asm \
    ..\i386\87triga.asm \
    ..\i386\87trigh.asm \
    ..\i386\acos.asm \
    ..\i386\adj_fdiv.asm \
    ..\i386\asin.asm \
    ..\i386\atan.asm \
    ..\i386\atan_table.c \
    ..\i386\common.asm \
    ..\i386\cos.asm  \
    ..\i386\filter.c \
    ..\i386\fpctrl.c \
    ..\i386\frnd.c   \
    ..\i386\fsqrt.c  \
    ..\i386\ftol.asm \
    ..\i386\ftol2.asm \
    ..\i386\genexcep.asm \
    ..\i386\huge.asm \
    ..\i386\ieee87.c \
    ..\i386\libm_error.c \
    ..\i386\log.asm  \
    ..\i386\log10.asm \
    ..\i386\pow.asm  \
    ..\i386\sin.asm  \
    ..\i386\sqrt.asm \
    ..\i386\ceil_pentium4.asm \
    ..\i386\floor_pentium4.asm \
    ..\i386\tan.asm

P4_SOURCES= \
    ..\i386\atan_pentium4.asm \
    ..\i386\cpu_disp.c \
    ..\i386\exp_pentium4.asm \
    ..\i386\filter_simd.c \
    ..\i386\log10_pentium4.asm \
    ..\i386\log_pentium4.asm \
    ..\i386\modf_pentium4.asm \
    ..\i386\pow_pentium4.asm \
    ..\i386\xmmi2_fp_emul.c \
    ..\i386\xmmi_fp_emul.c \

# _IA64_SOURCES is what we use for everything except the kernel because 
# the kernel can't use the extended FP regs (not saved on a context switch)

_IA64_SOURCES= \
    ..\powhlp.c \
    ..\tanh.c \
    ..\ia64\acos.s \
    ..\ia64\acosf.s \
    ..\ia64\asin.s \
    ..\ia64\asinf.s \
    ..\ia64\_atan.s \
    ..\ia64\atan2.s \
    ..\ia64\atan2f.s \
    ..\ia64\atanf.s \
    ..\ia64\_ceil.s \
    ..\ia64\ceilf.s \
    ..\ia64\cosh.s \
    ..\ia64\coshf.s \
    ..\ia64\_exp.s \
    ..\ia64\expf.s \
    ..\ia64\_fabs.s \
    ..\ia64\fabsf.s \
    ..\ia64\filter.c \
    ..\ia64\_floor.s \
    ..\ia64\floorf.s \
    ..\ia64\_fmod.s \
    ..\ia64\fmodf.s \
    ..\ia64\fpctrl.c \
    ..\ia64\fpsr.s \
    ..\ia64\frnd.s \
    ..\ia64\huge.s \
    ..\ia64\_hypot.s \
    ..\ia64\hypotf.s \
    ..\ia64\ieee.c \
    ..\ia64\isnan.s \
    ..\ia64\isnanf.s \
    ..\ia64\_ldexp.s \
    ..\ia64\ldexpf.s \
    ..\ia64\libm_atan2_reg.s \
    ..\ia64\libm_error.c \
    ..\ia64\libm_reduce.s \
    ..\ia64\libm_tan.s \
    ..\ia64\_log.s \
    ..\ia64\logb.s \
    ..\ia64\logbf.s \
    ..\ia64\logf.s \
    ..\ia64\_modf.s \
    ..\ia64\modff.s \
    ..\ia64\_pow.s \
    ..\ia64\powf.s \
    ..\ia64\rerun.s \
    ..\ia64\_sincos.s \
    ..\ia64\sincosf.s \
    ..\ia64\sinh.s \
    ..\ia64\sinhf.s \
    ..\ia64\_sqrt.s \
    ..\ia64\sqrtf.s \
    ..\ia64\_tan.s \
    ..\ia64\tanf.s \
    ..\ia64\tanhf.c
    
NT_IA64_SOURCES= \
    ..\ceil.c \
    ..\fabs.c \
    ..\floor.c \
    ..\hypot.c \
    ..\ldexp.c \
    ..\modf.c \
    ..\powhlp.c \
    ..\ASINCOS.C \
    ..\ATAN.C \
    ..\EXP.C \
    ..\FMOD.C \
    ..\LOG.C \
    ..\POW.C \
    ..\SINCOS.C \
    ..\SINCOSH.C \
    ..\SQRT.C \
    ..\TAN.C \
    ..\TANH.C \
    ..\ia64\ieee.c \
    ..\ia64\filter.c \
    ..\ia64\fpctrl.c \
    ..\ia64\fpsr.s \
    ..\ia64\frnd.s \
    ..\ia64\huge.s \
    ..\ia64\rerun.s \
    ..\ia64\nt_tran.c
