This fixes a few occurrences where files are incorrectly referenced from
the build directory instead of the source directory, therefore causing
breakage when building out of tree.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
GDOC_SRC = $(top_srcdir)/lib/decoding.c $(top_srcdir)/lib/errors.c \
$(top_srcdir)/lib/parser_aux.c $(top_srcdir)/lib/coding.c \
$(top_srcdir)/lib/element.c $(top_srcdir)/lib/gstr.c \
- $(top_srcdir)/lib/structure.c $(top_builddir)/lib/ASN1.c \
- $(top_builddir)/lib/version.c
+ $(top_srcdir)/lib/structure.c $(top_srcdir)/lib/ASN1.c \
+ $(top_srcdir)/lib/version.c
update-makefile:
@MANS=""; \
SUBDIRS = gllib
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAG_VISIBILITY)
-AM_CPPFLAGS = -I$(builddir)/gllib -DASN1_BUILDING
+AM_CPPFLAGS = -I$(srcdir)/gllib -DASN1_BUILDING
include_HEADERS = libtasn1.h