blob: 9c79f2a772d385513daa6185f36340e267125159 [file] [log] [blame]
Tomas Cejkade321aa2013-11-14 22:10:59 +01001SRCS=mod_netconf.c \
Tomas Cejka55b63df2013-11-16 01:21:42 +01002 notification-server.c
Tomas Cejkade321aa2013-11-14 22:10:59 +01003
4HDRS=message_type.h \
5 notification_module.h \
6 mod_netconf.h
7
Tomas Cejka8ef3f4e2014-03-27 20:00:25 +01008noinst_PROGRAMS=webgui-backend
Tomas Cejka55b63df2013-11-16 01:21:42 +01009webgui_backend_SOURCES=mod_netconf.c notification-server.c message_type.h notification_module.h mod_netconf.h
Tomas Cejkade321aa2013-11-14 22:10:59 +010010
Tomas Cejka55b63df2013-11-16 01:21:42 +010011EXTRA_DIST=$(SRCS) $(HDRS)
Tomas Cejkade321aa2013-11-14 22:10:59 +010012
Tomas Cejka55b63df2013-11-16 01:21:42 +010013dist-hook:
14 cp $(SRC) $(HDRS) $(distdir)
Tomas Cejkade321aa2013-11-14 22:10:59 +010015
Tomas Cejka8ef3f4e2014-03-27 20:00:25 +010016all: mod_netconf.so webgui-backend
Tomas Cejkade321aa2013-11-14 22:10:59 +010017
Tomas Cejka55b63df2013-11-16 01:21:42 +010018mod_netconf.so: mod_netconf.c notification-server.c
Michal Vaskoc3146782015-11-04 14:46:41 +010019 $(CC) $(CFLAGS) -o $@ $(srcdir)/mod_netconf.c $(srcdir)/notification-server.c $(LIBS)
Tomas Cejka55b63df2013-11-16 01:21:42 +010020
21webgui-backend$(EXEEXT): mod_netconf.c notification-server.c mod_netconf.h
Michal Vasko7436f512015-11-13 15:19:51 +010022 $(CC) $(CFLAGS) -o $@ $(srcdir)/mod_netconf.c $(srcdir)/notification-server.c $(LIBS)
Tomas Cejkade321aa2013-11-14 22:10:59 +010023
24clean-local:
25 rm -rf .libs *.la *.lo *.slo test-client webgui-backend
26
Tomas Cejka55b63df2013-11-16 01:21:42 +010027distclean-local:
28 rm -rf $(RPMDIR)
Tomas Cejkade321aa2013-11-14 22:10:59 +010029