chiark / gitweb /
make: do not delete autotools generated file with distclean
[elogind.git] / extras / collect / Makefile.am
index a92f4aa..d9792b8 100644 (file)
@@ -1,11 +1,12 @@
+include $(top_srcdir)/Makefile.am.inc
+
 udevhomedir = $(udev_prefix)/lib/udev
 udevhome_PROGRAMS = \
        collect
 
-AM_CPPFLAGS = \
-       -DSYSCONFDIR=\""$(sysconfdir)"\" \
-       -DUDEV_PREFIX=\""$(udev_prefix)"\"
-
-distclean-local:
-       rm -f Makefile.in
-
+collect_SOURCES = \
+       collect.c \
+       ../../udev/lib/libudev-private.h \
+       ../../udev/lib/libudev.c \
+       ../../udev/lib/libudev-util.c \
+       ../../udev/lib/libudev-list.c