+include ../build.mk
.PHONY: all
-all: control.so control-lite.so
+all: control.so control_commands.so control_management.so
control-lite.so: control-lite.o
- ld -shared -Bdynamic -o $@ $^
-control.so: control.o
- ld -shared -Bdynamic -o $@ $^
+control.so: control.o control_db.o control_policy.o
+
+control_commands.so: control_commands.o
+
+control_management.so: control_management.o