summaryrefslogtreecommitdiff
path: root/rsc/Executable_rsc.mk
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-08-19 20:31:38 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-08-19 20:39:35 -0500
commit6f4309fb1e18891aa02fb231f306a1115d4ddac8 (patch)
tree4f45cc1c6bc2eec0514847bc109fd3229b117821 /rsc/Executable_rsc.mk
parentd73872e9f262744d40ffddcc77c3e0ccebe467a0 (diff)
use native yacc/bison support in rsc rather than a sub-make
Diffstat (limited to 'rsc/Executable_rsc.mk')
-rw-r--r--rsc/Executable_rsc.mk16
1 files changed, 11 insertions, 5 deletions
diff --git a/rsc/Executable_rsc.mk b/rsc/Executable_rsc.mk
index ec8945fea2e9..71b0cc07889c 100644
--- a/rsc/Executable_rsc.mk
+++ b/rsc/Executable_rsc.mk
@@ -28,13 +28,12 @@
$(eval $(call gb_Executable_Executable,rsc))
-$(eval $(call gb_Executable_add_package_headers,rsc,rsc_yacc))
$(eval $(call gb_Executable_set_include,rsc,\
$$(INCLUDE) \
- -I$(realpath $(SRCDIR)/rsc/inc) \
- -I$(realpath $(SRCDIR)/rsc/inc/pch) \
- -I$(realpath $(WORKDIR))/CustomTarget/rsc/source/parser \
+ -I$(SRCDIR)/rsc/inc \
+ -I$(SRCDIR)/rsc/inc/pch \
+ -I$(WORKDIR)/GenCxxObject/rsc/source/parser \
))
$(eval $(call gb_Executable_add_api,rsc,\
@@ -54,6 +53,14 @@ $(eval $(call gb_Executable_add_linked_libs,rsc,\
$(gb_STDLIBS) \
))
+$(eval $(call gb_Executable_add_grammars,rsc,\
+ rsc/source/parser/rscyacc, \
+ rsc/source/parser/rscibas \
+ rsc/source/parser/rscicpx \
+ rsc/source/parser/rscinit \
+ rsc/source/parser/rsclex \
+))
+
$(eval $(call gb_Executable_add_exception_objects,rsc,\
rsc/source/misc/rscdbl \
rsc/source/misc/rsclst \
@@ -65,7 +72,6 @@ $(eval $(call gb_Executable_add_exception_objects,rsc,\
rsc/source/parser/rsckey \
rsc/source/parser/rsclex \
rsc/source/parser/rscpar \
- rsc/source/parser/rscyacc \
rsc/source/prj/gui \
rsc/source/prj/start \
rsc/source/res/rscall \