summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTero Kivinen <kivinen@iki.fi>2018-11-18 04:35:46 +0700
committerTero Kivinen <kivinen@iki.fi>2018-11-18 04:35:46 +0700
commit32e24ead3b2a171e5f5eff50d7231c2514eda9b4 (patch)
treed20f96e02da112efcadfc7cc73f2eb6e62323be4 /Makefile.in
parent2aaf9bf55cf324a899aae90b1565c0fa2578f8e4 (diff)
parent9edeb142527f29a6e31425b4280c9be0a7962c47 (diff)
downloadtcpdump-32e24ead3b2a171e5f5eff50d7231c2514eda9b4.tar.gz
Updated 802.15.4 code
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in75
1 files changed, 37 insertions, 38 deletions
diff --git a/Makefile.in b/Makefile.in
index cddb8225..e5024273 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -70,7 +70,7 @@ DEPENDENCY_CFLAG = @DEPENDENCY_CFLAG@
@rm -f $@
$(CC) $(FULL_CFLAGS) -c $(srcdir)/$*.c
-CSRC = setsignal.c tcpdump.c
+CSRC = tcpdump.c
LIBNETDISSECT_SRC=\
addrtoname.c \
@@ -80,11 +80,12 @@ LIBNETDISSECT_SRC=\
checksum.c \
cpack.c \
gmpls.c \
- gmt2local.c \
in_cksum.c \
ipproto.c \
l2vpn.c \
machdep.c \
+ netdissect.c \
+ netdissect-alloc.c \
nlpid.c \
oui.c \
parsenfsfh.c \
@@ -233,24 +234,22 @@ LIBNETDISSECT_SRC=\
print-zep.c \
print-zephyr.c \
print-zeromq.c \
- netdissect.c \
signature.c \
strtoaddr.c \
util-print.c
LOCALSRC = @LOCALSRC@
-GENSRC = version.c
LIBOBJS = @LIBOBJS@
LIBNETDISSECT_OBJ=$(LIBNETDISSECT_SRC:.c=.o) ${LOCALSRC:.c=.o} ${LIBOBJS}
LIBNETDISSECT=libnetdissect.a
-SRC = $(CSRC) $(GENSRC) $(LOCALSRC) $(LIBNETDISSECT_SRC)
+SRC = $(CSRC) $(GENSRC) $(LOCALSRC)
# We would like to say "OBJ = $(SRC:.c=.o)" but Ultrix's make cannot
# hack the extra indirection
-OBJ = $(CSRC:.c=.o) $(GENSRC:.c=.o) $(LIBNETDISSECT_OBJ)
+OBJ = $(CSRC:.c=.o) $(GENSRC:.c=.o)
HDR = \
addrtoname.h \
addrtostr.h \
@@ -260,13 +259,13 @@ HDR = \
ascii_strcasecmp.h \
atm.h \
chdlc.h \
+ compiler-tests.h \
cpack.h \
- ether.h \
ethertype.h \
extract.h \
- getopt_long.h \
+ funcattrs.h \
+ getservent.h \
gmpls.h \
- gmt2local.h \
interface.h \
ip.h \
ip6.h \
@@ -278,6 +277,8 @@ HDR = \
mpls.h \
nameser.h \
netdissect.h \
+ netdissect-alloc.h \
+ netdissect-stdinc.h \
nfs.h \
nfsfh.h \
nlpid.h \
@@ -289,16 +290,15 @@ HDR = \
print.h \
rpc_auth.h \
rpc_msg.h \
- rpl.h \
- setsignal.h \
signature.h \
slcompress.h \
smb.h \
+ status-exit-codes.h \
strtoaddr.h \
tcp.h \
- netdissect-stdinc.h \
timeval-operations.h \
- udp.h
+ udp.h \
+ varattrs.h
TAGHDR = \
/usr/include/arpa/tftp.h \
@@ -310,14 +310,15 @@ TAGHDR = \
/usr/include/netinet/udp.h \
/usr/include/protocols/routed.h
-TAGFILES = $(SRC) $(HDR) $(TAGHDR)
+TAGFILES = $(SRC) $(HDR) $(TAGHDR) $(LIBNETDISSECT_SRC)
-CLEANFILES = $(PROG) $(OBJ) $(GENSRC)
+CLEANFILES = $(PROG) $(OBJ) $(GENSRC) $(LIBNETDISSECT_OBJ)
EXTRA_DIST = \
CHANGES \
CONTRIBUTING \
CREDITS \
+ CMakeLists.txt \
INSTALL.txt \
LICENSE \
Makefile.in \
@@ -330,11 +331,16 @@ EXTRA_DIST = \
aclocal.m4 \
atime.awk \
bpf_dump.c \
+ cmake_uninstall.cmake.in \
+ cmakeconfig.h.in \
+ cmake/Modules/FindCRYPTO.cmake \
+ cmake/Modules/FindPCAP.cmake \
+ cmake/Modules/FindSMI.cmake \
config.guess \
config.h.in \
config.sub \
configure \
- configure.in \
+ configure.ac \
install-sh \
lbl/os-osf4.h \
lbl/os-solaris2.h \
@@ -343,36 +349,38 @@ EXTRA_DIST = \
makemib \
missing/dlnames.c \
missing/datalinks.c \
+ missing/getopt_long.h \
missing/getopt_long.c \
+ missing/getservent.c \
+ missing/pcap_dump_ftell.c \
missing/snprintf.c \
missing/strdup.c \
missing/strlcat.c \
missing/strlcpy.c \
missing/strsep.c \
+ missing/win_ether_ntohost.c \
+ missing/win_ether_ntohost.h \
mkdep \
packetdat.awk \
- pcap_dump_ftell.c \
print-pflog.c \
print-smb.c \
send-ack.awk \
smbutil.c \
stime.awk \
tcpdump.1.in \
- vfprintf.c \
win32/prj/GNUmakefile \
win32/prj/WinDump.dsp \
win32/prj/WinDump.dsw \
win32/prj/WinDump.sln \
- win32/prj/WinDump.vcproj \
- win32/src/ether_ntohost.c
+ win32/prj/WinDump.vcproj
TEST_DIST= `find tests \( -name 'DIFF' -prune \) -o \( -name NEW -prune \) -o -type f \! -name '.*' \! -name '*~' -print`
-all: $(PROG) $(LIBNETDISSECT)
+all: $(PROG)
-$(PROG): $(OBJ) @V_PCAPDEP@
+$(PROG): $(OBJ) @V_PCAPDEP@ $(LIBNETDISSECT)
@rm -f $@
- $(CC) $(FULL_CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
+ $(CC) $(FULL_CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBNETDISSECT) $(LIBS)
$(LIBNETDISSECT): $(LIBNETDISSECT_OBJ)
@rm -f $@
@@ -383,6 +391,8 @@ datalinks.o: $(srcdir)/missing/datalinks.c
$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/datalinks.c
dlnames.o: $(srcdir)/missing/dlnames.c
$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/dlnames.c
+getservent.o: $(srcdir)/missing/getservent.c
+ $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/getservent.c
getopt_long.o: $(srcdir)/missing/getopt_long.c
$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/getopt_long.c
snprintf.o: $(srcdir)/missing/snprintf.c
@@ -395,19 +405,8 @@ strlcpy.o: $(srcdir)/missing/strlcpy.c
$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/strlcpy.c
strsep.o: $(srcdir)/missing/strsep.c
$(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/strsep.c
-
-version.o: version.c
- $(CC) $(FULL_CFLAGS) -c version.c
-
-version.c: $(srcdir)/VERSION
- @rm -f $@
- if grep GIT ${srcdir}/VERSION >/dev/null; then \
- read ver <${srcdir}/VERSION; \
- echo $$ver | tr -d '\012'; \
- date +_%Y_%m_%d; \
- else \
- cat ${srcdir}/VERSION; \
- fi | sed -e 's/.*/const char version[] = "&";/' > $@
+pcap_dump_ftell.o: $(srcdir)/missing/pcap_dump_ftell.c
+ $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/pcap_dump_ftell.c
install: all
[ -d $(DESTDIR)$(sbindir) ] || \
@@ -423,7 +422,7 @@ uninstall:
rm -f $(DESTDIR)$(mandir)/man1/$(PROG).1
lint: $(GENSRC)
- lint -hbxn $(SRC) | \
+ lint -hbxn $(SRC) $(LIBNETDISSECT_SRC) | \
grep -v 'struct/union .* never defined' | \
grep -v 'possible pointer alignment problem'
@@ -460,4 +459,4 @@ testlist:
echo $(TEST_DIST)
depend: $(GENSRC)
- $(MKDEP) -c $(CC) -m $(DEPENDENCY_CFLAG) $(DEFS) $(INCLS) $(SRC)
+ $(MKDEP) -c "$(CC)" -m "$(DEPENDENCY_CFLAG)" $(DEFS) $(INCLS) $(SRC) $(LIBNETDISSECT_SRC)