|
@@ -20,7 +20,7 @@ CLEANFILES = *.gcno *.gcda auth.spec spec_config.h
|
|
|
CLEANFILES += auth_messages.h auth_messages.cc
|
|
|
CLEANFILES += gen-statisticsitems.py
|
|
|
# auto-generated by gen-statisticsitems.py
|
|
|
-CLEANFILES += statistics.cc statistics_items.h b10-auth.xml tests/statistics_unittest.cc
|
|
|
+CLEANFILES += statistics.cc statistics_items.h b10-auth.xml tests/statistics_unittest.cc s-genstats s-messages
|
|
|
|
|
|
man_MANS = b10-auth.8
|
|
|
DISTCLEANFILES = $(man_MANS)
|
|
@@ -49,14 +49,20 @@ gen-statisticsitems.py: gen-statisticsitems.py.pre
|
|
|
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" gen-statisticsitems.py.pre >$@
|
|
|
chmod +x $@
|
|
|
|
|
|
-auth.spec b10-auth.xml statistics_items.h statistics.cc tests/statistics_unittest.cc: Makefile gen-statisticsitems.py
|
|
|
+auth.spec b10-auth.xml statistics_items.h statistics.cc tests/statistics_unittest.cc: Makefile s-genstats
|
|
|
+
|
|
|
+s-genstats: gen-statisticsitems.py
|
|
|
./gen-statisticsitems.py
|
|
|
+ touch $@
|
|
|
|
|
|
spec_config.h: spec_config.h.pre
|
|
|
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
|
|
|
|
|
|
-auth_messages.h auth_messages.cc: auth_messages.mes
|
|
|
+auth_messages.h auth_messages.cc: s-messages
|
|
|
+
|
|
|
+s-messages: auth_messages.mes
|
|
|
$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/bin/auth/auth_messages.mes
|
|
|
+ touch $@
|
|
|
|
|
|
BUILT_SOURCES = spec_config.h auth_messages.h auth_messages.cc
|
|
|
# auto-generated by gen-statisticsitems.py
|