33 lines
741 B
Plaintext
33 lines
741 B
Plaintext
|
# $Header$
|
||
|
|
||
|
#PARAMS do not remove this line!
|
||
|
|
||
|
#MACH_PARAMS do not remove this line!
|
||
|
|
||
|
SRC_DIR = $(SRC_HOME)/mach/$(MACH)/libem
|
||
|
|
||
|
all: libem
|
||
|
|
||
|
libem: $(SRC_DIR)/libem_s.a
|
||
|
ASAR="$(ASAR)" ; export ASAR ; \
|
||
|
RANLIB="$(RANLIB)" ; export RANLIB ; \
|
||
|
MACH="$(MACH)" ; export MACH ; \
|
||
|
MACHFL="$(MACHFL)" ; export MACHFL ; \
|
||
|
if [ $(SUF) = o ] march $(SRC_DIR) libem $(SRC_HOME)/mach/proto/libg/compmodule ; else cp $(SRC_DIR)/libem_s.a libem ; fi
|
||
|
|
||
|
install: all
|
||
|
cp libem $(TARGET_HOME)/lib/$(MACH)/tail_em
|
||
|
$(RANLIB) $(TARGET_HOME)/lib/$(MACH)/tail_em
|
||
|
|
||
|
cmp: all
|
||
|
-cmp libem $(TARGET_HOME)/lib/$(MACH)/tail_em
|
||
|
|
||
|
clean:
|
||
|
-rm -f *.old *.[ce$(SUF)] libem
|
||
|
|
||
|
opr:
|
||
|
make pr | opr
|
||
|
|
||
|
pr:
|
||
|
arch pv $(SRC_DIR)/libem_s.a | pr -h $(SRC_DIR)/libem_s.a
|