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
ACLOCAL_AMFLAGS= -I m4
AUTOMAKE_OPTIONS= dist-bzip2 no-dist-gzip std-options foreign
SUBDIRS= numlib src .
SUBDIRS= maildrop/numlib src .
doc_DATA= README.mkd

View file

@ -146,10 +146,11 @@ AC_SUBST([NOTMUCH_DELIVER_CFLAGS])
dnl }}}
dnl {{{ Output
AM_CONFIG_HEADER(config.h)
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_LINKS([maildrop/numlib/config.h:config.h])
AC_OUTPUT(
Makefile
numlib/Makefile
maildrop/numlib/Makefile
src/Makefile
)
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 $";
#ifdef HAVE_CONFIG_H
#include "config.h" /* VPATH build */
#if HAVE_CONFIG_H
#include "../numlib/config.h" /* VPATH build */
#endif
#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)\"
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)
noinst_HEADERS=\
maildircreate.h \
maildirmisc.h
$(top_srcdir)/maildrop/maildir/maildircreate.h \
$(top_srcdir)/maildrop/maildir/maildirmisc.h
bin_PROGRAMS=\
notmuch-deliver
notmuch_deliver_SOURCES=\
maildircreate.c \
maildiropen.c \
maildirmkdir.c \
$(top_srcdir)/maildrop/maildir/maildircreate.c \
$(top_srcdir)/maildrop/maildir/maildiropen.c \
$(top_srcdir)/maildrop/maildir/maildirmkdir.c \
main.c
notmuch_deliver_LDADD=\
$(top_builddir)/numlib/libnumlib.la \
$(top_builddir)/maildrop/numlib/libnumlib.la \
$(glib_LIBS)