forked from osmocom/wireshark
Add an initial Qt configuration and makefile targets.
svn path=/trunk/; revision=52456
This commit is contained in:
parent
69da562c83
commit
b3c844fa64
|
@ -192,6 +192,10 @@ EXECUTABLES=wireshark.exe tshark.exe rawshark.exe \
|
|||
capinfos.exe editcap.exe mergecap.exe text2pcap.exe randpkt.exe \
|
||||
reordercap.exe dumpcap.exe dftest.exe
|
||||
|
||||
!IFDEF QT_DIR
|
||||
EXECUTABLES=$(EXECUTABLES) qtshark.exe
|
||||
!ENDIF
|
||||
|
||||
RESOURCES=image\wireshark.res image\file_dlg_win32.res \
|
||||
image\libwireshark.res image\tshark.res image\capinfos.res \
|
||||
image\editcap.res image\mergecap.res image\text2pcap.res \
|
||||
|
@ -309,6 +313,8 @@ wireshark.exe : $(LIBS_CHECK) config.h $(wireshark_OBJECTS) codecs epan ui gtk w
|
|||
mt.exe -nologo -manifest "wireshark.exe.manifest" -outputresource:$(PROGRAM_NAME).exe;1
|
||||
!ENDIF
|
||||
|
||||
qtshark.exe : install-generated-files $(LIBS_CHECK) config.h $(tshark_OBJECTS) epan ui qt wsutil\libwsutil.lib wiretap\wiretap-$(WTAP_VERSION).lib plugins
|
||||
|
||||
tshark.exe : $(LIBS_CHECK) config.h $(tshark_OBJECTS) epan ui cli image\tshark.res wsutil\libwsutil.lib wiretap\wiretap-$(WTAP_VERSION).lib plugins
|
||||
@echo Linking $@
|
||||
$(LINK) @<<
|
||||
|
@ -536,6 +542,7 @@ clean-local:
|
|||
libwsutil.dll \
|
||||
wireshark.bsc
|
||||
rm -rf $(INSTALL_DIR)
|
||||
rm -rf wireshark-qt-release
|
||||
|
||||
clean: clean-local
|
||||
cd asn1
|
||||
|
@ -550,6 +557,8 @@ clean: clean-local
|
|||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
||||
cd gtk
|
||||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
||||
cd ../qt
|
||||
$(MAKE) clean
|
||||
cd ../win32
|
||||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
||||
cd ../cli
|
||||
|
@ -600,6 +609,8 @@ distclean: distclean-local
|
|||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
|
||||
cd gtk
|
||||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
|
||||
cd ../qt
|
||||
$(MAKE) distclean
|
||||
cd ../win32
|
||||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake distclean
|
||||
cd ../cli
|
||||
|
@ -643,6 +654,8 @@ maintainer-clean: maintainer-clean-local
|
|||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
|
||||
cd gtk
|
||||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
|
||||
cd ../qt
|
||||
$(MAKE) distclean
|
||||
cd ../win32
|
||||
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean
|
||||
cd ../cli
|
||||
|
@ -758,6 +771,12 @@ gtk:: help config.h svnversion.h doxygen
|
|||
$(MAKE) /$(MAKEFLAGS) /f Makefile.nmake libgtkui.lib
|
||||
cd ../..
|
||||
|
||||
qt:: help config.h svnversion.h doxygen
|
||||
cd ui/qt
|
||||
$(QT_DIR)\bin\qmake CONFIG+=release QtShark.pro
|
||||
nmake
|
||||
cd ../..
|
||||
|
||||
win32::
|
||||
cd ui/win32
|
||||
$(MAKE) /$(MAKEFLAGS) /f Makefile.nmake libgtkui_win32.lib
|
||||
|
|
20
config.nmake
20
config.nmake
|
@ -297,7 +297,15 @@ GTK_INST_VERSION=3.4
|
|||
!ENDIF
|
||||
|
||||
#
|
||||
# Optional: WinPcap developer's pack to capture network traffic.
|
||||
# Recommended: Qt
|
||||
#
|
||||
# This must point to a top-level Qt directory. QMake should be in
|
||||
# $(QT_DIR)\bin
|
||||
#
|
||||
#QT_DIR=C:\Qt\5.1.1-MSVC2010-win32
|
||||
|
||||
#
|
||||
# Recommended: WinPcap developer's pack to capture network traffic.
|
||||
#
|
||||
# If you have the WinPcap developer's pack (at least version 3.0),
|
||||
# set this to the directory in which the WinPcap developer's pack resides.
|
||||
|
@ -518,7 +526,15 @@ GTK_INST_VERSION=3.4
|
|||
!ENDIF
|
||||
|
||||
#
|
||||
# Optional: WinPcap developer's pack to capture network traffic.
|
||||
# Recommended: Qt
|
||||
#
|
||||
# This must point to a top-level Qt directory. QMake should be in
|
||||
# $(QT_DIR)\bin
|
||||
#
|
||||
#QT_DIR=C:\Qt\5.1.1-MSVC2010-win64
|
||||
|
||||
#
|
||||
# Recommended: WinPcap developer's pack to capture network traffic.
|
||||
#
|
||||
# If you have the WinPcap developer's pack (at least version 3.0),
|
||||
# set this to the directory in which the WinPcap developer's pack resides.
|
||||
|
|
Loading…
Reference in New Issue