Move files copied from maildrop to a separate hierarchy.

Signed-off-by: Thomas Schwinge <thomas@schwinge.name>
This commit is contained in:
Thomas Schwinge 2010-12-29 12:00:30 +01:00 committed by Ali Polatel
parent 5f53ce3e2b
commit 38b245b46a
27 changed files with 43 additions and 41 deletions

View file

@ -3,6 +3,6 @@ MAINTAINERCLEANFILES= Makefile.in configure aclocal.m4 \
config.h config.h.in INSTALL config.h config.h.in INSTALL
ACLOCAL_AMFLAGS= -I m4 ACLOCAL_AMFLAGS= -I m4
AUTOMAKE_OPTIONS= dist-bzip2 no-dist-gzip std-options foreign AUTOMAKE_OPTIONS= dist-bzip2 no-dist-gzip std-options foreign
SUBDIRS= numlib src . SUBDIRS= maildrop/numlib src .
doc_DATA= README.mkd doc_DATA= README.mkd

View file

@ -146,10 +146,11 @@ AC_SUBST([NOTMUCH_DELIVER_CFLAGS])
dnl }}} dnl }}}
dnl {{{ Output dnl {{{ Output
AM_CONFIG_HEADER(config.h) AC_CONFIG_HEADERS([config.h])
AC_CONFIG_LINKS([maildrop/numlib/config.h:config.h])
AC_OUTPUT( AC_OUTPUT(
Makefile Makefile
numlib/Makefile maildrop/numlib/Makefile
src/Makefile src/Makefile
) )
dnl }}} dnl }}}

View file

@ -0,0 +1,27 @@
# $Id: Makefile.am,v 1.12 2007/06/30 15:40:53 mrsam Exp $
#
# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for
# distribution information.
CLEANFILES=$(noinst_DATA)
noinst_LTLIBRARIES=libnumlib.la
libnumlib_la_SOURCES=\
atotimet.c \
atouidt.c \
changeuidgid.c \
numlib.h \
strdevt.c \
strgidt.c \
strhdevt.c \
strhinot.c \
strhpidt.c \
strhtimet.c \
strinot.c \
strofft.c \
strpidt.c \
strsize.c \
strsizet.c \
strtimet.c \
struidt.c

View file

@ -12,8 +12,8 @@ extern "C" {
static const char numlib_h_rcsid[]="$Id: numlib.h,v 1.10 2004/01/11 02:47:33 mrsam Exp $"; static const char numlib_h_rcsid[]="$Id: numlib.h,v 1.10 2004/01/11 02:47:33 mrsam Exp $";
#ifdef HAVE_CONFIG_H #if HAVE_CONFIG_H
#include "config.h" /* VPATH build */ #include "../numlib/config.h" /* VPATH build */
#endif #endif
#include <sys/types.h> #include <sys/types.h>

View file

@ -1,29 +0,0 @@
# $Id: Makefile.am,v 1.12 2007/06/30 15:40:53 mrsam Exp $
#
# Copyright 1998 - 2004 Double Precision, Inc. See COPYING for
# distribution information.
CLEANFILES=$(noinst_DATA)
noinst_LTLIBRARIES=\
libnumlib.la
noinst_HEADERS=\
numlib.h
libnumlib_la_SOURCES=\
atotimet.c \
atouidt.c \
changeuidgid.c \
strdevt.c \
strgidt.c \
strhdevt.c \
strhinot.c \
strhpidt.c \
strhtimet.c \
strinot.c \
strofft.c \
strpidt.c \
strsize.c \
strsizet.c \
strtimet.c \
struidt.c

View file

@ -1,19 +1,22 @@
DEFS+= -DGITHEAD=\"$(GITHEAD)\" DEFS+= -DGITHEAD=\"$(GITHEAD)\"
AM_CPPFLAGS= -I$(top_srcdir) AM_CPPFLAGS= \
-I$(top_builddir)/maildrop/numlib \
-I$(top_srcdir)/maildrop \
-I$(top_srcdir)/maildrop/maildir
AM_CFLAGS= @NOTMUCH_DELIVER_CFLAGS@ $(glib_CFLAGS) AM_CFLAGS= @NOTMUCH_DELIVER_CFLAGS@ $(glib_CFLAGS)
noinst_HEADERS=\ noinst_HEADERS=\
maildircreate.h \ $(top_srcdir)/maildrop/maildir/maildircreate.h \
maildirmisc.h $(top_srcdir)/maildrop/maildir/maildirmisc.h
bin_PROGRAMS=\ bin_PROGRAMS=\
notmuch-deliver notmuch-deliver
notmuch_deliver_SOURCES=\ notmuch_deliver_SOURCES=\
maildircreate.c \ $(top_srcdir)/maildrop/maildir/maildircreate.c \
maildiropen.c \ $(top_srcdir)/maildrop/maildir/maildiropen.c \
maildirmkdir.c \ $(top_srcdir)/maildrop/maildir/maildirmkdir.c \
main.c main.c
notmuch_deliver_LDADD=\ notmuch_deliver_LDADD=\
$(top_builddir)/numlib/libnumlib.la \ $(top_builddir)/maildrop/numlib/libnumlib.la \
$(glib_LIBS) $(glib_LIBS)