Change in osmo-sysmon[master]: Move source code to src subdir

2018-12-13 Thread Harald Welte
Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/12284 )

Change subject: Move source code to src subdir
..

Move source code to src subdir

Change-Id: I1aa2893e2b274f8d087a0d2f126486cd4afcbdfe
---
M Makefile.am
M configure.ac
A src/Makefile.am
R src/osmo-ctrl-client.c
R src/osysmon.h
R src/osysmon_ctrl.c
R src/osysmon_file.c
R src/osysmon_main.c
R src/osysmon_rtnl.c
R src/osysmon_sysinfo.c
R src/simple_ctrl.c
R src/simple_ctrl.h
R src/value_node.c
R src/value_node.h
14 files changed, 56 insertions(+), 56 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Max: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved



diff --git a/Makefile.am b/Makefile.am
index cdf67bf..a838715 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,58 +1,3 @@
-SUBDIRS = doc
+SUBDIRS = doc src

 ACLOCAL_AMFLAGS = -I m4
-
-AM_CPPFLAGS = \
-   $(all_includes) \
-   -I$(top_srcdir) \
-   $(NULL)
-
-AM_CFLAGS = \
-   -Wall \
-   $(LIBOSMOCORE_CFLAGS) \
-   $(LIBOSMOGSM_CFLAGS) \
-   $(LIBOSMOVTY_CFLAGS) \
-   $(LIBMNL_CFLAGS) \
-   $(NULL)
-
-AM_LDFLAGS = \
-   $(COVERAGE_LDFLAGS) \
-   $(NULL)
-
-bin_PROGRAMS = \
-   osmo-sysmon \
-   osmo-ctrl-client \
-   $(NULL)
-
-osmo_sysmon_LDADD = \
-   $(LIBOSMOCORE_LIBS) \
-   $(LIBOSMOGSM_LIBS) \
-   $(LIBOSMOVTY_LIBS) \
-   $(LIBMNL_LIBS) \
-   $(NULL)
-
-osmo_sysmon_SOURCES = \
-   value_node.c \
-   simple_ctrl.c \
-   osysmon_ctrl.c \
-   osysmon_sysinfo.c \
-   osysmon_rtnl.c \
-   osysmon_file.c \
-   osysmon_main.c \
-   $(NULL)
-
-osmo_ctrl_client_LDADD = \
-   $(LIBOSMOCORE_LIBS) \
-   $(LIBOSMOGSM_LIBS) \
-   $(NULL)
-
-osmo_ctrl_client_SOURCES = \
-   simple_ctrl.c \
-   osmo-ctrl-client.c \
-   $(NULL)
-
-noinst_HEADERS = \
-   osysmon.h \
-   simple_ctrl.h \
-   value_node.h \
-   $(NULL)
diff --git a/configure.ac b/configure.ac
index 13082b7..734ac99 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,4 +129,5 @@
 AC_OUTPUT(
 doc/Makefile
 doc/examples/Makefile
+src/Makefile
 Makefile)
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 000..9ad5947
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,54 @@
+AM_CPPFLAGS = \
+   $(all_includes) \
+   -I$(top_srcdir) \
+   $(NULL)
+
+AM_CFLAGS = \
+   -Wall \
+   $(LIBOSMOCORE_CFLAGS) \
+   $(LIBOSMOGSM_CFLAGS) \
+   $(LIBOSMOVTY_CFLAGS) \
+   $(LIBMNL_CFLAGS) \
+   $(NULL)
+
+AM_LDFLAGS = \
+   $(COVERAGE_LDFLAGS) \
+   $(NULL)
+
+bin_PROGRAMS = \
+   osmo-sysmon \
+   osmo-ctrl-client \
+   $(NULL)
+
+osmo_sysmon_LDADD = \
+   $(LIBOSMOCORE_LIBS) \
+   $(LIBOSMOGSM_LIBS) \
+   $(LIBOSMOVTY_LIBS) \
+   $(LIBMNL_LIBS) \
+   $(NULL)
+
+osmo_sysmon_SOURCES = \
+   value_node.c \
+   simple_ctrl.c \
+   osysmon_ctrl.c \
+   osysmon_sysinfo.c \
+   osysmon_rtnl.c \
+   osysmon_file.c \
+   osysmon_main.c \
+   $(NULL)
+
+osmo_ctrl_client_LDADD = \
+   $(LIBOSMOCORE_LIBS) \
+   $(LIBOSMOGSM_LIBS) \
+   $(NULL)
+
+osmo_ctrl_client_SOURCES = \
+   simple_ctrl.c \
+   osmo-ctrl-client.c \
+   $(NULL)
+
+noinst_HEADERS = \
+   osysmon.h \
+   simple_ctrl.h \
+   value_node.h \
+   $(NULL)
diff --git a/osmo-ctrl-client.c b/src/osmo-ctrl-client.c
similarity index 100%
rename from osmo-ctrl-client.c
rename to src/osmo-ctrl-client.c
diff --git a/osysmon.h b/src/osysmon.h
similarity index 100%
rename from osysmon.h
rename to src/osysmon.h
diff --git a/osysmon_ctrl.c b/src/osysmon_ctrl.c
similarity index 100%
rename from osysmon_ctrl.c
rename to src/osysmon_ctrl.c
diff --git a/osysmon_file.c b/src/osysmon_file.c
similarity index 100%
rename from osysmon_file.c
rename to src/osysmon_file.c
diff --git a/osysmon_main.c b/src/osysmon_main.c
similarity index 100%
rename from osysmon_main.c
rename to src/osysmon_main.c
diff --git a/osysmon_rtnl.c b/src/osysmon_rtnl.c
similarity index 100%
rename from osysmon_rtnl.c
rename to src/osysmon_rtnl.c
diff --git a/osysmon_sysinfo.c b/src/osysmon_sysinfo.c
similarity index 100%
rename from osysmon_sysinfo.c
rename to src/osysmon_sysinfo.c
diff --git a/simple_ctrl.c b/src/simple_ctrl.c
similarity index 100%
rename from simple_ctrl.c
rename to src/simple_ctrl.c
diff --git a/simple_ctrl.h b/src/simple_ctrl.h
similarity index 100%
rename from simple_ctrl.h
rename to src/simple_ctrl.h
diff --git a/value_node.c b/src/value_node.c
similarity index 100%
rename from value_node.c
rename to src/value_node.c
diff --git a/value_node.h b/src/value_node.h
similarity index 100%
rename from value_node.h
rename to src/value_node.h

