Makefile 705 B

123456789101112131415161718192021
  1. # Makefile to build lxdialog package
  2. #
  3. check-lxdialog := $(srctree)/$(src)/check-lxdialog.sh
  4. # Use reursively expanded variables so we do not call gcc unless
  5. # we really need to do so. (Do not call gcc as part of make mrproper)
  6. HOST_EXTRACFLAGS = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags)
  7. HOST_LOADLIBES = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))
  8. HOST_EXTRACFLAGS += -DLOCALE
  9. PHONY += dochecklxdialog
  10. $(obj)/dochecklxdialog:
  11. $(Q)$(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_LOADLIBES)
  12. hostprogs-y := lxdialog
  13. always := $(hostprogs-y) dochecklxdialog
  14. lxdialog-objs := checklist.o menubox.o textbox.o yesno.o inputbox.o \
  15. util.o lxdialog.o msgbox.o