summaryrefslogtreecommitdiff
path: root/source4/main.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-04 05:23:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:12 -0500
commit586838c306fb1f8c814d93d16c698d9e4967604d (patch)
tree48d28d7ac2768fd0043e2ef15c7def96352cf5a8 /source4/main.mk
parent4b8733c24524828662f7d381ec7533ba44afb07d (diff)
downloadsamba-586838c306fb1f8c814d93d16c698d9e4967604d.tar.gz
samba-586838c306fb1f8c814d93d16c698d9e4967604d.tar.bz2
samba-586838c306fb1f8c814d93d16c698d9e4967604d.zip
r9052: Support lex/yacc compilers without support for -o
(This used to be commit e641d3a847f2dafc25e5555eed601325cbc86c07)
Diffstat (limited to 'source4/main.mk')
-rw-r--r--source4/main.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/main.mk b/source4/main.mk
index d3620f0120..2e21e9d715 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -180,7 +180,9 @@ valgrindtest: all
./script/tests/selftest.sh ${selftest_prefix}/st quick SOCKET_WRAPPER
.y.c:
- $(YACC) -d -o $@ $<
+ @echo "Building $< with $(YACC)"
+ @-$(srcdir)/script/yacc_compile.sh "$(YACC)" "$<" "$@"
.l.c:
- $(LEX) -o $@ $<
+ @echo "Building $< with $(LEX)"
+ @-$(srcdir)/script/lex_compile.sh "$(LEX)" "$<" "$@"