summaryrefslogtreecommitdiff
path: root/soltools/mkdepend/def.h
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-24 16:08:46 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-24 17:37:46 +0200
commit7019a1c67473623cb81ca0c9e155b90a5ce6947a (patch)
tree8a1db39a43b28aa9673133a2e6bb2a7cd8a91e40 /soltools/mkdepend/def.h
parentced9e2abecbbdf70acb3ca46c5e6a6d4247015c0 (diff)
gbuild: get rid of processdeps.awk
The only thing that processdeps.awk does that is actually useful is to be able to set the target name freely, but that is only important for the default resource file which was just renamed. Instead hack makedepend to provide the required functionality directly: - write dummy rules for included files so builds don't break on rename/removal - format deps one per line like concat-deps expects - concat-deps expects standard POSIX line ends, so open in binary mode (also disable that awful backup copying nonsense) Though in retrospect it would perhaps be a better investment of time to try to replace makedepend... Change-Id: I54fafdcdcf1a52692e62b8f1f4b96fb9a93d4421
Diffstat (limited to 'soltools/mkdepend/def.h')
-rw-r--r--soltools/mkdepend/def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/soltools/mkdepend/def.h b/soltools/mkdepend/def.h
index 1ec838231d68..1c0e91a811c9 100644
--- a/soltools/mkdepend/def.h
+++ b/soltools/mkdepend/def.h
@@ -181,6 +181,7 @@ void add_include(struct filepointer *filep, struct inclist *file,
int match(register char *str, register char **list);
void recursive_pr_include(register struct inclist *head, register char *file,
register char *base);
+void recursive_pr_dummy(register struct inclist *head, register char *file);
void inc_clean();
void fatalerr(char *, ...);