mirror of https://github.com/tongzx/nt5src
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.
91 lines
1.9 KiB
91 lines
1.9 KiB
ROOT=$(MAKEDIR:\ppm=)
|
|
!include $(ROOT)\filters.mk
|
|
|
|
TARGETNAME=ppm
|
|
TARGETPATH=$(FILTTARGETDIR)
|
|
|
|
!if $(PPM_IN_DXMRTP)
|
|
TARGETTYPE=LIBRARY
|
|
!else
|
|
TARGETTYPE=DYNLINK
|
|
TARGETEXT=dll
|
|
!endif
|
|
|
|
##############################################################################
|
|
##
|
|
## NOTE: The VC5.0 Linker folds the implementation of identical functions.
|
|
## This is intended to combat code explosion when people use
|
|
## templates. The ppm module does it's ole implementation in a way
|
|
## that causes it to have a number of identical inlines that get
|
|
## folded. THIS CAN BE PRETTY CONFUSING WHEN YOU STEP THROUGH THIS
|
|
## CODE IN THE DEBUGGER so I'm setting this switch up so that it can
|
|
## be shut off easily. MRC
|
|
##
|
|
##
|
|
|
|
#LINK_FLAGS= $(LINKFLAGS) /OUT:NOICF
|
|
|
|
|
|
SOURCES= \
|
|
ppm.rc \
|
|
connect.cpp \
|
|
cunknown.cpp \
|
|
fact.cpp \
|
|
freelist.cpp \
|
|
g711arcv.cpp \
|
|
g711asnd.cpp \
|
|
g711rcv.cpp \
|
|
g711snd.cpp \
|
|
g723rcv.cpp \
|
|
g723snd.cpp \
|
|
gen_arcv.cpp \
|
|
gen_asnd.cpp \
|
|
genrcv.cpp \
|
|
gensnd.cpp \
|
|
h261rcv.cpp \
|
|
h261snd.cpp \
|
|
h263rcv.cpp \
|
|
h263snd.cpp \
|
|
imcrcv.cpp \
|
|
imcsnd.cpp \
|
|
iv41rcv.cpp \
|
|
iv41snd.cpp \
|
|
lhrcv.cpp \
|
|
lhsnd.cpp \
|
|
llist.cpp \
|
|
main.cpp \
|
|
ppm.cpp \
|
|
ppmmisc.cpp \
|
|
ppmrcv.cpp \
|
|
ppmsnd.cpp \
|
|
que.cpp
|
|
|
|
USE_IOSTREAM=1
|
|
|
|
C_DEFINES=$(C_DEFINES) \
|
|
-DTIMER_OFF \
|
|
-DRTP_CLASS \
|
|
-DREBUILD_EXBITSTREAM \
|
|
-DMICROSOFT \
|
|
-DDEBUG_FREELIST=1 \
|
|
-DDEBUG_PPM_BUFFER=1
|
|
|
|
!if $(PPM_IN_DXMRTP)
|
|
C_DEFINES=$(C_DEFINES) \
|
|
-DPPM_IN_DXMRTP
|
|
!endif
|
|
|
|
!if !$(PPM_IN_DXMRTP)
|
|
TARGETLIBS=\
|
|
$(TARGETLIBS) \
|
|
$(FILTDIR)\lib\*\ppmiid.lib
|
|
!endif
|
|
|
|
INCLUDES=\
|
|
$(INCLUDES);\
|
|
..\inc\stl;\
|
|
..\inc\ph;
|
|
|
|
!if !$(PPM_IN_DXMRTP)
|
|
DLLENTRY=_DllMainCRTStartup
|
|
!endif
|