Fixed parallel build issue
authorDamien Stuart <dstuart@dstuart.org>
Sun, 23 Dec 2012 15:28:30 +0000 (10:28 -0500)
committerDamien Stuart <dstuart@dstuart.org>
Sun, 23 Dec 2012 15:28:30 +0000 (10:28 -0500)
Added explicit dependency directives to Makefile.am to address errors
when running a parallel build.

lib/Makefile.am

index f4c4fce..fd86623 100644 (file)
@@ -10,14 +10,18 @@ libfko_source_files = \
     fko_context.h fko_state.h fko_context.h gpgme_funcs.c \
     gpgme_funcs.h
 
-libfko_la_SOURCES   = $(libfko_source_files)
-libfko_la_LIBADD    = strlcpy.lo strlcat.lo
-libfko_la_LDFLAGS   = -version-info 1:0:0 $(GPGME_LIBS) -export-symbols-regex '^fko_'
+libfko_la_SOURCES              = $(libfko_source_files)
+libfko_la_LIBADD               = 
+libfko_la_DEPENDENCIES         = strlcpy.lo strlcat.lo
+libfko_la_LDFLAGS              = -version-info 1:0:0 $(GPGME_LIBS) -export-symbols-regex '^fko_'
 
-noinst_LIBRARIES         = libfko_util.a
-libfko_util_source_files = strlcpy.c strlcat.c fko_util.h
-libfko_util_a_SOURCES    = $(libfko_util_source_files)
+libfko_util_source_files       = strlcpy.c strlcat.c fko_util.h
+libfko_util_a_SOURCES          = $(libfko_util_source_files)
+libfko_util_a_LIBADD           = 
+libfko_util_a_DEPENDENCIES  = strlcpy.lo strlcat.lo
 
-AM_CPPFLAGS         = $(GPGME_CFLAGS) -I $(top_srcdir)/common
+noinst_LIBRARIES               = libfko_util.a
 
-include_HEADERS     = fko.h
+AM_CPPFLAGS                    = $(GPGME_CFLAGS) -I $(top_srcdir)/common
+
+include_HEADERS                = fko.h