Makefile 401 Bytes
Newer Older
1 2 3 4
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
Timo Teräs's avatar
Timo Teräs committed
5

6 7
quiet_cmd_generr = GENERR  $@
      cmd_generr = $(obj)/errlist.sh $(basename $(<F))_errlist $(shell echo $(basename $(<F)) | tr a-z A-Z) $< > $@
Timo Teräs's avatar
Timo Teräs committed
8

9 10
$(obj)/%err.h: $(obj)/%.errors
	@$(call echo-cmd,generr) $(cmd_generr); $(cmd_generr)