aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am7
-rw-r--r--configure.in19
-rw-r--r--include/Makefile.am1
-rw-r--r--include/openbsc/Makefile.am2
-rw-r--r--src/Makefile.am7
5 files changed, 36 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 00000000..b3a37eeb
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,7 @@
+AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
+
+INCLUDES = $(all_includes) -I$(top_srcdir)/include
+SUBDIRS = include src
+
+#dist-hook:
+# rm -rf `find $(distdir) -name .svn`
diff --git a/configure.in b/configure.in
new file mode 100644
index 00000000..1c4070cc
--- /dev/null
+++ b/configure.in
@@ -0,0 +1,19 @@
+dnl Process this file with autoconf to produce a configure script
+AC_INIT
+
+AM_INIT_AUTOMAKE(openbsc, 0.0alpha1)
+
+dnl checks for programs
+AC_PROG_MAKE_SET
+AC_PROG_CC
+AC_PROG_INSTALL
+
+dnl checks for libraries
+
+dnl checks for header files
+AC_HEADER_STDC
+AC_CHECK_HEADERS(mISDNif.h)
+
+dnl Checks for typedefs, structures and compiler characteristics
+
+AC_OUTPUT(include/openbsc/Makefile include/Makefile src/Makefile Makefile)
diff --git a/include/Makefile.am b/include/Makefile.am
new file mode 100644
index 00000000..f5c6487b
--- /dev/null
+++ b/include/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = openbsc
diff --git a/include/openbsc/Makefile.am b/include/openbsc/Makefile.am
new file mode 100644
index 00000000..73e93309
--- /dev/null
+++ b/include/openbsc/Makefile.am
@@ -0,0 +1,2 @@
+noinst_HEADERS = abis_nm.h abis_rsl.h debug.h gsm_04_08.h gsm_data.h \
+ gsm_subscriber.h linuxlist.h msgb.h select.h tlv.h
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 00000000..00657195
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,7 @@
+INCLUDES = $(all_includes) -I$(top_srcdir)/include
+AM_CFLAGS=-Wall
+
+sbin_PROGRAMS = bsc_hack
+
+bsc_hack_SOURCES = bsc_hack.c misdn.c abis_rsl.c abis_nm.c gsm_04_08.c gsm_data.c \
+ gsm_subscriber.c msgb.c select.c