bin_PROGRAMS = notification-service sample-display-client send-notification AM_CFLAGS = $(GCC_CFLAGS) AM_CPPFLAGS = $(GCC_CFLAGS) notification_service_SOURCES = \ main.c \ notification_service.c \ service_common.c 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) SCRIPT_IN_FILES = \ notifications.service.in \ notifications.socket.in install-data-hook: $(mkinstalldirs) $(DESTDIR)/usr/lib/systemd/system/sockets.target.wants 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