diff --git a/Makefile.am b/Makefile.am index 7a99525..e17f38f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,2 +1,3 @@ -SUBDIRS = wmud docs/reference/wmud +ACLOCAL_AMFLAGS = -I m4 +SUBDIRS = libgiosmtp wmud docs/reference/wmud DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc diff --git a/autogen.sh b/autogen.sh index 7b47e8f..cc3bd90 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,7 +1,8 @@ #! /bin/sh mkdir m4 &> /dev/null -gtkdocize || exit 1 +gtkdocize --copy || exit 1 +libtoolize --install --copy || exit 1 autoheader || exit 1 aclocal || exit 1 autoconf || exit 1 diff --git a/configure.ac b/configure.ac index 989d703..d4840e0 100644 --- a/configure.ac +++ b/configure.ac @@ -6,6 +6,7 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([wMUD], [0.1.0]) AC_PROG_CC +AC_PROG_LIBTOOL PKG_PROG_PKG_CONFIG AC_CHECK_HEADERS([crypt.h]) @@ -49,4 +50,4 @@ if test "$libcurl_protocol_SMTP" != "yes"; then exit 1 fi -AC_OUTPUT(Makefile wmud/Makefile docs/reference/wmud/Makefile create-world.sh drop-world.sh) +AC_OUTPUT(Makefile libgiosmtp/Makefile wmud/Makefile docs/reference/wmud/Makefile create-world.sh drop-world.sh) diff --git a/libgiosmtp/Makefile.am b/libgiosmtp/Makefile.am new file mode 100644 index 0000000..57a79c3 --- /dev/null +++ b/libgiosmtp/Makefile.am @@ -0,0 +1,5 @@ +lib_LTLIBRARIES = libgiosmtp-1.0.la +AM_CPPFLAGS = $(CURL_CFLAGS) + +libgiosmtp_1_0_la_SOURCES = gioextension.c giomodule.c +libgiosmtp_1_0_la_LIBADD = $(CURL_LIBS) diff --git a/libgiosmtp/gioextension.c b/libgiosmtp/gioextension.c new file mode 100644 index 0000000..10a1780 --- /dev/null +++ b/libgiosmtp/gioextension.c @@ -0,0 +1 @@ +#include diff --git a/libgiosmtp/giomodule.c b/libgiosmtp/giomodule.c new file mode 100644 index 0000000..361170d --- /dev/null +++ b/libgiosmtp/giomodule.c @@ -0,0 +1,2 @@ +#include +#include