1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-06 23:29:15 +01:00
Stacey Sheldon 4c47a36bda uavobjgenerator: Add generator for wireshark UAVO plugin
Using 'make uavobjects_wireshark' now generates a complete
wireshark dissector that can decode all fields of the available
UAVObjects.
2012-06-19 00:21:35 -04:00

64 lines
1.4 KiB
Plaintext

#
# $Id$
#
include ..\config.nmake
#
# Custom plugin build template.
#
# If you need to develop a custom plugin (a plugin not yet released to the
# public) this file is for you.
#
# To generate a custom plugin:
#
# 1. Create the new plugin directory and implement the plugin (at least to be
# ready for a first build try). The easiest way to do this is to copy an
# existing plugin and modify the contents.
# 2. Rename this file to Custom.nmake
# 3. Replace every appearance of foo in this file with your plugin dir name
# 4. Build Wireshark as usual
#
all: op-uavtalk op-uavobjects
op-uavtalk::
cd op-uavtalk
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
cd ..
op-uavobjects::
cd op-uavobjects
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
cd ..
clean:
cd op-uavtalk
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ..
cd op-uavobjects
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ..
distclean: clean
cd op-uavtalk
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
cd ..
cd op-uavobjects
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
cd ..
maintainer-clean: distclean
cd op-uavtalk
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
cd ..
cd op-uavobjects
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
cd ..
install-plugins:
!IFDEF ENABLE_LIBWIRESHARK
xcopy op-uavtalk\*.dll ..\$(INSTALL_DIR)\plugins\$(VERSION) /d
xcopy op-uavobjects\*.dll ..\$(INSTALL_DIR)\plugins\$(VERSION) /d
!ENDIF