summaryrefslogtreecommitdiffstats
path: root/server/server.mk
blob: 1196cc564d3e83be670caa827c6eb5b7e489304a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SERVER_OBJ = \
    server.o \
    monitor.o \
    process.o \
    util/debug.o \
    util/signal.o \
    util/become_daemon.o \
    util/memory.o \
    util/btreemap.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 \
	providers/data_provider.o

CLIENT_OBJ = \
    sbus/sssd_dbus_common.o \
    sbus/sssd_dbus_connection.o \
    util/debug.o \
    sbus/tests/test_client.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-dbus-client: $(CLIENT_OBJ)
	$(CC) -o sbin/sssd-dbus-client $(CLIENT_OBJ) $(LDFLAGS) $(LIBS)