pkgsrc/devel/lcc/patches/patch-aa

46 lines
1.7 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2001/07/21 02:51:36 gmcgarry Exp $
--- makefile.orig Tue Jun 5 19:16:00 2001
+++ makefile Tue Jun 5 19:18:07 2001
@@ -65,7 +65,8 @@
$Bsparc$O \
$Bstab$O \
$Bx86$O \
- $Bx86linux$O
+ $Bx86linux$O \
+ $Bx86bsd$O
$Brcc$E:: $Bmain$O $Blibrcc$A $(EXTRAOBJS)
$(LD) $(LDFLAGS) -o $@ $Bmain$O $(EXTRAOBJS) $Blibrcc$A $(EXTRALIBS)
@@ -111,6 +112,7 @@
$Bsparc$O: $Bsparc.c; $(CC) $(CFLAGS) -c -Isrc -o $@ $Bsparc.c
$Bx86$O: $Bx86.c; $(CC) $(CFLAGS) -c -Isrc -o $@ $Bx86.c
$Bx86linux$O: $Bx86linux.c; $(CC) $(CFLAGS) -c -Isrc -o $@ $Bx86linux.c
+$Bx86bsd$O: $Bx86bsd.c; $(CC) $(CFLAGS) -c -Isrc -o $@ $Bx86bsd.c
$Bdagcheck.c: $Blburg$E src/dagcheck.md; $Blburg src/dagcheck.md $@
$Balpha.c: $Blburg$E src/alpha.md; $Blburg src/alpha.md $@
@@ -118,6 +120,7 @@
$Bsparc.c: $Blburg$E src/sparc.md; $Blburg src/sparc.md $@
$Bx86.c: $Blburg$E src/x86.md; $Blburg src/x86.md $@
$Bx86linux.c: $Blburg$E src/x86linux.md; $Blburg src/x86linux.md $@
+$Bx86bsd.c: $Blburg$E src/x86bsd.md; $Blburg src/x86bsd.md $@
$Brcc.h: src/rcc.asdl; $(ASDL_HOME)/bin/asdlGen --c -d $B src/rcc.asdl
$Brcc$O: $Brcc.h; $(CC) $(CFLAGS) -c -Isrc -I$B -I$(ASDL_HOME)/include/asdlGen -o $@ $Brcc.c
@@ -231,7 +234,7 @@
clean:: testclean
$(RM) $B*$O
- $(RM) $Bdagcheck.c $Balpha.c $Bmips.c $Bx86.c $Bsparc.c $Bx86linux.c $Bgram.c
+ $(RM) $Bdagcheck.c $Balpha.c $Bmips.c $Bx86.c $Bsparc.c $Bx86linux.c $Bx86bsd.c $Bgram.c
$(RM) $Brcc.c $Brcc.h
$(RM) $Brcc1$E $Brcc1$E $B1rcc$E $B2rcc$E
$(RM) $B*.ilk
@@ -274,6 +277,7 @@
$Bmips.c \
$Bsparc.c \
$Bx86linux.c \
+ $Bx86bsd.c \
$Bx86.c
C=$Blcc -A -d0.6 -Wo-lccdir=$(BUILDDIR) -Isrc -I$(BUILDDIR)