33 lines
		
	
	
	
		
			822 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			822 B
		
	
	
	
		
			Text
		
	
	
	
	
	
# $Id$
 | 
						|
 | 
						|
#PARAMS		do not remove this line!
 | 
						|
 | 
						|
#MACH_PARAMS	do not remove this line!
 | 
						|
 | 
						|
SRC_DIR =	$(SRC_HOME)/mach/$(MACH)/libem
 | 
						|
 | 
						|
all:		libem_o.a
 | 
						|
 | 
						|
libem_o.a:	$(SRC_DIR)/libem_s.a
 | 
						|
		ASAR="$(ASAR)" ; export ASAR ; \
 | 
						|
		RANLIB="$(RANLIB)" ; export RANLIB ; \
 | 
						|
		MACH="$(MACH)" ; export MACH ; \
 | 
						|
		SUF="$(SUF)" ; export SUF ; \
 | 
						|
		MACHFL="$(MACHFL) -I$(TARGET_HOME)/h" ; export MACHFL ; \
 | 
						|
		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
 | 
						|
 | 
						|
install:	all
 | 
						|
		cp libem_o.a $(TARGET_HOME)/lib/$(MACH)/tail_em
 | 
						|
		$(RANLIB) $(TARGET_HOME)/lib/$(MACH)/tail_em
 | 
						|
 | 
						|
cmp:		all
 | 
						|
		-cmp libem_o.a $(TARGET_HOME)/lib/$(MACH)/tail_em
 | 
						|
 | 
						|
clean:
 | 
						|
		-rm -f *.old *.[ce$(SUF)] libem_o.a
 | 
						|
 | 
						|
opr:
 | 
						|
		make pr | opr
 | 
						|
 | 
						|
pr:
 | 
						|
		arch pv $(SRC_DIR)/libem_s.a | pr -h $(SRC_DIR)/libem_s.a
 |