aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-04 15:37:15 +0100
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-04 15:37:15 +0100
commit5923ad488a1eb3c41e07cf598c1251ce07ea6c04 (patch)
tree90d9fadd7ed812c2402a73546e231a81ea028a10
parentb864c727c835359b4acbcbf05563da84c33380f0 (diff)
Move cron library code to crond
Nothing else uses it. Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
-rw-r--r--crond/Makemodule.am4
-rw-r--r--crond/cronscan.c (renamed from lib/cron/cronscan.c)0
-rw-r--r--crond/crontab.c (renamed from lib/cron/crontab.c)0
-rw-r--r--crond/crontab.h (renamed from lib/include/crontab.h)0
-rw-r--r--crond/delcron.c (renamed from lib/cron/delcron.c)0
-rw-r--r--crond/rdcron.c (renamed from lib/cron/rdcron.c)0
-rw-r--r--lib/Makemodule.am9
7 files changed, 5 insertions, 8 deletions
diff --git a/crond/Makemodule.am b/crond/Makemodule.am
index fb52b9a..b2eb1c7 100644
--- a/crond/Makemodule.am
+++ b/crond/Makemodule.am
@@ -1,9 +1,11 @@
if GCROND
gcrond_SOURCES = crond/main.c crond/gcrond.h crond/runjob.c
+gcrond_SOURCES += crond/rdcron.c crond/delcron.c crond/crontab.c
+gcrond_SOURCES += crond/cronscan.c crond/crontab.h
gcrond_CPPFLAGS = $(AM_CPPFLAGS)
gcrond_CFLAGS = $(AM_CFLAGS)
gcrond_LDFLAGS = $(AM_LDFLAGS)
-gcrond_LDADD = libcron.a libcfg.a libutil.a
+gcrond_LDADD = libcfg.a libutil.a
sbin_PROGRAMS += gcrond
endif
diff --git a/lib/cron/cronscan.c b/crond/cronscan.c
index e28fb03..e28fb03 100644
--- a/lib/cron/cronscan.c
+++ b/crond/cronscan.c
diff --git a/lib/cron/crontab.c b/crond/crontab.c
index f761ec0..f761ec0 100644
--- a/lib/cron/crontab.c
+++ b/crond/crontab.c
diff --git a/lib/include/crontab.h b/crond/crontab.h
index 1ea3883..1ea3883 100644
--- a/lib/include/crontab.h
+++ b/crond/crontab.h
diff --git a/lib/cron/delcron.c b/crond/delcron.c
index 1877db1..1877db1 100644
--- a/lib/cron/delcron.c
+++ b/crond/delcron.c
diff --git a/lib/cron/rdcron.c b/crond/rdcron.c
index 8781a6f..8781a6f 100644
--- a/lib/cron/rdcron.c
+++ b/crond/rdcron.c
diff --git a/lib/Makemodule.am b/lib/Makemodule.am
index 11a96e5..5ce7239 100644
--- a/lib/Makemodule.am
+++ b/lib/Makemodule.am
@@ -17,11 +17,6 @@ libcfg_a_SOURCES += lib/libcfg/pack_argv.c lib/include/libcfg.h
libcfg_a_CPPFLAGS = $(AM_CPPFLAGS)
libcfg_a_CFLAGS = $(AM_CFLAGS)
-libcron_a_SOURCES = lib/cron/rdcron.c lib/cron/delcron.c lib/cron/crontab.c
-libcron_a_SOURCES += lib/cron/cronscan.c lib/include/crontab.h
-libcron_a_CPPFLAGS = $(AM_CPPFLAGS)
-libcron_a_CFLAGS = $(AM_CFLAGS)
+EXTRA_DIST += $(HEADRS) lib/include/libcfg.h
-EXTRA_DIST += $(HEADRS) lib/include/libcfg.h lib/include/crontab.h
-
-noinst_LIBRARIES += libinit.a libcfg.a libcron.a libutil.a
+noinst_LIBRARIES += libinit.a libcfg.a libutil.a