aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/Makefile.am14
-rw-r--r--epan/dfilter/Makefile.am15
-rw-r--r--epan/dissectors/Makefile.am6
-rw-r--r--epan/ftypes/Makefile.am6
-rw-r--r--epan/wmem/Makefile.am32
5 files changed, 49 insertions, 24 deletions
diff --git a/epan/Makefile.am b/epan/Makefile.am
index 575e922b67..b1c4afb693 100644
--- a/epan/Makefile.am
+++ b/epan/Makefile.am
@@ -170,7 +170,7 @@ LIBWIRESHARK_ALL_SRC = \
$(LIBWIRESHARK_SRC) \
$(LIBWIRESHARK_GENERATED_SRC)
-LIBWIRESHARK_INCLUDES = \
+LIBWIRESHARK_INCLUDES_PUBLIC = \
addr_and_mask.h \
addr_resolv.h \
address.h \
@@ -210,7 +210,6 @@ LIBWIRESHARK_INCLUDES = \
dwarf.h \
eap.h \
eapol_keydes_types.h \
- epan-int.h \
epan.h \
epan_dissect.h \
etypes.h \
@@ -282,7 +281,6 @@ LIBWIRESHARK_INCLUDES = \
tfs.h \
time_fmt.h \
to_str.h \
- to_str-int.h \
tvbparse.h \
tvbuff.h \
tvbuff-int.h \
@@ -293,13 +291,21 @@ LIBWIRESHARK_INCLUDES = \
x264_prt_id.h \
xdlc.h
+LIBWIRESHARK_INCLUDES_PRIVATE = \
+ epan-int.h \
+ to_str-int.h
+
+subpkgincludedir = $(pkgincludedir)/epan
+
+subpkginclude_HEADERS = $(LIBWIRESHARK_INCLUDES_PUBLIC)
+
#Since code generated by lex may trigger gcc warnings, we are now generating two
#libraries. A single library is generated with the lex code without the barrier
#"stop on warning". An other library is generated from the remaining source
#files with the "stop on warning" barrier.
libwireshark_la_SOURCES = \
$(LIBWIRESHARK_SRC) \
- $(LIBWIRESHARK_INCLUDES) \
+ $(LIBWIRESHARK_INCLUDES_PRIVATE) \
ws_version_info.c
libwireshark_la_CPPFLAGS = $(AM_CPPFLAGS) -DWS_BUILD_DLL
diff --git a/epan/dfilter/Makefile.am b/epan/dfilter/Makefile.am
index d74af56551..5c82ac4858 100644
--- a/epan/dfilter/Makefile.am
+++ b/epan/dfilter/Makefile.am
@@ -49,13 +49,11 @@ NONGENERATED_C_FILES = \
syntax-tree.c
# Header files that are not generated from other files
-NONGENERATED_HEADER_FILES = \
- dfilter.h \
+NONGENERATED_HEADERS_PRIVATE = \
dfilter-macro.h \
dfilter-int.h \
dfunctions.h \
dfvm.h \
- drange.h \
gencode.h \
semcheck.h \
sttype-function.h \
@@ -64,6 +62,10 @@ NONGENERATED_HEADER_FILES = \
sttype-test.h \
syntax-tree.h
+NONGENERATED_HEADERS_PUBLIC = \
+ dfilter.h \
+ drange.h
+
# Files that generate compileable files
GENERATOR_FILES = \
grammar.lemon \
@@ -95,13 +97,18 @@ NODIST_GENERATED_FILES = \
$(NODIST_GENERATED_C_FILES) \
$(NODIST_GENERATED_HEADER_FILES)
+subpkgincludedir = $(pkgincludedir)/epan/dfilter
+
+subpkginclude_HEADERS = $(NONGENERATED_HEADERS_PUBLIC)
+
+
#Since code generated by lex may trigger gcc warnings, we are now generating two
#libraries. A single library is generated with the lex code without the barrier
#"stop on warning". An other library is generated from the remaining source
#files with the "stop on warning" barrier.
libdfilter_la_SOURCES = \
$(NONGENERATED_C_FILES) \
- $(NONGENERATED_HEADER_FILES)
+ $(NONGENERATED_HEADERS_PRIVATE)
libdfilter_la_LIBADD = \
libdfilter_generated.la
diff --git a/epan/dissectors/Makefile.am b/epan/dissectors/Makefile.am
index 2a2c2c4d11..868711aa2d 100644
--- a/epan/dissectors/Makefile.am
+++ b/epan/dissectors/Makefile.am
@@ -1880,9 +1880,13 @@ libdissectors_la_SOURCES = \
$(PIDL_DISSECTOR_SRC) \
$(DISSECTOR_SUPPORT_SRC)
+subpkgincludedir = $(pkgincludedir)/epan/dissectors
+
+subpkginclude_HEADERS = \
+ $(DISSECTOR_INCLUDES)
+
# this target needed for distribution only
noinst_HEADERS = \
- $(DISSECTOR_INCLUDES) \
$(FILE_DISSECTOR_INCLUDES)
# include asn1 in the source tarball. But nothing to build...
diff --git a/epan/ftypes/Makefile.am b/epan/ftypes/Makefile.am
index 4256a6d0db..09444f4d36 100644
--- a/epan/ftypes/Makefile.am
+++ b/epan/ftypes/Makefile.am
@@ -25,6 +25,11 @@ AM_CPPFLAGS = $(INCLUDEDIRS) -I$(top_srcdir)/epan $(WS_CPPFLAGS) \
noinst_LTLIBRARIES = libftypes.la
+subpkgincludedir = $(pkgincludedir)/epan/ftypes
+
+subpkginclude_HEADERS = \
+ ftypes.h
+
libftypes_la_SOURCES = \
ftypes.c \
ftype-bytes.c \
@@ -39,7 +44,6 @@ libftypes_la_SOURCES = \
ftype-protocol.c \
ftype-string.c \
ftype-time.c \
- ftypes.h \
ftypes-int.h
EXTRA_DIST = \
diff --git a/epan/wmem/Makefile.am b/epan/wmem/Makefile.am
index e2e316ca6a..dd2962ac01 100644
--- a/epan/wmem/Makefile.am
+++ b/epan/wmem/Makefile.am
@@ -28,6 +28,24 @@ noinst_LTLIBRARIES = libwmem.la
EXTRA_PROGRAMS = wmem_test
+subpkgincludedir = $(pkgincludedir)/epan/wmem
+
+subpkginclude_HEADERS = \
+ wmem.h \
+ wmem_array.h \
+ wmem_core.h \
+ wmem_list.h \
+ wmem_map.h \
+ wmem_miscutl.h \
+ wmem_queue.h \
+ wmem_scopes.h \
+ wmem_stack.h \
+ wmem_strbuf.h \
+ wmem_strutl.h \
+ wmem_tree.h \
+ wmem_interval_tree.h \
+ wmem_user_cb.h
+
libwmem_la_SOURCES = \
wmem_array.c \
wmem_core.c \
@@ -45,27 +63,13 @@ libwmem_la_SOURCES = \
wmem_tree.c \
wmem_interval_tree.c \
wmem_user_cb.c \
- wmem.h \
- wmem_array.h \
- wmem_core.h \
wmem_allocator.h \
wmem_allocator_block.h \
wmem_allocator_block_fast.h \
wmem_allocator_simple.h \
wmem_allocator_strict.h \
- wmem_list.h \
- wmem_map.h \
wmem_map_int.h \
- wmem_miscutl.h \
- wmem_queue.h \
- wmem_scopes.h \
- wmem_stack.h \
- wmem_strbuf.h \
- wmem_strutl.h \
- wmem_tree.h \
wmem_tree-int.h \
- wmem_interval_tree.h \
- wmem_user_cb.h \
wmem_user_cb_int.h
wmem_test_SOURCES = wmem_test.c