# Makefile.nmake # nmake file for Wireshark plugin # # $Id: Makefile.nmake 24520 2008-03-01 12:31:01Z jake $ # !IFNDEF WS_ROOT WS_ROOT=..\..\.. !ENDIF !include $(WS_ROOT)\$(TGT_WS_VERSION)\config.nmake # # The RC_VERSION should be comma-separated, not dot-separated, # as per Graham Bloice's message in # # http://www.ethereal.com/lists/ethereal-dev/200303/msg00283.html # # "The RC_VERSION variable in config.nmake should be comma separated. # This allows the resources to be built correctly and the version # number to be correctly displayed in the explorer properties dialog # for the executables, and XP's tooltip, rather than 0.0.0.0." # MODULE_VERSION=$(MODULE_VERSION_MAJOR)_$(MODULE_VERSION_MINOR)_$(MODULE_VERSION_MICRO)_$(MODULE_VERSION_EXTRA) RC_MODULE_VERSION=$(MODULE_VERSION_MAJOR),$(MODULE_VERSION_MINOR),$(MODULE_VERSION_MICRO),$(MODULE_VERSION_EXTRA) # the name of the plugin PLUGIN_NAME = octvocnet_ws # the dissector sources (without any helpers) SRC_PATH=source DISSECTOR_SRC = source/packet-vocallonet.c \ source/octvocnet_common.c !IF "$(TGT_VERSION)" != "" LOCAL_CFLAGS=/DTGT_VERSION=$(TGT_VERSION) /DMODULE_VERSION=$(MODULE_VERSION) $(LOCAL_CFLAGS) RC_INTERNAL_NAME="Base on $(PACKAGE) version $(TGT_VERSION)" !ELSE LOCAL_CFLAGS=/DMODULE_VERSION=$(MODULE_VERSION) $(LOCAL_CFLAGS) RC_INTERNAL_NAME="Base on $(PACKAGE) version $(MODULE_VERSION)" !ENDIF !include ..\..\MakeRules.nmake