Fix Bug 9870 'Lua: trying to call/get an invalid name results in a get-loop error'
[metze/wireshark/wip.git] / codecs / Makefile.nmake
1 ## Makefile for building codecs.lib with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
3 #
4 # $Id$
5
6 include ..\config.nmake
7 include ..\Makefile.nmake.inc
8
9 ############### no need to modify below this line #########
10
11 CFLAGS=/I.. $(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
12         $(GLIB_CFLAGS)
13
14 .c.obj::
15         $(CC) $(CFLAGS) -Fd.\ -c $<
16
17 include Makefile.common
18
19 # if you add files here, be sure to include them also in Makefile.am EXTRA_DIST
20 # XXX - if the codec files weren't in subdirectories, we could just do
21 # LIBCODEC_OBJECTS = $(LIBCODEC_SRC:.c=.obj), and wouldn't need rules
22 # for each of the codecs below
23 #
24 LIBCODEC_OBJECTS= \
25     codecs.obj \
26         G711udecode.obj \
27         G711adecode.obj \
28         G722decode.obj \
29         G726decode.obj \
30         sbc.obj
31
32 codecs.lib      :  $(LIBCODEC_OBJECTS)
33         link /lib /out:codecs.lib $(LIBCODEC_OBJECTS)
34
35 codecs.obj: codecs.c codecs.h
36         $(CC) $(CFLAGS) -Fd.\ -c codecs.c /Fo%|fF.obj
37
38 G711adecode.obj: G711a\G711adecode.c G711a\G711adecode.h G711a\G711atable.h
39         $(CC) $(CFLAGS) -Fd.\ -c G711a\G711adecode.c /Fo%|fF.obj
40
41 G711udecode.obj: G711u\G711udecode.c G711u\G711udecode.h G711u\G711utable.h
42         $(CC) $(CFLAGS) -Fd.\ -c G711u\G711udecode.c /Fo%|fF.obj
43
44 G722decode.obj: G722\G722decode.c G722\G722decode.h
45         $(CC) $(CFLAGS) -Fd.\ -c G722\G722decode.c /Fo%|fF.obj
46
47 G726decode.obj: G726\G726decode.c G726\G726decode.h
48         $(CC) $(CFLAGS) -Fd.\ -c G726\G726decode.c /Fo%|fF.obj
49
50 sbc.obj: sbc\sbc.c sbc\sbc_private.h
51         $(CC) $(CFLAGS) -Fd.\ -c sbc\sbc.c /Fo%|fF.obj
52
53 clean:
54         rm -f $(LIBCODEC_OBJECTS) codecs.lib *.pdb *.sbr
55
56 distclean: clean
57
58 maintainer-clean: distclean
59
60 checkapi:
61         $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput -build \
62         $(LIBCODEC_SRC)