diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-07-28 19:40:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:30:10 -0500 |
commit | 294d2f4f7845cb5a111a3da6f1008ad678dc963d (patch) | |
tree | 83aed009f0b610cb4f426e0b9fb35d0a58148d8f | |
parent | 726681d158704f941b71fe4787ac9f1a610328c5 (diff) | |
download | samba-294d2f4f7845cb5a111a3da6f1008ad678dc963d.tar.gz samba-294d2f4f7845cb5a111a3da6f1008ad678dc963d.tar.bz2 samba-294d2f4f7845cb5a111a3da6f1008ad678dc963d.zip |
r8838: Add ugly hack to prevent make from barfing out because it doesn't know
how to create heimdal C files.
(This used to be commit 403ed4abf5d9061c1d8e66e94766ae1ccefb585d)
-rw-r--r-- | source4/build/smb_build/makefile.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 01d2de770a..197f506e2a 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -216,10 +216,16 @@ __EOD__ sub _prepare_depend_CC_rule() { return << '__EOD__'; -.c.d: + +%.d: %.c @echo "Generating dependencies for $<" @$(CC) -MM -MG -MT $(<:.c=.o) -MF $@ $(CFLAGS) $< +# Ugly fallback used for generating a dependency file when +# make doesn't know how to build the related C file +%.d: + @touch $@ + __EOD__ } |