4d6306eb4d
* WARNING! It is quite unstable on Windows and it doesn't work on Linux for the moment because I didn't finish fixing the CODEC stream. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
39 lines
745 B
Makefile
39 lines
745 B
Makefile
# 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=\
|
|
mmdata.cpp mmfile.cpp mmsolve.cpp sndsnd.cpp sndfrmt.cpp sndpcm.o \
|
|
snduss.cpp sndfile.cpp sndwav.cpp mmriff.cpp vidbase.cpp vidxanm.cpp \
|
|
cdbase.cpp cdunix.cpp
|
|
|
|
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
|
|
|