##
## utilities subdir targets
##   -- don't use a phony rule in a dependency!  that is broken!
utils:
	$(MAKE) -C utilities KVER=$(kver) KERNEL_VERSION_CODE=${KERNEL_VERSION_CODE}

utilities/floppy_split:
	$(MAKE) -C utilities floppy_split

compile_dbootstrap := $(MAKE) -C utilities/dbootstrap KVER=$(kver) \
	KERNEL_VERSION_CODE=${KERNEL_VERSION_CODE}

utilities/dbootstrap/dbootstrap: utilities/dbootstrap/*.[ch] utilities/dbootstrap/langs/*.[ch]
	$(compile_dbootstrap) dbootstrap

utilities/dbootstrap/dbootstrap-lc: utilities/dbootstrap/*.[ch] utilities/dbootstrap/langs/*.[ch]
	$(compile_dbootstrap) LC=true dbootstrap-lc

utilities/writemaps/loadkeys:
	$(MAKE) -C utilities KVER=$(kver) KERNEL_VERSION_CODE=${KERNEL_VERSION_CODE} writemaps

utilities/dbootstrap/po/all-utf:
	$(MAKE) -C utilities/dbootstrap/po all-utf

utilities/dbootstrap/po/$(LINGUA).trm:
	$(MAKE) -C utilities/dbootstrap/po $(LINGUA).trm

xlp.tgz: $(patsubst %,utilities/dbootstrap/po/utf/%.trm,en $(filter-out C,$(langs)))
	sh ./xlp.sh en $(filter-out C,$(langs))

#Local variables:
#mode: Makefile
#End:
