]>
Commit | Line | Data |
---|---|---|
4d6306eb GL |
1 | # WXXT base directory |
2 | WXBASEDIR=@WXBASEDIR@ | |
3 | ||
4 | # set the OS type for compilation | |
5 | OS=@OS@ | |
6 | # compile a library only | |
7 | RULE=gslib | |
8 | ||
9 | # define common stuff | |
10 | ||
11 | # define library name | |
12 | LIB_TARGET=wxmmedia | |
13 | LIB_MAJOR=2 | |
14 | LIB_MINOR=0 | |
15 | # define library sources | |
16 | ADPCM_SRC=\ | |
17 | g711.cpp g721.cpp g723_24.cpp g723_40.cpp g72x.cpp | |
18 | ||
19 | MMEDIA_SRC=\ | |
20 | mmdata.cpp mmfile.cpp mmsolve.cpp sndsnd.cpp sndfrmt.cpp sndpcm.o \ | |
21 | snduss.cpp sndfile.cpp sndwav.cpp mmriff.cpp vidbase.cpp vidxanm.cpp \ | |
22 | cdbase.cpp cdunix.cpp | |
23 | ||
24 | LIB_SRC= $(ADPCM_SRC:%.cpp=adpcm/%.cpp) $(MMEDIA_SRC) | |
25 | ||
26 | #define library objects | |
27 | LIB_OBJ=\ | |
28 | $(LIB_SRC:%.cpp=%.o) | |
29 | ||
30 | #additional things needed for compile | |
31 | ADD_COMPILE= -I$(UTILS)/wxthread | |
32 | ||
33 | all:: | |
34 | -mkdir -p adpcm | |
35 | ||
36 | # include the definitions now | |
37 | include ../../../template.mak | |
38 |