summary history branches tags files
commit:97c504e0bfea3416be6264f7930a5183d8514244
author:mrmekon
committer:mrmekon
date:Fri Nov 11 18:41:46 2011 -0500
parents:9677a280166b605cf8e78dfb08c8166316641101
automake changes
diff --git a/Makefile.am b/Makefile.am
line changes: +7/-3
index 3254887..ed9f715
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,8 @@
-AUTOMAKE_OPTIONS = foreign
+pkglib_LTLIBRARIES = libsimplepgp.la
+pkginclude_HEADERS = src/simplepgp.h
 
-
-SUBDIRS = src
+libsimplepgp_la_SOURCES = \
+	src/packet.c \
+	src/keychain.c \
+	src/util.c \
+	src/mpi.c 

diff --git a/configure.ac b/configure.ac
line changes: +4/-3
index df111b8..2cce3b9
--- a/configure.ac
+++ b/configure.ac
@@ -3,14 +3,15 @@
 
 AC_PREREQ([2.68])
 AC_INIT([libsimplepgp], [1.0], [trevor@trevorbentley.com])
-AM_INIT_AUTOMAKE([libsimplepgp], [1.0])
 
-AC_COPYRIGHT(Apache License V2.0)
+AC_COPYRIGHT(Trevor Bentley 2011)
 
-AC_CONFIG_SRCDIR([gcrypt-module.h])
+AC_CONFIG_SRCDIR([src/packet.c])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([Makefile])
 
+AM_INIT_AUTOMAKE([subdir-objects foreign])
+
 AC_PROG_LIBTOOL
 
 AC_CONFIG_MACRO_DIR([m4])

diff --git a/src/Makefile.am b/src/Makefile.am
line changes: +0/-15
index dacbb3d..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-AUTOMAKE_OPTIONS = foreign
-
-CFLAGS=-Wall -O2 `libgcrypt-config --cflags` `gpg-error-config --cflags` -I/usr/include -I/usr/local/include
-LDFLAGS=`libgcrypt-config --libs` `gpg-error-config --libs`
-
-pkglib_LTLIBRARIES = libsimplepgp.la
-pkginclude_HEADERS = packet.h
-
-libsimplepgp_la_SOURCES = \
-	packet.c \
-	keychain.c \
-	util.c \
-	mpi.c 
-
-