HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / wslua / Makefile.nmake
blob0898e94814f47f115c1ff939f8e1e04b3f6416b4
2 # $Id$
5 include ..\..\config.nmake
7 ############### no need to modify below this line #########
9 CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
10         /I. /I.. /I../.. $(GLIB_CFLAGS) \
11         $(LUA_CFLAGS) -DWS_BUILD_DLL\
12         /I$(PCAP_DIR)\include
14 .c.obj::
15         $(CC) $(CFLAGS) -Fd.\ -c $<
17 MODULES =       \
18         lua_bitop.c \
19         wslua_tvb.c \
20         wslua_proto.c \
21         wslua_tree.c \
22         wslua_pinfo.c \
23         wslua_listener.c \
24         wslua_gui.c \
25         wslua_util.c \
26         wslua_field.c \
27         wslua_dumper.c
29 OBJECTS= \
30         init_wslua.obj \
31         register_wslua.obj \
32         taps_wslua.obj \
33         lua_bitop.obj \
34         wslua_dumper.obj \
35         wslua_field.obj \
36         wslua_gui.obj \
37         wslua_pinfo.obj \
38         wslua_proto.obj \
39         wslua_listener.obj \
40         wslua_tree.obj \
41         wslua_tvb.obj \
42         wslua_util.obj
44 wslua.lib       : $(OBJECTS) init.lua
45         link /lib /NODEFAULTLIB /out:wslua.lib $(OBJECTS)
47 clean:
48         rm -f $(OBJECTS) wslua.lib *.pdb *.sbr init.lua taps_wslua.c declare_wslua.h register_wslua.c taps.txt
50 init_wslua.c: declare_wslua.h
52 distclean: clean
54 maintainer-clean: distclean
56 TAPS_USED = \
57         ../dissectors/packet-http.h \
58         ../dissectors/packet-ip.h \
59         ../dissectors/packet-udp.h \
60         ../dissectors/packet-h225.h
62 taps: $(TAPS_USED)
63         touch taps
65 taps_wslua.c: make-taps.pl taps
66         $(PERL) make-taps.pl taps taps_wslua.c taps.txt
68 taps.txt: taps_wslua.c
70 register_wslua.c: declare_wslua.h
72 wslua.h: declare_wslua.h
74 declare_wslua.h: make-reg.pl $(MODULES)
75         $(PERL) make-reg.pl $(MODULES)
77 doc: $(MODULES)
78         $(PERL) make-doc.pl $(MODULES)
80 dummy:
81         touch dummy
83 init.lua: template-init.lua make-init-lua.pl ../ftypes/ftypes.h ../../wiretap/wtap.h  ../proto.h
84         $(PERL) make-init-lua.pl "../.." template-init.lua > init.lua
86 checkapi:
87         $(PERL) ../../tools/checkAPIs.pl -g termoutput -build \
88         $(MODULES)      \
89         init_wslua.c \
90         register_wslua.c \
91         taps_wslua.c