Install the pcuif_proto.h header file

So far, we used to keep a copy of the header file around in
both osmo-pcu and osmo-bts projects.  Before we start introducing
a third copy in openbsc, let's have the osmo-pcu install the header
file and make the other programs use that.

Change-Id: I60976c9be5488256d1ff55fdc5aa548e3705400d
This commit is contained in:
Harald Welte 2016-11-16 22:48:33 +01:00
parent 5d93f0f4ec
commit 68fc12775f
7 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,5 @@
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
SUBDIRS = src examples tests
SUBDIRS = include src examples tests
EXTRA_DIST = osmoappdesc.py

View File

@ -83,6 +83,7 @@ STD_DEFINES_AND_INCLUDES="-Wall"
AC_SUBST(STD_DEFINES_AND_INCLUDES)
AC_OUTPUT(
include/Makefile
src/Makefile
examples/Makefile
tests/Makefile

2
include/Makefile.am Normal file
View File

@ -0,0 +1,2 @@
nobase_include_HEADERS = \
osmocom/pcu/pcuif_proto.h

View File

@ -19,7 +19,7 @@
#
AUTOMAKE_OPTIONS = subdir-objects
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGB_CFLAGS) $(LIBOSMOGSM_CFLAGS)
AM_CPPFLAGS = -I$(top_srcdir)/include $(STD_DEFINES_AND_INCLUDES) $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGB_CFLAGS) $(LIBOSMOGSM_CFLAGS)
if ENABLE_SYSMODSP
AM_CPPFLAGS += -DENABLE_DIRECT_PHY
@ -78,7 +78,6 @@ noinst_HEADERS = \
gprs_rlcmac.h \
gprs_ms.h \
gprs_ms_storage.h \
pcuif_proto.h \
pcu_l1_if.h \
gsm_timer.h \
bitvector.h \
@ -98,6 +97,9 @@ noinst_HEADERS = \
gprs_coding_scheme.h \
egprs_rlc_compression.h
nobase_include_HEADERS =
osmocom/pcu/pcuif_proto.h
osmo_pcu_SOURCES = pcu_main.cpp
if ENABLE_SYSMODSP

View File

@ -35,7 +35,7 @@ extern "C" {
#include <pcu_l1_if.h>
#include <gprs_debug.h>
#include <gprs_bssgp_pcu.h>
#include <pcuif_proto.h>
#include <osmocom/pcu/pcuif_proto.h>
#include <bts.h>
#include <tbf.h>

View File

@ -38,7 +38,7 @@ extern "C" {
#include <pcu_l1_if.h>
#include <gprs_debug.h>
#include <gprs_bssgp_pcu.h>
#include <pcuif_proto.h>
#include <osmocom/pcu/pcuif_proto.h>
#include <bts.h>
#include <tbf.h>