chiark / gitweb /
execute: free syscall filter array after use
[elogind.git] / Makefile.am
index b16c01ae6780c2c39456c3c6e4ab743fc909ea3a..d8c7185fe749104b52c121f9a87a1704936a3733 100644 (file)
@@ -1008,6 +1008,10 @@ CLEANFILES += \
        src/core/syscall-from-name.h \
        src/core/syscall-to-name.h
 
+BUILT_SOURCES += \
+       src/core/syscall-from-name.h \
+       src/core/syscall-to-name.h
+
 src/core/syscall-list.txt: Makefile
        $(AM_V_GEN)cpp -dM -include sys/syscall.h < /dev/null | $(AWK) '/^#define[ \t]+__NR_[^ ]+[ \t]+[0-9]/ { sub(/__NR_/, "", $$2); print $$2; }' > $@ || rm $@