]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/mmedia/mmedia.bkl
new VC++ project files with both dll and lib in one project
[wxWidgets.git] / contrib / build / mmedia / mmedia.bkl
CommitLineData
15e8daec
VS
1<?xml version="1.0" ?>
2<!-- $Id$ -->
3
4<makefile>
5
6 <include file="../../../build/bakefiles/common_contrib.bkl"/>
7
8 <if cond="FORMAT=='autoconf'">
9 <option name="EXTRALIBS_ESD"/>
10 </if>
11
12 <set var="MMEDIA_UNIX_SRC" hints="files">
13 cdunix.cpp
14 sndesd.cpp
15 sndoss.cpp
16 vidxanm.cpp
17 </set>
18
19 <set var="MMEDIA_WIN32_SRC" hints="files">
20 cdwin.cpp
21 sndwin.cpp
22 vidwin.cpp
23 </set>
24
25 <set var="MMEDIA_PLATFORM_SRC" hints="files">
26 <if cond="PLATFORM_UNIX=='1'">$(MMEDIA_UNIX_SRC)</if>
27 <if cond="PLATFORM_WIN32=='1'">$(MMEDIA_WIN32_SRC)</if>
28 </set>
29
30 <set var="MMEDIA_SRC" hints="files">
31 $(MMEDIA_PLATFORM_SRC)
32 cdbase.cpp
33 g711.cpp
34 g721.cpp
35 g723_24.cpp
36 g723_40.cpp
37 g72x.cpp
38 sndaiff.cpp
39 sndbase.cpp
40 sndcodec.cpp
41 sndcpcm.cpp
42 sndfile.cpp
43 sndg72x.cpp
44 sndmsad.cpp
45 sndpcm.cpp
46 sndulaw.cpp
47 sndwav.cpp
48 vidbase.cpp
49 </set>
50
51 <headers template="wx_contrib_headers">
52 <files>
53 wx/mmedia/cdbase.h
54 wx/mmedia/cdunix.h
55 wx/mmedia/cdwin.h
56 wx/mmedia/sndaiff.h
57 wx/mmedia/sndbase.h
58 wx/mmedia/sndcodec.h
59 wx/mmedia/sndcpcm.h
60 wx/mmedia/sndesd.h
61 wx/mmedia/sndfile.h
62 wx/mmedia/sndg72x.h
63 wx/mmedia/sndmsad.h
64 wx/mmedia/sndoss.h
65 wx/mmedia/sndpcm.h
66 wx/mmedia/sndulaw.h
67 wx/mmedia/sndwav.h
68 wx/mmedia/sndwin.h
69 wx/mmedia/vidbase.h
70 wx/mmedia/vidwin.h
71 wx/mmedia/vidxanm.h
72 </files>
73 </headers>
74
75 <dll id="mmediadll" template="wx_contrib_dll" cond="SHARED=='1'">
76 <define>WXUSINGDLL</define>
77 <define>WXMAKINGDLL_MMEDIA</define>
78 <sources>$(MMEDIA_SRC)</sources>
79 <wx-lib>core</wx-lib>
80 <wx-lib>base</wx-lib>
81 <ldflags cond="FORMAT=='autoconf'">$(EXTRALIBS_ESD)</ldflags>
82 </dll>
83
84 <lib id="mmedialib" template="wx_contrib_lib" cond="SHARED=='0'">
85 <sources>$(MMEDIA_SRC)</sources>
86 </lib>
87
88</makefile>
89