--
To view, visit https://gerrit.osmocom.org/12284
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.o

Change in osmo-sysmon[master]: Move source code to src subdir

2018-12-13 Thread Harald Welte
Harald Welte has posted comments on this change. ( 
https://gerrit.osmocom.org/12284 )

Change subject: Move source code to src subdir
..


Patch Set 1: Code-Review+2


--
To view, visit https://gerrit.osmocom.org/12284
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sysmon
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1aa2893e2b274f8d087a0d2f126486cd4afcbdfe
Gerrit-Change-Number: 12284
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Jenkins Builder (102)
Gerrit-Reviewer: Max 
Gerrit-Comment-Date: Thu, 13 Dec 2018 13:41:42 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-sysmon[master]: Move source code to src subdir

2018-12-13 Thread Max
Max has posted comments on this change. ( https://gerrit.osmocom.org/12284 )

Change subject: Move source code to src subdir
..


Patch Set 1: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/12284
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sysmon
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1aa2893e2b274f8d087a0d2f126486cd4afcbdfe
Gerrit-Change-Number: 12284
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Jenkins Builder (102)
Gerrit-Reviewer: Max 
Gerrit-Comment-Date: Thu, 13 Dec 2018 11:07:51 +
Gerrit-HasComments: No
Gerrit-HasLabels: Yes


Change in osmo-sysmon[master]: Move source code to src subdir

2018-12-12 Thread Pau Espin Pedrol
Pau Espin Pedrol has uploaded this change for review. ( 
https://gerrit.osmocom.org/12284


Change subject: Move source code to src subdir
..

Move source code to src subdir

Change-Id: I1aa2893e2b274f8d087a0d2f126486cd4afcbdfe
---
M Makefile.am
M configure.ac
A src/Makefile.am
R src/osmo-ctrl-client.c
R src/osysmon.h
R src/osysmon_ctrl.c
R src/osysmon_file.c
R src/osysmon_main.c
R src/osysmon_rtnl.c
R src/osysmon_sysinfo.c
R src/simple_ctrl.c
R src/simple_ctrl.h
R src/value_node.c
R src/value_node.h
14 files changed, 56 insertions(+), 56 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sysmon refs/changes/84/12284/1

diff --git a/Makefile.am b/Makefile.am
index cdf67bf..a838715 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,58 +1,3 @@
-SUBDIRS = doc
+SUBDIRS = doc src

 ACLOCAL_AMFLAGS = -I m4
-
-AM_CPPFLAGS = \
-   $(all_includes) \
-   -I$(top_srcdir) \
-   $(NULL)
-
-AM_CFLAGS = \
-   -Wall \
-   $(LIBOSMOCORE_CFLAGS) \
-   $(LIBOSMOGSM_CFLAGS) \
-   $(LIBOSMOVTY_CFLAGS) \
-   $(LIBMNL_CFLAGS) \
-   $(NULL)
-
-AM_LDFLAGS = \
-   $(COVERAGE_LDFLAGS) \
-   $(NULL)
-
-bin_PROGRAMS = \
-   osmo-sysmon \
-   osmo-ctrl-client \
-   $(NULL)
-
-osmo_sysmon_LDADD = \
-   $(LIBOSMOCORE_LIBS) \
-   $(LIBOSMOGSM_LIBS) \
-   $(LIBOSMOVTY_LIBS) \
-   $(LIBMNL_LIBS) \
-   $(NULL)
-
-osmo_sysmon_SOURCES = \
-   value_node.c \
-   simple_ctrl.c \
-   osysmon_ctrl.c \
-   osysmon_sysinfo.c \
-   osysmon_rtnl.c \
-   osysmon_file.c \
-   osysmon_main.c \
-   $(NULL)
-
-osmo_ctrl_client_LDADD = \
-   $(LIBOSMOCORE_LIBS) \
-   $(LIBOSMOGSM_LIBS) \
-   $(NULL)
-
-osmo_ctrl_client_SOURCES = \
-   simple_ctrl.c \
-   osmo-ctrl-client.c \
-   $(NULL)
-
-noinst_HEADERS = \
-   osysmon.h \
-   simple_ctrl.h \
-   value_node.h \
-   $(NULL)
diff --git a/configure.ac b/configure.ac
index 13082b7..734ac99 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,4 +129,5 @@
 AC_OUTPUT(
 doc/Makefile
 doc/examples/Makefile
+src/Makefile
 Makefile)
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 000..9ad5947
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,54 @@
+AM_CPPFLAGS = \
+   $(all_includes) \
+   -I$(top_srcdir) \
+   $(NULL)
+
+AM_CFLAGS = \
+   -Wall \
+   $(LIBOSMOCORE_CFLAGS) \
+   $(LIBOSMOGSM_CFLAGS) \
+   $(LIBOSMOVTY_CFLAGS) \
+   $(LIBMNL_CFLAGS) \
+   $(NULL)
+
+AM_LDFLAGS = \
+   $(COVERAGE_LDFLAGS) \
+   $(NULL)
+
+bin_PROGRAMS = \
+   osmo-sysmon \
+   osmo-ctrl-client \
+   $(NULL)
+
+osmo_sysmon_LDADD = \
+   $(LIBOSMOCORE_LIBS) \
+   $(LIBOSMOGSM_LIBS) \
+   $(LIBOSMOVTY_LIBS) \
+   $(LIBMNL_LIBS) \
+   $(NULL)
+
+osmo_sysmon_SOURCES = \
+   value_node.c \
+   simple_ctrl.c \
+   osysmon_ctrl.c \
+   osysmon_sysinfo.c \
+   osysmon_rtnl.c \
+   osysmon_file.c \
+   osysmon_main.c \
+   $(NULL)
+
+osmo_ctrl_client_LDADD = \
+   $(LIBOSMOCORE_LIBS) \
+   $(LIBOSMOGSM_LIBS) \
+   $(NULL)
+
+osmo_ctrl_client_SOURCES = \
+   simple_ctrl.c \
+   osmo-ctrl-client.c \
+   $(NULL)
+
+noinst_HEADERS = \
+   osysmon.h \
+   simple_ctrl.h \
+   value_node.h \
+   $(NULL)
diff --git a/osmo-ctrl-client.c b/src/osmo-ctrl-client.c
similarity index 100%
rename from osmo-ctrl-client.c
rename to src/osmo-ctrl-client.c
diff --git a/osysmon.h b/src/osysmon.h
similarity index 100%
rename from osysmon.h
rename to src/osysmon.h
diff --git a/osysmon_ctrl.c b/src/osysmon_ctrl.c
similarity index 100%
rename from osysmon_ctrl.c
rename to src/osysmon_ctrl.c
diff --git a/osysmon_file.c b/src/osysmon_file.c
similarity index 100%
rename from osysmon_file.c
rename to src/osysmon_file.c
diff --git a/osysmon_main.c b/src/osysmon_main.c
similarity index 100%
rename from osysmon_main.c
rename to src/osysmon_main.c
diff --git a/osysmon_rtnl.c b/src/osysmon_rtnl.c
similarity index 100%
rename from osysmon_rtnl.c
rename to src/osysmon_rtnl.c
diff --git a/osysmon_sysinfo.c b/src/osysmon_sysinfo.c
similarity index 100%
rename from osysmon_sysinfo.c
rename to src/osysmon_sysinfo.c
diff --git a/simple_ctrl.c b/src/simple_ctrl.c
similarity index 100%
rename from simple_ctrl.c
rename to src/simple_ctrl.c
diff --git a/simple_ctrl.h b/src/simple_ctrl.h
similarity index 100%
rename from simple_ctrl.h
rename to src/simple_ctrl.h
diff --git a/value_node.c b/src/value_node.c
similarity index 100%
rename from value_node.c
rename to src/value_node.c
diff --git a/value_node.h b/src/value_node.h
similarity index 100%
rename from value_node.h
rename to src/value_node.h

--
To view, visit https://gerrit.osmocom.org/12284
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sysmon
Gerrit-Branch: