X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.am;h=e54f3de748e6d0d7d89ba1998d6ba0edfbe25f50;hb=6b6b7c8be462f3cd1aa206f62656b048f112b0d9;hp=c0b4bbcbe6944b80697cb9b63347a58e2ec3b6b7;hpb=486c47c93c826fea4fb79f3aefbc942aafd738d7;p=platform%2Fcore%2Fappfw%2Fnotification-service.git diff --git a/Makefile.am b/Makefile.am index c0b4bbc..e54f3de 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,12 @@ -bin_PROGRAMS = notification-service +bin_PROGRAMS = notification-service sample-display-client send-notification bluetooth_notification_client AM_CFLAGS = $(GCC_CFLAGS) AM_CPPFLAGS = $(GCC_CFLAGS) +if HAVE_WAYLAND +AM_CPPFLAGS += -DHAVE_WAYLAND +endif + notification_service_SOURCES = \ main.c \ notification_service.c \ @@ -10,13 +14,21 @@ notification_service_SOURCES = \ notification_service_CFLAGS = -I. $(TIZEN_CFLAGS) notification_service_LDADD = $(TIZEN_LIBS) +send_notification_SOURCES = send_notification.c +send_notification_CFLAGS = -I. $(TIZEN_CFLAGS) +send_notification_LDADD = $(TIZEN_LIBS) + +sample_display_client_SOURCES = sample_display_client.c +sample_display_client_CFLAGS = -I. $(TIZEN_CFLAGS) +sample_display_client_LDADD = $(TIZEN_LIBS) + +bluetooth_notification_client_SOURCES = bluetooth_notification_client.c +bluetooth_notification_client_CFLAGS = -I. $(TIZEN_CFLAGS) +bluetooth_notification_client_LDADD = $(TIZEN_LIBS) + SCRIPT_IN_FILES = \ - notifications.service.in \ - notifications.socket.in + notifications.service.in install-data-hook: - $(mkinstalldirs) $(DESTDIR)/usr/lib/systemd/system/sockets.target.wants + $(mkinstalldirs) $(DESTDIR)/usr/lib/systemd/system/ install -m 0644 notifications.service $(DESTDIR)/usr/lib/systemd/system/notifications.service - install -m 0644 notifications.socket $(DESTDIR)/usr/lib/systemd/system/notifications.socket - ln -fs ../notifications.socket $(DESTDIR)/usr/lib/systemd/system/sockets.target.wants/notifications.socket -