1994-06-24 14:02:31 +00:00
|
|
|
# $Id$
|
1991-08-23 14:07:27 +00:00
|
|
|
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
|
|
|
|
#MACH_PARAMS do not remove this line!
|
|
|
|
|
|
|
|
SRC_DIR = $(SRC_HOME)/mach/$(MACH)/libem
|
|
|
|
|
1991-09-04 10:45:29 +00:00
|
|
|
all: libem_o.a
|
1991-08-23 14:07:27 +00:00
|
|
|
|
1991-09-04 10:45:29 +00:00
|
|
|
libem_o.a: $(SRC_DIR)/libem_s.a
|
1991-08-23 14:07:27 +00:00
|
|
|
ASAR="$(ASAR)" ; export ASAR ; \
|
|
|
|
RANLIB="$(RANLIB)" ; export RANLIB ; \
|
|
|
|
MACH="$(MACH)" ; export MACH ; \
|
1991-09-18 10:02:37 +00:00
|
|
|
SUF="$(SUF)" ; export SUF ; \
|
|
|
|
MACHFL="$(MACHFL) -I$(TARGET_HOME)/h" ; export MACHFL ; \
|
1991-09-04 10:45:29 +00:00
|
|
|
if [ $(SUF) = o ] ; then march $(SRC_DIR) libem_o.a $(SRC_HOME)/mach/proto/libg/compmodule ; else cp $(SRC_DIR)/libem_s.a libem_o.a ; fi
|
1991-08-23 14:07:27 +00:00
|
|
|
|
|
|
|
install: all
|
1991-09-04 10:45:29 +00:00
|
|
|
cp libem_o.a $(TARGET_HOME)/lib/$(MACH)/tail_em
|
1991-08-23 14:07:27 +00:00
|
|
|
$(RANLIB) $(TARGET_HOME)/lib/$(MACH)/tail_em
|
|
|
|
|
|
|
|
cmp: all
|
1991-09-04 10:45:29 +00:00
|
|
|
-cmp libem_o.a $(TARGET_HOME)/lib/$(MACH)/tail_em
|
1991-08-23 14:07:27 +00:00
|
|
|
|
|
|
|
clean:
|
1991-09-04 10:45:29 +00:00
|
|
|
-rm -f *.old *.[ce$(SUF)] libem_o.a
|
1991-08-23 14:07:27 +00:00
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
pr:
|
|
|
|
arch pv $(SRC_DIR)/libem_s.a | pr -h $(SRC_DIR)/libem_s.a
|