Commit 8e9e4a83 8e9e4a83664c34f7bb81307017e07a5cab35eadb by Sergey Poznyakoff

Generate muerrno.c

1 parent 1d38f756
1 ## Process this file with GNU Automake to create Makefile.in 1 ## Process this file with GNU Automake to create Makefile.in
2 2
3 ## Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc. 3 ## Copyright (C) 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
4 ## 4 ##
5 ## GNU Mailutils is free software; you can redistribute it and/or 5 ## GNU Mailutils is free software; you can redistribute it and/or
6 ## modify it under the terms of the GNU General Public License as 6 ## modify it under the terms of the GNU General Public License as
...@@ -32,7 +32,7 @@ bin_PROGRAMS = mailutils-config ...@@ -32,7 +32,7 @@ bin_PROGRAMS = mailutils-config
32 localedir = $(datadir)/locale 32 localedir = $(datadir)/locale
33 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" 33 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\"
34 34
35 EXTRA_DIST = strtok_r.c \ 35 EXTRA_DIST = errors muerrno.cin strtok_r.c \
36 strndup.c strnlen.c strchrnul.c argp-ba.c argp-eexst.c \ 36 strndup.c strnlen.c strchrnul.c argp-ba.c argp-eexst.c \
37 argp-fmtstream.c argp-fs-xinl.c argp-help.c argp-parse.c argp-pv.c \ 37 argp-fmtstream.c argp-fs-xinl.c argp-help.c argp-parse.c argp-pv.c \
38 argp-pvh.c argp-xinl.c getline.c getline.h parsedate.y pin.c regex.c \ 38 argp-pvh.c argp-xinl.c getline.c getline.h parsedate.y pin.c regex.c \
...@@ -97,13 +97,16 @@ url_sendmail.c \ ...@@ -97,13 +97,16 @@ url_sendmail.c \
97 url_smtp.c \ 97 url_smtp.c \
98 wicket.c 98 wicket.c
99 99
100 BUILT_SOURCES = parsedate.c 100 BUILT_SOURCES = parsedate.c muerrno.c
101 101
102 parsedate.c: $(srcdir)/parsedate.y 102 parsedate.c: $(srcdir)/parsedate.y
103 $(YLWRAP) "$(YACC) $(AM_YFLAGS)" $< \ 103 $(YLWRAP) "$(YACC) $(AM_YFLAGS)" $< \
104 y.tab.c parsedate.c y.output parsedate.y.output \ 104 y.tab.c parsedate.c y.output parsedate.y.output \
105 -- -yy pd_yy 105 -- -yy pd_yy
106 106
107 muerrno.c: errors muerrno.cin
108 $(AWK) -f $(top_srcdir)/scripts/generr.awk $^ > $@
109
107 libmailbox_la_DEPENDENCIES = @MU_LTLIBOBJS@ 110 libmailbox_la_DEPENDENCIES = @MU_LTLIBOBJS@
108 libmailbox_la_LIBADD = @MU_LTLIBOBJS@ @MU_COMMON_LIBRARIES@ 111 libmailbox_la_LIBADD = @MU_LTLIBOBJS@ @MU_COMMON_LIBRARIES@
109 libmailbox_la_LDFLAGS = -version-info 0:0:0 112 libmailbox_la_LDFLAGS = -version-info 0:0:0
......