hooks/set-stdout: move hook to after automatic stdout settings
[petitboot] / utils / Makefile.am
index 432bc48fcc245880956d60aa31c691eb2bb44032..2bbfb9c19b9988ff62f88b03bcc1330414d2eaaa 100644 (file)
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
 
-AM_CPPFLAGS = \
-       -I$(top_srcdir) \
-       -I$(top_srcdir)/lib \
-       -I$(includedir) \
-       $(DEFAULT_CPPFLAGS)
+dist_sbin_SCRIPTS += utils/pb-udhcpc utils/pb-plugin utils/pb-sos
+dist_pkglibexec_SCRIPTS = utils/pb-console
+sbin_PROGRAMS += utils/pb-event utils/pb-config
 
 
-AM_CFLAGS = \
-       $(DEFAULT_CFLAGS)
+utils_pb_config_LDADD = $(top_builddir)/lib/libpbcore.la \
+                 $(top_builddir)/discover/platform.ro
 
 
-bin_PROGRAMS = pb-event
+utils_hooks_30_add_offb_SOURCES = utils/hooks/30-add-offb.c
+utils_hooks_30_add_offb_LDADD = $(top_builddir)/lib/libpbcore.la \
+               $(FDT_LIBS)
 
 
-pb_event_SOURCES = pb-event.c
+if HAVE_LIBFDT
+noinst_PROGRAMS = \
+       utils/hooks/30-add-offb
+endif
 
 
-MAINTAINERCLEANFILES = Makefile.in
+dist_pkgdata_DATA = \
+       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/90-sort-dtb \
+       utils/hooks/80-set-stdout