1990-09-18 14:42:32 +00:00
|
|
|
SUF=o
|
|
|
|
EMHOME=../../..
|
|
|
|
MAKEFILE=Makefile
|
|
|
|
MACHDEF="MACH=vax4" "SUF=$(SUF)" "ASAR=aal" "DEFS=-DBFS"
|
|
|
|
PREF=ac
|
|
|
|
SUB=
|
|
|
|
LIBC="PREF=$(PREF)" "SUB=$(SUB)"
|
|
|
|
OLIB=tail_$(PREF)$(SUB)
|
|
|
|
|
1990-09-28 13:13:34 +00:00
|
|
|
install: cplibc cphead
|
1990-09-18 14:42:32 +00:00
|
|
|
|
1990-09-28 13:13:34 +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 .
|
1991-02-20 09:56:17 +00:00
|
|
|
tar xf $(EMHOME)/lang/cem/libcc.ansi/libsrc
|
|
|
|
touch libsrc
|
1990-09-18 14:42:32 +00:00
|
|
|
|
1990-09-28 13:13:34 +00:00
|
|
|
cmp: cmplibc cmphead
|
1990-09-18 14:56:52 +00:00
|
|
|
-../../compare $(OLIB)
|
1990-09-18 14:42:32 +00:00
|
|
|
|
|
|
|
cmplibc:
|
|
|
|
cp $(EMHOME)/lang/cem/libcc.ansi/libsrc .
|
|
|
|
tar xf libsrc
|
|
|
|
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=../$(EMHOME)" tail
|
|
|
|
|
1990-09-28 13:13:34 +00:00
|
|
|
cmphead: head_$(PREF).e
|
|
|
|
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=../$(EMHOME)" head
|
|
|
|
|
1990-09-18 14:42:32 +00:00
|
|
|
clean:
|
1990-09-28 13:13:34 +00:00
|
|
|
rm -rf `cat LIST` LIST OLIST MakeArch Makefile make.proto libsrc head_$(PREF).[e$(SUF)]
|
1990-09-18 14:42:32 +00:00
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
pr:
|
|
|
|
@pr makefile
|