ack/mach/proto/libg/proto.libcc

63 lines
1.2 KiB
Plaintext
Raw Normal View History

1991-08-23 14:07:27 +00:00
# $Header$
#PARAMS do not remove this line!
#MACH_PARAMS do not remove this line!
MACHDEF= \
"MACH=$(MACH)" \
"SUF=$(SUF)" \
"ASAR=$(ASAR)" \
"RANLIB=$(RANLIB)" \
"SRC_HOME=$(SRC_HOME)" \
"TARGET_HOME=$(TARGET_HOME)" \
"COMPILE=$(SRC_HOME)/mach/proto/libg/compmodule"
MAKEFILE=$(SRC_HOME)/mach/proto/libg/Makefile
STDIO="PREF=cc" "SUB=.1s" "SRC=lang/cem/libcc/stdio"
GEN="PREF=cc" "SUB=.2g" "SRC=lang/cem/libcc/gen"
LIBM="PREF=m" "SRC=lang/cem/libcc/math"
all: stdio gen libm
stdio:
make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tail
gen:
make -f $(MAKEFILE) $(GEN) $(MACHDEF) all
libm:
make -f $(MAKEFILE) $(LIBM) $(MACHDEF) tail
install: cpstdio cpgen cplibm
cpstdio:
make -f $(MAKEFILE) $(STDIO) $(MACHDEF) tailcp
cpgen:
make -f $(MAKEFILE) $(GEN) $(MACHDEF) cp
cplibm:
make -f $(MAKEFILE) $(LIBM) $(MACHDEF) tailcp
cmp: cmpstdio cmpgen cmplibm
cmpstdio: stdio
-cmp tail_cc.1s $(TARGET_HOME)/lib/$(MACH)/tail_cc.1s
cmpgen: gen
-cmp head_cc $(TARGET_HOME)/lib/$(MACH)/head_cc
-cmp tail_cc.2g $(TARGET_HOME)/lib/$(MACH)/tail_cc.2g
cmplibm: libm
-cmp tail_m $(TARGET_HOME)/lib/$(MACH)/tail_m
clean:
-rm -f *.old *.[ce$(SUF)] tail* head*
opr:
@echo "nothing to be printed"
pr:
@echo "nothing to be printed"