diff options
author | Kevin McCarthy <kevin@8t8.us> | 2019-07-03 19:51:09 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2019-08-03 14:08:09 -0700 |
commit | 1fe2980d3b1a429bf14e8d6286ac4f06d0c666e7 (patch) | |
tree | fca399a2c32d1459bc6fb013f50f5e1b2f7cb06c /autocrypt | |
parent | 6f1e5196364e028ab4033c0ebc85b0793d06cc7f (diff) |
Initial autoconf and makefile setup for autocrypt.
Diffstat (limited to 'autocrypt')
-rw-r--r-- | autocrypt/Makefile.am | 10 | ||||
-rw-r--r-- | autocrypt/autocrypt.c | 34 | ||||
-rw-r--r-- | autocrypt/autocrypt.h | 25 |
3 files changed, 69 insertions, 0 deletions
diff --git a/autocrypt/Makefile.am b/autocrypt/Makefile.am new file mode 100644 index 00000000..235c43c2 --- /dev/null +++ b/autocrypt/Makefile.am @@ -0,0 +1,10 @@ +## Process this file with automake to produce Makefile.in +include $(top_srcdir)/flymake.am + +AUTOMAKE_OPTIONS = 1.6 foreign + +AM_CPPFLAGS = -I$(top_srcdir) -I../intl + +noinst_LIBRARIES = libautocrypt.a + +libautocrypt_a_SOURCES = autocrypt.c autocrypt.h diff --git a/autocrypt/autocrypt.c b/autocrypt/autocrypt.c new file mode 100644 index 00000000..6aecf6fe --- /dev/null +++ b/autocrypt/autocrypt.c @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2019 Kevin J. McCarthy <kevin@8t8.us> + * + * 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. + */ + +#if HAVE_CONFIG_H +# include "config.h" +#endif + +#include "mutt.h" +#include "autocrypt.h" + +void mutt_autocrypt_init (void) +{ + dprint (1, (debugfile, "In mutt_autocrypt_init()\n")); +} + +void mutt_autocrypt_cleanup (void) +{ + dprint (1, (debugfile, "In mutt_autocrypt_cleanup()\n")); +} diff --git a/autocrypt/autocrypt.h b/autocrypt/autocrypt.h new file mode 100644 index 00000000..f866e76b --- /dev/null +++ b/autocrypt/autocrypt.h @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2019 Kevin J. McCarthy <kevin@8t8.us> + * + * 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. + */ + +#ifndef _AUTOCRYPT_H +#define _AUTOCRYPT_H 1 + +void mutt_autocrypt_init (void); +void mutt_autocrypt_cleanup (void); + +#endif |