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 .
|
1991-02-20 09:56:17 +00:00
|
|
|
tar xf $(EMHOME)/lang/cem/libcc.ansi/libsrc
|
|
|
|
touch libsrc
|
1989-12-19 15:45:15 +00:00
|
|
|
|
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
|
|
|
|
1990-12-19 12:59:36 +00:00
|
|
|
cmplibc: libsrc
|
|
|
|
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=`homefromsubdir $(EMHOME)`" tail
|
1989-12-19 15:45:15 +00:00
|
|
|
|
1990-09-27 16:37:22 +00:00
|
|
|
cmphead: head_$(PREF).e
|
1990-12-19 12:59:36 +00:00
|
|
|
make -f $(MAKEFILE) $(LIBC) $(MACHDEF) "EMHOME=$(EMHOME)" head
|
1990-09-27 16:37:22 +00:00
|
|
|
|
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
|