[libosmo-abis PATCH 2/7] build: use nobase_include_HEADERS instead of using recursive Makefiles

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Diego Elio Pettenò flameeyes at flameeyes.eu
Sat Jun 30 22:22:57 UTC 2012


This simplifies installation of include files, as make no longer have
to recurse into subdirectories and install each subset of files in
different directories.

Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
---
 configure.ac                     |    3 ---
 include/Makefile.am              |    5 ++++-
 include/osmocom/Makefile.am      |    1 -
 include/osmocom/abis/Makefile.am |   10 ----------
 include/osmocom/trau/Makefile.am |    3 ---
 5 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 include/osmocom/Makefile.am
 delete mode 100644 include/osmocom/abis/Makefile.am
 delete mode 100644 include/osmocom/trau/Makefile.am

diff --git a/configure.ac b/configure.ac
index 5be721f..f1da635 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,9 +44,6 @@ AC_OUTPUT(
 	libosmoabis.pc
 	libosmotrau.pc
 	include/Makefile
-	include/osmocom/Makefile
-	include/osmocom/abis/Makefile
-	include/osmocom/trau/Makefile
 	src/Makefile
 	src/input/Makefile
 	src/trau/Makefile
diff --git a/include/Makefile.am b/include/Makefile.am
index ea38eec..61e6cf5 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,3 +1,6 @@
 noinst_HEADERS=mISDNif.h internal.h
 
-SUBDIRS=osmocom
+nobase_include_HEADERS = osmocom/abis/ipa.h osmocom/abis/trau_frame.h	\
+ osmocom/abis/ipa_proxy.h osmocom/abis/ipaccess.h osmocom/abis/abis.h	\
+ osmocom/abis/subchan_demux.h osmocom/abis/e1_input.h			\
+ osmocom/abis/lapd.h osmocom/trau/osmo_ortp.h
diff --git a/include/osmocom/Makefile.am b/include/osmocom/Makefile.am
deleted file mode 100644
index a8574ba..0000000
--- a/include/osmocom/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-SUBDIRS=abis trau
diff --git a/include/osmocom/abis/Makefile.am b/include/osmocom/abis/Makefile.am
deleted file mode 100644
index 5d47363..0000000
--- a/include/osmocom/abis/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-osmoabis_HEADERS = abis.h		\
-		   e1_input.h		\
-		   lapd.h		\
-		   subchan_demux.h	\
-		   ipa.h		\
-		   ipa_proxy.h		\
-		   ipaccess.h		\
-		   trau_frame.h
-
-osmoabisdir = $(includedir)/osmocom/abis
diff --git a/include/osmocom/trau/Makefile.am b/include/osmocom/trau/Makefile.am
deleted file mode 100644
index d796c7c..0000000
--- a/include/osmocom/trau/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-osmotrau_HEADERS = osmo_ortp.h
-
-osmotraudir = $(includedir)/osmocom/trau
-- 
1.7.8.6





More information about the OpenBSC mailing list