From 34bcf4786bea912660b047ce8af0f013e80147ec Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 6 Aug 1987 19:00:21 +0000 Subject: [PATCH] make two versions: one for new peephole optimizer --- modules/src/em_mes/Makefile | 11 ++++++++++- modules/src/em_mes/em_mes.3 | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/modules/src/em_mes/Makefile b/modules/src/em_mes/Makefile index 3d4e4ae78..beb88f2b0 100644 --- a/modules/src/em_mes/Makefile +++ b/modules/src/em_mes/Makefile @@ -9,19 +9,28 @@ OBJ = C_ms_err.o C_ms_opt.o C_ms_emx.o C_ms_reg.o C_ms_src.o\ INCLUDES=-I$(EMHOME)/h -I$(HDIR) CFLAGS = $(INCLUDES) -O -all: libem_mes.a +all: libem_mes.a libem_mesO.a libem_mes.a: $(OBJ) rm -f libem_mes.a ar cr libem_mes.a $(OBJ) -sh -c 'ranlib libem_mes.a' +libem_mesO.a: + rm -f *.o libem_mesO.a + $(CC) -c $(CFLAGS) -DPEEPHOLE $(SRC) + ar cr libem_mesO.a $(OBJ) + -sh -c 'ranlib libem_mesO.a' + rm -f *.o + install: all $(INSTALL) lib/libem_mes.a + $(INSTALL) lib/libem_mesO.a $(INSTALL) man/em_mes.3 cmp: all $(COMPARE) lib/libem_mes.a + $(COMPARE) lib/libem_mesO.a $(COMPARE) man/em_mes.3 pr: diff --git a/modules/src/em_mes/em_mes.3 b/modules/src/em_mes/em_mes.3 index 80ab7aecf..9125876ac 100644 --- a/modules/src/em_mes/em_mes.3 +++ b/modules/src/em_mes/em_mes.3 @@ -39,7 +39,7 @@ em_mes \- EM-message generating routines .fi .SH DESCRIPTION This set of routines forms a front end for the -.IR em_code (3L) +.IR em_code (3) module. The philosophy behind this package is to provide a single routine for each type of EM message that is generated by a front-end compiler.