Make it possible to add custom tap/GUI files
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 31 Aug 2011 13:44:43 +0000 (13:44 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 31 Aug 2011 13:44:43 +0000 (13:44 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38821 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/Makefile.am
gtk/Makefile.common
gtk/Makefile_custom.common [new file with mode: 0644]

index 4f12cb97a6b68f94e3e8b43dc5392f65d351d381..6091417119ab03e25febbeb8aa66eb182395946a 100644 (file)
@@ -116,4 +116,5 @@ EXTRA_DIST = \
        main_airpcap_toolbar.c          \
        Makefile.common                 \
        Makefile.nmake                  \
-       CMakeLists.txt
+       CMakeLists.txt                  \
+       Makefile_custom.common
index d74cf98b8858c60ef2f4709ba5b8add4d6b96b26..8cf4e851c5b95b5d01a7165e5411e57837db4d0b 100644 (file)
@@ -23,6 +23,9 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
+#
+include Makefile_custom.common
+
 # Generated header files that we want in the distribution.
 GENERATED_HEADER_FILES =
 
@@ -145,7 +148,8 @@ WIRESHARK_GTK_SRC = \
        time_shift_dlg.c        \
        uat_gui.c       \
        voip_calls.c    \
-       webbrowser.c
+       webbrowser.c    \
+       $(WIRESHARK_CUSTOM_GTK_SRC)
 
 about_dlg.c main_welcome.c: ../image/wssplash.xpm ../image/wssplash-dev.xpm
 main_statusbar.c: expert_indicators.h
@@ -229,7 +233,8 @@ WIRESHARK_TAP_SRC = \
        tcp_graph.c     \
        voip_calls_dlg.c \
        wlan_stat_dlg.c  \
-       wsp_stat.c
+       wsp_stat.c      \
+       $(WIRESHARK_CUSTOM_TAP_SRC)
 
 noinst_HEADERS = \
        about_dlg.h     \
@@ -336,5 +341,6 @@ noinst_HEADERS = \
        utf8_entities.h \
        voip_calls.h    \
        voip_calls_dlg.h \
-       webbrowser.h
+       webbrowser.h    \
+       $(WIRESHARK_CUSTOM_HEADERS)
 
diff --git a/gtk/Makefile_custom.common b/gtk/Makefile_custom.common
new file mode 100644 (file)
index 0000000..58e6393
--- /dev/null
@@ -0,0 +1,13 @@
+# \r
+# $Id:$\r
+# You can add custom GUI files here\r
+#\r
+\r
+#Add GUI source files here\r
+WIRESHARK_CUSTOM_GTK_SRC = \\r
+\r
+#Add your tap source files here:\r
+WIRESHARK_CUSTOM_TAP_SRC = \\r
+\r
+#Add headers here:\r
+WIRESHARK_CUSTOM_HEADERS = \
\ No newline at end of file