From 627215940cb13e74999ab56375dbb615e22f23bd Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Fri, 9 Mar 2007 22:42:18 +0100 Subject: [PATCH] add placeholders for the liblua Signed-off-by: Pierre Habouzit --- Makefile.am | 4 +++- configure.ac | 1 + lib-lua/Makefile.am | 7 +++++++ lib-lua/lib-lua.h | 28 ++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 lib-lua/Makefile.am create mode 100644 lib-lua/lib-lua.h diff --git a/Makefile.am b/Makefile.am index 6753f5e..7b375e0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,7 +9,7 @@ NNTP_SUBDIR = nntp endif SUBDIRS = intl m4 po $(XXXXXXXXXXXX_doc) apidoc contrib \ - lib-mime lib-lib lib-mx lib-crypt lib-hash lib-sys lib-ui \ + lib-mime lib-lib lib-lua lib-mx lib-crypt lib-hash lib-sys lib-ui \ pop imap $(NNTP_SUBDIR) BUILT_SOURCES = keymap_defs.h version.h charset.gperf @@ -33,6 +33,7 @@ madmutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \ $(top_builddir)/lib-hash/libhash.a \ $(top_builddir)/lib-sys/libsys.a \ $(top_builddir)/lib-ui/libui.a \ + $(top_builddir)/lib-lua/liblua.a \ $(top_builddir)/lib-lib/liblib.a \ $(MUTTLIBS) $(INTLLIBS) $(LIBICONV) @@ -42,6 +43,7 @@ madmutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \ $(top_builddir)/lib-crypt/libcrypt.a \ $(top_builddir)/lib-hash/libhash.a \ $(top_builddir)/lib-ui/libui.a \ + $(top_builddir)/lib-lua/liblua.a \ $(top_builddir)/lib-mx/libmx.a \ \ $(top_builddir)/pop/libpop.a \ diff --git a/configure.ac b/configure.ac index 905b59d..bbc3dd5 100644 --- a/configure.ac +++ b/configure.ac @@ -748,6 +748,7 @@ AC_OUTPUT(Makefile doc/Makefile doc/instdoc.sh contrib/Makefile lib-lib/Makefile + lib-lua/Makefile lib-mime/Makefile lib-crypt/Makefile lib-hash/Makefile diff --git a/lib-lua/Makefile.am b/lib-lua/Makefile.am new file mode 100644 index 0000000..92cd3d2 --- /dev/null +++ b/lib-lua/Makefile.am @@ -0,0 +1,7 @@ +noinst_LIBRARIES = liblua.a + +liblua_a_SOURCES = lib-lua.h + +noinst_HEADERS = lib-lua.h + +-include ../cflags.mk diff --git a/lib-lua/lib-lua.h b/lib-lua/lib-lua.h new file mode 100644 index 0000000..0a4d859 --- /dev/null +++ b/lib-lua/lib-lua.h @@ -0,0 +1,28 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + * + * Copyright © 2007 Pierre Habouzit + */ + +#ifndef MUTT_LIB_LUA_LIB_LUA_H +#define MUTT_LIB_LUA_LIB_LUA_H + +#ifdef HAVE_CONFIG_H +# include "../config.h" +#endif + + +#endif -- 2.20.1