mirror of
https://github.com/pygos/init.git
synced 2024-11-16 16:57:09 +01:00
24c90b7700
- Do a getline() & process in rdline instead of doing a read per character and feeding it through a state machine. - Move splitkv to rdcfg.c, the only place where it is used Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
23 lines
1 KiB
Text
23 lines
1 KiB
Text
HEADRS = lib/include/util.h lib/include/service.h lib/include/telinit.h
|
|
|
|
libinit_a_SOURCES = lib/util/delsvc.c lib/util/svcmap.c lib/util/enum_by_name.c
|
|
libinit_a_SOURCES += lib/util/rdsvc.c lib/util/svcscan.c lib/util/mksock.c
|
|
libinit_a_SOURCES += lib/util/del_svc_list.c lib/util/svc_tsort.c
|
|
libinit_a_SOURCES += lib/util/opensock.c lib/util/enum_to_name.c
|
|
libinit_a_SOURCES += lib/util/print_version.c lib/util/argv_exec.c $(HEADRS)
|
|
libinit_a_CPPFLAGS = $(AM_CPPFLAGS)
|
|
libinit_a_CFLAGS = $(AM_CFLAGS)
|
|
|
|
libcfg_a_SOURCES = lib/libcfg/rdline.c lib/libcfg/unescape.c lib/libcfg/rdcfg.c
|
|
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 lib/include/crontab.h
|
|
|
|
noinst_LIBRARIES += libinit.a libcfg.a libcron.a
|