Kaydet (Commit) 457535e1 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add YaccObject class

üst 68e756de
......@@ -42,6 +42,7 @@ gb_CXX := $(CXX)
gb_AR := $(shell $(CC) -print-prog-name=ar)
gb_AWK := awk
gb_CLASSPATHSEP := :
gb_YACC := bison
gb_RC := $(WINDRES)
ifeq ($(USE_MINGW),cygwin)
gb_MINGWLIBDIR := $(COMPATH)/lib/mingw
......@@ -222,6 +223,16 @@ $(patsubst $(SRCDIR)%,$(gb_Helper_SRCDIR_NATIVE)%, \
$(1)))))
endef
# YaccObject class
define gb_YaccObject__command
$(call gb_Output_announce,$(2),$(true),YAC,3)
$(call gb_Helper_abbreviate_dirs,\
mkdir -p $(dir $(3)) && \
$(gb_YACC) $(T_YACCFLAGS) --defines=$(4) -o $(3) $(1) )
endef
# CObject class
# We (LibreOffice) support MinGW only for cross-compilation. This is identical to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment