From a8f0aa601635d2d2d32f78a976d5348026abab89 Mon Sep 17 00:00:00 2001 From: eck Date: Wed, 3 Jan 1990 16:42:36 +0000 Subject: [PATCH] various fixes to makefile --- mach/sun3/libcc.ansi/makefile | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/mach/sun3/libcc.ansi/makefile b/mach/sun3/libcc.ansi/makefile index e3097d39b..1463e319d 100644 --- a/mach/sun3/libcc.ansi/makefile +++ b/mach/sun3/libcc.ansi/makefile @@ -2,19 +2,31 @@ SUF=o EMHOME=../../.. MAKEFILE=Makefile MACHDEF="MACH=sun3" "SUF=$(SUF)" "ASAR=aal" "DEFS=-DNFS" -LIBC="PREF=ac" +PREF=ac +SUB= +LIBC="PREF=$(PREF)" "SUB=$(SUB)" OLIB=tail_$(PREF)$(SUB) -libc: +install: cplibc + +cplibc: cp $(EMHOME)/lang/cem/libcc.ansi/libsrc . tar xf libsrc make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=../$(EMHOME)" tailcp cmp: cmplibc - cmplibc: - make -f $(MAKEFILE) $(LIBC) $(MACHDEF) tail + cp $(EMHOME)/lang/cem/libcc.ansi/libsrc . + tar xf libsrc + make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=../$(EMHOME)" tail + -../../compare $(OLIB) clean: rm -rf `cat LIST` LIST MakeArch Makefile make.proto libsrc + +opr: + make pr | opr + +pr: + @pr makefile