Makefile 570 字节
Newer Older
1 2
# Makefile to build lxdialog package
#
L
Linus Torvalds 已提交
3

4 5 6
check-lxdialog  := $(srctree)/$(src)/check-lxdialog.sh
HOST_EXTRACFLAGS:= $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags)
HOST_LOADLIBES  := $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))
7 8 9 10 11 12
 
HOST_EXTRACFLAGS += -DLOCALE 

.PHONY: dochecklxdialog
$(obj)/dochecklxdialog:
	$(Q)$(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_LOADLIBES)
L
Linus Torvalds 已提交
13 14

hostprogs-y	:= lxdialog
15
always		:= $(hostprogs-y) dochecklxdialog
L
Linus Torvalds 已提交
16 17 18

lxdialog-objs := checklist.o menubox.o textbox.o yesno.o inputbox.o \
		 util.o lxdialog.o msgbox.o