summaryrefslogtreecommitdiff
path: root/ACE/MPC/config/yacc.mpb
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/MPC/config/yacc.mpb')
-rw-r--r--ACE/MPC/config/yacc.mpb15
1 files changed, 15 insertions, 0 deletions
diff --git a/ACE/MPC/config/yacc.mpb b/ACE/MPC/config/yacc.mpb
new file mode 100644
index 00000000000..3f96b213383
--- /dev/null
+++ b/ACE/MPC/config/yacc.mpb
@@ -0,0 +1,15 @@
+// $Id$
+project {
+ requires += yacc
+ Define_Custom(YACC) {
+ automatic = 1
+ command = yacc
+ commandflags = -d
+ postcommand = <%mv%> y.tab.c <%source_file%> <%and%> <%mv%> y.tab.h <%header_file%>
+ pch_postrule = 1
+ inputext = .yy, .y
+ pre_extension = .tab
+ source_outputext = .c, .cpp, .cxx, .cc, .C
+ header_outputext = .h, .hpp, .hxx, .hh
+ }
+}