aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-06-30 15:22:57 -0700
committerHarald Welte <laforge@gnumonks.org>2012-07-01 07:40:35 +0200
commit51f7940d1f4ebefef34dc5d7ad70e61eec62c3cd (patch)
tree378312b9a48532ad988a2cc9d051275aa7df26d9
parent62f0e0612a0b63092b91a3c1e6588abcf8a7ff0a (diff)
build: use nobase_include_HEADERS instead of using recursive Makefiles
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@flameeyes.eu>
-rw-r--r--configure.ac3
-rw-r--r--include/Makefile.am5
-rw-r--r--include/osmocom/Makefile.am1
-rw-r--r--include/osmocom/abis/Makefile.am10
-rw-r--r--include/osmocom/trau/Makefile.am3
5 files changed, 4 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac
index 5be721f3..f1da635d 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 ea38eec8..61e6cf5e 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 a8574ba7..00000000
--- 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 5d47363c..00000000
--- 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 d796c7cd..00000000
--- a/include/osmocom/trau/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-osmotrau_HEADERS = osmo_ortp.h
-
-osmotraudir = $(includedir)/osmocom/trau