summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-07 00:04:01 +0300
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-31 12:20:59 +0100
commitf8d91a07b45a618fd25c9d6edcf28218642044c9 (patch)
tree16fa862dd5e469580abf7de235c24432e1827b9f
parent4ffd6f20a9b7604308506d9e04ef1bb2e41cd282 (diff)
osmo-gapk: use more convenient name for the source file
Since GAPK package contains a library and the representative osmo-gapk application, the 'main.c' looks a bit confusing. Let's use the common naming scheme.
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am2
-rw-r--r--src/app_osmo_gapk.c (renamed from src/main.c)0
3 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 35b08f1..fdbc787 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,7 @@ LT_INIT([disable-static])
# kernel style compile messages
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-AC_CONFIG_SRCDIR([src/main.c])
+AC_CONFIG_SRCDIR([src/app_osmo_gapk.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_FILES([
diff --git a/src/Makefile.am b/src/Makefile.am
index 5dd75ff..2c52ec1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -80,7 +80,7 @@ libosmogapk_la_SOURCES += \
bin_PROGRAMS = osmo-gapk
osmo_gapk_SOURCES = \
- main.c \
+ app_osmo_gapk.c \
$(NULL)
osmo_gapk_LDFLAGS = \
diff --git a/src/main.c b/src/app_osmo_gapk.c
index 90779af..90779af 100644
--- a/src/main.c
+++ b/src/app_osmo_gapk.c