-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile.am
47 lines (34 loc) · 964 Bytes
/
Makefile.am
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
INCLUDES = -I$(top_srcdir)
checkapi:
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput \
packet-ant.c
PLUGIN_NAME = ant
# the codec sources
DISSECTOR_SRC = \
packet-ant.c
DISSECTOR_INCLUDES = \
packet-ant.h
DISSECTOR_SUPPORT_SRC =
plugindir = @plugindir@
plugin_LTLIBRARIES = ant.la
ant_la_SOURCES = plugin.c packet-ant.c moduleinfo.h
ant_la_LDFLAGS = -module -avoid-version
ant_la_LIBADD = @PLUGIN_LIBS@
LIBS =
CLEANFILES = \
ant \
*~
MAINTAINERCLEANFILES = \
Makefile.in \
plugin.c
plugin.c: $(DISSECTOR_SRC) $(top_srcdir)/tools/make-dissector-reg \
$(top_srcdir)/tools/make-dissector-reg.py
@if test -n "$(PYTHON)"; then \
echo Making plugin.c with python ; \
$(PYTHON) $(top_srcdir)/tools/make-dissector-reg.py $(srcdir) \
plugin $(DISSECTOR_SRC) ; \
else \
echo Making plugin.c with shell script ; \
$(top_srcdir)/tools/make-dissector-reg $(srcdir) \
$(plugin_src) plugin $(DISSECTOR_SRC) ; \
fi