8a12e2abe5d2ef166b250bee79c5dd070b405e06
[platform/core/system/tlm.git] / src / sessiond / Makefile.am
1 include $(top_srcdir)/common.mk
2
3 SUBDIRS=
4 NULL=
5
6 noinst_LTLIBRARIES = libtlm-session-daemon.la
7
8 libtlm_session_daemon_la_CPPFLAGS = \
9     -I$(top_builddir) \
10     -I$(top_srcdir)/src \
11     -I$(top_srcdir)/include \
12     -I$(top_builddir)/src \
13     -DG_LOG_DOMAIN=\"TLM_SESSIOND\" \
14     $(TLM_CFLAGS)
15
16 libtlm_session_daemon_la_LIBADD =    \
17         $(top_builddir)/src/common/libtlm-common.la \
18         $(top_builddir)/src/common/dbus/libtlm-dbus-glue.la \
19         -lpam -lpam_misc \
20         $(TLM_LIBS)
21
22 libtlm_session_daemon_la_SOURCES = \
23    tlm-auth-session.h \
24    tlm-auth-session.c \
25    tlm-session.h \
26    tlm-session.c \
27    tlm-session-daemon.h \
28    tlm-session-daemon.c
29
30 bin_PROGRAMS = tlm-sessiond
31
32 tlm_sessiond_SOURCES = \
33     main.c \
34     $(NULL)
35
36 tlm_sessiond_CFLAGS = \
37     -I$(top_builddir) \
38     -I$(top_srcdir)/include/ \
39     -I$(top_srcdir)/src/ \
40     $(TLM_CFLAGS) \
41     -DG_LOG_DOMAIN=\"TLM_SESSIOND\" \
42     $(NULL)
43
44 # To apply Armoring(Full RELRO), where GOT Table becomes read-only.
45 tlm_sessiond_LDFLAGS = \
46     -Wl,-z,relro,-z,now \
47     $(NULL)
48
49 tlm_sessiond_LDADD = \
50     libtlm-session-daemon.la \
51     $(TLM_LIBS) \
52     $(NULL)