Tomas Cejka | de321aa | 2013-11-14 22:10:59 +0100 | [diff] [blame] | 1 | SRCS=mod_netconf.c \ |
Tomas Cejka | 55b63df | 2013-11-16 01:21:42 +0100 | [diff] [blame] | 2 | notification-server.c |
Tomas Cejka | de321aa | 2013-11-14 22:10:59 +0100 | [diff] [blame] | 3 | |
| 4 | HDRS=message_type.h \ |
| 5 | notification_module.h \ |
| 6 | mod_netconf.h |
| 7 | |
Tomas Cejka | 8ef3f4e | 2014-03-27 20:00:25 +0100 | [diff] [blame] | 8 | noinst_PROGRAMS=webgui-backend |
Tomas Cejka | 55b63df | 2013-11-16 01:21:42 +0100 | [diff] [blame] | 9 | webgui_backend_SOURCES=mod_netconf.c notification-server.c message_type.h notification_module.h mod_netconf.h |
Tomas Cejka | de321aa | 2013-11-14 22:10:59 +0100 | [diff] [blame] | 10 | |
Tomas Cejka | 55b63df | 2013-11-16 01:21:42 +0100 | [diff] [blame] | 11 | EXTRA_DIST=$(SRCS) $(HDRS) |
Tomas Cejka | de321aa | 2013-11-14 22:10:59 +0100 | [diff] [blame] | 12 | |
Tomas Cejka | 55b63df | 2013-11-16 01:21:42 +0100 | [diff] [blame] | 13 | dist-hook: |
| 14 | cp $(SRC) $(HDRS) $(distdir) |
Tomas Cejka | de321aa | 2013-11-14 22:10:59 +0100 | [diff] [blame] | 15 | |
Tomas Cejka | 8ef3f4e | 2014-03-27 20:00:25 +0100 | [diff] [blame] | 16 | all: mod_netconf.so webgui-backend |
Tomas Cejka | de321aa | 2013-11-14 22:10:59 +0100 | [diff] [blame] | 17 | |
Tomas Cejka | 55b63df | 2013-11-16 01:21:42 +0100 | [diff] [blame] | 18 | mod_netconf.so: mod_netconf.c notification-server.c |
Michal Vasko | c314678 | 2015-11-04 14:46:41 +0100 | [diff] [blame] | 19 | $(CC) $(CFLAGS) -o $@ $(srcdir)/mod_netconf.c $(srcdir)/notification-server.c $(LIBS) |
Tomas Cejka | 55b63df | 2013-11-16 01:21:42 +0100 | [diff] [blame] | 20 | |
| 21 | webgui-backend$(EXEEXT): mod_netconf.c notification-server.c mod_netconf.h |
Michal Vasko | 7436f51 | 2015-11-13 15:19:51 +0100 | [diff] [blame^] | 22 | $(CC) $(CFLAGS) -o $@ $(srcdir)/mod_netconf.c $(srcdir)/notification-server.c $(LIBS) |
Tomas Cejka | de321aa | 2013-11-14 22:10:59 +0100 | [diff] [blame] | 23 | |
| 24 | clean-local: |
| 25 | rm -rf .libs *.la *.lo *.slo test-client webgui-backend |
| 26 | |
Tomas Cejka | 55b63df | 2013-11-16 01:21:42 +0100 | [diff] [blame] | 27 | distclean-local: |
| 28 | rm -rf $(RPMDIR) |
Tomas Cejka | de321aa | 2013-11-14 22:10:59 +0100 | [diff] [blame] | 29 | |