$NetBSD: patch-dg,v 1.2 2002/03/29 21:00:10 mrauch Exp $

--- ../idlc/source/makefile.mk.orig	Fri Mar 29 11:54:39 2002
+++ ../idlc/source/makefile.mk
@@ -72,9 +72,7 @@
 # --- Settings -----------------------------------------------------
 
 
-.INCLUDE :  svpre.mk
 .INCLUDE :  settings.mk
-.INCLUDE :  sv.mk
 
 
 # --- Files --------------------------------------------------------
@@ -102,6 +100,9 @@
 			astunion.cxx \
 			astexpression.cxx
 
+ YACCTARGET=$(MISC)$/parser.cxx
+ YACCFILES=parser.yy
+
 OBJFILES=   \
 			$(OBJ)$/scanner.obj	\
 			$(OBJ)$/parser.obj	\
@@ -146,8 +147,3 @@
 $(MISC)$/scanner.cxx:	$(MISC)$/stripped_scanner.ll
 	+flex -o$(MISC)$/scanner.cxx $(MISC)$/stripped_scanner.ll
 
-$(MISC)$/parser.cxx: parser.yy
-	+bison -v -d -o$(MISC)$/parser.cxx parser.yy
-	+$(COPY) $(MISC)$/parser.cxx.h $(OUT)$/inc$/parser.h
-# with line statements (for debugging)
-#	+bison -v -d -o$(MISC)$/parser.cxx parser.yy
