summaryrefslogtreecommitdiffstats
path: root/src/coff/base/Makefile.am
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-05-01 12:25:28 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-05-01 12:25:28 +0200
commit9f4064c1e558a946ea30ab93bd132745abe80a39 (patch)
treed0d75fc1fdf48b907dd2a92ee3c2975ec35e6a21 /src/coff/base/Makefile.am
parent4f8fcc711f2ae7f5a10a5695e8ad9bd4e2536f82 (diff)
downloadpiklab-9f4064c1e558a946ea30ab93bd132745abe80a39.tar.gz
piklab-9f4064c1e558a946ea30ab93bd132745abe80a39.zip
Fix build out-of-source
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/coff/base/Makefile.am')
-rw-r--r--src/coff/base/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coff/base/Makefile.am b/src/coff/base/Makefile.am
index c6ffbab..83ca6dd 100644
--- a/src/coff/base/Makefile.am
+++ b/src/coff/base/Makefile.am
@@ -5,9 +5,9 @@ noinst_LTLIBRARIES = libcoff.la
libcoff_la_LDFLAGS = $(all_libraries)
libcoff_la_SOURCES = coff.cpp gpdis.cpp gpopcode.cpp disassembler.cpp \
coff_data.cpp text_coff.cpp cdb_parser.cpp coff_archive.cpp coff_object.cpp
-libcoff_la_DEPENDENCIES = coff_data.cpp
+libcoff_la_DEPENDENCIES = $(srcdir)/coff_data.cpp
noinst_DATA = coff.xml
-coff_data.cpp: ../xml/xml_coff_parser coff.xml
- ../xml/xml_coff_parser
+$(srcdir)/coff_data.cpp: ../xml/xml_coff_parser coff.xml
+ cd $(srcdir) && $(abs_builddir)/../xml/xml_coff_parser
CLEANFILES = coff_data.cpp