summaryrefslogtreecommitdiff
path: root/server/server.mk
diff options
context:
space:
mode:
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)