mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-06 23:29:15 +01:00
Using 'make uavobjects_wireshark' now generates a complete wireshark dissector that can decode all fields of the available UAVObjects.
64 lines
1.4 KiB
Plaintext
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
|