2017-10-05 07:57:45 +00:00
|
|
|
CFLAGS_ALL += -DINET6 -DWITH_SSL -DFTP_COMBINE_CWDS
|
|
|
|
libs-y += libfetch.a
|
|
|
|
libfetch.a-objs := common.o fetch.o file.o ftp.o http.o
|
|
|
|
generate-y += ftperr.h httperr.h
|
2017-10-05 05:57:18 +00:00
|
|
|
|
2017-10-05 07:57:45 +00:00
|
|
|
quiet_cmd_generr = GENERR $@
|
|
|
|
cmd_generr = $(obj)/errlist.sh $(basename $(<F))_errlist $(shell echo $(basename $(<F)) | tr a-z A-Z) $< > $@
|
2017-10-05 05:57:18 +00:00
|
|
|
|
2017-10-05 07:57:45 +00:00
|
|
|
$(obj)/%err.h: $(obj)/%.errors
|
|
|
|
@$(call echo-cmd,generr) $(cmd_generr); $(cmd_generr)
|