Commit Graph

15 Commits

Author SHA1 Message Date
Neels Hofmeyr a44cb48c46 configure: check for pkg-config presence
Change-Id: I940558e1b53b0d42291077eba0568f9974df6957
2016-10-01 01:05:34 +02:00
Neels Hofmeyr 08d5c8cea9 build: be robust against install-sh files above the root dir
Explicitly set AC_CONFIG_AUX_DIR.

To reproduce the error avoided by this patch:

  rm install-sh        # in case it was already generated.
  touch ../install-sh  # yes, outside this source tree
  autoreconf -fi

This will produce an error like

  ...
  configure.ac:16: error: required file '../ltmain.sh' not found
  configure.ac:5: installing '../missing'
  src/Makefile.am: installing '../depcomp'
  autoreconf: automake failed with exit status: 1

See also automake (vim `which automake`) and look for 'sub locate_aux_dir'.

Change-Id: I5aad87b7d4c043f890f4ae2bc5d68cbad6d2c5c7
2016-10-01 01:05:34 +02:00
Neels Hofmeyr c636cab20f build: remove subdir-objects from configure.ac, it is broken
This is a known autoconf bug, it creates odd directories named literally
'$(top_srcdir)', potentially messing up dependency checking.

Change-Id: Ia47b038d4ca4f6c345711fb17d074f71c80e4453
2016-09-09 06:43:31 +00:00
Neels Hofmeyr e7d6476825 build: use tar-ustar to allow paths longer than 99
Needed to fix these errors:

  tar: osmo-iuh-UNKNOWN-dirty/include/osmocom/ranap/RANAP_SourceeNodeB-ToTargeteNodeB-TransparentContainer.h: file name is too long (max 99); not dumped
  tar: osmo-iuh-UNKNOWN-dirty/include/osmocom/ranap/RANAP_LocationRelatedDataRequestTypeSpecificToGERANIuMode.h: file name is too long (max 99); not dumped
  tar: osmo-iuh-UNKNOWN-dirty/include/osmocom/ranap/RANAP_TargeteNodeB-ToSourceeNodeB-TransparentContainer.h: file name is too long (max 99); not dumped
  tar: osmo-iuh-UNKNOWN-dirty/include/osmocom/ranap/RANAP_Requested-RAB-Parameter-ExtendedGuaranteedBitrateList.h: file name is too long (max 99); not dumped

Change-Id: Id41bca92810a81ac50697c0230a6caef490b0ffd
2016-09-09 06:43:30 +00:00
Neels Hofmeyr 01c71fc2dd add doc/examples, Makefile.am adds all *.cfg files generically
doc/examples/Makefile.am taken from openbsc/openbsc/doc/examples.

Change-Id: I1fadad4deb7f73d2b3aa753a84a76ba5b9bf9574
2016-08-18 16:16:08 +02:00
Neels Hofmeyr 4d91ab277b add to dist: doc subdir with all current doc files
Change-Id: Idfef4f050e21a5d0eae3a530fe319a5adf81534d
2016-08-18 16:14:40 +02:00
Neels Hofmeyr 926153b9af hnbgw vty: add empty hnbgw and hnbgw/iuh vty nodes
Add include/osmocom/iuh/ named after this project (osmo-iuh), and add vty.h to
define VTY node enum values. Also add (to) Makefile.am and configure.ac to
include in the build.

An upcoming commit will add the actual first config item to the hnbgw/iuh node.

Change-Id: I71545823d3bd81cb888c85df8e298a56c98bf131
2016-08-18 03:21:22 +02:00
Neels Hofmeyr f1f2d7ca19 Remove osmo-iuh subdir level from include/ (2/2)
Make all changes to #include statements and build files.
2016-01-05 12:00:06 +01:00
Neels Hofmeyr c04a96c476 move asn1 headers to include/ dir (5/5)
Do all remaining changes necessary for a working build.

Add Makefile.am files in include/... subdirs.

Remove noinst_HEADERS directives from src/*/Makefile.am, but keep the headers
list to feed to move-asn1-header-files.sh.

Adjust all #includes in src/*_common.h and elsewhere. In hnbap_common.h,
separate the ASN.1 "primitive" headers from the others, and include them
without a subdir path, as before.
2016-01-04 18:11:19 +01:00
Harald Welte 216ac210bf add pkg-config file for libosmo-ranap 2016-01-03 18:12:22 +01:00
Harald Welte 3761ef4790 add git-version-gen to auto-generate git based version number 2016-01-03 18:08:05 +01:00
Harald Welte 0322feb68c Introduce libosmo-ranap.so as shared RANAP lib
This shared RANAP library will be used not only by hnbgw, but also by
OsmoCSCN, OsmoSGSN.
2016-01-03 15:39:11 +01:00
Alexander Huemer ef8934612c fix build if depenedencies are in distinct directories 2015-12-24 16:15:17 +01:00
Harald Welte 75a4e65f52 hnbgw: Add SUA client socket towards localhost
This socket doesn't do much yet except to connect to localhost:14001

The host/port needs to be made configurable, and the RUA<->SUA
interfacing needs to be implemented.

Also, we'll need two SUA sockets, one for MSC and one for SGSN.
2015-12-23 00:04:05 +01:00
Daniel Willmann 29b9e00355 Autotoolize the build
Use Autoconf/make for building and autotest for tests
2015-12-15 15:10:31 +01:00