# Makefile.am
-# Automake file for the EPAN library
-# (Ethereal Protocol ANalyzer Library)
+# Automake file for the libwireshark library
+# (EPAN is a historical name; it stands for Ethereal Protocol ANalyzer
+# Library)
#
# $Id$
#
${top_builddir}/wiretap/libwiretap.la \
libwireshark.sym
-#EXTRA_PROGRAMS = reassemble_test
-#reassemble_test_LDADD = $(GLIB_LIBS)
-
-reassemble_test: reassemble_test.o packet.o tvbuff.o except.o to_str.o strutil.o emem.o \
- reassemble.o charsets.o
- $(LINK) $^ $(GLIB_LIBS) -lz
+EXTRA_PROGRAMS = reassemble_test
+reassemble_test_LDADD = \
+ libwireshark.la \
+ $(GLIB_LIBS) \
+ -lz
tvbtest: tvbtest.o tvbuff.o except.o to_str.o strutil.o emem.o charsets.o
$(LINK) $^ $(GLIB_LIBS) -lz
# Object files for reassemble_test
REASSEMBLE_TEST_OBJ=reassemble_test.obj \
- packet.obj \
- tvbuff.obj \
- except.obj \
- to_str.obj \
- strutil.obj \
- charsets.obj \
- emem.obj \
- reassemble.obj
+REASSEMBLE_TEST_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
+ wsock32.lib user32.lib \
+ $(GLIB_LIBS) \
+ wsutil\libwsutil.lib \
+ $(GNUTLS_LIBS) \
+ $(PYTHON_LIBS) \
+!IFDEF ENABLE_LIBWIRESHARK
+ epan\libwireshark.lib \
+!ELSE
+ epan\dissectors\dissectors.lib \
+ epan\wireshark.lib \
+ epan\crypt\airpdcap.lib \
+ epan\dfilter\dfilter.lib \
+ epan\ftypes\ftypes.lib \
+ $(C_ARES_LIBS) \
+ $(ADNS_LIBS) \
+ $(ZLIB_LIBS)
+!ENDIF
reassemble_test.exe: $(REASSEMBLE_TEST_OBJ)
@echo Linking $@
$(LINK) /OUT:$@ $(conflags) $(conlibsdll) $(LOCAL_LDFLAGS) /LARGEADDRESSAWARE /SUBSYSTEM:console \
- $(GLIB_LIBS) $(ZLIB_LIBS) $(REASSEMBLE_TEST_OBJ)
+ $(REASSEMBLE_TEST_LIBS) $(GLIB_LIBS) $(ZLIB_LIBS) $(REASSEMBLE_TEST_OBJ)
!IFDEF MANIFEST_INFO_REQUIRED
mt.exe -nologo -manifest "$@.manifest" -outputresource:$@;1
!ENDIF
printf(failure?"FAILURE\n":"SUCCESS\n");
return failure;
}
-
-
-/* stubs */
-void add_new_data_source(packet_info *pinfo _U_, tvbuff_t *tvb _U_,
- const char *name _U_)
-{}
-
-proto_item *
-proto_tree_add_uint(proto_tree *tree _U_, int hfindex _U_, tvbuff_t *tvb _U_,
- gint start _U_, gint length _U_, guint32 value _U_)
-{ return NULL; }
-
-void proto_item_prepend_text(proto_item *ti _U_, const char *format _U_, ...)
-{}
-
-void proto_item_append_text(proto_item *ti _U_, const char *format _U_, ...)
-{}
-
-proto_item *proto_tree_add_uint_format(proto_tree *tree _U_, int hfindex _U_,
- tvbuff_t *tvb _U_, gint start _U_,
- gint length _U_, guint32 value _U_,
- const char *format _U_, ...)
-{ return NULL; }
-
-proto_tree* proto_item_add_subtree(proto_item *ti _U_, const gint idx _U_)
-{ return NULL; }
-
-proto_item *proto_tree_add_boolean(proto_tree *tree _U_, int hfindex _U_,
- tvbuff_t *tvb _U_, gint start _U_,
- gint length _U_, guint32 value _U_)
-{ return NULL; }
-
-proto_item *proto_tree_add_item(proto_tree *tree _U_, const int hfindex _U_,
- tvbuff_t *tvb _U_, const gint start _U_,
- gint length _U_,
- const guint encoding _U_)
-{ return NULL; }
-
-gint check_col(column_info *cinfo _U_, const gint col _U_)
-{ return 0; }
-
-void col_add_fstr(column_info *cinfo _U_, const gint col _U_, const gchar *format _U_,
- ...)
-{}
-
-const char* proto_registrar_get_name(const int n _U_)
-{ return ""; }
-
-void proto_item_set_text(proto_item *ti _U_, const char *format _U_, ...)
-{ }