diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-09-02 06:39:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-09-02 06:39:43 +0000 |
commit | 0ec3e5661f5c12731a69a15d4a1d1ef6ca19aa66 (patch) | |
tree | 833928513cb31527c5bd1c334f234af05cef8dd6 /codecs/Makefile.nmake | |
parent | e7135c63bb5a3b13b02a5513cae346d68f209bd5 (diff) | |
download | wireshark-0ec3e5661f5c12731a69a15d4a1d1ef6ca19aa66.tar.gz wireshark-0ec3e5661f5c12731a69a15d4a1d1ef6ca19aa66.tar.bz2 wireshark-0ec3e5661f5c12731a69a15d4a1d1ef6ca19aa66.zip |
Move the codecs into a top-level "codecs" subdirectory; there's no
guarantee that all programs using the codecs will necessarily be using
GTK+.
svn path=/trunk/; revision=19117
Diffstat (limited to 'codecs/Makefile.nmake')
-rw-r--r-- | codecs/Makefile.nmake | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/codecs/Makefile.nmake b/codecs/Makefile.nmake new file mode 100644 index 0000000000..a7822d63ac --- /dev/null +++ b/codecs/Makefile.nmake @@ -0,0 +1,41 @@ +## Makefile for building codecs.lib with Microsoft C and nmake +## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake +# +# $Id$ + +include ..\..\config.nmake + +############### no need to modify below this line ######### + +CFLAGS=-DHAVE_CONFIG_H /I.. /I../wiretap $(GTK_CFLAGS) $(GLIB_CFLAGS) \ + /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \ + /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \ + /I$(PCAP_DIR)\include /I$(NET_SNMP_DIR)\include \ + /I$(NET_SNMP_DIR)\win32 /Zm800 -D_U_="" -D_NEED_VAR_IMPORT_ $(LOCAL_CFLAGS) \ + +.c.obj:: + $(CC) $(CFLAGS) -Fd.\ -c $< + +CODEC_OBJECTS= \ + G711udecode.obj \ + G711adecode.obj + + +codecs.lib : $(CODEC_OBJECTS) + link /lib /out:codecs.lib $(CODEC_OBJECTS) + + +G711adecode.obj: G711a\G711adecode.c G711a\G711adecode.h G711a\G711atable.h + $(CC) $(CFLAGS) -c /Zi /W1 /Od G711a\G711adecode.c -o $@ + +G711udecode.obj: G711u\G711udecode.c G711u\G711udecode.h G711u\G711utable.h + $(CC) $(CFLAGS) -c /Zi /W1 /Od G711u\G711udecode.c -o $@ + +clean: + rm -f $(CODEC_OBJECTS) codecs.lib *.pdb + +distclean: clean + +maintainer-clean: distclean + + |