1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-12-22 15:20:49 +01:00

Move cron library code to crond

Nothing else uses it.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-11-04 15:37:15 +01:00
parent b864c727c8
commit 5923ad488a
7 changed files with 5 additions and 8 deletions

View file

@ -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

View file

@ -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