1998-11-09 13:37:38 -05:00
|
|
|
# WXXT base directory
|
|
|
|
WXBASEDIR=@WXBASEDIR@
|
|
|
|
|
|
|
|
# set the OS type for compilation
|
|
|
|
OS=@OS@
|
|
|
|
# compile a library only
|
|
|
|
RULE=gslib
|
|
|
|
|
|
|
|
# define common stuff
|
|
|
|
|
|
|
|
# define library name
|
|
|
|
LIB_TARGET=wxmmedia
|
|
|
|
LIB_MAJOR=2
|
|
|
|
LIB_MINOR=0
|
|
|
|
# define library sources
|
|
|
|
ADPCM_SRC=\
|
|
|
|
g711.cpp g721.cpp g723_24.cpp g723_40.cpp g72x.cpp
|
|
|
|
|
|
|
|
MMEDIA_SRC=\
|
1998-12-26 10:36:45 -05:00
|
|
|
mmdata.cpp mmfile.cpp mmsolve.cpp sndsnd.cpp sndfrmt.cpp sndpcm.cpp \
|
1998-11-09 13:37:38 -05:00
|
|
|
snduss.cpp sndfile.cpp sndwav.cpp mmriff.cpp vidbase.cpp vidxanm.cpp \
|
1998-12-26 10:36:45 -05:00
|
|
|
cdbase.cpp cdunix.cpp sndaiff.cpp sndmulaw.cpp sndau.cpp
|
1998-11-09 13:37:38 -05:00
|
|
|
|
|
|
|
LIB_SRC= $(ADPCM_SRC:%.cpp=adpcm/%.cpp) $(MMEDIA_SRC)
|
|
|
|
|
|
|
|
#define library objects
|
|
|
|
LIB_OBJ=\
|
|
|
|
$(LIB_SRC:%.cpp=%.o)
|
|
|
|
|
|
|
|
#additional things needed for compile
|
|
|
|
ADD_COMPILE= -I$(UTILS)/wxthread
|
|
|
|
|
|
|
|
all::
|
|
|
|
-mkdir -p adpcm
|
|
|
|
|
|
|
|
# include the definitions now
|
|
|
|
include ../../../template.mak
|
|
|
|
|