aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/Makefile.am
blob: 5f451ff654c2fc1f75732cd2a8cf2dc525ce82c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Makefile.am
# Automake file for Wiretap
#
# $Id$
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

ACLOCAL_AMFLAGS = `../aclocal-flags`

include Makefile.common

lib_LTLIBRARIES = libwiretap.la
libwiretap_la_LDFLAGS = -version-info 0:1:0 @LDFLAGS_SHAREDLIB@

CLEANFILES = \
	libwiretap.a		\
	libwiretap.la		\
	*~

MAINTAINERCLEANFILES = \
	$(GENERATED_FILES)	\
	Makefile.in		\
	aclocal.m4		\
	config.h.in		\
	configure

libwiretap_la_SOURCES = \
	$(NONGENERATED_C_FILES)	\
	$(GENERATOR_SOURCES)	\
	$(NONGENERATED_HEADER_FILES)

EXTRA_DIST = \
	README.developer	\
	config.h.win32		\
	Makefile.common		\
	Makefile.nmake		\
	wtap.def		\
	file_util.c		\
	$(GENERATED_FILES)

# Any POSIX-compatible YACC should honor the -p flag
AM_YFLAGS=-d -p ascend

ascend-scanner.c : ascend-scanner.l
	@if [ ! -x "$(LEX)" ]; then \
		echo "Neither lex nor flex was found"; \
		exit 1; \
	fi
	$(LEX) -Pascend -oascend-scanner.c $(srcdir)/ascend-scanner.l