summaryrefslogtreecommitdiff
path: root/server/server.mk
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-11-25 16:45:11 -0500
committerSimo Sorce <idra@samba.org>2008-11-25 19:49:18 -0500
commit6092cf59d7f5d1c0d915c65bde20fdc98f80c950 (patch)
treee3689b6e32d1079e38d00297395be3fbe2291169 /server/server.mk
parentd4b9a588bade582ba2968f270101032a11981e17 (diff)
downloadsssd-6092cf59d7f5d1c0d915c65bde20fdc98f80c950.tar.gz
sssd-6092cf59d7f5d1c0d915c65bde20fdc98f80c950.tar.bz2
sssd-6092cf59d7f5d1c0d915c65bde20fdc98f80c950.zip
Make a binary out of each major sssd component instead of
using the same binary to fork off all services.
Diffstat (limited to 'server/server.mk')
-rw-r--r--server/server.mk37
1 files changed, 21 insertions, 16 deletions
diff --git a/server/server.mk b/server/server.mk
index 65559436..480e58fe 100644
--- a/server/server.mk
+++ b/server/server.mk
@@ -1,31 +1,36 @@
-SERVER_OBJ = \
- server.o \
- monitor.o \
- process.o \
+UTIL_OBJ = \
util/debug.o \
util/signal.o \
- util/become_daemon.o \
+ util/server.o \
util/memory.o \
util/btreemap.o \
util/service_helpers.o \
confdb/confdb.o \
- nss/nsssrv.o \
- nss/nsssrv_packet.o \
- nss/nsssrv_cmd.o \
- nss/nsssrv_ldb.o \
sbus/sssd_dbus_common.o \
sbus/sssd_dbus_connection.o \
- sbus/sssd_dbus_server.o \
+ sbus/sssd_dbus_server.o
+
+SERVER_OBJ = \
+ monitor.o
+
+DP_OBJ = \
providers/data_provider.o
-CLIENT_OBJ = \
- sbus/sssd_dbus_common.o \
- sbus/sssd_dbus_connection.o \
- util/debug.o
+NSSSRV_OBJ = \
+ nss/nsssrv.o \
+ nss/nsssrv_packet.o \
+ nss/nsssrv_cmd.o \
+ nss/nsssrv_ldb.o \
install:: all
${INSTALLCMD} -d $(DESTDIR)$(sbindir)
${INSTALLCMD} -m 755 sssd $(DESTDIR)$(sbindir)
-sbin/sssd: $(SERVER_OBJ)
- $(CC) -o sbin/sssd $(SERVER_OBJ) $(LDFLAGS) $(LIBS)
+sbin/sssd: $(SERVER_OBJ) $(UTIL_OBJ)
+ $(CC) -o sbin/sssd $(SERVER_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
+
+sbin/sssd_nss: $(NSSSRV_OBJ) $(UTIL_OBJ)
+ $(CC) -o sbin/sssd_nss $(NSSSRV_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)
+
+sbin/sssd_dp: $(DP_OBJ) $(UTIL_OBJ)
+ $(CC) -o sbin/sssd_dp $(DP_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)