Commit 20477d62 20477d627e595249371cfff878b0e249d1c62cee by Sergey Poznyakoff

Fixed INCLUDES

1 parent 772d86ed
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include -I$(top_srcdir)/libmu_scm @INTLINCS@ 20 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I${top_builddir}/include/mailutils/gnu -I$(top_srcdir)/include -I$(top_srcdir)/libmu_scm @INTLINCS@
21 21
22 bin_PROGRAMS = dotlock 22 bin_PROGRAMS = dotlock
23 23
......
...@@ -34,7 +34,7 @@ noinst_PROGRAMS = \ ...@@ -34,7 +34,7 @@ noinst_PROGRAMS = \
34 moddir=@SIEVE_MODDIR@ 34 moddir=@SIEVE_MODDIR@
35 mod_LTLIBRARIES = numaddr.la 35 mod_LTLIBRARIES = numaddr.la
36 36
37 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/mailbox @INTLINCS@ 37 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_builddir)/include/mailutils/gnu -I$(top_srcdir)/mailbox @INTLINCS@
38 AM_LDFLAGS = ../mailbox/libmailbox.la ../lib/libmailutils.la 38 AM_LDFLAGS = ../mailbox/libmailbox.la ../lib/libmailutils.la
39 39
40 numaddr_la_SOURCES = numaddr.c 40 numaddr_la_SOURCES = numaddr.c
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib @INTLINCS@ 20 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I${top_builddir}/include/mailutils/gnu @INTLINCS@
21 SUBDIRS = testsuite 21 SUBDIRS = testsuite
22 22
23 bin_PROGRAMS = frm 23 bin_PROGRAMS = frm
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I. -I$(top_builddir) -I$(srcdir) -I$(top_srcdir)/lib \ 20 INCLUDES = -I. -I$(top_builddir) -I$(srcdir) -I$(top_srcdir)/lib \
21 -I$(top_srcdir)/mailbox -I$(top_srcdir)/include @GUILE_INCLUDES@ @INTLINCS@ 21 -I$(top_srcdir)/mailbox -I$(top_srcdir)/include \
22 -I${top_builddir}/include/mailutils/gnu @GUILE_INCLUDES@ @INTLINCS@
22 23
23 SUBDIRS=scm 24 SUBDIRS=scm
24 25
......
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/include @AUTHINCS@ @SERV_AUTHINCS@ @INTLINCS@ 20 INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/include \
21 -I${top_builddir}/include/mailutils/gnu @AUTHINCS@ @SERV_AUTHINCS@ @INTLINCS@
21 SUBDIRS = testsuite 22 SUBDIRS = testsuite
22 23
23 sbin_PROGRAMS = imap4d 24 sbin_PROGRAMS = imap4d
......
...@@ -17,5 +17,9 @@ ...@@ -17,5 +17,9 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 AUTOMAKE_OPTIONS=no-dependencies
21
20 gnudir = $(pkgincludedir)/gnu 22 gnudir = $(pkgincludedir)/gnu
21 gnu_HEADERS = argp.h getopt.h 23 EXTRA_HEADERS =
24 gnu_HEADERS = @GNU_INCLS@
25 DISTCLEANFILES = getopt.h argp.h regex.h posix/regex.h
......
...@@ -19,20 +19,18 @@ ...@@ -19,20 +19,18 @@
19 19
20 noinst_LTLIBRARIES = libmailutils.la 20 noinst_LTLIBRARIES = libmailutils.la
21 21
22 SUBDIRS = posix 22 INCLUDES = -I${top_srcdir}/include -I${top_builddir}/include/mailutils/gnu @INTLINCS@
23
24 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/include/mailutils/gnu @INTLINCS@
25 libmailutils_la_SOURCES = basename.c daemon.c getopt.c getopt1.c md5.c \ 23 libmailutils_la_SOURCES = basename.c daemon.c getopt.c getopt1.c md5.c \
26 mu_dbm.c xstrdup.c xmalloc.c 24 mu_dbm.c xstrdup.c xmalloc.c
27 25
28 EXTRA_DIST = alloca.c fnmatch.c fgetpwent.c getpass.c malloc.c obstack.c \ 26 EXTRA_DIST = alloca.c fnmatch.c fgetpwent.c getpass.c malloc.c obstack.c \
29 realloc.c setenv.c snprintf.c strncasecmp.c \ 27 realloc.c setenv.c snprintf.c strncasecmp.c \
30 strcasecmp.c strsignal.c xstrtol.c vasprintf.c vsyslog.c \ 28 strcasecmp.c strsignal.c xstrtol.c vasprintf.c vsyslog.c \
31 utmp.c 29 utmp.c
32 30
33 noinst_HEADERS = error.h fnmatch.h md5.h \ 31 noinst_HEADERS = error.h fnmatch.h md5.h \
34 mu_dbm.h\ 32 mu_dbm.h\
35 regex.h snprintf.h xalloc.h xstrtol.h obstack.h \ 33 snprintf.h xalloc.h xstrtol.h obstack.h \
36 mu_asprintf.h 34 mu_asprintf.h
37 35
38 libmailutils_la_LIBADD = @LTLIBOBJS@ @ALLOCA@ 36 libmailutils_la_LIBADD = @LTLIBOBJS@ @ALLOCA@
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib @INTLINCS@ 20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib -I${top_builddir}/include/mailutils/gnu @INTLINCS@
21 YLWRAP = $(SHELL) $(top_srcdir)/scripts/ylwrap 21 YLWRAP = $(SHELL) $(top_srcdir)/scripts/ylwrap
22 AM_YFLAGS = -dtv 22 AM_YFLAGS = -dtv
23 AM_CPPFLAGS = -DSIEVE_MODDIR=\"@SIEVE_MODDIR@\" 23 AM_CPPFLAGS = -DSIEVE_MODDIR=\"@SIEVE_MODDIR@\"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/mailbox -I$(top_srcdir)/include @GUILE_INCLUDES@ @INTLINCS@ 20 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I${top_builddir}/include/mailutils/gnu -I$(top_srcdir)/mailbox -I$(top_srcdir)/include @GUILE_INCLUDES@ @INTLINCS@
21 SUBDIRS = testsuite 21 SUBDIRS = testsuite
22 22
23 libexec_PROGRAMS = mail.local 23 libexec_PROGRAMS = mail.local
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include @INTLINCS@ 20 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I${top_builddir}/include/mailutils/gnu -I$(top_srcdir)/include @INTLINCS@
21 21
22 SUBDIRS = testsuite 22 SUBDIRS = testsuite
23 PROGRAMS_SMTP = mail.remote 23 PROGRAMS_SMTP = mail.remote
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 AM_YFLAGS=-vt 20 AM_YFLAGS=-vt
21 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib -I${top_srcdir}/mailbox @INTLINCS@ @AUTHINCS@ 21 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib -I${top_builddir}/include/mailutils/gnu -I${top_srcdir}/mailbox @INTLINCS@ @AUTHINCS@
22 AM_CFLAGS = -DSITE_MAIL_RC=\"@SITE_MAIL_RC@\" 22 AM_CFLAGS = -DSITE_MAIL_RC=\"@SITE_MAIL_RC@\"
23 23
24 bin_PROGRAMS = mail 24 bin_PROGRAMS = mail
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox -I${top_srcdir}/mailbox/include -I${top_srcdir}/include/mailutils/gnu @INTLINCS@ 20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox -I${top_srcdir}/mailbox/include -I${top_builddir}/include/mailutils/gnu @INTLINCS@
21 AM_CFLAGS = -DSITE_VIRTUAL_PWDDIR=\"@SITE_VIRTUAL_PWDDIR@\" 21 AM_CFLAGS = -DSITE_VIRTUAL_PWDDIR=\"@SITE_VIRTUAL_PWDDIR@\"
22 YLWRAP = $(SHELL) $(top_srcdir)/scripts/ylwrap 22 YLWRAP = $(SHELL) $(top_srcdir)/scripts/ylwrap
23 AM_YFLAGS=-vt 23 AM_YFLAGS=-vt
...@@ -33,7 +33,7 @@ DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" ...@@ -33,7 +33,7 @@ DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\"
33 EXTRA_DIST = strtok_r.c \ 33 EXTRA_DIST = strtok_r.c \
34 strndup.c strnlen.c strchrnul.c argp-ba.c argp-eexst.c \ 34 strndup.c strnlen.c strchrnul.c argp-ba.c argp-eexst.c \
35 argp-fmtstream.c argp-fs-xinl.c argp-help.c argp-parse.c argp-pv.c \ 35 argp-fmtstream.c argp-fs-xinl.c argp-help.c argp-parse.c argp-pv.c \
36 argp-pvh.c argp-xinl.c getline.c getline.h parsedate.y pin.c 36 argp-pvh.c argp-xinl.c getline.c getline.h parsedate.y pin.c regex.c
37 37
38 noinst_HEADERS=argp-fmtstream.h argp-namefrob.h md5.h 38 noinst_HEADERS=argp-fmtstream.h argp-namefrob.h md5.h
39 39
...@@ -68,6 +68,7 @@ mime.c \ ...@@ -68,6 +68,7 @@ mime.c \
68 monitor.c \ 68 monitor.c \
69 mu_argp.c \ 69 mu_argp.c \
70 mu_auth.c \ 70 mu_auth.c \
71 munre.c \
71 mutil.c \ 72 mutil.c \
72 muerror.c \ 73 muerror.c \
73 muerrno.c \ 74 muerrno.c \
......
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox -I${top_srcdir}/mailbox/include -I${top_srcdir}/include/mailutils/gnu @INTLINCS@ 20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox \
21 -I${top_srcdir}/mailbox/include -I${top_builddir}/include/mailutils/gnu \
22 @INTLINCS@
21 23
22 lib_LTLIBRARIES = libmu_imap.la 24 lib_LTLIBRARIES = libmu_imap.la
23 25
......
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox -I${top_srcdir}/mailbox/include -I${top_srcdir}/include/mailutils/gnu @INTLINCS@ 20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox \
21 -I${top_srcdir}/mailbox/include -I${top_builddir}/include/mailutils/gnu \
22 @INTLINCS@
21 23
22 lib_LTLIBRARIES = libmu_maildir.la 24 lib_LTLIBRARIES = libmu_maildir.la
23 25
......
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox -I${top_srcdir}/mailbox/include -I${top_srcdir}/include/mailutils/gnu @INTLINCS@ 20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox \
21 -I${top_srcdir}/mailbox/include -I${top_builddir}/include/mailutils/gnu \
22 @INTLINCS@
21 23
22 lib_LTLIBRARIES = libmu_mbox.la 24 lib_LTLIBRARIES = libmu_mbox.la
23 25
......
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox -I${top_srcdir}/mailbox/include -I${top_srcdir}/include/mailutils/gnu @INTLINCS@ 20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox \
21 -I${top_srcdir}/mailbox/include \
22 @INTLINCS@
21 23
22 lib_LTLIBRARIES = libmu_mh.la 24 lib_LTLIBRARIES = libmu_mh.la
23 25
......
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox -I${top_srcdir}/mailbox/include -I${top_srcdir}/include/mailutils/gnu @INTLINCS@ 20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox \
21 -I${top_srcdir}/mailbox/include -I${top_builddir}/include/mailutils/gnu \
22 @INTLINCS@
21 23
22 lib_LTLIBRARIES = libmu_pop.la 24 lib_LTLIBRARIES = libmu_pop.la
23 25
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib @INTLINCS@ 20 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I${top_builddir}/include/mailutils/gnu @INTLINCS@
21 SUBDIRS = testsuite 21 SUBDIRS = testsuite
22 22
23 bin_PROGRAMS = messages 23 bin_PROGRAMS = messages
......
...@@ -120,7 +120,7 @@ mailutils-mh.el: mailutils-mh.eli ...@@ -120,7 +120,7 @@ mailutils-mh.el: mailutils-mh.eli
120 .eli.el: 120 .eli.el:
121 sed "s,BINDIR,$(bindir),g;s,MHLIBDIR,$(mhlibdir),g" $< > $@ 121 sed "s,BINDIR,$(bindir),g;s,MHLIBDIR,$(mhlibdir),g" $< > $@
122 122
123 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib -I${top_srcdir}/mailbox @INTLINCS@ 123 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib -I${top_builddir}/include/mailutils/gnu -I${top_srcdir}/mailbox @INTLINCS@
124 AM_CPPFLAGS = -DMHLIBDIR=\"$(mhlibdir)\" -DMHBINDIR=\"$(bindir)\" 124 AM_CPPFLAGS = -DMHLIBDIR=\"$(mhlibdir)\" -DMHBINDIR=\"$(bindir)\"
125 mh_LIBS = \ 125 mh_LIBS = \
126 ./libmh.a\ 126 ./libmh.a\
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include @INTLINCS@ 20 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I${top_builddir}/include/mailutils/gnu -I$(top_srcdir)/include @INTLINCS@
21 21
22 sbin_PROGRAMS = pop3d 22 sbin_PROGRAMS = pop3d
23 bin_PROGRAMS = @POPAUTH@ 23 bin_PROGRAMS = @POPAUTH@
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib @INTLINCS@ 20 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I${top_builddir}/include/mailutils/gnu @INTLINCS@
21 SUBDIRS = testsuite 21 SUBDIRS = testsuite
22 22
23 bin_PROGRAMS = readmsg 23 bin_PROGRAMS = readmsg
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 ## Foundation, Inc. 17 ## Foundation, Inc.
18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19
20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib @INTLINCS@ 20 INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib -I${top_builddir}/include/mailutils/gnu @INTLINCS@
21 SUBDIRS = testsuite 21 SUBDIRS = testsuite
22 22
23 bin_PROGRAMS = sieve 23 bin_PROGRAMS = sieve
......