Update changelog for release
[platform/core/appfw/notification-service.git] / Makefile.am
1 bin_PROGRAMS = notification-service sample-display-client send-notification bluetooth_notification_client
2
3 AM_CFLAGS = $(GCC_CFLAGS)
4 AM_CPPFLAGS = $(GCC_CFLAGS)
5
6 notification_service_SOURCES = \
7     main.c \
8     notification_service.c \
9     service_common.c
10 notification_service_CFLAGS = -I. $(TIZEN_CFLAGS)
11 notification_service_LDADD = $(TIZEN_LIBS)
12
13 send_notification_SOURCES = send_notification.c
14 send_notification_CFLAGS = -I. $(TIZEN_CFLAGS)
15 send_notification_LDADD = $(TIZEN_LIBS)
16
17 sample_display_client_SOURCES = sample_display_client.c
18 sample_display_client_CFLAGS = -I. $(TIZEN_CFLAGS)
19 sample_display_client_LDADD = $(TIZEN_LIBS)
20
21 bluetooth_notification_client_SOURCES = bluetooth_notification_client.c
22 bluetooth_notification_client_CFLAGS = -I. $(TIZEN_CFLAGS)
23 bluetooth_notification_client_LDADD = $(TIZEN_LIBS)
24
25 SCRIPT_IN_FILES = \
26      notifications.service.in \
27      notifications.socket.in
28
29 install-data-hook:
30         $(mkinstalldirs) $(DESTDIR)/usr/lib/systemd/system/sockets.target.wants
31         install -m 0644 notifications.service $(DESTDIR)/usr/lib/systemd/system/notifications.service
32         install -m 0644 notifications.socket $(DESTDIR)/usr/lib/systemd/system/notifications.socket
33         ln -fs ../notifications.socket $(DESTDIR)/usr/lib/systemd/system/sockets.target.wants/notifications.socket
34