forked from osmocom/wireshark
![Jeff Morriss](/assets/img/avatar_default.png)
from makefiles (and thus from the buildbot). The intention is to be able to tell when a human is running the tool so we can provide more code-review guidance. As a starter, enable the "too many proto_tree_add_text() calls" check when a human is running the tool. svn path=/trunk/; revision=41943
60 lines
1.7 KiB
Makefile
60 lines
1.7 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
include ..\..\config.nmake
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
|
|
/I../.. $(GLIB_CFLAGS) \
|
|
/I$(PCAP_DIR)\include
|
|
|
|
LDFLAGS = $(PLUGIN_LDFLAGS)
|
|
|
|
!IFDEF ENABLE_LIBWIRESHARK
|
|
LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib
|
|
CFLAGS=/D_NEED_VAR_IMPORT_ $(CFLAGS)
|
|
|
|
OBJECTS=packet-cosnaming.obj packet-coseventcomm.obj packet-tango.obj packet-parlay.obj
|
|
|
|
all : cosnaming.dll coseventcomm.dll tango.dll parlay.dll
|
|
|
|
cosnaming.dll cosnaming.exp cosnaming.lib : packet-cosnaming.obj $(LINK_PLUGIN_WITH)
|
|
link -dll /out:cosnaming.dll $(LDFLAGS) packet-cosnaming.obj $(LINK_PLUGIN_WITH) \
|
|
$(GLIB_LIBS)
|
|
|
|
coseventcomm.dll coseventcomm.exp coseventcomm.lib : packet-coseventcomm.obj $(LINK_PLUGIN_WITH)
|
|
link -dll /out:coseventcomm.dll $(LDFLAGS) packet-coseventcomm.obj $(LINK_PLUGIN_WITH) \
|
|
$(GLIB_LIBS)
|
|
|
|
tango.dll tango.exp tango.lib : packet-tango.obj $(LINK_PLUGIN_WITH)
|
|
link -dll /out:tango.dll $(LDFLAGS) packet-tango.obj $(LINK_PLUGIN_WITH) \
|
|
$(GLIB_LIBS)
|
|
|
|
parlay.dll parlay.exp parlay.lib : packet-parlay.obj $(LINK_PLUGIN_WITH)
|
|
link -dll /out:parlay.dll $(LDFLAGS) packet-parlay.obj $(LINK_PLUGIN_WITH) \
|
|
$(GLIB_LIBS)
|
|
|
|
!ENDIF
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) cosnaming.dll cosnaming.exp cosnaming.lib \
|
|
coseventcomm.dll coseventcomm.exp coseventcomm.lib \
|
|
tango.dll tango.exp tango.lib \
|
|
parlay.dll parlay.exp parlay.lib *.pdb *.sbr \
|
|
cosnaming.dll.manifest coseventcomm.dll.manifest \
|
|
parlay.dll.manifest tango.dll.manifest
|
|
|
|
|
|
distclean: clean
|
|
|
|
maintainer-clean: distclean
|
|
|
|
checkapi:
|
|
$(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput -build \
|
|
packet-cosnaming.c \
|
|
packet-coseventcomm.c \
|
|
packet-tango.c \
|
|
packet-parlay.c
|