From 83215c83294a6e1d3fb6e025b08443ab77a9da69 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 7 Mar 2011 09:13:59 +0000 Subject: Use flex and bison from tools/mhmake --- xorg-server/hw/xwin/makefile | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'xorg-server/hw/xwin/makefile') diff --git a/xorg-server/hw/xwin/makefile b/xorg-server/hw/xwin/makefile index b45f2744c..462c2c0e2 100644 --- a/xorg-server/hw/xwin/makefile +++ b/xorg-server/hw/xwin/makefile @@ -157,18 +157,8 @@ DEFINES += $(DEFS:-D%=%) HAVE_XWIN_CONFIG_H PTW32_STATIC_LIB RELOCATE_PROJECTROO INCLUDES += ..\..\miext\rootless - - - INCLUDES += $(OBJDIR) -AM_YFLAGS = -d -AM_LFLAGS = -i - -$(OBJDIR)\winprefslex.c: winprefslex.l $(OBJDIR)\winprefsyacc.h - flex $(AM_LFLAGS) -o$@ $< - -$(OBJDIR)\winprefsyacc.c : $(OBJDIR)\winprefsyacc.h # this is to avoid building at the same time of winprefsyacc.obj and winprefsyacc.h, this will give error during generation of winprefsyacc.h because winprefsyacc.c is locked +$(OBJDIR)\winprefslex.c $(OBJDIR)\winprefsyacc.c $(OBJDIR)\winprefsyacc.h: winprefslex.l winprefsyacc.y $(OBJDIR)\winprefsyacc.h + doflexbison.bat $(subst \,/,$(OBJDIR)) -$(OBJDIR)\winprefsyacc.c $(OBJDIR)\winprefsyacc.h: winprefsyacc.y - bison $(AM_YFLAGS) -o$(OBJDIR)\winprefsyacc.c $< -- cgit v1.2.3