summaryrefslogtreecommitdiffstats
path: root/src/coff/base
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-06 18:26:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-07 11:02:46 +0900
commit014e4b95648f2b8e7deb57acb0cdd8cefc363477 (patch)
tree02ced501daff512fed5126427f57eca6c2ef3630 /src/coff/base
parentf2e2d9a5271aa9cfd966592d50f60d5b5bf550f4 (diff)
downloadpiklab-014e4b95648f2b8e7deb57acb0cdd8cefc363477.tar.gz
piklab-014e4b95648f2b8e7deb57acb0cdd8cefc363477.zip
Allow generation of build time data files in out-of-source builds. Also fix generation of data file for devices/mem24 subfolder
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ac3f0014232619edc41865f6e42e6510bdd8acc6)
Diffstat (limited to 'src/coff/base')
-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 83ca6dd..399bf12 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 = $(srcdir)/coff_data.cpp
+libcoff_la_DEPENDENCIES = coff_data.cpp
noinst_DATA = coff.xml
-$(srcdir)/coff_data.cpp: ../xml/xml_coff_parser coff.xml
- cd $(srcdir) && $(abs_builddir)/../xml/xml_coff_parser
+coff_data.cpp: ../xml/xml_coff_parser coff.xml
+ cd $(abs_builddir) && ./../xml/xml_coff_parser $(srcdir)
CLEANFILES = coff_data.cpp