1991-09-04 10:45:29 +00:00
|
|
|
# $Header$
|
|
|
|
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
|
|
|
|
#MACH_PARAMS do not remove this line!
|
|
|
|
|
|
|
|
SRC_DIR = $(SRC_HOME)/mach/$(MACH)/libend
|
|
|
|
|
|
|
|
all: end_o.a
|
|
|
|
|
1991-09-18 10:02:37 +00:00
|
|
|
end_o.a:
|
1991-09-04 10:45:29 +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 ; \
|
1993-10-07 10:56:25 +00:00
|
|
|
MACHFL="$(MACHFL) -LIB" ; export MACHFL ; \
|
1991-09-18 10:02:37 +00:00
|
|
|
LIB=`head -1 $(SRC_DIR)/LIST` ; export LIB ; \
|
|
|
|
if [ $(SUF) = o -o $(SUF) = m ] ; then march $(SRC_DIR) end_o.a $(SRC_HOME)/mach/proto/libg/compmodule ; else cp $(SRC_DIR)/$$LIB end_o.a ; fi
|
1991-09-04 10:45:29 +00:00
|
|
|
|
|
|
|
install: all
|
|
|
|
cp end_o.a $(TARGET_HOME)/lib/$(MACH)/end_em
|
|
|
|
$(RANLIB) $(TARGET_HOME)/lib/$(MACH)/end_em
|
|
|
|
|
|
|
|
cmp: all
|
|
|
|
-cmp end_o.a $(TARGET_HOME)/lib/$(MACH)/end_em
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f *.old *.[ce$(SUF)] end_o.a
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
pr:
|
1991-09-18 10:02:37 +00:00
|
|
|
LIB=`head -1 $(SRC_DIR)/LIST` ; export LIB ; \
|
|
|
|
arch pv $(SRC_DIR)/$$LIB | pr -h $(SRC_DIR)/$$LIB
|