Refactor main() into more functions and convert #ifdef hell into plugins.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2012-09-21 03:32:07 +02:00
1 parent 239772d667
commit 5dda9051ac
14 files changed
+690 -263

No files matched your search

+2 -1
View File
@@ -2,7 +2,8 @@
CFLAGS = -fPIC -g -Os -I..
CPPFLAGS = -W -Wall
LDFLAGS = -shared
PLUGINS = foo.so
PLUGINS = alsa-utils.so bootmisc.so dbus.so hwclock.so resolvconf.so \
urandom.so x11-common.so
DEPS = $(addprefix .,$(PLUGINS:.so=.d))
include ../common.mk