ack/mach/sun3/libcc.ansi/makefile

43 lines
920 B
Makefile
Raw Normal View History

1989-12-19 15:45:15 +00:00
SUF=o
EMHOME=../../..
MAKEFILE=Makefile
MACHDEF="MACH=sun3" "SUF=$(SUF)" "ASAR=aal" "DEFS=-DNFS"
1990-01-03 16:42:36 +00:00
PREF=ac
SUB=
LIBC="PREF=$(PREF)" "SUB=$(SUB)"
1989-12-19 15:45:15 +00:00
OLIB=tail_$(PREF)$(SUB)
1990-09-27 16:37:22 +00:00
install: cplibc cphead
1990-01-03 16:42:36 +00:00
1990-09-27 16:37:22 +00:00
cplibc: libsrc
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=`homefromsubdir $(EMHOME)`" tailcp
cphead: head_$(PREF).e
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=$(EMHOME)" headcp
head_$(PREF).e: libsrc
libsrc: $(EMHOME)/lang/cem/libcc.ansi/libsrc .
1989-12-19 15:45:15 +00:00
cp $(EMHOME)/lang/cem/libcc.ansi/libsrc .
tar xf libsrc
1990-09-27 16:37:22 +00:00
cmp: cmplibc cmphead
1990-09-18 14:56:52 +00:00
-../../compare $(OLIB)
1989-12-19 15:45:15 +00:00
cmplibc:
1990-01-03 16:42:36 +00:00
cp $(EMHOME)/lang/cem/libcc.ansi/libsrc .
tar xf libsrc
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=../$(EMHOME)" tail
1989-12-19 15:45:15 +00:00
1990-09-27 16:37:22 +00:00
cmphead: head_$(PREF).e
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=../$(EMHOME)" head
1989-12-19 15:45:15 +00:00
clean:
1990-09-27 16:37:22 +00:00
rm -rf `cat LIST` LIST OLIST MakeArch Makefile make.proto libsrc head_$(PREF).[e$(SUF)]
1990-01-03 16:42:36 +00:00
opr:
make pr | opr
pr:
@pr makefile