mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
Relocate keventd from src/ to keventd/
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -11,6 +11,11 @@ if DBUS
|
||||
SUBDIRS += libink dbus-1
|
||||
endif
|
||||
SUBDIRS += src system tmpfiles.d
|
||||
|
||||
if KEVENTD
|
||||
SUBDIRS += keventd
|
||||
endif
|
||||
|
||||
dist_doc_DATA = README.md LICENSE contrib/finit.conf
|
||||
|
||||
if CONTRIB
|
||||
|
||||
@@ -18,6 +18,7 @@ AC_CONFIG_FILES([Makefile
|
||||
man/Makefile
|
||||
plugins/Makefile
|
||||
src/Makefile
|
||||
keventd/Makefile
|
||||
system/Makefile system/10-hotplug.conf
|
||||
test/test.env test/Makefile
|
||||
test/lib/Makefile test/src/Makefile
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
.deps/
|
||||
keventd
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -0,0 +1,10 @@
|
||||
AM_CPPFLAGS = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src
|
||||
|
||||
pkglibexec_PROGRAMS = keventd
|
||||
|
||||
keventd_SOURCES = keventd.c keventd.h uevent.c \
|
||||
$(top_srcdir)/src/util.c $(top_srcdir)/src/util.h
|
||||
keventd_CFLAGS = -W -Wall -Wextra -std=gnu99
|
||||
keventd_CFLAGS += $(lite_CFLAGS)
|
||||
keventd_LDADD = $(lite_LIBS)
|
||||
@@ -13,9 +13,6 @@ pkglibexec_PROGRAMS = getty logit runparts tmpfiles
|
||||
if SULOGIN
|
||||
pkglibexec_PROGRAMS += sulogin
|
||||
endif
|
||||
if KEVENTD
|
||||
pkglibexec_PROGRAMS += keventd
|
||||
endif
|
||||
if WATCHDOGD
|
||||
pkglibexec_PROGRAMS += watchdogd
|
||||
endif
|
||||
@@ -30,11 +27,6 @@ getty_CFLAGS = -W -Wall -Wextra -std=gnu99
|
||||
getty_CFLAGS += $(lite_CFLAGS)
|
||||
getty_LDADD = $(lite_LIBS)
|
||||
|
||||
keventd_SOURCES = keventd.c keventd.h uevent.c util.c util.h
|
||||
keventd_CFLAGS = -W -Wall -Wextra -std=gnu99
|
||||
keventd_CFLAGS += $(lite_CFLAGS)
|
||||
keventd_LDADD = $(lite_LIBS)
|
||||
|
||||
runparts_SOURCES = runparts.c
|
||||
runparts_CFLAGS = -W -Wall -Wextra -std=gnu99
|
||||
runparts_CFLAGS += $(lite_CFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user