diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2017-09-03 00:42:00 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2017-09-15 10:11:55 +0000 |
commit | e7ef19efc0e928b50644b37772ccbf176e74f766 (patch) | |
tree | 1d6a4bb5163e5b094d5c5879d96b961113258315 /epan/dfilter | |
parent | c52a702ae81b1ae7311a8b58e625f86fb211e7c5 (diff) |
autotools: Initial work to install headers for the benefit of plugins
Install public headers required to build plugins for libwireshark (taps and
dissectors).
The source tree is organized to serve the CLI/GUI parts of wireshark.
Plugins are built in tree. This change is intende to allow plugins to be built
out-of-tree but we want to avoid dumping all headers into /usr/include.
To be continued incrementally to fix errors and omissions.
Change-Id: Iaa0def0ba3de4b456a29114c315544d2d64fa748
Reviewed-on: https://code.wireshark.org/review/23374
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/dfilter')
-rw-r--r-- | epan/dfilter/Makefile.am | 15 |
1 files changed, 11 insertions, 4 deletions
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 |