You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
2.2 KiB
105 lines
2.2 KiB
!ifndef ROOT
|
|
ROOT=$(MAKEDIR:\av\codecs\intel\g723=)
|
|
!endif
|
|
!ifndef DEVROOT
|
|
DEVROOT=$(ROOT)\dev
|
|
!endif
|
|
|
|
|
|
!include $(DEVROOT)\common.inc
|
|
|
|
MAJORCOMP=codecs
|
|
MINORCOMP=g723
|
|
|
|
TARGETNAME=msg723
|
|
TARGETEXT=acm
|
|
TARGETPATH=$(_OBJ_DIR)
|
|
TARGETTYPE=DYNLINK
|
|
|
|
DLLDEF=g723.def
|
|
|
|
#
|
|
# We have two options to get access to floating point hardware:
|
|
# - static linking to libcmt
|
|
#DLLENTRY=_DllMainCRTStartup@12
|
|
#USE_LIBCMT=1
|
|
# => this option yields a file of size 130,480 bytes
|
|
#
|
|
# - dynamic linking to msvcrt
|
|
# USE_MSVCRT=1
|
|
# => this option yields a file of size 84,656 bytes
|
|
#
|
|
|
|
# This component is now a bbt comp
|
|
BBTCOMP= 1
|
|
|
|
TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\winmm.lib \
|
|
$(SDK_LIB_PATH)\msacm32.lib
|
|
|
|
|
|
INCLUDES=..\..\h;$(ROOT)\h
|
|
MSC_WARNING_LEVEL = /W1
|
|
|
|
#
|
|
# Mandatory defines:
|
|
# WINVER=0x0400
|
|
# WIN4
|
|
# NO_DEBUGGING_OUTPUT
|
|
#
|
|
# Optional defines
|
|
# COMPILE_MMX=1: Build MMX files
|
|
# DECODE_TIMINGS_ON: Generates decode timings
|
|
# DETAILED_DECODE_TIMINGS_ON: Generates detailed decode timings
|
|
# LOG_DECODE_TIMINGS_ON: Outputs decode timings into a file (one of the two previous flags needs to be defined)
|
|
# ENCODE_TIMINGS_ON: Generates encode timings
|
|
# DETAILED_ENCODE_TIMINGS_ON: Generates detailed encode timings
|
|
# LOG_ENCODE_TIMINGS_ON: Outputs encode timings into a file (one of the two previous flags needs to be defined)
|
|
#
|
|
USER_C_FLAGS=/DWINVER=0x0400 /DWIN4 /DCOMPILE_MMX=1 /DNO_DEBUGGING_OUTPUT /DUNICODE /D_UNICODE
|
|
|
|
#
|
|
# List of sources
|
|
#
|
|
|
|
SOURCES= \
|
|
g723.c \
|
|
coder.c \
|
|
decod.c \
|
|
lpc.c \
|
|
lsp.c \
|
|
exc_lbc.c \
|
|
util_lbc.c \
|
|
tab_lbc.c \
|
|
tabl_ns.c \
|
|
debug.c \
|
|
sdstuff.c \
|
|
mmxutil.c \
|
|
cb53.c \
|
|
cb63.c \
|
|
cb53mmx.c \
|
|
8to11.c \
|
|
11to8.c \
|
|
g723.rc
|
|
|
|
|
|
#
|
|
# Precompiled specs
|
|
#
|
|
|
|
#PRECOMPILED_INCLUDE = precomp.h
|
|
#PRECOMPILED_PCH = precomp.pch
|
|
#PRECOMPILED_cpp = precomp.obj
|
|
#PRECOMPILED_CXX = 1
|
|
|
|
CONDITIONAL_INCLUDES = \
|
|
macocidl.h \
|
|
macwin32.h \
|
|
rpcerr.h \
|
|
rpcmac.h \
|
|
winwlm.h \
|
|
macname1.h \
|
|
macname2.h \
|
|
macpub.h \
|
|
macapi.h
|