Have the IPX code set "pi.len" and "pi.captured_len" based on the length
[obnox/wireshark/wip.git] / Makefile.am
index 451a2fc66fed540f9e74a6ee6dc25ac2b57db157..b6f7d72cad39370deddc764628647289054e31cf 100644 (file)
@@ -4,14 +4,18 @@ man_MANS = ethereal.1
 
 sysconf_DATA = manuf
 
-YFLAGS=-d
+# Any POSIX-compatible YACC should honor the -p flag
+YFLAGS=-d -p dfilter_
 
 ethereal_SOURCES = \
        alignment.h    \
        capture.c      \
        capture.h      \
+       colors.c       \
+       colors.h       \
        column.c       \
        column.h       \
+       dfilter-int.h  \
        dfilter-grammar.y \
        dfilter-scanner.l \
        dfilter.c      \
@@ -28,13 +32,13 @@ ethereal_SOURCES = \
        filter.h       \
        follow.c       \
        follow.h       \
+       globals.h      \
        gtkpacket.c    \
        gtkpacket.h    \
-       menu.c         \
-       menu.h         \
        packet-aarp.c  \
        packet-arp.c   \
        packet-atalk.c \
+       packet-atm.c   \
        packet-bootp.c \
        packet-cdp.c   \
        packet-clip.c  \
@@ -63,6 +67,8 @@ ethereal_SOURCES = \
        packet-nbns.c  \
        packet-ncp.c   \
        packet-ncp.h   \
+       packet-netbios.c \
+       packet-netbios.h \
        packet-nntp.c  \
        packet-null.c  \
        packet-osi.c   \
@@ -122,8 +128,8 @@ EXTRA_ethereal_SOURCES = \
        strerror.c      \
        strerror.h
 
-ethereal_DEPENDENCIES = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ wiretap/libwiretap.a
-ethereal_LDADD = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ wiretap/libwiretap.a @SNMP_A@
+ethereal_DEPENDENCIES = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ wiretap/libwiretap.a gtk/libui.a
+ethereal_LDADD = @SNMP_O@ @SNPRINTF_O@ @STRERROR_O@ wiretap/libwiretap.a gtk/libui.a @SNMP_A@
 
 ps.c: print.ps rdps
        ./rdps $(srcdir)/print.ps ps.c
@@ -138,24 +144,26 @@ DISTCLEANFILES =  \
 
 EXTRA_DIST = \
        config.h.win32          \
-       doc/Makefile            \
-       doc/configure           \
-       doc/configure.in        \
+       doc/Makefile.in         \
+       doc/Makefile.am         \
        doc/dfilter2pod.in      \
        doc/ethereal.pod.template \
-       ethereal.spec           \
+       ethereal.spec.in         \
        image/icon-excl.xpm     \
        image/icon-ethereal.xpm \
        Makefile.nmake          \
        manuf                   \
        print.ps                \
+       README.linux            \
        README.tru64            \
        README.win32            \
-       rdps.c                  \
-       VERSION
+       rdps.c
 
-SUBDIRS = wiretap @SUBDIRS@
+SUBDIRS = wiretap gtk @SUBDIRS@
 
-ethereal.1: ethereal doc/ethereal.pod.template VERSION
+ethereal.1: ethereal doc/ethereal.pod.template
        (cd doc ; \
-       make ../ethereal.1 )
+       $(MAKE) ../ethereal.1 )
+
+dfilter-scanner.c : dfilter-scanner.l
+       $(LEX) -Pdfilter_ -t $(srcdir)/dfilter-scanner.l > dfilter-scanner.c