summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit2_bootloader/base/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/pickit2_bootloader/base/Makefile.am')
-rw-r--r--src/progs/pickit2_bootloader/base/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/pickit2_bootloader/base/Makefile.am b/src/progs/pickit2_bootloader/base/Makefile.am
index db87222..514882a 100644
--- a/src/progs/pickit2_bootloader/base/Makefile.am
+++ b/src/progs/pickit2_bootloader/base/Makefile.am
@@ -3,9 +3,9 @@ METASOURCES = AUTO
noinst_LTLIBRARIES = libpickit2bootloader.la
libpickit2bootloader_la_SOURCES = pickit2_bootloader_data.cpp pickit2_bootloader_prog.cpp pickit2_bootloader.cpp
-libpickit2bootloader_la_DEPENDENCIES = pickit2_bootloader_data.cpp
+libpickit2bootloader_la_DEPENDENCIES = $(srcdir)/pickit2_bootloader_data.cpp
noinst_DATA = pickit2_bootloader.xml
-pickit2_bootloader_data.cpp: ../xml/xml_pickit2_bootloader_parser pickit2_bootloader.xml
- ../xml/xml_pickit2_bootloader_parser
+$(srcdir)/pickit2_bootloader_data.cpp: ../xml/xml_pickit2_bootloader_parser pickit2_bootloader.xml
+ cd $(srcdir) && $(abs_builddir)/../xml/xml_pickit2_bootloader_parser
CLEANFILES = pickit2_bootloader_data.cpp