Reworked https://github.com/ntop/nDPI/commit/8a4c15ecf5c5c1430e8047324a5e336db2f503f1 to avoid adding (un-needed) pcap dependency in nDPI core

This commit is contained in:
Luca Deri
2016-04-24 23:17:18 +02:00
parent 8cb6172e4b
commit e23446389c
4 changed files with 12 additions and 17 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ AM_CFLAGS = @PTHREAD_CFLAGS@
LDADD = $(top_builddir)/src/lib/libndpi.la @JSON_C_LIB@ @PTHREAD_LIBS@ @PCAP_LIB@ LDADD = $(top_builddir)/src/lib/libndpi.la @JSON_C_LIB@ @PTHREAD_LIBS@ @PCAP_LIB@
AM_LDFLAGS = -static AM_LDFLAGS = -static
ndpiReader_SOURCES = ndpiReader.c ndpiReader_SOURCES = ndpiReader.c ndpi_util.c
ndpiReader.o: ndpiReader.c ndpiReader.o: ndpiReader.c
@@ -1,11 +1,7 @@
/* /*
* ndpi_util.h * ndpi_util.h
* *
* Copyright (C) 2011-15 - ntop.org * Copyright (C) 2011-16 - ntop.org
* Copyright (C) 2009-11 - ipoque GmbH
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
* *
* nDPI is free software: you can redistribute it and/or modify * nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by * it under the terms of the GNU Lesser General Public License as published by
-1
View File
@@ -16,7 +16,6 @@ libndpi_la_include_HEADERS = ../include/ndpi_api.h \
libndpi_la_SOURCES = ndpi_content_match.c.inc \ libndpi_la_SOURCES = ndpi_content_match.c.inc \
ndpi_main.c \ ndpi_main.c \
ndpi_util.c \
protocols/afp.c \ protocols/afp.c \
protocols/aimini.c \ protocols/aimini.c \
protocols/applejuice.c \ protocols/applejuice.c \