36 lines
871 B
Plaintext
36 lines
871 B
Plaintext
# $Id$
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
#MACH_PARAMS do not remove this line!
|
|
|
|
SRC_DIR = $(SRC_HOME)/mach/$(MACH)/libend
|
|
|
|
all: end_o.a
|
|
|
|
end_o.a:
|
|
ASAR="$(ASAR)" ; export ASAR ; \
|
|
RANLIB="$(RANLIB)" ; export RANLIB ; \
|
|
MACH="$(MACH)" ; export MACH ; \
|
|
SUF="$(SUF)" ; export SUF ; \
|
|
MACHFL="$(MACHFL) -LIB" ; export MACHFL ; \
|
|
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
|
|
|
|
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:
|
|
LIB=`head -1 $(SRC_DIR)/LIST` ; export LIB ; \
|
|
arch pv $(SRC_DIR)/$$LIB | pr -h $(SRC_DIR)/$$LIB
|