pb-plugin: Don't execute metadata files
[petitboot] / utils / Makefile.am
index 3c13e6181a2f138f126886ce3e4c22f5cc3a16f0..9b36619699111cc1f5435e7e32348419db8c5bfb 100644 (file)
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
 
-AM_CPPFLAGS = \
-       -I$(top_srcdir) \
-       -I$(top_srcdir)/lib \
-       $(DEFAULT_CPPFLAGS)
+dist_sbin_SCRIPTS += utils/pb-udhcpc utils/pb-plugin
+dist_pkglibexec_SCRIPTS = utils/pb-console
+sbin_PROGRAMS += utils/pb-event utils/pb-config
 
-AM_CFLAGS = \
-       $(DEFAULT_CFLAGS)
-
-dist_sbin_SCRIPTS = pb-udhcpc
-pkglibexec_SCRIPTS = pb-console
-
-sbin_PROGRAMS = pb-event
-
-pb_event_SOURCES = pb-event.c
+utils_pb_config_LDADD = $(top_builddir)/lib/libpbcore.la \
+                 $(top_builddir)/discover/platform.ro
 
 dist_pkgdata_DATA = \
-       kboot.conf.sample \
-       logrotate.conf
-
-MAINTAINERCLEANFILES = Makefile.in
+       utils/kboot.conf.sample \
+       utils/bb-kexec-reboot \
+       utils/logrotate.conf \
+       utils/hooks/01-create-default-dtb \
+       utils/hooks/20-update-dtb-sample \
+       utils/hooks/20-set-stdout \
+       utils/hooks/90-sort-dtb