diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-02-18 04:06:13 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-02-18 12:55:26 +0000 |
commit | b32a5ee98cd4c0e17b900c77b046f7977cbd12bb (patch) | |
tree | 570a94b1eac6a16e37d71e97209337e1e9dbe3aa /caputils | |
parent | 7b6e5264391521d1519d16ff148a7a62c370e5fd (diff) | |
download | wireshark-b32a5ee98cd4c0e17b900c77b046f7977cbd12bb.tar.gz |
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 <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'caputils')
-rw-r--r-- | caputils/Makefile.am | 3 | ||||
-rw-r--r-- | caputils/Makefile.nmake | 2 |
2 files changed, 2 insertions, 3 deletions
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) \ |