From b32a5ee98cd4c0e17b900c77b046f7977cbd12bb Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 18 Feb 2016 04:06:13 -0800 Subject: Don't add the wiretap directory to the list of include directories. If you include something from the wiretap directory, always precede it with wiretap/. Fix some includes of files in the top-level directory to use a path relative to the current directory, not relative to the wiretap directory. This makes it a bit clearer what's being included. Change-Id: Ib99655a13c6006cf6c3112e9d4db6f47df9aff54 Reviewed-on: https://code.wireshark.org/review/13990 Petri-Dish: Guy Harris Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris --- caputils/Makefile.am | 3 +-- caputils/Makefile.nmake | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'caputils') diff --git a/caputils/Makefile.am b/caputils/Makefile.am index 48b26cc9c2..94db958c00 100644 --- a/caputils/Makefile.am +++ b/caputils/Makefile.am @@ -22,8 +22,7 @@ include Makefile.common include $(top_srcdir)/Makefile.am.inc -AM_CPPFLAGS += -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS) \ - $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES) +AM_CPPFLAGS += $(LIBGCRYPT_CFLAGS) $(LIBGNUTLS_CFLAGS) $(PORTAUDIO_INCLUDES) noinst_LIBRARIES = libcaputils.a diff --git a/caputils/Makefile.nmake b/caputils/Makefile.nmake index f3eeae37c9..6c38e33f3f 100644 --- a/caputils/Makefile.nmake +++ b/caputils/Makefile.nmake @@ -12,7 +12,7 @@ include Makefile.common GENERATED_CFLAGS=\ $(STANDARD_CFLAGS) \ /Zm800 \ - /I.. /I../wiretap $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \ + /I.. $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \ /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \ /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \ /I$(PCAP_DIR)\include $(AIRPCAP_CFLAGS) \ -- cgit v1.2.1