utils: Add pb-config utility
[petitboot] / utils / Makefile.am
index 2f2b569cf21e76bdef5b2c025a579fbc78bb7612..fde6e55430215f85a37ac01a3a3ebb3adfbb1eaf 100644 (file)
 #  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
+dist_pkglibexec_SCRIPTS = utils/pb-console utils/pb-sysinfo
+sbin_PROGRAMS += utils/pb-event utils/pb-config
 
-AM_CFLAGS = \
-       $(DEFAULT_CFLAGS)
-
-dist_sbin_SCRIPTS = pb-udhcpc
-
-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