aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-09-23 21:47:02 +0100
committerJoão Valverde <j@v6e.pt>2017-09-24 10:23:53 +0000
commitdcf52a16954719906abcaf94d8a7391ba2cfeb43 (patch)
tree91bcd6d16925ef9bf984dc47bc7e35b7084508ac /codecs
parentb44b7dee03a344822fbc38092b5e9dd6d84939bb (diff)
Install libwiretap and libwscodecs headers
Change-Id: Ie7376ac5fd8a950e3c1c744ce4701b14ee1849ea Reviewed-on: https://code.wireshark.org/review/23664 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 'codecs')
-rw-r--r--codecs/CMakeLists.txt10
-rw-r--r--codecs/Makefile.am6
2 files changed, 15 insertions, 1 deletions
diff --git a/codecs/CMakeLists.txt b/codecs/CMakeLists.txt
index 9c47ff69d0..ba2e263505 100644
--- a/codecs/CMakeLists.txt
+++ b/codecs/CMakeLists.txt
@@ -19,6 +19,10 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
+set(WSCODECS_PUBLIC_HEADERS
+ codecs.h
+)
+
set(WSCODECS_FILES
codecs.c
G711a/G711adecode.c
@@ -87,6 +91,12 @@ if(NOT ${ENABLE_STATIC})
RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
+
+ if(NOT WIN32)
+ install(FILES ${WSCODECS_PUBLIC_HEADERS}
+ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${CPACK_PACKAGE_NAME}/codecs"
+ )
+ endif()
endif()
CHECKAPI(
diff --git a/codecs/Makefile.am b/codecs/Makefile.am
index 42aea554e3..3e1620b366 100644
--- a/codecs/Makefile.am
+++ b/codecs/Makefile.am
@@ -56,8 +56,12 @@ libwscodecs_la_LIBADD = $(top_builddir)/wsutil/libwsutil.la $(GLIB_LIBS) \
libwscodecs_la_DEPENDENCIES = $(top_builddir)/wsutil/libwsutil.la
+subpkgincludedir = $(pkgincludedir)/codecs
+
+subpkginclude_HEADERS = \
+ codecs.h
+
noinst_HEADERS = \
- codecs.h \
G711a/G711adecode.h \
G711a/G711atable.h \
G711u/G711udecode.h \