Fix the issue that changed callback is not working
[platform/core/appfw/notification-service.git] / Makefile.am
1 SUBDIRS = plugins
2 moduledir = $(libdir)/notification-service/plugins
3
4 bin_PROGRAMS = notification-service notification-display-service sample-display-client send-notification bluetooth_notification_client
5
6 AM_CFLAGS = $(GCC_CFLAGS)
7 AM_CPPFLAGS = $(GCC_CFLAGS) -DPLUGINSDIR='"$(moduledir)"'
8
9 notification_service_SOURCES = \
10     main.c \
11     notification_service.c \
12     service_common.c
13 notification_service_CFLAGS = -I. $(TIZEN_CFLAGS)
14 notification_service_LDADD = $(TIZEN_LIBS)
15
16 notification_display_service_SOURCES = notification_display_service.c
17 notification_display_service_CFLAGS = -I. $(TIZEN_CFLAGS)
18 notification_display_service_LDADD = $(TIZEN_LIBS) $(DLOPEN_LIBS)
19
20 send_notification_SOURCES = send_notification.c
21 send_notification_CFLAGS = -I. $(TIZEN_CFLAGS)
22 send_notification_LDADD = $(TIZEN_LIBS)
23
24 sample_display_client_SOURCES = sample_display_client.c
25 sample_display_client_CFLAGS = -I. $(TIZEN_CFLAGS)
26 sample_display_client_LDADD = $(TIZEN_LIBS)
27
28 bluetooth_notification_client_SOURCES = bluetooth_notification_client.c
29 bluetooth_notification_client_CFLAGS = -I. $(TIZEN_CFLAGS)
30 bluetooth_notification_client_LDADD = $(TIZEN_LIBS)
31
32 SCRIPT_IN_FILES = \
33      notifications.service.in \
34      notifications-display-ivi.service.in \
35      notifications-display-x11.service.in \
36      notifications-display-wayland.service.in
37
38 install-data-hook:
39         $(mkinstalldirs) $(DESTDIR)/usr/lib/systemd/system/
40         install -m 0644 notifications.service $(DESTDIR)/usr/lib/systemd/system/notifications.service